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

ValueError: could not convert string to float: version="1.0" #27

Open
abhijeetnijampurkar opened this issue Jan 21, 2020 · 5 comments
Open

Comments

@abhijeetnijampurkar
Copy link

abhijeetnijampurkar commented Jan 21, 2020

Error is generated as a result of this function call.

@ybgdgh
Copy link

ybgdgh commented Mar 2, 2020

I also meet the question. You should modify the code in your torchtext package. The path in my computer is "/home/ybg/anaconda3/envs/3dscene/lib/python2.7/site-packages/torchtext". You should use this url_base = 'https://dl.fbaipublicfiles.com/fasttext/vectors-wiki/wiki.{}.vec' in class FastText(). The old url_base is not work but i also dont know why. I wish the method can help you.

@abhijeetnijampurkar
Copy link
Author

Hey @ybgdgh ,

When I use reader.py to extract the .sens file, all the depth frames are black images. It seems I might be missing some parameter to be activated while extracting the depth frames.

Can you please help me out on this?

@ybgdgh
Copy link

ybgdgh commented Mar 8, 2020

The black images are right because the format of depth image is uint16, and large number of the depths are very small, so the color is more black but the date is right. You can go on to run the code.

@wffancy
Copy link

wffancy commented Jan 12, 2021

Hi @abhijeetnijampurkar,

I've met the same torchtext problem as yours and I've also tried @ybgdgh's suggestion. But it didn't work for me. Is there anything I miss?

Thanks !

@Aryahagh
Copy link

@wffancy it didn't work for me as well. You can try this:
'https://dl.fbaipublicfiles.com/fasttext/vectors-aligned/wiki.{}.align.vec'

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

4 participants