kingyiusuen / image-to-latex

Convert images of LaTex math equations into LaTex code.
MIT License
2.07k stars 313 forks source link

How to train the model with multiple GPUs #16

Open RobertLuo1 opened 2 years ago

RobertLuo1 commented 2 years ago

I have a problem that when I run the scripts in this form python scripts/run_experiment.py trainer.gpus=4 data.batch_size=32 and it will cause a bug that is shown below

CPB`~A JK6%_$%N_U(ZIIE3 How to handle this problem? Thanks!

smurf-1119 commented 2 years ago

I also encountered this problem. Is there any solution?

RobertLuo1 commented 2 years ago

Additional complement: The full log: BF(54@1R7K3VEUR2%IMV5AU

randolfly commented 2 years ago

I think you should modify the environment variable PYTHONPATH like myself in Windows powershell, use $ENV:PYTHONPATH = (PATHTOYOURPROJECT)

KhbAs97 commented 1 year ago

Either you aren't in Path or haven't install the dependencies correctly