当前位置:网站首页>Yolox ---- human doubts!
Yolox ---- human doubts!
2022-07-21 18:01:00 【Committed to becoming a lucky guy who can't touch bugs】
(yolo) [email protected]:~/DATA/yolox_deepsort/YOLOX$ python tools/demo.py image -n yolox-s -c /home/nu/DATA/yolox_deepsort/YOLOX/WEIGHTS/yolox_s.pth --path assets/dog.jpg --conf 0.25 --nms 0.45 --tsize 640 --save_result --device gpu
2022-07-15 11:00:49.627 | INFO | __main__:main:259 - Args: Namespace(camid=0, ckpt='/home/nu/DATA/yolox_deepsort/YOLOX/WEIGHTS/yolox_s.pth', conf=0.25, demo='image', device='gpu', exp_file=None, experiment_name='yolox_s', fp16=False, fuse=False, legacy=False, name='yolox-s', nms=0.45, path='assets/dog.jpg', save_result=True, trt=False, tsize=640)
/home/nu/anaconda3/envs/yolo/lib/python3.7/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2895.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2022-07-15 11:00:49.766 | INFO | __main__:main:269 - Model Summary: Params: 8.94M, Gflops: 26.65
2022-07-15 11:00:51.275 | INFO | __main__:main:282 - loading checkpoint
Traceback (most recent call last):
File "tools/demo.py", line 320, in <module>
main(exp, args)
File "tools/demo.py", line 285, in main
model.load_state_dict(ckpt["model"])
File "/home/nu/anaconda3/envs/yolo/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1605, in load_state_dict
self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for YOLOX:
size mismatch for head.cls_preds.0.weight: copying a param with shape torch.Size([80, 128, 1, 1]) from checkpoint, the shape in current model is torch.Size([7, 128, 1, 1]).
size mismatch for head.cls_preds.0.bias: copying a param with shape torch.Size([80]) from checkpoint, the shape in current model is torch.Size([7]).
size mismatch for head.cls_preds.1.weight: copying a param with shape torch.Size([80, 128, 1, 1]) from checkpoint, the shape in current model is torch.Size([7, 128, 1, 1]).
size mismatch for head.cls_preds.1.bias: copying a param with shape torch.Size([80]) from checkpoint, the shape in current model is torch.Size([7]).
size mismatch for head.cls_preds.2.weight: copying a param with shape torch.Size([80, 128, 1, 1]) from checkpoint, the shape in current model is torch.Size([7, 128, 1, 1]).
size mismatch for head.cls_preds.2.bias: copying a param with shape torch.Size([80]) from checkpoint, the shape in current model is torch.Size([7]).
Official code , Official weight , Just run tools/demo.py
What's the problem ?
边栏推荐
- Q introductory tutorial I (Q environment configuration)
- Some functions of C (39) about string
- Sqlite中防止Insert数据重复
- Summer battle! Wotu network takes you to see the marketing creativity of Haida people!
- Codeblocks的安装与配置
- Kali carries out ARP network disconnection attack
- 从一线开发到技术总监,你就差一个赶鸭子上架
- Jianghu nickname of Chinese Universities
- STM32F103实现LED呼吸灯程序
- Talk about 10 delayed tasks
猜你喜欢
无码时代,企业数字化转型该如何发展?
架构实战营模块7作业
ICML 2022 | tutorial validity, reliability and significance: a statistical method tutorial for reproducible machine learning
C (37) FileStream
小程序的破局之道,数字化营销已然成为趋势
Thread pool of C (45)
20220720学习反思
Talk about a wave of moveit2
QDU暑假集训第一周限时训练1
Mobilevit: challenge the end-to-side overlord of mobilenet
随机推荐
从日常小事看如何工作
Video 4413.8 regional convolutional neural network (r-cnn) series 13.5 multiscale target detection & 13.6 target detection data set
02_ UE4 advanced_ HP strip and blood deduction mechanism
如何用Sketch设计网页,创建栅格辅助线教程
Summary of the most complete MySQL data types in history (Part 2)
《MongoDB入门教程》第07篇 CRUD之查找文档
The difference between isnotblank() method and isnotempty() method
Flutter | print 及 dio 打印不完整的问题
Redis practice (I) login
Talk about a wave of moveit2
力扣139题:单词拆分
国内DNS首选
Code simulation
无码时代,企业数字化转型该如何发展?
Solve the problem of shell garbled code in Metasploit
Domestic DNS preferred
力扣133题:只出现一次的数字
【精选】Mysql B-Tree和B+Tree的结构?
Ros2 introductory tutorial | action communication and user-defined interface
解决MySQL主键id从1开始自增 ,id不连续的问题