question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'TrackMetricsCallback' object has no attribute '_implements_train_batch_hooks'

See original GitHub issue

Also having an issue with the keras tracking callback:

  File "GeneFindingTestingTrainedTransformer.py", line 276, in <module>
    callbacks=[csvlog, AimTracker.metrics([aobj])])
  File "/home/josephguhlin/miniconda3/envs/keras/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py",
line 108, in _method_wrapper
    return method(self, *args, **kwargs)
  File "/home/josephguhlin/miniconda3/envs/keras/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py",
line 1074, in fit
    steps=data_handler.inferred_steps)
  File "/home/josephguhlin/miniconda3/envs/keras/lib/python3.7/site-packages/tensorflow/python/keras/callbacks.py", line 2
35, in __init__
    cb._implements_train_batch_hooks() for cb in self.callbacks)
  File "/home/josephguhlin/miniconda3/envs/keras/lib/python3.7/site-packages/tensorflow/python/keras/callbacks.py", line 2
35, in <genexpr>
    cb._implements_train_batch_hooks() for cb in self.callbacks)
AttributeError: 'TrackMetricsCallback' object has no attribute '_implements_train_batch_hooks'```

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gorarakelyancommented, Oct 27, 2020

@jguhlin Great, glad to help!

Re CSV export: we already have that feature in our pipeline and will release it soon. I will close this issue, feel free to open a new one.

And thanks for the feedback. It really helps us to build the right tool!

0reactions
jguhlincommented, Oct 26, 2020

@gorarakelyan Thanks, looks great. I’ll upgrade once my analyses are finished running.

Quick question(happy to open a new issue too) – Is there a way to export the results as CSV or something? Even if it’s only just “loss” or “binary_accuracy” specified manually?

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: '' object has no attribute '' - python - Stack Overflow
Your NewsFeed class instance n doesn't have a Canvas attribute. If you want to pass the Canvas defined in your Achtergrond class instance ......
Read more >
AttributeError: 'str' object has no attribute 'value' #3 - GitHub
Hi, Thank you for your effort developing this tool. I am trying to use the tool to request a TGT but it currently...
Read more >
AttributeError: 'MultivariateSample' object has no attribute 'train'
While running the python code that is available in the linkclient-libraries-multivariate , i got the below error in "Run the Application" area.
Read more >
Python AttributeError — What is it and how do you fix it?
AttributeError : '***' object has no attribute '***'What is an AttributeError in Python? What can you do to fix it? When does it...
Read more >
[Solved] AttributeError: 'module' object has no attribute
Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww▻Instagram ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found