hw-liang commited on
Commit
71fff55
1 Parent(s): 5a588f3

Upload /objaverse1.0_curated/download_v1_animated.py with huggingface_hub

Browse files
objaverse1.0_curated/download_v1_animated.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import objaverse
2
+ import pickle
3
+ uids = objaverse.load_uids()
4
+ annotations = objaverse.load_annotations(uids)
5
+ cc_by_uids = [uid for uid, annotation in annotations.items() if annotation["animationCount"] != 0]
6
+ print(len(cc_by_uids), cc_by_uids[0])
7
+ with open('v1_animated_0527.txt','w') as f:
8
+ f.write('\n'.join(cc_by_uids))