-
Notifications
You must be signed in to change notification settings - Fork 41
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
keras-tqdm in Anaconda #19
Comments
@pluviosilla you should be able to just use standard methods like |
Shouldn't have to make that folder yourself. Run setup.py from wherever you checked out the code and it should create that folder. What errors are you getting? Use Might need to uninstall or delete the folder you created first. |
I got the app installed. Thank you very much for your help, but I get errors when I run Francois Chollet’s LSTM sample code with the TQDM callback in the parameter list of the fit() method (see attachments).
John Strong
From: Ben [mailto:[email protected]]
Sent: Sunday, October 08, 2017 5:10 PM
To: bstriner/keras-tqdm
Cc: John Strong; Mention
Subject: Re: [bstriner/keras-tqdm] keras-tqdm in Anaconda (#19)
Shouldn't have to make that folder yourself. Run setup.py from wherever you checked out the code and it should create that folder. What errors are you getting?
Use setup.py install if you just want to install it. setup.py develop if you might be making some changes to the code.
Might need to uninstall or delete the folder you created first.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#19 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AASVbHl1CU8nGrto0xPv33tHZvP53Ztjks5sqUgsgaJpZM4Pw52L> . <https://github.com/notifications/beacon/AASVbBAVj6BAVQyK8MzvWU0bSYqeRSPZks5sqUgsgaJpZM4Pw52L.gif>
|
I don't see an attachment... |
The server must have deleted the attachments, probably because it didn't like the file types (html and ipynb). I think I had better luck just now uploading a ZIP file. The zip archive I uploaded contains a jupyter notebook and an HTML version of the notebook that includes the error spew I get when trying to include the TQDM callback in the fit() method's parameter list. |
You're on an old version which matched keras 1. Current version works on keras 1 and 2. C:\Anaconda3\envs\aind-dog\lib\site-packages\keras_tqdm-1.0.7-py3.5.egg\keras_tqdm\tqdm_callback.py Version on pypi is 2.0.1 uploaded on 2017-04-08. Not sure how u ended up with such an old version. https://pypi.python.org/pypi/keras-tqdm/2.0.1 As I mentioned, you can use the current pypi version or the github version, which might be slightly newer. |
Could it be because I am installing the developer version? I want keras-tqdm in one of my Anaconda environments. So I clone your tree in the corresponding folder (Windows 10), navigate to keras-tqdm, per your instructions, and run:
I cannot run this line of setup code without specifying develop, because without The installation appears to work. Last line of the spew reads:
So I appear to have the correct version. Have you tried installing your tool in a conda environment? |
O.k. I resolved the installation problem. Turns out you can install pip within the conda environment then when you activate the environment, you can run pip and it will install keras tqdm to that particular conda environment. I didn't know you could do that with pip. So none of my hamfisted kludges were necessary. Unfortunately, my jupyter notebook still hangs after the progress bar spews out some garbage characters. I so wanted to believe that keras tqdm would fix this annoying problem for me. I'm sure this tool works for some people, and I applaud you for creating it. Thank you! I mention my problem just by way of sharing information I assume you would like to have. Sorry that I can't give you error or stack trace information, because, as you know, the jupyter notebook hangs when the progress bar timeout problem occurs. If you know of a way to generate a log or a dump or otherwise extract info in spite of the program hanging, please tell me how and I will send you the log. |
Are you running the Notebook TQDM or the Console TQDM? Console running in Jupyter might do that. Send a screenshot or the notebook if you're still having something weird. |
Notebook. I'm attaching a ZIP archive containing a screenshot of what I see when the notebook hangs as well as jupyter notebook's console output: |
In Anaconda, steps to install the package.
Now the package is installed and it can be used right away. Please share your feedback. |
I tried the following:
But I get errors. I don't suppose there's a nice cookbook way to install this in a conda environment, is there?
The text was updated successfully, but these errors were encountered: