Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

RuntimeError: expected device cuda:0 and dtype Byte but got device cuda:0 and dtype Bool #3

Closed
izaskrj opened this issue Sep 14, 2019 · 1 comment

Comments

@izaskrj
Copy link

izaskrj commented Sep 14, 2019

While loading prep-data.train.0.pt, this error occurs. Any idea why?

I'm using pretrained BERT version 0.5.1.

@shamilcm
Copy link

The code probably will work only with <= PyTorch 1.1. You may be using PyTorch 1.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants