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 ran fine tune examples on my env, i got following errors, could anyone help with this,thx!!!
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/gliner/modeling/span_rep.py", line 356, in forward
return self.span_rep_layer(x, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/gliner/modeling/span_rep.py", line 286, in forward
return self.out_project(cat).view(B, L, self.max_width, D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: shape '[8, 146, 12, 512]' is invalid for input of size 8896512
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
when i ran fine tune examples on my env, i got following errors, could anyone help with this,thx!!!
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/gliner/modeling/span_rep.py", line 356, in forward
return self.span_rep_layer(x, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gbj/miniconda3/envs/gbjtest/lib/python3.11/site-packages/gliner/modeling/span_rep.py", line 286, in forward
return self.out_project(cat).view(B, L, self.max_width, D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: shape '[8, 146, 12, 512]' is invalid for input of size 8896512
Beta Was this translation helpful? Give feedback.
All reactions