Comments (5)
Hi @Jelly123456 , what is the error message? I tested few days ago (in Ubuntu) and it works fine. What is your pytorch version and did you pull the latest yolov5 python version?
from libtorch-yolov5.
@yasenh Thanks very much for your reply.
There is no error message. This is the output when running with GPU:
pytorch version is V1.6 and I am using the latest yolov5 version.
from libtorch-yolov5.
@Jelly123456 I tested locally without any issue, it seems crashed during "module_.forward(inputs)", not sure if it is related to Windows.. Maybe you can follow PyTorch official example and make sure it works on you GPU
from libtorch-yolov5.
Feel free to share your experience
from libtorch-yolov5.
@yasenh Thanks very much for your testing.
I did some internet search and found that this could be the bug for libtorch in Windows.
pytorch/pytorch#23217
https://github.com/yf225/pytorch-cpp-issue-tracker/issues/378
from libtorch-yolov5.
Related Issues (20)
- .toTuple() Error occured HOT 2
- When `PostProcessing()` error occurred
- 发现一个问题,在实际跑的时候前面两张速度很慢 HOT 5
- A problem about model.model[-1].export = False HOT 1
- from where i got yolov5s.torchscript.pt file? HOT 1
- how to speed up the post-process? HOT 1
- error when running inference HOT 2
- The model I want to export runs on multiple GPUs HOT 1
- Pre-processing step takes very long if processing several frames simultaneously
- 如何进行多GPU推理 HOT 2
- torchscript inference: success on yolov5s and bad results on yolov5m HOT 1
- libtorch multi batch inference
- terminate called after throwing an instance of 'std::bad_alloc'
- how to use batch?
- RuntimeError: Could not run 'prepacked::conv2d_clamp_run' with arguments from the 'CUDA' backend. HOT 2
- Set different conf-thre for different tags
- libtorch-yolov7 can be used for this project? HOT 2
- GTX 1660 SUPER not detect HOT 1
- 关于检测速度问题
- engine 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 libtorch-yolov5.