Download Object Errror
Heathcliff-saku opened this issue · 15 comments
Hi, mattdeitke
While downloading, I encountered some issues. Here is the script I used:
annotations = oxl.get_annotations(download_dir="~/.objaverse" )
sampled_df = annotations.groupby('fileType').apply(lambda x: x.sample(1)).reset_index(drop=True)
sampled_df = sampled_df[sampled_df['fileType'] == 'obj'].reset_index(drop=True)
oxl.download_objects(download_dir='./objaverse', objects=sampled_df, processes=1)
where I sampled a random .obj
object, but I couldn't download it successfully. It seems to be related to the website's response. Do you have any suggestions?
Hmm, let me see if I can get a more descriptive error message for you.
same issues
@huohuohuohuohuohuohuohuo are you using windows too?
I only checked it on Ubuntu. But will push a fix to this error message tonight.
If you're able to reproduce it in Google Colab, that would be very helpful :)
It works fine on Colab, but I encountered the same issue on my Ubuntu machine 😂. Providing more log information might be helpful (I'm not sure if it's due to the location where I'm unable to access the resource's url). @mattdeitke
@huohuohuohuohuohuohuohuo are you using windows too?
I am using a Ubuntu machine.
It works fine on Colab, but I encountered the same issue on my Ubuntu machine 😂. Providing more log information might be helpful (I'm not sure if it's due to the location where I'm unable to access the resource's url). @mattdeitke
I have the same issues on Colab when I used "main.py", which Colab configuration did you choose? And what I have used is V100.
annotations = oxl.get_annotations(downloaddir)
objects = annotations[annotations['source'] == 'github'].sample(5)
I encountered the same problem when I changed the objects in the main.py file.
same issue