You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I got to this line !python train.py --img 640 --batch 8 --epochs 100 --name $dataset/results --data $dataset/data.yaml --weights 'yolov7_training.pt' |& tee $dataset/logs.txt , it shows RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu).
Please help me to solve this.
The text was updated successfully, but these errors were encountered:
I followed every step in this video in https://www.youtube.com/watch?v=jIgZMr-PBMo to run the colab code in https://github.com/roboflow/notebooks/blob/main/notebooks/how-to-use-rf100.ipynb.
When I got to this line
!python train.py --img 640 --batch 8 --epochs 100 --name $dataset/results --data $dataset/data.yaml --weights 'yolov7_training.pt' |& tee $dataset/logs.txt
, it showsRuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
.Please help me to solve this.
The text was updated successfully, but these errors were encountered: