Closed riwish closed 1 year ago
Have discussed this with @mpbron. We require a patch in dependency instancelib-onnx
to fix this behavior. Once the feature has been added to disable tqdm
output in instancelib-onnx
we will fix in in the explabox
.
I have implemented and alternate fix, where tqdm
is silenced in general in an imported package. This behavior is fixed by silencing tqdm
in instancelib.machinelearning
, through adding the
import instancelib.machinelearning
from genbase import silence_tqdm
with silence_tqdm(instancelib.machinelearning):
for i in instances:
...
statement in text_sensitivity.input_space_robustness()
. This requires genbase==0.2.14
and text-sensitivity==0.3.3
. The outer for-loop does contain tqdm
to show a progress bar.
Summary of bug
The explabox drugsreview notebook prints lots of linebreaks
</>
at section 5.1Environment information
explabox
version: 0.9b7Reproducing the bug
Steps to reproduce the behavior:
Run the explabox review notebook until section 5.1
Solutions Attempted
I didn't try to fix the problem as I haven't found the issue problematic. The desired output was being shown, however I was confused by the many linebreaks (>10) and wanted to report this unexpected behaviour.
Expected behavior
A digestable type of output but without preceding linebreaks