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
File "/home/oliver/.cache/torch/hub/hugoycj_DSINE-hub_main/hubconf.py", line 45, in infer_pil
intrins = utils.get_intrins_from_fov(new_fov=60.0, H=orig_H, W=orig_W, device=self.device).unsqueeze(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'utils.utils' has no attribute 'get_intrins_from_fov'
@oliver-batchelor@HLinChen I discovered that the error mentioned earlier was caused by the removal of some functions, namely rename and remove, from the utils.py. To address this issue, I have added these utility functions back into the hubconf.py.
Moving forward, I plan to refactor hubconf.py to support the latest version DSINE and support loading of different version DSINE models
Meet error when using torch hub:
I think replacing utils.pad_input with utils.get_padding can solve this error.
The text was updated successfully, but these errors were encountered: