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

Unable to see Float16 in Spyder Variable Explorer #3237

Closed
arita37 opened this issue Jun 20, 2016 · 5 comments
Closed

Unable to see Float16 in Spyder Variable Explorer #3237

arita37 opened this issue Jun 20, 2016 · 5 comments

Comments

@arita37
Copy link

arita37 commented Jun 20, 2016

Description of your problem

What steps will reproduce the problem?

  1. v= np.zeros((5,5), dtype=np.float16)
  2. In Variable click on v to see inside the table, an Error saying Float16 is not supported.

What is the expected output? What do you see instead?
We can see Float32 and Float64, Float16 is useful, especially
for neural network (Google even uses Float8 .... !!)

Able to see Float16, Float8 in Variable Explorer.

Versions and main components

  • Spyder Version: Spyder 2.3.5.2
  • Python Version: Python 2.7.10 64bits, Qt 4.8.7, PyQt4 (API v2) 4.11.4 on Windows
  • Operating system: Windows 7

Dependencies

Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

@jitseniesen
Copy link
Member

@arita37 thanks for your report. Your Spyder is a bit out of date: the latest stable version is 2.3.9, but the issue still persists in that version. We should be able to add support for float16. However, I can't find anything about float8; is there any documentation about this type?

@arita37
Copy link
Author

arita37 commented Jun 22, 2016

Hello,

Am using WinPython.
Is there a way to update Spyder without messing all my installed package in WinPython ?

Thanks

On 22 Jun 2016, at 17:47, Jitse Niesen notifications@github.com wrote:

@arita37 thanks for your report. Your Spyder is a bit out of date: the latest stable version is 2.3.9, but the issue still persists in that version. We should be able to add support for float16. However, I can't find anything about float8; is there any documentation about this type?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ccordoba12
Copy link
Member

@jitseniesen, we define our list of supported types for the Variable Explorer:

https://github.com/spyder-ide/spyder/blob/master/spyderlib/config/base.py#L343

I think you shouldn't have much problem in adding and testing that we can show float16 arrays too :-)

@jitseniesen
Copy link
Member

Am using WinPython. Is there a way to update Spyder without messing all my installed package in WinPython ?

I'm not using WinPython so I don't know. @stonebig do you know?

@stonebig
Copy link
Contributor

stonebig commented Jun 23, 2016

I woud try:

  • copy/paste Winpython directory (the winpython-copy is a backup, if all goes wrong, ziping it would do also)
  • start "Winpython Command Prompt", and
python -m pip install --upgrade pip
%WINPYDIR%\..\scripts\make_winpython_movable.bat

then

pip install qtpy
pip uninstall spyder

(answer y to the question)
then

pip install spyder

nota:

  • WinPython2.7 is no longer maintained, so it's theorical suggestion
  • you will install that way spyder 2.3.9.
  • I did experiment it on an old 2.710 beta, not sure it would work on official one

jitseniesen added a commit to jitseniesen/spyder that referenced this issue Jun 27, 2016
jitseniesen added a commit to jitseniesen/spyder that referenced this issue Jun 27, 2016
@ccordoba12 ccordoba12 modified the milestones: v3.0beta4, v3.2 Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants