GithubHelp home page GithubHelp logo

Error while training about srgan-tensorflow HOT 4 OPEN

nickhdfan avatar nickhdfan commented on May 31, 2024
Error while training

from srgan-tensorflow.

Comments (4)

brade31919 avatar brade31919 commented on May 31, 2024

I have mentioned in README.md. If you want to go through the complete training process, you need to train SRResnet first and then use it as the pre-trained weight for SRGAN. If you want to train SRGAN directly, you can modify the train_SRGAN.sh to train it without using pre-trained weights.

Regarding the second question, where did you encounter it?

from srgan-tensorflow.

nickhdfan avatar nickhdfan commented on May 31, 2024

I encounter it when training SRGAN with MSE loss, and I haven't finished training SRResnet yet, SRResnet took 9000 minutes.

from srgan-tensorflow.

nickhdfan avatar nickhdfan commented on May 31, 2024

Concerning the resume of training process, I got this error:

Loading model from the checkpoint...
TypeError: expected bytes, NoneType found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "main.py", line 315, in
saver.restore(sess, checkpoint)

I tried to resume on my instances running CUDA 9 & CUDNN 7 which is the Hardware used to train and create the checkpoint file and I can successfully train... How to know whether the training is resumed or not?

from srgan-tensorflow.

ryancom16 avatar ryancom16 commented on May 31, 2024

I got this error : KeyError: 'vgg19_1/vgg_19/conv5/conv5_4'

Issue #6

it will show you how to modify model.py to use the correct key

from srgan-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.