Kismuz / btgym

Scalable, event-driven, deep-learning-friendly backtesting library
https://kismuz.github.io/btgym/
GNU Lesser General Public License v3.0
988 stars 261 forks source link

question about reuse_encoder_params #63

Closed mysl closed 6 years ago

mysl commented 6 years ago

@Kismuz , hi, I have a question w.r.t reuse_encoder_params in stacked_lstm.py, my understanding is that you want to control sharing the conv parameters across all external streams. However, it looks like that different streams of external states use different names, thus they will be in different variable scopes right? Will the reuse take effect or did I miss or misunderstand anything? thanks!

Kismuz commented 6 years ago

@mysl , good catch, thank you! Corrected, update.

Kismuz commented 6 years ago

@mysl
Note: one need to change entropy reg. params when sharing enabled to ~0.05 otherwise it converges to trivial local optima.

mysl commented 6 years ago

@Kismuz , thanks.