Comments (1)
Firstly,learn_gen.freeze() only freezes the conv layer, not the BN layer.Do I need to freeze the BN layer separately?
That was a deliberate design decision by FastAI. I honestly forget what the exact justification was for it, but it was deliberate. You can modify the source code there of the FastAI fork there if you want to experiment with it of course!
Secondly,after training the 192px portion, the resulting image was then put into the GAN for training, but why was it clean when it was put in and ended up with a lot of dirty data?
So what I'm seeing there is evidence of instability of training. Especially the blue blobs and the b/w images. Top candidates for causing this are:
- Changing the batch size without modifying the learning rate accordingly, or vice versa. Generally you want to halve the learning rate if you halve the batch size, and the other way around if you double it.
- Using fp16 (mixed precision) training naively. I've never tried mixed precision with this particular repo, but I did with my commercial stuff and I can tell you there's an art to doing it.
- Changing anything with the architecture without experimenting with updates to learning rate via learning rate finder.
- Changing the optimizer.
Hope that helps!
from deoldify.
Related Issues (20)
- How to output result without show image HOT 1
- TypeError: 'NoneType' object is not subscriptable HOT 2
- unable to run HOT 1
- Any known update for MyHeritage edition? HOT 1
- Get error when Create black and white training images HOT 1
- RuntimeError: Given input size: (512x1x1). Calculated output size: (512x0x0). Output size is too small HOT 2
- Unpickling Error HOT 2
- The content of flickr cannot be accessed. Please check the reason. HOT 1
- VapourSynth version of DeOldify HOT 2
- Error in GAN training
- Can't find libtiff HOT 2
- Conditionning HOT 1
- Enable 16bit tensor inference HOT 1
- https://www.dropbox.com/s/zkehq1uwahhbc2o/ColorizeArtistic_gen.pth?dl=0's accident HOT 2
- DID NOT RECIVED THE PROJECT AFTER FINESHED
- Uneven color distribution in stable and artistic model outputs HOT 1
- not working HOT 1
- Upadate it HOT 1
- example dataset for ColorizeTrainingArtistic
- Error on hugging faces HOT 2
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 deoldify.