l run successfully code on my machine. However, when l try to run it on AWS AMAZON l get the following error :
File "/home/ubuntu/crnn/main_transfer.py", line 87, in <module> collate_fn=dataset.alignCollate(imgH=opt.imgH, imgW=opt.imgW, keep_ratio=opt.keep_ratio)) File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 287, in __init__ raise ValueError('sampler is mutually exclusive with shuffle') ValueError: sampler is mutually exclusive with shuffle
What’s wrong ? thank you ?