Closed hoangftran closed 2 years ago
I preprocess all text to int before training model because I want to reduce time for convert text to int
I have no idea. Can you show me how to fix this error?
As you can see, torch tensor requires int, not str, because before I trained the model, I calculate all word ids, error ids,... . You can read my code in dataloader
When I train the model by running
python train.py
I got error:Please help!