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

import resample2d_cuda ImportError #82

Open
wbiao98 opened this issue Jul 22, 2021 · 1 comment
Open

import resample2d_cuda ImportError #82

wbiao98 opened this issue Jul 22, 2021 · 1 comment

Comments

@wbiao98
Copy link

wbiao98 commented Jul 22, 2021

when I tried this :
python demo.py
--name=pose_fashion_checkpoints
--model=pose
--attn_layer=2,3
--kernel_size=2=5,3=3
--gpu_id=0
--dataset_mode=fashion
--dataroot=./dataset/fashion
--results_dir=./demo_results/fashion

then met this:
File "demo.py", line 1, in
from options.val_options import ValOptions
File "/home/ubuntu/WB/Global-Flow-Local-Attention/options/val_options.py", line 1, in
from .base_options import BaseOptions
File "/home/ubuntu/WB/Global-Flow-Local-Attention/options/base_options.py", line 4, in
import model
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/init.py", line 4, in
from .base_model import BaseModel
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/base_model.py", line 6, in
from model.networks import base_function
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/networks/init.py", line 3, in
from model.networks.discriminator import *
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/networks/discriminator.py", line 6, in
from model.networks.base_function import *
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/networks/base_function.py", line 10, in
from model.networks.resample2d_package.resample2d import Resample2d
File "/home/ubuntu/WB/Global-Flow-Local-Attention/model/networks/resample2d_package/resample2d.py", line 4, in
import resample2d_cuda
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory
so how can i get this resample2d_cuda

@MeaninglessAI
Copy link

3. Build pytorch Custom CUDA Extensions

./setup.sh

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

2 participants