Comments (12)
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.
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.
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.
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.
@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.
@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.
Which version of TensorFlow are you using?
from adversarial_video_generation.
1.1.0 if I recall correctly.
from adversarial_video_generation.
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.
Nope, with the code in my pull request training works, but loading doesn't.
from adversarial_video_generation.
Here is a link to the trained model on TF1.1: https://drive.google.com/drive/folders/0B83QXMRRjnSaYzJmQS1TWkZYMkU?usp=sharing
from adversarial_video_generation.
It's truly the tensorflow version problem,thanks for help.
from adversarial_video_generation.
Related Issues (20)
- Confusion using the plug-and-play data HOT 5
- Regarding the normalization step HOT 4
- problem about exist model HOT 4
- Some problem about gdl_loss HOT 1
- Question about discriminator input HOT 3
- What do the output images represent? HOT 12
- Normalization of losses
- Why need the data processing step? HOT 3
- Error with np.random.choice HOT 4
- What is PSNR error exactly? HOT 3
- Can you share the code that generates the gif file? HOT 2
- TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
- Alternative GDL loss implemetation
- Loss weighting HOT 1
- ValueError: Dimension 3 in both shapes must be equal HOT 1
- Updating Code to New Tensorflow version HOT 2
- GLARING bug with the process data pipeline.
- TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64 HOT 1
- ValueError: Dimensions must be equal, but are 1 and 3 for 'generator/train/Conv2D' (op: 'Conv2D') with input shapes: [?,4,4,1], [1,2,3,3].
- Tensorflow and packages are out of date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adversarial_video_generation.