aimagelab / meshed-memory-transformer

Meshed-Memory Transformer for Image Captioning. CVPR 2020
BSD 3-Clause "New" or "Revised" License
517 stars 136 forks source link

Cannot reproduce the results during RL training stage #41

Open XuMengyaAmy opened 3 years ago

XuMengyaAmy commented 3 years ago

Thanks for your work. We are using fixed seeds of these and the result is reproducible for each run until the RL part. Specifically, the results from the XE training stage are reproducible but results are not reproducible from the RL training stage. Is there any way to make the results of the RL stage reproducible?

seed = 1234 random.seed(seed) torch.manual_seed(seed) np.random.seed(seed) torch.cuda.manual_seed_all(seed) os.environ['PYTHONHASHSEED'] = str(seed) torch.backends.cudnn.deterministic = True torch.backends.cudnn.benchmark = False

z972778371 commented 2 years ago

I met the problem at Switching to RL part . It reports that AssertionError : assert(gts.keys() == res.keys()) and OSError: [WinError 1455] 页面文件太小,无法完成操作。 How do you solve it? Does it because of the lack of my graphics card memory?