Comments (8)
已经加了CUDA参数了吧
from yolov4-pytorch.
已经加了CUDA参数了吧
跟cuda没关系,,是gpu保存,但使用cpu加载模型就会报错,要加上map_location,官方手册有说。
from yolov4-pytorch.
没搞懂,可以设置Cuda吧
from yolov4-pytorch.
没搞懂,可以设置Cuda吧
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False.
If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU.
torch.load(opt.model,map_location=device)
类似这种错误,不一定会发生 ,大部分是gpu保存,但在只有cpu的机器上加载就会报错。
from yolov4-pytorch.
这个错误是在我这里发生的吗,我没有没有GPU的机子,没有试过
from yolov4-pytorch.
这个错误是在我这里发生的吗,我没有没有GPU的机子,没有试过
就是发生了,才看了下没有写才来说改进的,确实发生的。我是在云服务上训练,本地上跑的(没有GPU),发现没写map_location
from yolov4-pytorch.
行,那我修改一下
from yolov4-pytorch.
我先试试看
from yolov4-pytorch.
Related Issues (20)
- opencv加载图像进行推理 HOT 5
- train_loss下降正常,val_loss不变,map一直很低,实际预测检测效果很差。 HOT 2
- train_loss下降,val_loss不变,map一直不变,自建数据集预测效果很差。 HOT 9
- 验证损失低于训练损失 HOT 2
- 替换YOLOv4主干网络为ghost或者mobilenetv2/3,检测精度直接为0或者零点几? HOT 14
- 你好,想问下更改预测框的颜色字体粗细大小 要如何更改啊 HOT 3
- 找不到dropblock,SAF等方法的人看这里 HOT 1
- loss计算太慢 HOT 7
- get_map很低
- please help me,why are the images of the validation set used during the training process? HOT 1
- 1
- AP很低 HOT 2
- 导,你的heatmap生成原理是什么?
- 请求 HOT 1
- 求教predict和get_map中detect_image的区别
- 默认参数没有调整,loss一直是nan HOT 2
- 计算量怎么查看? HOT 1
- File "mtrand, pyx", line 934, in numpy.random. mtrand. RandomState. choiceValueError: a cannot be empty unless no samples are taken
- RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [4096]] is at version 3; expected version 2 instead. HOT 1
- 请问yolov4的预训练权重从哪下载呢 HOT 1
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 yolov4-pytorch.