I bash the test.sh and train.sh with --gpu_ids -1 and default. When it's default, the code will run in the gpu but the loss and accuracy is not as good as when i run with default settings. The follow image is the result of my train and test. The blue line is run in cpu and grey is run in gpu.

I bash the test.sh and train.sh with --gpu_ids -1 and default. When it's default, the code will run in the gpu but the loss and accuracy is not as good as when i run with default settings. The follow image is the result of my train and test. The blue line is run in cpu and grey is run in gpu.