-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training doesn't work on custom datasets #575
Comments
For mgif, everything seems ok to me, just need to wait longer. Actually hard to say, you should check if nvidia-smi using the gpu. first-order-model/config/taichi-256.yaml Line 18 in f4ff6da
|
This problem can be solved by looking at the file name in line 103 of frames_dataset. Can you tell me what the training steps are for your custom dataset? |
@AliaksandrSiarohin Hello, can you tell me that custom dataset training only needs to place.mp4 or.png files in the folder and modify the configuration file, and finally run run.py? I only did the training test on a few hundred images placed in the price folder, but I got the log.txt result as shown below. Is this result normal? |
Hi! Thanks forfor your replies, in the config file I have specified 30 epochs, 2 repeats and [15,25] as epoch milestones (I have a dataset of videos split into two folders test and train, and each of folders contains separate folders (video1, ... video_n) with the videos split frame by frame in 900 png files each approx). I have tried different values for epochs/repeats etc but it doesn't seem to change the issue... I sue nvidia geforce rtx 3090 GPUs to train the model, and even for the mgif I haven't got any results after approx. an hour of training (log.txt is empty) |
@pouvoirdasha How do you choose between test sets and training sets? I put all the training images in a folder and started running python run.py. |
Hello,I had the same problem when training on mgif datasets. Have you solved it? How was it resolved? I am looking forward to your reply and would appreciate it very much if you could reply me. |
Hello, I saw that you said that this problem could be solved by looking at the file name in line 103 of the frames_dataset. How to modify it? I would appreciate it if you could reply me. |
In line 70 if os.path.exists(os.path.join(root_dir, 'train')): change the path to your training directory if os.path.exists(os.path.join(root_dir, 'yourpathhere/train')): |
First of all, thank you, but after I changed it, I also modified it in the yaml file, but it didn't work. Is there anything else I need to modify? |
I'm not sure sorry I couldnt get training to work at all, no matter what I did it would not recognise frames_dataset as a module.. If you like you can try swapping the files out for ones I've modified |
Thank you. Did you also encounter the same problem as me in first-order-try? Are the changes you made in articulated animation already runnable? |
Hi! First of all, thank you for your work!
I have tried to train the program on a custom dataset which I have created following your instructions. I have tried both - .mp4 and folders with .png, and none of them work - I get several errors when I try to run it:
The problem seems to be raised because of torch, any ideas how I can solve it?
The text was updated successfully, but these errors were encountered: