co-mod-gan icon indicating copy to clipboard operation
co-mod-gan copied to clipboard

Which Version of Tensorflow is this running on?

Open tiwarikaran opened this issue 3 years ago • 8 comments

tiwarikaran avatar Apr 07 '21 12:04 tiwarikaran

tf 1.14 or 1.15, see here for the requirements.

zsyzzsoft avatar Apr 07 '21 15:04 zsyzzsoft

Hi @zsyzzsoft @tiwarikaran ,

I have difficulty setting the environment.

My virtual environment variants are listed here:

`` python 3.6.13

tensorflow-gpu 1.14.0

CUDA: 10.2 ``

There is an error when I tried to run_generator with the pretrained model.

tensorflow.python.framework.errors_impl.NotFoundError: /home/wangjiahua1/code/co-mod-gan-master/dnnlib/tflib/_cudacache/fused_bias_act_546f398f36920850dca748ac250ee717.so: undefined symbol: _ZN10tensorflow12OpDefBuilder6OutputESs

Is it necessary to switch the CUDA version from 10.2 to 10.0 ?

usherbob avatar May 07 '21 09:05 usherbob

Hi @zsyzzsoft @tiwarikaran ,

I have difficulty setting the environment.

My virtual environment variants are listed here:

`` python 3.6.13

tensorflow-gpu 1.14.0

CUDA: 10.2 ``

There is an error when I tried to run_generator with the pretrained model.

tensorflow.python.framework.errors_impl.NotFoundError: /home/wangjiahua1/code/co-mod-gan-master/dnnlib/tflib/_cudacache/fused_bias_act_546f398f36920850dca748ac250ee717.so: undefined symbol: _ZN10tensorflow12OpDefBuilder6OutputESs

Is it necessary to switch the CUDA version from 10.2 to 10.0 ?

This is an error related to stylegan2's custom ops. You can try this solution.

zsyzzsoft avatar May 07 '21 11:05 zsyzzsoft

Thanks,

It now works when I change --compiler-options \'-fPIC -D_GLIBCXX_USE_CXX11_ABI=0 to --compiler-options \'-fPIC -D_GLIBCXX_USE_CXX11_ABI=1 here, since I use gcc 5.4.

No need to switch CUDA version.

usherbob avatar May 07 '21 12:05 usherbob

can you exactly specify which tf version this is using, the best thing would be add a requirements.txt file, that would be sensational

tiwarikaran avatar Jun 11 '21 09:06 tiwarikaran

tf 1.14 or 1.15, see here for the requirements. You can use tf 1.15.

zsyzzsoft avatar Jun 11 '21 16:06 zsyzzsoft

@zsyzzsoft I did and it is still giving errors :/

tiwarikaran avatar Jun 11 '21 18:06 tiwarikaran

if possible, can you add the req,txt file for this?

tiwarikaran avatar Jun 11 '21 18:06 tiwarikaran