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

demo.py freezes on model prediction #139

Open
MihailMihaylov97 opened this issue Sep 19, 2023 · 0 comments
Open

demo.py freezes on model prediction #139

MihailMihaylov97 opened this issue Sep 19, 2023 · 0 comments

Comments

@MihailMihaylov97
Copy link

MihailMihaylov97 commented Sep 19, 2023

Running
python3 demo.py --checkpoint=data/model_checkpoint.pt --img=examples/im1010.jpg --bbox=examples/im1010_bbox.json
in a docker environment using the provided Docker image results in script freezing after preprocessing the image, at the model prediction step. The container keeps running, but the code is frozen. Eventually may load the model, but immediately afterwards fails with

RuntimeError: cublas runtime error : the GPU program failed to execute at /tmp/pip-req-build-5vv9db21/aten/src/THC/THCBlas.cu:450

Update: Same if I set device to 'cpu'.

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

No branches or pull requests

1 participant