Example from getting started in README.md fails
See original GitHub issue🐛 Bug Report
Running example from the README.md
fails with TypeError
.
How To Reproduce
Steps to reproduce the behavior:
- Create new virtualenv, python3.6, catalyst==21.4.1
- Run example from the
getting started
section in README.md - observe TypeError 😃
Traceback (most recent call last):
File "main.py", line 45, in <module>
load_best_on_end=True,
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/runners/runner.py", line 321, in train
self.run()
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 679, in run
self._run_event("on_exception")
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 602, in _run_event
getattr(self, event)(self)
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 594, in on_exception
raise self.exception
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 676, in run
self._run_experiment()
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 666, in _run_experiment
self._run_stage()
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 649, in _run_stage
self._run_epoch()
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 638, in _run_epoch
self._run_loader()
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 625, in _run_loader
self._run_event("on_loader_start")
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/core/runner.py", line 600, in _run_event
getattr(callback, event)(self)
File "/home/kamil/envs/intcatalyst/lib/python3.6/site-packages/catalyst/callbacks/misc.py", line 200, in on_loader_start
desc=f"{runner.stage_epoch_step}/{runner.stage_epoch_len}"
TypeError: __init__() got an unexpected keyword argument 'desc'
Code sample
It was copied from README.md
, master branch.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
How to Write a Good README File for Your GitHub Project
Before we get started, it is also important to note that when you're writing your project's README, it should be able to answer...
Read more >fail/README.md at master · mllg/fail
File Abstraction Interface Layer (FAIL) for R, mimicking a key-value store. This package simplifies working with RData files managed in directories.
Read more >Getting Started With GitHub README.MD | by Luku Geraud
The README.md file is created for your friends, colleagues, future employers and even to use as a reference to your future self.
Read more >Error Pages
You can create custom error pages to display to your users if they try, for example, to access a broken link. Found under...
Read more >Professional README Guide | The Full-Stack Blog
If you're new to Markdown, refer to the GitHub guide on mastering markdown or search the internet for Markdown tutorials. For a great...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed in #1192
🤔 looks like
torch.tqdm
somehow depends on just tqdm, good catch! we will return the tqdm dependency in such a case 😃