mrosol / Nonlincausality

Python package for Granger causality test with nonlinear forecasting methods.
MIT License
70 stars 13 forks source link

ValueError - Same optimizer for different data #12

Open EVDIO opened 2 weeks ago

EVDIO commented 2 weeks ago

ValueError: Unknown variable: <KerasVariable shape=(2, 100), dtype=float32, path=dense_9/kernel>. This optimizer can only be called for the variables it was originally built with. When working with a new set of variables, you should recreate a new optimizer instance.