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

Doubles only? #5

Open
culurciello opened this issue Feb 23, 2015 · 7 comments
Open

Doubles only? #5

culurciello opened this issue Feb 23, 2015 · 7 comments

Comments

@culurciello
Copy link

Is there a reason why the algorithm only works on doubles?

@lvdmaaten
Copy link
Collaborator

Hmmm, not really I guess. You want to be able to use floats as well? I'll work on that...

@culurciello
Copy link
Author

I tried to pass floats and the results were incorrect. Did you try or did I make a mistake?

@lvdmaaten
Copy link
Collaborator

I also get incorrect results when I pass floats, so I don't think it's your mistake.

@culurciello
Copy link
Author

Hi Laurens van der Maaten, do you still have a plan to used Floats, or should we look into it?

@lvdmaaten
Copy link
Collaborator

Hmmm changing the Torch code is easy, but this also requires changing the C++ code, which will imply a bit more work. I'm not sure I will have time for it anytime soon.

If you want to do it yourself, then start from this version: #4

@nybbles
Copy link

nybbles commented Nov 20, 2015

Ran into this issue as well and did some investigation to find the root cause, then came here to Github to file an issue and found this.

I could take a stab at making this change, but I think an immediate and simple change would be to just check the tensor type and throw an informative error, right than having the code segfault.

@lvdmaaten
Copy link
Collaborator

Agreed!

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

3 participants