Closed nathanielmhld closed 5 years ago
That is very weird. I don't see how this could have any effect to break the dataloader. Haven't tested on Windows but your example runs fine on my machine. Will try on Windows when I can access a proper install there.
For clearing the output, I can add an option to fastprogress to remove that. Will work on it when I have a bit of time.
Added the option in fastprogress to not automatically clear the outputs. To use it, you have to do an editable install (until the next release), then:
from fastprogress import fastprogress
fastprogress.CLEAR_OUTPUT = False
Describe the bug
On my windows VM, when the pattern
is used, I get an error, that to my non-expert eyes, looks to be because of an issue with the progress bar. The error does not occur with simply
nor does it occur on my mac. I have tried using the current version of FastAI from git, to no avail.
Provide your installation details
The issue first occurred on the regular (non-dev) version of fastai, but I have since installed the dev version, which is reflected in this printout.
To Reproduce
Expected behavior
I expect the learner to run, without the progress bar showing. Screenshots
Additional context
I know the feature of removing the progress bar is new, which made me more confident that this issue hadn't been dealt with before, though this is my first ever issue filed in open source code, so please let me know if I've done something wrong.
Additionally, the reason I need progress bar disabled is because, as currently implemented, when the progress bar finishes, the output (in jupyter notebook) for that particular cell completely clears before the results are printed. This is a serious problem for our workflow, because we need the previous text outputted earlier in the process to remain around. If whoever reviews this feels it would be appropriate, please let me know and I'd be happy to file a feature request or a bug report regarding that issue.