Comments (10)
I can see most of the input images are identical to the output
Just chiming in. I trained the model with less than ~200 images (256x256 resolution) recently and I faced the same issue. Interpolation was not good (very twitchy), as one can expect when the generator only knows how to copy the training data.
The training data was very diverse, which made the task even harder.
Is there a way to generate smaller gif files? 430mb is a bit difficult to work with.
%pip install moviepy
import glob
run_name = 'default'
input_path = 'results/{}/'.format(run_name)
gif_files = glob.glob(input_path + '*.gif')
import moviepy.editor as mp
input_name = sorted(gif_files)[-1]
output_name = input_name.replace('.gif', '.mp4')
clip = mp.VideoFileClip(input_name)
clip.write_videofile(output_name)
from lightweight-gan.
@Xeddius if you are training high resolution images, you can try decreasing the number of tiles with --num_image_tiles
setting
from lightweight-gan.
@woctezuma yea, with that few images, the network is just learning the individual modes
from lightweight-gan.
@Xeddius yea, 90 is way too small, you will need at least 1000 to see some good interpolation
from lightweight-gan.
@Xeddius how many images are you training on? can you show some examples?
from lightweight-gan.
@Xeddius you can pass in a --generate-interpolation
to see the "in-between" images
from lightweight-gan.
I ended up clearing the project, I was using roughly 90 images, I'm going to try with more data and then use --generate-interpolation once it reaches a reasonable amount of iterations. Is there a way to generate smaller gif files? 430mb is a bit difficult to work with.
from lightweight-gan.
I have the same problem, I have around 200 img, I trained in a resolution of 64, and around 70000 iter I stop the training and do an interpolation, but the interpolation is just a sudden change between the real images of the dataset.
How do I solve this without increasing the data?
from lightweight-gan.
Hi, I saw from the fastgan paper that in the fewshot learning datasets (100 ~ 300 images), their model is able to generate good interpolations (see Fig6 of the paper), does this mean that there is some differences between your implementation and theirs, and that their model maybe a better choice for few-shot datasets?
from lightweight-gan.
for low data setting:
--aug-prob 0.7
from lightweight-gan.
Related Issues (20)
- Error(s) in loading state_dict for LightweightGAN HOT 2
- Batchnorm layer missing in the discriminator?
- showing results while training ? HOT 2
- G is showing up a negative number. What does that mean?
- Multi GPU utilization problem.
- TypeError: __init__() got an unexpected keyword argument 'hparams' HOT 1
- unable to load save model. please try downgrading the package to the version specified by the saved model HOT 7
- --load_strict=False failing to load model HOT 1
- Can't find "__main__" module (sorry if noob question) HOT 4
- loss implementation differs from paper HOT 1
- Doesn't detect CUDA from Nvidia GPU HOT 1
- Torchvision Assertion error while importing custom data
- Aim installation error HOT 4
- Discriminator Loss converges to 0 while Generator loss pretty high HOT 3
- Dont detects cuda HOT 1
- Using Lightweight GAN as a library
- Projecting generated Images to Latent Space HOT 1
- Executing with a trailing \ in the arguments sets the variable new to the truthy value '\\' and deletes all progress
- CUDA out of memory error while generating interpolations
- Minimum number data training
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 lightweight-gan.