Diffusion4D / objaverse1.0_curated /download_v1_animated.py
hw-liang's picture
Upload /objaverse1.0_curated/download_v1_animated.py with huggingface_hub
71fff55 verified
raw
history blame
322 Bytes
import objaverse
import pickle
uids = objaverse.load_uids()
annotations = objaverse.load_annotations(uids)
cc_by_uids = [uid for uid, annotation in annotations.items() if annotation["animationCount"] != 0]
print(len(cc_by_uids), cc_by_uids[0])
with open('v1_animated_0527.txt','w') as f:
f.write('\n'.join(cc_by_uids))