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

程序段错误 #14

Open
HuPengsheet opened this issue Oct 8, 2023 · 1 comment
Open

程序段错误 #14

HuPengsheet opened this issue Oct 8, 2023 · 1 comment

Comments

@HuPengsheet
Copy link

UserWarning: The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad attribute won't be populated during autograd.backward(). If you indeed want the .grad field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor instead. See github.com/pytorch/pytorch/pull/30531 for more informations. (Triggered internally at aten/src/ATen/core/TensorBody.h:417.)
return self._grad
0%| | 0/38551 [00:00<?, ?it/s]/home/hp/miniconda3/envs/sprase/lib/python3.9/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
0%| | 1/38551 [00:00<9:36:51, 1.11it/s]段错误 (核心已转储)

运行CUDA_VISIBLE_DEVICES=0 python3 track.py --num-gpus 1 --config-file dancetrack_sparse_cfg.py,然后就报段错误,能不能把各个环境的版本列出来,搞了几天代码还是没有跑起来,感谢!!

@HuPengsheet
Copy link
Author

一开始跑然后就段错误,然后程序还占显存,还得手动kill,不然电脑会卡死。Detectron2和pbcvt实在有点折腾

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