DADA icon indicating copy to clipboard operation
DADA copied to clipboard

error: cuda out of memory

Open lucafei opened this issue 5 years ago • 4 comments

hi, i met a problem at training DADA network on my own dataset. When i run the train script, it turn out cuda out of memory. Do you know what kind of problem will cause this case? how to solve this? Thank you in advance.

lucafei avatar Dec 02 '20 15:12 lucafei

Hello @lucafei , maybe you can try reduce image resolution and/or batch size.

tuanhungvu avatar Dec 03 '20 09:12 tuanhungvu

@lucafei were you able to train DADA on your own dataset? I am attempting to do the same and am trying to figure out what changes need to be made. Any help would be appreciated!

shumphries01 avatar Dec 31 '20 03:12 shumphries01

hi, @shumphries01 , i think you can just copy the dataset file like synthia.py and make a little changes to fit your custom dataset. the changes i think is only about get_metadata and getitem which will access to your data. moreover you should create a folder like data to save your training data and youtdatasetname_list in /dada/dataset to put your dataset configuration file similar with synthia_list. finally maybe you need to change some settings in dada.yml in dada/scripts/configs_s2c

lucafei avatar Jan 01 '21 22:01 lucafei

@lucafei thank you so much for the help! I'll give it a whirl.

shumphries01 avatar Jan 05 '21 00:01 shumphries01