L1aoXingyu / fcn.pytorch

81 stars 32 forks source link

Environment configuration #1

Open chaowentao opened 5 years ago

chaowentao commented 5 years ago

Could you please provide detailed environment configuration description and completed training process description (including data sets download, etc.)? Thanks a lot~

L1aoXingyu commented 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.

chaowentao commented 5 years ago

Thanks a lot. I am your students from cs231n camp. Thanks again.

L1aoXingyu commented 5 years ago

I have added the dataset configuration. Hope this can help.

chaowentao commented 5 years ago

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. _20181207143454

L1aoXingyu commented 5 years ago

you can try to set num_workers=0 in DataLoader

L1aoXingyu commented 5 years ago

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.

Merofine commented 5 years ago

Thanks.i meet some problem.and it work now.Thanks.

Merofine commented 5 years ago

but it is too slow. 捕获 @L1aoXingyu

L1aoXingyu commented 5 years ago

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.

Merofine commented 5 years ago

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? 捕获

KinsoZHENG commented 4 years ago

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.

KinsoZHENG commented 4 years ago

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.