Comments (4)
Hi I'm also have the same problem.
I create a new enviroment and run the following comands:
conda install python
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia
pip install ultralytics
Then when I believe that all is ok I run in a python script:
import ultralytics
and I got the following error:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
from ultralytics.
嘿,兄弟,不需要进行这样操作,
有两种可能一种是环境变量的问题,你可以打开你的subprocess.py文件
位置在你的python环境中,比如 C:\User...\Python\Python39\lib\subprocess.py
找到报错的位置,去打印args变量,查看哪些环境变量出了问题
print(args) hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
另一种方式是,找到subprocess.py中的class Popen
然后将shell=False 改为 shell=True
from ultralytics.
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.
For additional resources and information, please see the links below:
- Docs: https://docs.ultralytics.com
- HUB: https://hub.ultralytics.com
- Community: https://community.ultralytics.com
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!
Thank you for your contributions to YOLO 🚀 and Vision AI ⭐
from ultralytics.
@sijie-Xu 嘿,感谢你的建议!
我建议你先尝试查看环境变量是否设置正确,然后看看是否有包含问题的地方。将print(args)
添加到相应的位置,会有助于找到具体出错的地方。
如果这个方法不起作用,你可以尝试将shell=False
改为shell=True
,这可能会解决问题。
希望有所帮助!
from ultralytics.
Related Issues (20)
- Tensorrt c++ inference HOT 1
- yolov8 detection on small objects HOT 2
- Model load results in 'indexerror : list out of range ' HOT 4
- How to run YOLOv8 .engine but only need to obtain the output of the model in Jetson Xavier NX? HOT 2
- Why is yolov5n better than yolov8n in my own dataset (e.g., P, R, MAP50, etc.),even in coco128 HOT 2
- About loading model weights HOT 3
- I'm also having the same problem, I use botsort to track the target to detect the target but can't, the confidence level is also very high, the threshold setting should be fine. How to solve it, I thought it was a confidence threshold, but I can't debug it HOT 1
- yolov8 keypoint detection results HOT 2
- can anyone guide to do quantization for custom trained yolov8 HOT 2
- Implement Resnet Backbone into YOLOv3 and YOLOv5 HOT 3
- Is there any implementation of yolov8 in cpp using tensorflow lite? HOT 3
- Angle representation method of YOLOV8-obb HOT 1
- Ultralytics not working on Jetpack 6.0? HOT 1
- The YOLOv8 segmentation model with batching option doesn't run on the GPU ? HOT 1
- yolov8n's coco pre-training? HOT 2
- Can not extract predicted classes from the results as a variable. HOT 2
- Changing the Yolov8-OBB head to output Polygonal Bounding Box with Four Corners instead of Oriented Bounding Box HOT 2
- annotation type HOT 1
- How to improve the accuracy of yolov8-obb in detecting large targets HOT 2
- The parameters printed through model.info are different from those printed through the val command 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 ultralytics.