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

pycharm에서의 yolov5 실시간 카메라 실행 문제 #13376

Open
1 task done
JepeJa opened this issue Oct 23, 2024 · 1 comment
Open
1 task done

pycharm에서의 yolov5 실시간 카메라 실행 문제 #13376

JepeJa opened this issue Oct 23, 2024 · 1 comment
Labels
question Further information is requested

Comments

@JepeJa
Copy link

JepeJa commented Oct 23, 2024

Search before asking

Question

colab에서 yolov5를 딥러닝 후 best.pt 파일을 yolov5 폴더에 다운로드 받아 pycharm에서 yolov5 파일을 열었습니다. 그리고 실시간 인식을 하기 위해 터미널에 python detect.py --weights best.py --conf 0.5 --img 416 --source 0을 입력하였는데
AssertionError: best.py acceptable suffix is ['.pt', '.torchscript', '.onnx', '_openvino_model', '.engine', '.mlpackage', '_saved_model', '.pb', '.tflite', '_edgetpu.tflite', '_web_model', '_paddle_model']
이렇게 오류문자가 뜹니다. 저는 코딩을 잘 할 줄 몰라서 유튜브에서 알려주는 대로 밖에 할 수 없습니다. 제가 따라한 유튜브 링크는https://www.youtube.com/watch?v=U-wkRQ8U3GE 입니다.

Additional

No response

@JepeJa JepeJa added the question Further information is requested label Oct 23, 2024
@UltralyticsAssistant
Copy link
Member

👋 Hello @JepeJa, thank you for your interest in YOLOv5 🚀! It sounds like you're encountering an error with running YOLOv5 on PyCharm using your custom-trained model.

Since this is a 🐛 Bug Report related issue, please ensure you are providing a minimum reproducible example to help us debug it. This would include the exact code you've tried running and any error messages in full detail. It's also helpful to know the system specifications you're working on.

If you're new to Python or coding, following tutorials can be a great way to learn, but sometimes they might not cover every possible issue that could arise. It's recommended to double-check the file extension you used for --weights as it seems like there might be a typo or an incorrect file type.

An Ultralytics engineer will review your issue and assist you further soon. Thanks for your patience 🌟 and happy coding!

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

2 participants