leichen@gpu-compute3$ python3 load_model_gpu.py
current device: <function current_device at 0x7fe86a746c80>
Traceback (most recent call last):
File "load_model_gpu.py", line 28, in
model1.cuda()
AttributeError: 'function' object has no attribute 'cuda'
leichen@gpu-compute3$
leichen@gpu-compute3$ python3 load_model_gpu.py current device: <function current_device at 0x7fe86a746c80> Traceback (most recent call last): File "load_model_gpu.py", line 28, in
model1.cuda()
AttributeError: 'function' object has no attribute 'cuda'
leichen@gpu-compute3$