Comments (3)
@chang7ing
Have done that code quite a while ago, so it may not be true.
The model is customized before, it uses externally defined weights, instead of weights living inside the object. So if you want to use the model, please use functions (at the bottom of the scripts) like Generator and Discriminator by passing inputs, parameters (paramGen paramDis for cnn/fnn layers) and states (stGen stDis for batch norm).
You can save the model by saving the parameters and states. There are functions (like save) that can save them into mat files. Afterwards, you can load them, and pass them back to the functions (at the bottom of all scripts).
from matlab-gan.
您好!我在做毕业设计,您的代码我想认真学习一下,但是好多地方我还是看不懂,请问有没有这个代码的详细解析呢?我想看一下,谢谢您!
from matlab-gan.
@woshixiaohanpi Suggestions:
- implement gan with matlab example (not mine). They have some in their website.
- understand the custom training loop.
- read my gan script, and compare it with matlab one.
- read keras/pytorch implementation. Understand how it differs from matlab implementation.
- follow the sequence of when each gan model is created, don't skip. I created gan first, then dcgan, then cgan, then infogan, then pix2pix, etc. If you skip, you might not understand my syntax. In later model, like cyclegan or pix2pix, I use exec a lot to reduce repetitive code.
These scripts are created within 1 month, I don't do a lot of comments, and not intended to since I have no more matlab :).
from matlab-gan.
Related Issues (15)
- The error of code of LoadFacadeDatabase.mlx HOT 2
- Pix2Pix implementation: Bug in the Generator? HOT 1
- batching indexing missing is some gans HOT 1
- Retraining Encoder/Generator in AAE HOT 5
- Latent_fake AAE
- How to save a model. HOT 1
- Would you consider adding data augmentation and random grouping? HOT 1
- Although the function gpdl store the array on GPU, the code doesn’t run on the GPU. HOT 1
- With cycleGAN, the center is black even after huge epoch. HOT 1
- Dont have GPU HOT 3
- negate the GPU Usage? HOT 2
- Testing code for cycleGAN HOT 3
- CGAN Minst Dataset HOT 1
- Gan1
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 matlab-gan.