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

detect.py TypeError: 'int' object is not subscriptable #108

Open
GreenTeaHua opened this issue Mar 9, 2023 · 0 comments
Open

detect.py TypeError: 'int' object is not subscriptable #108

GreenTeaHua opened this issue Mar 9, 2023 · 0 comments
Labels
question Further information is requested

Comments

@GreenTeaHua
Copy link

❔Question

python .\detect.py --weights last.pt --source 0 --kpt-label
edgeai-yolov5-yolo-pose\detect.py", line 65, in detect
model(torch.zeros(1, 3, imgsz[0], imgsz[0]).to(device).type_as(next(model.parameters()))) # run once
TypeError: 'int' object is not subscriptable

Additional context

?

@GreenTeaHua GreenTeaHua added the question Further information is requested label Mar 9, 2023
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