Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global variable 'nloaded' needs to be zero, everytime Model is initialized. #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gitlost-murali
Copy link

I tried using it in a Flask app. There's a global variable issue, so model doesn't work for 2nd time initialization. 'nloaded' is saturated to '13' in 'load_params'. So, the next time you call Model, 'nloaded' starts from 13, but not from 0.

…lized.

I tried using it in a Flask app. There's a global variable issue, so model doesn't work for 2nd time initialization. 'nloaded' is saturated to '13' in 'load_params'. So, the next time you call Model, 'nloaded' starts from 13, but not from 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant