Comments (5)
Hi, when you run sh setup.sh, do you get the message that you have successfully installed the trilinear-0.0.0? Have you adapted the command in the setup.sh file to cuda 10.0? Thanks.
from ppr10k.
'run setup.sh' log info seems no problem, the whole log as below. I have revise the setup.sh as 'export CUDA_HOME=/usr/local/cuda-10.0 && python3 setup.py install'
sh setup.sh
Including CUDA code.
running install
running bdist_egg
running egg_info
creating trilinear.egg-info
writing trilinear.egg-info/PKG-INFO
writing dependency_links to trilinear.egg-info/dependency_links.txt
writing top-level names to trilinear.egg-info/top_level.txt
writing manifest file 'trilinear.egg-info/SOURCES.txt'
reading manifest file 'trilinear.egg-info/SOURCES.txt'
writing manifest file 'trilinear.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'trilinear' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/TH -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/usr/local/python3.6.5/include/python3.6m -c src/trilinear_cuda.cpp -o build/temp.linux-x86_64-3.6/src/trilinear_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=trilinear -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda-10.0/bin/nvcc -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/TH -I/usr/local/python3.6.5/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/usr/local/python3.6.5/include/python3.6m -c src/trilinear_kernel.cu -o build/temp.linux-x86_64-3.6/src/trilinear_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=trilinear -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
creating build/lib.linux-x86_64-3.6
g++ -pthread -shared build/temp.linux-x86_64-3.6/src/trilinear_cuda.o build/temp.linux-x86_64-3.6/src/trilinear_kernel.o -L/usr/local/cuda-10.0/lib64 -lcudart -o build/lib.linux-x86_64-3.6/trilinear.cpython-36m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.6/trilinear.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for trilinear.cpython-36m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/trilinear.py to trilinear.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying trilinear.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trilinear.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trilinear.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying trilinear.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pycache.trilinear.cpython-36: module references file
creating dist
creating 'dist/trilinear-0.0.0-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing trilinear-0.0.0-py3.6-linux-x86_64.egg
removing '/usr/local/python3.6.5/lib/python3.6/site-packages/trilinear-0.0.0-py3.6-linux-x86_64.egg' (and everything under it)
creating /usr/local/python3.6.5/lib/python3.6/site-packages/trilinear-0.0.0-py3.6-linux-x86_64.egg
Extracting trilinear-0.0.0-py3.6-linux-x86_64.egg to /usr/local/python3.6.5/lib/python3.6/site-packages
trilinear 0.0.0 is already the active version in easy-install.pth
Installed /usr/local/python3.6.5/lib/python3.6/site-packages/trilinear-0.0.0-py3.6-linux-x86_64.egg
Processing dependencies for trilinear==0.0.0
Finished processing dependencies for trilinear==0.0.0
from ppr10k.
Actually, you need import torch
first and then import trilinear
to import some symbols provided by PyTorch.
from ppr10k.
Yes. it is my mistake, thanks your reply !
by the way, I notice that you are also the author of 'High-Resolution Photorealistic Image Translation in Real-Time: A Laplacian Pyramid Translation Network', it is promising for my research, i am looking forward to learning more detail through the code
from ppr10k.
The codes of the LPTN paper will be released soon. Thanks!
from ppr10k.
Related Issues (18)
- The links of BaiduNetdisk is None HOT 3
- confuse about dataset HOT 1
- LUT表中负值如何处理 HOT 1
- Database undownloadable on onedrive and google drive HOT 1
- Mismatch between raw data and xmp files HOT 1
- 关于released模型问题 HOT 1
- 根据训练模型推理后,出现的color banding现象如何解决? HOT 1
- 数据集
- 关于released模型问题
- Google Drive's raw.zip exceeds download quota
- how to get the srgb fullsize source and target HOT 2
- What is the dataset license? HOT 1
- Training cost HOT 2
- About the "[path_to_dataset]" HOT 2
- Where is the trilinear.py file?
- About HR image HOT 1
- about Classifier HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppr10k.