Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'copy' #19

Open
ayiyou1 opened this issue Nov 7, 2023 · 1 comment
Open

AttributeError: 'NoneType' object has no attribute 'copy' #19

ayiyou1 opened this issue Nov 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@ayiyou1
Copy link

ayiyou1 commented Nov 7, 2023

❔Question

E:\Anaconda\envs\ism_person_openpose\python.exe F:\ism_person_openpose-master\runOpenpose.py
[ WARN:0@0.979] global D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp (239) cv::findDecoder imread_('F:\ism_person_openpose\pics'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "F:\ism_person_openpose-master\runOpenpose.py", line 248, in
detect_main()
File "F:\ism_person_openpose-master\runOpenpose.py", line 244, in detect_main
run_demo(net, action_net, frame_provider, args.height_size, True, [])
File "F:\ism_person_openpose-master\runOpenpose.py", line 125, in run_demo
orig_img = img.copy() # copy 一份
AttributeError: 'NoneType' object has no attribute 'copy'

Additional context

下载完了包,修改文件地址,运行runopenpose出现这个错误,请问是怎么回事啊?求解答

@ayiyou1 ayiyou1 added the question Further information is requested label Nov 7, 2023
Copy link

github-actions bot commented Nov 7, 2023

👋 Hello @ayiyou1, thank you for your interest in 🚀 YOLOv5! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.

If this is a 🐛 Bug Report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset images, training logs, screenshots, and a public link to online W&B logging if available.

For business inquiries or professional support requests please visit https://www.ultralytics.com or email Glenn Jocher at glenn.jocher@ultralytics.com.

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 currently passing. CI tests verify correct operation of YOLOv5 training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu every 24 hours and on every commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant