Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import multiprocessing
|
2 |
+
import objaverse
|
3 |
+
import random
|
4 |
+
|
5 |
+
processes = multiprocessing.cpu_count()
|
6 |
+
|
7 |
+
uids = objaverse.load_uids()
|
8 |
+
random_object_uids = random.sample(uids, 100)
|
9 |
+
|
10 |
+
objects = objaverse.load_objects(
|
11 |
+
uids=random_object_uids,
|
12 |
+
download_processes=processes
|
13 |
+
)
|