Comments (7)
I also run the code SeqGAN. The rewards in SeqGAN experiment are changing.
from leakgan.
Because of the Bootstrapped Rescaled Activation trick
from leakgan.
@LeeJuly30 Could you give more explanation? I can't understand why Bootstrapped Rescaled Activation trick causes this problem. And how is that even trained with fixed rewards?
from leakgan.
In this paper,
For each timestep t, we rescale the t-th column vector R
if you look at the formula, you will find that the reward after rescaled only depends on the batch size B and it's rank, so expectation and variance of reward within a mini-batch won't change.
By doing this,
the rescale activation serves as a value stabilizer that is helpful for algorithms that are sensitive in numerical variance
from leakgan.
For a mini-batch
@LeeJuly30 But the results above ran for several mini-batch (total batch 115
), and the rewards didn't change at all. So when will it change?
from leakgan.
The reward will change, it is the expectation and variance of reward that won't change.
from leakgan.
@LeeJuly30 Thanks for tips. I find the rewards do change and the magnitude of rewards before rescaling change a lot.
from leakgan.
Related Issues (20)
- leakgan----generator
- ERROR:tensorflow:Couldn't match files for checkpoint ./ckpts/feugan_preD
- Number of batches
- Interleaved Training is not used in your code?
- Where is the real data inputed? HOT 1
- I think the Bootstrapped Rescaled Activation in the code is not useful HOT 3
- The code could not run HOT 1
- What is the difference between LeakGAN and LM for text generation?
- Have you try pretrain the generator by using the next-word-predict loss?
- What is the difference between gen_x and the result of rollout?
- Can not understand why use the generated result for the feeding here... Thank you very much...
- What is the latent space in this GAN model? HOT 1
- Custom dataset HOT 1
- I can't get the same results as the paper. HOT 6
- GPU Usage
- Modulo by Zero error when attempting to train on custom dataset
- Get “ValueError: No gradients provided for any variable” when running Image_COCO.Main
- What is vocab_cotra.pkl file and how to generate it?
- How to create a vocab file for the dataset ? Can you please share the code for it ?
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 leakgan.