Comments (3)
Got it to work through:
conda install cuda-nvcc -c nvidia
conda install -c nvidia cuda-toolkit
from stylecinegan.
We used Cuda version 11.6 to test in our environment, please consider trying this version. Thank you all for showing your interest in our work.
from stylecinegan.
Can I add to this by asking what cuda version is recommended, is it 11.4?
I followed the steps including the one above and ended up with 12.4 I think and just want to confirm before I sort the cuda errors out
seems when i use
conda install -c nvidia cuda-toolkit
it installs alot of stuff related to cuda 12.4
and
conda install cuda-nvcc -c nvidia just upgrades from 11.4 to 12.4
regardless of would i do or path i set i get
(cine) C:\Users\Jack\StyleCineGAN>python main.py --img_path ./samples/0002268 --save_dir ./results
>>> Loading StyleGAN...
Traceback (most recent call last):
File "main.py", line 37, in <module>
sg2 = load_stylegan2(opts.sg2_ckpt)
File "C:\Users\Jack\StyleCineGAN\utils\model_utils.py", line 20, in load_stylegan2
from models.stylegan2.model import Generator
File "C:\Users\Jack\StyleCineGAN\models\stylegan2\model.py", line 7, in <module>
from models.stylegan2.op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d
File "C:\Users\Jack\StyleCineGAN\models\stylegan2\op\__init__.py", line 1, in <module>
from .fused_act import FusedLeakyReLU, fused_leaky_relu
File "C:\Users\Jack\StyleCineGAN\models\stylegan2\op\fused_act.py", line 9, in <module>
fused = load(
File "C:\Users\Jack\anaconda3\envs\cine\lib\site-packages\torch\utils\cpp_extension.py", line 1306, in load
return _jit_compile(
File "C:\Users\Jack\anaconda3\envs\cine\lib\site-packages\torch\utils\cpp_extension.py", line 1710, in _jit_compile
_write_ninja_file_and_build_library(
File "C:\Users\Jack\anaconda3\envs\cine\lib\site-packages\torch\utils\cpp_extension.py", line 1800, in _write_ninja_file_and_build_library
extra_ldflags = _prepare_ldflags(
File "C:\Users\Jack\anaconda3\envs\cine\lib\site-packages\torch\utils\cpp_extension.py", line 1887, in _prepare_ldflags
extra_ldflags.append(f'/LIBPATH:{_join_cuda_home("lib", "x64")}')
File "C:\Users\Jack\anaconda3\envs\cine\lib\site-packages\torch\utils\cpp_extension.py", line 2407, in _join_cuda_home
raise OSError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
from stylecinegan.
Related Issues (4)
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 stylecinegan.