Comments (3)
Just to document a few things, totally unscientific.
I've also been experimenting with different normalizations on the generator w/ the point discriminator.
The following experiments were done with the same discriminator, and only the generator was modified. I train for only ~100 epochs, and visually check if the results look like they are converging.
- Spectral norm - fails, most values from the sdf network are very extreme
- Weak spectral norm (only apply norm if value is greater than 1) - fails, either invalid values or only shapes for cones/blobs
- Instance norm - works, but visually seems worse than layer/weight norm
- Group norm - works, I wonder if this would help in the multi-class case
- Weight norm - works (haven't benchmarked, visually looks comparable to layer norm, seems less diverse)
- Layer norm (repo default)
Seems quite robust to choice of activation:
- Leaky relu w/ slope 0.1 - works
- ELU - works
- ReLU (repo default)
Edit: training with instance norm is less stable than layer norm, at least in terms of generator loss.
from shapegan.
Thanks for taking the time to respond
If you want to be sure, you should test different batch compositions and BN layers.
Yeah, definitely - doing that now. Was just trying to bootstrap off of you :)
Thanks again for sharing your code - best of luck in your research.
from shapegan.
I'm afraid I don't have good answers for both of these questions.
I remember trying batch normalization in my DeepSDF implementation, but IIRC training was unsuccessful with that. (The DeepSDF authors say that batch normalization didn't work for them either, but weight normalization does work)
For the batch composition, I changed the implementation of the data loader throughout development and used the most "convenient" way of composing the batches. The current implementation expects all data to be in a single .to file, so this would of course fail if there is not enough RAM. I don't remember finding that the composition of the batch (few shapes vs many shapes) makes a difference, although testing for this parameter wasn't my goal.
If you want to be sure, you should test different batch compositions and BN layers.
from shapegan.
Related Issues (20)
- prepare_shapenet_dataset.py
- train_hybrid_progressive_gan.py HOT 1
- Training parameters for demo models HOT 1
- Parameters mismatch from loading pretrained model(checkpoint) to current model HOT 1
- Codelab example or installation guide?
- Code Release
- ModuleNotFoundError: No module named 'dataset' HOT 1
- Evaluation script HOT 2
- could you please provide some point_sdf dataset of 3D warehouse ?
- demo_sdf_ HOT 1
- What should be in the file -- 'data/chairs/train.txt' ?
- conda environment
- Recreating the latent space traversal animation
- Retraining DeepSDF
- progressive GAN last iteration -> RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB
- how to generate label.to for a new dataset.
- QObject::moveToThread:
- Red cube displayed upon running demo_gan.py
- License?
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 shapegan.