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

Error while gettind updates #2

Open
eljdos opened this issue Jan 4, 2020 · 1 comment
Open

Error while gettind updates #2

eljdos opened this issue Jan 4, 2020 · 1 comment

Comments

@eljdos
Copy link

eljdos commented Jan 4, 2020

Hey there,

Thank you very much for the hard work :)
I really love the project !

I have a recurring error - it doesnt prevent the bot for working though - that I can't get around.

Every few seconds I have the following error message : telegram.ext.updater - ERROR - Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2020-01-04 22:30:08,264 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error

Any chance you might have already seen that ?

Thank you again !

@raghulkrishna
Copy link

raghulkrishna commented Apr 5, 2020

File "/Users/raghulkrishna/telegrad/keras_mnist_example.py", line 97, in
callbacks=[telegram_callback])
File "/Users/raghulkrishna/.virtualenvs/cv/lib/python3.7/site-packages/keras/engine/training.py", line 1239, in fit
validation_freq=validation_freq)
File "/Users/raghulkrishna/.virtualenvs/cv/lib/python3.7/site-packages/keras/engine/training_arrays.py", line 129, in fit_loop
callbacks._call_begin_hook('train')
File "/Users/raghulkrishna/.virtualenvs/cv/lib/python3.7/site-packages/keras/callbacks/callbacks.py", line 103, in _call_begin_hook
self.on_train_begin()
File "/Users/raghulkrishna/.virtualenvs/cv/lib/python3.7/site-packages/keras/callbacks/callbacks.py", line 219, in on_train_begin
callback.on_train_begin(logs)
File "/Users/raghulkrishna/telegrad/telegram_bot_callback.py", line 41, in on_train_begin
logs['lr'] = K.get_value(self.model.optimizer.lr) # Add learning rate to logs dictionary
TypeError: 'NoneType' object does not support item assignmenti am having this error whenever i use it in keras call backs please help me

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

No branches or pull requests

2 participants