Oceanzhenni

Results 2 issues of Oceanzhenni

Hi, I got an error while running the caption. Py file: checkpoint = torch.load(args.model, map_location=str(device)) Error: AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file...

When I run train_transformer.py, I'm having difficulty, showing **RuntimeError: gather(): Expected dtype int64 for index**, can anyone tell me how to solve it? thank you very much ![Quicker_20220407_164612](https://user-images.githubusercontent.com/69130513/162159506-6a28e1a1-077c-4df0-9776-84e3eec62251.png)