Error:
Traceback (most recent call last):
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 412, in getitem
value = super(Box, self).getitem(item)
KeyError: 'from_yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 492, in getattr
value = self.getitem(item, _ignore_default=True)
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 419, in getitem
raise BoxKeyError(str(err))
neurvps.box.BoxKeyError: "'from_yaml'"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 494, in getattr
value = object.getattribute(self, item)
AttributeError: 'Box' object has no attribute 'from_yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/martin/Proyectos/neurvps/eval.py", line 185, in
main()
File "/home/martin/Proyectos/neurvps/eval.py", line 58, in main
C.update(C.from_yaml(filename=config_file))
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 511, in getattr
raise BoxKeyError(str(err))
neurvps.box.BoxKeyError: "'Box' object has no attribute 'from_yaml'"
SO : Ubuntu 22.04
Eviroment: venv with Python 3.10.6
Hi, I got this erro message executing this command:
python eval.py -d 0 logs/scanet/config.yaml logs/scanet/better-result.pth.tar
Error: Traceback (most recent call last): File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 412, in getitem value = super(Box, self).getitem(item) KeyError: 'from_yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 492, in getattr value = self.getitem(item, _ignore_default=True) File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 419, in getitem raise BoxKeyError(str(err)) neurvps.box.BoxKeyError: "'from_yaml'"
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 494, in getattr value = object.getattribute(self, item) AttributeError: 'Box' object has no attribute 'from_yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/martin/Proyectos/neurvps/eval.py", line 185, in
main()
File "/home/martin/Proyectos/neurvps/eval.py", line 58, in main
C.update(C.from_yaml(filename=config_file))
File "/home/martin/Proyectos/neurvps/neurvps/box.py", line 511, in getattr
raise BoxKeyError(str(err))
neurvps.box.BoxKeyError: "'Box' object has no attribute 'from_yaml'"
SO : Ubuntu 22.04 Eviroment: venv with Python 3.10.6