GithubHelp home page GithubHelp logo

Comments (8)

 avatar commented on August 18, 2024

issue
I am facing this issue,does any one have any solutions to this ??

from artgan.

 avatar commented on August 18, 2024

Plz update repository with instructions on How to run this code. That would be very helpful.

from artgan.

 avatar commented on August 18, 2024

screenshot from 2018-10-17 17-31-13

from artgan.

 avatar commented on August 18, 2024

The cudnn used to compile this code is no longer available. The error says that cudnn 7.2.1 was used but I had cudnn 7.0.5 installed. Later, I searched for cudnn 7.2.1 for CUDA 9.0. NVIDIA has deleted it from the archives. cudnn 7.3 for CUDA 9.0 stops at tf.Session(). What to do ??

from artgan.

willtwr avatar willtwr commented on August 18, 2024

You can train with your own dataset by preparing your dataset structure using the ingest*.py files as example.

We used pycharm to run the code in our own environmet, so its probably environment path problem.
Please change the path accordingly, e.g. import layers -> import nn.layers

While, your other question is related to your installed libraries versions.
Please update your libraries.

from artgan.

 avatar commented on August 18, 2024

I resolved all the other issues. Had to change import layers to nn.layesr and data.dataloader
But now I get
"Default AvgPoolingOp only supports NHWC on device type CPU" while running CIFARGANAEsample.py
supports nhwc on device type cpu

and while trying to train CIFARGANAEtrick I get the following error
trick

is it due to environment used ?
I am using Ubuntu 16.04 LTS
Conda and Virtual Env.
Python 2.7
Latest versions of Neon and Aeon
Tensorflow 1.10
CUDA 9.0
CuDnn 7.3.1
what were the versions of Neon and Aeon for you ?
Thanks in advance.

from artgan.

 avatar commented on August 18, 2024

Some thing I forgot to mention : I am running this on 1050ti.
I found out that CPU can only handle NHWC while the data used here is NCHW on GPU.
do you have any idea why i am getting a traceback to

2018-10-18 07:58:33.486367: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2018-10-18 07:58:33.624672: E tensorflow/core/common_runtime/executor.cc:697] Executor failed to create kernel. Invalid argument: Default AvgPoolingOp only supports NHWC on device type CPU
[[Node: Generator/AvgPool = AvgPoolT=DT_FLOAT, data_format="NCHW", ksize=[1, 1, 3, 3], padding="SAME", strides=[1, 1, 2, 2], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Traceback (most recent call last):
File "CIFAR64GANAEsample.py", line 86, in
gen_img, gen_img128 = sess.run([samples, samples128])
File "/home/user/Downloads/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 877, in run
run_metadata_ptr)
File "/home/user/Downloads/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1100, in _run
feed_dict_tensor, options, run_metadata)
File "/home/user/Downloads/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1272, in _do_run
run_metadata)
File "/home/user/Downloads/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1291, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Default AvgPoolingOp only supports NHWC on device type CPU
[[Node: Generator/AvgPool = AvgPoolT=DT_FLOAT, data_format="NCHW", ksize=[1, 1, 3, 3], padding="SAME", strides=[1, 1, 2, 2], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

from artgan.

sandys avatar sandys commented on August 18, 2024

hi guys,
same question here. would really appreciate some help on how to run this

from artgan.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.