Uehwan / 3-D-Scene-Graph

3D scene graph generator implemented in Pytorch.
77 stars 11 forks source link

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

Open abhijeetnijampurkar opened 4 years ago

abhijeetnijampurkar commented 4 years ago

Error is generated as a result of this function call.

ybgdgh commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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