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
because I do not have gpu, then I changed the code in 'trian_yolo,py'
training contexts
#ctx = [mx.gpu(int(i)) for i in args.gpus.split(',') if i.strip()]
#ctx = ctx if ctx else [mx.cpu()]
ctx = mx.cpu()
Then I got the error:
File "C:\Users\Chinese\anaconda3\envs\shMGO\lib\site-packages\mxnet\gluon\utils.py", line 110, in split_and_load
if len(ctx_list) == 1:
TypeError: object of type 'Context' has no len()
please help
Thanks
The text was updated successfully, but these errors were encountered:
because I do not have gpu, then I changed the code in 'trian_yolo,py'
training contexts
Then I got the error:
File "C:\Users\Chinese\anaconda3\envs\shMGO\lib\site-packages\mxnet\gluon\utils.py", line 110, in split_and_load
if len(ctx_list) == 1:
TypeError: object of type 'Context' has no len()
please help
Thanks
The text was updated successfully, but these errors were encountered: