Comments (3)
Hi Lorenzo,
Does this happen consistently on a specific frame? Have you tried looking at the frame values when it breaks?
from adversarial_video_generation.
It actually seems to happen on multiple frames.
probably there are some issues with the image normalization procedure.
I temporarily solved it by getting rid of the +0.5, -0.5 transposition in the d_model.py
# sknorm_img = (img / 2) + 0.5
# resized_frame = resize(sknorm_img, [scale_net.height, scale_net.width, 3])
# scaled_gt_output_frames[i] = (resized_frame - 0.5) * 2
sknorm_img = (img / 2)
resized_frame = resize(sknorm_img, [scale_net.height, scale_net.width, 3])
scaled_gt_output_frames[i] = (resized_frame) * 2
This seems to have solved the issue and I managed to train and test the network.
However I'm not sure if my dataset has been prepared correctly.
I trained the network with a video of me biking trough my neighbourhood;
from the video-clips I take 3 images per second and use them for the training.
this is the result after just 1000 steps.
It seems to me that the generated frames are far closer to the 4th input frame that to the target expected image.
Do you think the frames of the input sequence are too far apart? or I should just let the machine train for way longer?
really appreciate your feedback on this.
from adversarial_video_generation.
I want to train the model with my data,but it didn`t success,may I ask ,how did you train this model with your data?
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.