Open clannadcl opened 3 years ago
same question, how did you solve it?
Have you solve it?I meet the same question
same question, how did you solve it? Have you solve it?I meet the same question
Traceback (most recent call last): File "main.py", line 21, in from config import get_config File "/root/paddlejob/workspace/env_run/video_tag/code/swin/config.py", line 70, in _C.MODEL.SWIN.QK_SCALE = None File "/root/paddlejob/workspace/env_run/video_tag/food/lib/python3.7/site-packages/yacs/config.py", line 158, in setattr type(value), name, _VALID_TYPES File "/root/paddlejob/workspace/env_run/video_tag/food/lib/python3.7/site-packages/yacs/config.py", line 521, in _assert_with_logging assert cond, msg AssertionError: Invalid type <class 'NoneType'> for key QK_SCALE; valid types = {<class 'float'>, <class 'tuple'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'list'>}
Have you solve it?I meet the same question
update yacs to latest version
pip install yacs -U
Thanks @sblack15
Traceback (most recent call last):
File "main.py", line 21, in
from config import get_config
File "/root/paddlejob/workspace/env_run/video_tag/code/swin/config.py", line 70, in
_C.MODEL.SWIN.QK_SCALE = None
File "/root/paddlejob/workspace/env_run/video_tag/food/lib/python3.7/site-packages/yacs/config.py", line 158, in setattr
type(value), name, _VALID_TYPES
File "/root/paddlejob/workspace/env_run/video_tag/food/lib/python3.7/site-packages/yacs/config.py", line 521, in _assert_with_logging
assert cond, msg
AssertionError: Invalid type <class 'NoneType'> for key QK_SCALE; valid types = {<class 'float'>, <class 'tuple'>, <class 'int'>, <class 'str'>, <class 'bool'>, <class 'list'>}