ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
50.46k stars 16.28k forks source link

I am working as a researcher in Tencent company. When I made mistakes in training with Python, I reported a strange mistake. The error message seems to be related to cafe. I hope to get your help. Thank you very much #2207

Closed xianglei3 closed 3 years ago

xianglei3 commented 3 years ago

When I do Eval in the process of training, I make the following mistakes raise err OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading "C:\Users\asus\anaconda3\envs\test\lib\site-packages\torch\lib\caffe2_detec

glenn-jocher commented 3 years ago

@xianglei3 it appears you may have environment problems. Please ensure you meet all dependency requirements if you are attempting to run YOLOv5 locally. If in doubt, create a new virtual Python 3.8 environment, clone the latest repo (code changes daily), and pip install -r requirements.txt again. We also highly recommend using one of our verified environments below.

Requirements

Python 3.8 or later with all requirements.txt dependencies installed, including torch>=1.7. To install run:

$ pip install -r requirements.txt

Environments

YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

CI CPU testing

If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are passing. These tests evaluate proper operation of basic YOLOv5 functionality, including training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.