Open chaowentao opened 5 years ago
I am sorry that I forgot about the dataset parts. I will add this as soon as possible. Btw, for environment configuration, you only need to install the package I list in requirements.
Thanks a lot. I am your students from cs231n camp. Thanks again.
I have added the dataset configuration. Hope this can help.
I reconfigured the environment again, the result is still the original problem. I guess it may be a problem with the windows system, then I will try it under the Ubuntu system. Thank you.
you can try to set num_workers=0 in DataLoader
Can you run this training script? If you have any other problems, you can tell me in this issue and in case others meet the same problems, too.
Thanks.i meet some problem.and it work now.Thanks.
but it is too slow. @L1aoXingyu
It is very slow because the batch size is 1, you can set the batch size = 32, then do some preprocessing, such as center crop etc, to make the input image size same.
Yes, I changed it to 32, but it still reported a mistake. It is estimated that there is no pretreatment. Actually, I'm particularly interested in your project, but I'm just a whitewash. Could you please give me more detailed steps?
Yes, I changed it to 32, but it still reported a mistake. It is estimated that there is no pretreatment. Actually, I'm particularly interested in your project, but I'm just a whitewash. Could you please give me more detailed steps? Hi, I've meet the same problem. Have you fixed it? Thanks a lot.
Yes, I changed it to 32, but it still reported a mistake. It is estimated that there is no pretreatment. Actually, I'm particularly interested in your project, but I'm just a whitewash. Could you please give me more detailed steps? Hi, I've meet the same problem. Have you fixed it? Thanks a lot.
I have tried to fix the batch size problem. After changing the batch size in config/defaults.py,
please add
img = img.resize((x, x)) # the size what you wanna
after https://github.com/L1aoXingyu/fcn.pytorch/blob/7f592407f41325375baff5b3514567fb4c5f9a62/data/datasets/voc.py#L34
label = label.resize((x, x)) # the same size of before
after
https://github.com/L1aoXingyu/fcn.pytorch/blob/7f592407f41325375baff5b3514567fb4c5f9a62/data/datasets/voc.py#L36
It can make the program work.
Could you please provide detailed environment configuration description and completed training process description (including data sets download, etc.)? Thanks a lot~