caffemodel2pytorch icon indicating copy to clipboard operation
caffemodel2pytorch copied to clipboard

how do i install it

Open leconghieu99 opened this issue 3 years ago • 1 comments
trafficstars

I did it and got an error import caffemodel2pytorch as caffe caffe.set_mode_gpu() caffe.set_device(0)

AttributeError Traceback (most recent call last) in () 1 get_ipython().magic('cd /content/caffemodel2pytorch') 2 import caffemodel2pytorch as caffe ----> 3 caffe.set_mode_gpu() 4 caffe.set_device(0)

AttributeError: module 'caffemodel2pytorch' has no attribute 'set_mode_gpu'

leconghieu99 avatar Mar 22 '22 08:03 leconghieu99

Traceback (most recent call last): File "solve_fphb_crack.py", line 46, in interp_layers = [k for k in solver.net.params.keys() if 'up' in k] File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 1178, in getattr type(self).name, name)) AttributeError: 'Net' object has no attribute 'params' how to fix

leconghieu99 avatar Mar 22 '22 08:03 leconghieu99