Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar does not display in jupyter lab #24

Open
ivaniadg opened this issue Aug 26, 2020 · 1 comment
Open

Progress bar does not display in jupyter lab #24

ivaniadg opened this issue Aug 26, 2020 · 1 comment

Comments

@ivaniadg
Copy link

Hi!

I'm running the library on my computer (ubuntu 18.04.5) on a jupyter lab notebook.

I'm using the model IFALsConjugateGradient and when training I set the option progress=True but it does not display the progress bar.

obj = pyreclab.IFAlsConjugateGradient( factors = 50,
                                           dataset = TRAIN_PATH.as_posix(),
                                           dlmchar = b',',
                                           header = True,
                                           usercol = 0,
                                           itemcol = 1,
                                           observationcol = 3 )
obj.train(progress=True)

Is there an additional library I should install?

These are the python libraries I have installed.

Package            Version  
------------------ ---------
altair             4.1.0    
argon2-cffi        20.1.0   
attrs              20.1.0   
backcall           0.2.0    
bleach             3.1.5    
certifi            2020.6.20
cffi               1.14.2   
chardet            3.0.4    
cycler             0.10.0   
decorator          4.4.2    
defusedxml         0.6.0    
entrypoints        0.3      
idna               2.10     
importlib-metadata 1.7.0    
ipykernel          5.3.4    
ipython            7.16.1   
ipython-genutils   0.2.0    
jedi               0.17.2   
Jinja2             2.11.2   
joblib             0.16.0   
json5              0.9.5    
jsonschema         3.2.0    
jupyter-client     6.1.7    
jupyter-core       4.6.3    
jupyterlab         2.2.6    
jupyterlab-server  1.2.0    
kiwisolver         1.2.0    
MarkupSafe         1.1.1    
matplotlib         3.3.1    
mistune            0.8.4    
nbconvert          5.6.1    
nbformat           5.0.7    
notebook           6.1.3    
numpy              1.19.1   
packaging          20.4     
pandas             1.1.1    
pandocfilters      1.4.2    
parso              0.7.1    
pathlib            1.0.1    
pexpect            4.8.0    
pickleshare        0.7.5    
Pillow             7.2.0    
pip                20.0.2   
prometheus-client  0.8.0    
prompt-toolkit     3.0.6    
ptyprocess         0.6.0    
pycparser          2.20     
Pygments           2.6.1    
pyparsing          2.4.7    
pyreclab           0.1.14   
pyrsistent         0.16.0   
python-dateutil    2.8.1    
pytz               2020.1   
pyzmq              19.0.2   
requests           2.24.0   
scikit-learn       0.23.2   
scipy              1.5.2    
seaborn            0.10.1   
Send2Trash         1.5.0    
setuptools         46.0.0   
six                1.15.0   
terminado          0.8.3    
testpath           0.4.4    
threadpoolctl      2.1.0    
toolz              0.10.0   
tornado            6.0.4    
traitlets          4.3.3    
urllib3            1.25.10  
wcwidth            0.2.5    
webencodings       0.5.1    
wheel              0.34.2   
zipp               3.1.0
@gasevi
Copy link
Owner

gasevi commented Aug 30, 2020

Hi @indonoso, thanks for your report ! ...

you don't need an additional library to fix it. There's a known issue related to standard output writing and jupyter notebook.

https://stackoverflow.com/questions/46068321/jupyter-notebook-does-not-show-c-output-cout

I'm going to figure out if there is a work around to solve this problem.

GSV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants