Comments (10)
请把-c path/to/yolox_s.pth.tar
换成自己电脑权重文件的所在地...
from yolox.
from yolox.
请把
-c path/to/yolox_s.pth.tar
换成自己电脑权重文件的所在地...
from yolox.
@liuwei3612 请大佬来解决吧,剩下的我不懂
如果正常的话,在打印出summary之后
| INFO | __main__:229 - Model Summary:Params: 8.97M, Gflops: 11.33
下一步应该是load模型参数,终端输出应该是
| INFO | __main__:240 - loading checkpoint
所以可以调试一下,查看一下demo.py中第229行到第240行之间哪里有问题?
还有我是在NVIDIA的docker里运行的,没有问题,如果实在没法解决要不要试一试?
from yolox.
@liuwei3612 请大佬来解决吧,剩下的我不懂
如果正常的话,下一步应该是load模型参数,终端输出应该是
| INFO | __main__:240 - loading checkpoint
所以可以调试一下,查看一下demo.py中第229行到第240行之间哪里有问题?
还有我是在NVIDIA的docker里运行的,没有问题,如果实在没法解决要不要试一试?
谢谢
from yolox.
@liuwei3612 Hi, does your machine have GPU?
from yolox.
@liuwei3612 Hi, does your machine have GPU?
有的,只有一个
from yolox.
Hi @liuwei3612 and all, we have updated demo.py. Many bugs are fixed. Please pull our latest branch!!
Now you can use --device cpu/gpu when running demo.py to specify the device (default CPU).
from yolox.
Hi @liuwei3612 and all, we have updated demo.py. Many bugs are fixed. Please pull our latest branch!!
Now you can use --device cpu/gpu when running demo.py to specify the device (default CPU).
谢谢你的回复,目前同步到最新baranch,默认的device是CPU,可以运行成功。但改成成GPU,就出错了,错误信息如下:
目前我这边CUDA Version 10.1.243
工程运行的pytorch是什么版本啊,需要匹配的CUDA的版本是多少?
from yolox.
pytorch==1.9.0, but I think as long as >=1.7.0, it should be fine.
cuda==10.2
from yolox.
Related Issues (20)
- I got this error when running the eval.py on google colab :( I had replaced the pretrained model with the best_ckpt.pth but this failure still happened :( HOT 1
- 有关input_size和test_size的设置问题
- Is there any TFLite inference script to check inference for the converted TFLite model(YoloX-Tiny)
- ImageNet Pretraining HOT 1
- Is calculating AP50 in this manner correct?
- YOLOX OpenVINO Model Batch Inference issue HOT 1
- torch2trt 转换问题
- How do I get the name and similarity of an object
- 将yolox利用onnxruntime推理时模型输出后结果需要利用下面代码映射到原图上,但是直接利用pth进行推理时,没有看到这一步,这个是为什么?
- No detection when using yolox with libtorch.
- YOLOX installation Issue - Clone Issue: Public Key Denied HOT 1
- Image data repeat resize and compute ratio bugs HOT 5
- Bug: mosaic_prob is no 1 or 0, AttributeError: 'int' object has no attribute 'numel'
- Seeking Guidance on Tuning Data Augmentation Parameters in YOLOX
- python 的 tensorrt 模型 怎么解码输出结果 HOT 1
- Given groups=1, weight of size [168, 337, 1, 1], expected input[1, 336, 2, 2] to have 337 channels, but got 336 channels instead
- mAP一直是下降状态
- TypeError: topk(): argument 'k' must be int, not Tensor HOT 1
- When I modify the training classes, there are some errors while training (KeyError: 'cat' if self.cache and self.cache_type == "ram":)
- Training AP is always 0 using coco128 dataset HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolox.