-
Notifications
You must be signed in to change notification settings - Fork 84
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
不知道什么原因希望协助解决 #85
Comments
CUDA version may not match torch version |
I have the same problem. `(gfla) [gfla@k8s-master gfla]$ conda list | grep cuda (gfla) [gfla@k8s-master gfla]$ nvcc --version (gfla) [gfla@k8s-master gfla]$ nvidia-smi |
Traceback (most recent call last):
File "demo.py", line 16, in
model = create_model(opt)
File "/viton/Global-Flow-Local-Attention/model/init.py", line 32, in create_model
instance = model(opt)
File "/viton/Global-Flow-Local-Attention/model/pose_model.py", line 64, in init
norm='instance', activation='LeakyReLU', extractor_kz=opt.kernel_size)
File "/viton/Global-Flow-Local-Attention/model/networks/init.py", line 37, in define_g
return create_network(netG_cls, opt, **parameter_dic)
File "/viton/Global-Flow-Local-Attention/model/networks/init.py", line 28, in create_network
net.init_weights(opt.init_type)
File "/viton/Global-Flow-Local-Attention/model/networks/base_network.py", line 55, in init_weights
self.apply(init_func)
File "/root/anaconda3/envs/gflab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 242, in apply
module.apply(fn)
File "/root/anaconda3/envs/gflab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 242, in apply
module.apply(fn)
File "/root/anaconda3/envs/gflab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 242, in apply
module.apply(fn)
[Previous line repeated 1 more time]
File "/root/anaconda3/envs/gflab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 243, in apply
fn(self)
File "/viton/Global-Flow-Local-Attention/model/networks/base_network.py", line 47, in init_func
init.orthogonal_(m.weight.data, gain=gain)
File "/root/anaconda3/envs/gflab/lib/python3.6/site-packages/torch/nn/init.py", line 356, in orthogonal_
q, r = torch.qr(flattened)
RuntimeError: cuda runtime error (11) : invalid argument at /pytorch/aten/src/THC/generic/THCTensorMathPairwise.cu:225
The text was updated successfully, but these errors were encountered: