roadhan / FSCW

8 stars 1 forks source link

Training Error! #2

Open aybukesakaci opened 11 months ago

aybukesakaci commented 11 months ago

Hello,

When I run the code for the training, I get an error. The error:

image

Thank you in advance!

roadhan commented 11 months ago

Thank you for your question. You can try to use the yolov5x_CS.yaml configuration file instead of yolov5x_FCM.yaml during training. The configurations of the two are the same. This might solve your problem. If it doesn't work, maybe you need to change the python version.

aybukesakaci commented 10 months ago

Hello again,

I tried with yolov5x_CS.yaml configuration and i changed the python version, i got a different error. Actually it starts training and takes too long and then gives error:

image

Thank you.

roadhan commented 10 months ago

This situation in Pytorch is generally due to the fact that the number of num_workers is too large and exceeds the capacity of the machine you are using. You can reduce its number, for example, set it to 0 or 1. If it still cannot be solved, please check the dependencies version requirements