Code Monkey home page Code Monkey logo

Comments (12)

fverdoja avatar fverdoja commented on June 23, 2024 1

Ok, one of my thesists figured out what the problem was.
I, and I imagine OP as well, was loading the model using the following:
python avg_runner.py -l ../Save/Models/Default/model.ckpt-1000000.index
while the way the model is saved in TF1+, requires you to use the load function without extension... so when calling:
python avg_runner.py -l ../Save/Models/Default/model.ckpt-1000000
everything seem to be working.

So I think you can safely merge my pull request. Everything works, just be aware that the model has to be called without extension.

from adversarial_video_generation.

dyelax avatar dyelax commented on June 23, 2024

Hey, sorry for the delay. Which version of TensorFlow are you using? This only works for up to version 0.12 currently.

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

After fixing the functions in my other issue (#15), I receive the same output as OP.
@dyelax do you think that the problem arise only when using pre-trained model? Do you think I can train the network again and run the code?

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

I've just finished re-training the network on the Ms Pacman dataset and everything seems to work. If you want, I can share the new trained model, which should be compatible with current installations of tensorflow.

from adversarial_video_generation.

dyelax avatar dyelax commented on June 23, 2024

@fverdoja Glad you got it working! Yes, would be great to have your trained model. Does it load with the current loading code in this project?

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

@dyelax The training went well all the way. I just tried to load the model, but sadly it gives the same error as OP. Maybe the way the model is saved is not correct anymore? I can upload the trained model anyway if you want, so you can try to look into the problem maybe a little better than how I could.

from adversarial_video_generation.

dyelax avatar dyelax commented on June 23, 2024

Which version of TensorFlow are you using?

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

1.1.0 if I recall correctly.

from adversarial_video_generation.

dyelax avatar dyelax commented on June 23, 2024

I haven't updated the repo to v1.1.0 yet. This only works for up to v0.12. Does the model loading work in the pull request you made to update the repo to 1.1.0?

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

Nope, with the code in my pull request training works, but loading doesn't.

from adversarial_video_generation.

fverdoja avatar fverdoja commented on June 23, 2024

Here is a link to the trained model on TF1.1: https://drive.google.com/drive/folders/0B83QXMRRjnSaYzJmQS1TWkZYMkU?usp=sharing

from adversarial_video_generation.

newuhe avatar newuhe commented on June 23, 2024

It's truly the tensorflow version problem,thanks for help.

from adversarial_video_generation.

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.