awslabs / ec2-spot-labs

Collection of tools and code examples to demonstrate best practices in using Amazon EC2 Spot Instances.
https://aws.amazon.com/ec2/spot/
Other
935 stars 319 forks source link

Error while running ec2_spot_keras_training.py #39

Open arpitsri3 opened 4 years ago

arpitsri3 commented 4 years ago

Hi,

While trying to follow the example on this blog post - I keep getting this error in the ec2_spot_keras_training.py script - 'AttributeError: 'SpotTermination' object has no attribute 'on_train_batch_begin' and 'on_train_batch_end' - image

Please help with this.

Thanks and Regards, Arpit