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
(pytorch-gpu) C:\ai-project\Awesome-Backbones-main>python tools/evaluation.py models/shufflenet/shufflenet_v2.py
tools/evaluation.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Loading Val_Epoch001-Acc100.000.pth
Traceback (most recent call last):
File "tools/evaluation.py", line 169, in
main()
File "tools/evaluation.py", line 146, in main
test_dataset = Mydataset(test_datas, val_pipeline)
File "C:\ai-project\Awesome-Backbones-main\utils\dataloader.py", line 16, in init
self.pipeline = Compose(self.cfg)
File "C:\ai-project\Awesome-Backbones-main\core\datasets\compose.py", line 23, in init
transform = build_from_cfg(transform, PIPELINES)
File "C:\ai-project\Awesome-Backbones-main\core\datasets\build.py", line 61, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'RandomHorizontalFlip is not in the pipeline registry'
The text was updated successfully, but these errors were encountered:
(pytorch-gpu) C:\ai-project\Awesome-Backbones-main>python tools/evaluation.py models/shufflenet/shufflenet_v2.py
tools/evaluation.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Loading Val_Epoch001-Acc100.000.pth
Traceback (most recent call last):
File "tools/evaluation.py", line 169, in
main()
File "tools/evaluation.py", line 146, in main
test_dataset = Mydataset(test_datas, val_pipeline)
File "C:\ai-project\Awesome-Backbones-main\utils\dataloader.py", line 16, in init
self.pipeline = Compose(self.cfg)
File "C:\ai-project\Awesome-Backbones-main\core\datasets\compose.py", line 23, in init
transform = build_from_cfg(transform, PIPELINES)
File "C:\ai-project\Awesome-Backbones-main\core\datasets\build.py", line 61, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'RandomHorizontalFlip is not in the pipeline registry'
The text was updated successfully, but these errors were encountered: