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

RuntimeError: Caught RuntimeError in replica 0 on device 0. #27

Open
cg666-debug opened this issue Nov 6, 2023 · 2 comments
Open

RuntimeError: Caught RuntimeError in replica 0 on device 0. #27

cg666-debug opened this issue Nov 6, 2023 · 2 comments

Comments

@cg666-debug
Copy link

when I run

sh slurm_inference.sh test_video mp4 24 smpler_x_h32

it occurs error

RuntimeError: Caught RuntimeError in replica 0 on device 0.

I used

num_gpus =1  

and in /main/common/base.py I used

ckpt = torch.load(cfg.pretrained_model_path,map_location=torch.device('cpu'))
@lllluy
Copy link

lllluy commented Nov 8, 2023

I have the same problem. Have you solved it?

@garvita-tiwari
Copy link

Hi do you also get this error in the error stack?
/site-packages/torch/_tensor.py", line 639, in __rsub__ return _C._VariableFunctions.rsub(self, other) RuntimeError: Subtraction, the -operator, with a bool tensor is not supported. If you are trying to invert a mask, use the~orlogical_not() operator instead.

If yes then this will solve the problem: mks0601/I2L-MeshNet_RELEASE#6 (comment)

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

3 participants