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
# 报错error
(nanodet) PS F:\my_projects\NanoDet-PyTorch-CPU\NanoDet-PyTorch-CPU-master> python detect_main.py webcam --config ./config/nanodet-m.yml --model model/nanodet_m.pth --path 0
f:\my_projects\nanodet\nanodet-main\nanodet\model\arch\__init__.py:26: UserWarning: Model architecture name is changed to 'OneStageDetector'. The name 'GFL' is deprecated, please change the model->arch->name in your YAML config file to OneStageDetector.
warnings.warn(
model size is 1.0x
init weights...
=> loading pretrained model https://download.pytorch.org/models/shufflenetv2_x1-5666bf0f80.pth
Finish initialize NanoDet Head.
[root][12-18 12:45:10]INFO:Press "Esc", "q" or "Q" to exit.
Traceback (most recent call last):
File "detect_main.py", line 115, in <module>
main()
File "detect_main.py", line 107, in main
meta, res = predictor.inference(frame)
File "detect_main.py", line 58, in inference
meta = self.pipeline(meta, self.cfg.data.val.input_size)
TypeError: __call__() missing 1 required positional argument: 'dst_shape'
(nanodet) PS F:\my_projects\NanoDet-PyTorch-CPU\NanoDet-PyTorch-CPU-master>
The text was updated successfully, but these errors were encountered: