Git Product home page Git Product logo

Comments (6)

WarBean avatar WarBean commented on May 25, 2024 6

I fix the same problem by checking this line in model.py:

data = glob(os.path.join("./data", config.dataset, "*.jpg"))

It turned out that my directory name was not compatible with config.dataset. Try to print out the result of this line to make sure that you don't get the data as an empty list. Then celebA can run.

from dcgan-tensorflow.

carpedm20 avatar carpedm20 commented on May 25, 2024

If you don't have any checkpoint it is failed to load and start training without loading a checkpoint.

I think you're cudnn version is not compatible with the version that TensorFlow uses. You'd better install different cudnn or compile TensorFlow. See tensorflow/tensorflow#1787.

from dcgan-tensorflow.

LinZhineng avatar LinZhineng commented on May 25, 2024

This is normal when you first training model, and “Load SUCCESS” if exist "checkpoints"

from dcgan-tensorflow.

LinZhineng avatar LinZhineng commented on May 25, 2024

cuda and cudnn installation must follow https://www.tensorflow.org/versions/master/get_started/os_setup.html#optional-install-cuda-gpus-on-linux, and notice version of cuda and cudnn.

from dcgan-tensorflow.

oritwoen avatar oritwoen commented on May 25, 2024

This is not a problem with Cuda. The same problem exists in my case celeb or your own images. However, when mnist works properly as possible. I am using the CPU so you can exclude the previous presumption.

[inder@dhcppc6 DCGAN-tensorflow] $ python3 main.py --dataset test --is_train True
{'batch_size': 64,
'beta1': 0.5,
'checkpoint_dir': 'checkpoint',
'dataset': 'test',
'epoch': 25,
'image_size': 108,
'is_crop': False,
'is_train': True,
'learning_rate': 0.0002,
'sample_dir': 'samples',
'train_size': inf,
'visualize': False}
[*] Reading checkpoints...
[!] Load failed...

And then nothing happens and the script terminates.

from dcgan-tensorflow.

quintendewilde avatar quintendewilde commented on May 25, 2024

I have this line instead, still I have load failed...

self.data = glob(os.path.join("./data", self.dataset_name, self.input_fname_pattern))

from dcgan-tensorflow.

Related Issues (20)

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.