Relento
commited on
Commit
•
f42ac32
1
Parent(s):
e2d6333
update.
Browse files- README.md +4 -3
- download_data.sh +8 -0
README.md
CHANGED
@@ -22,8 +22,7 @@ GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:datasets/rcwang/for_elise
|
|
22 |
And then download dataset.zip
|
23 |
```
|
24 |
cd for_elise
|
25 |
-
|
26 |
-
unzip dataset.zip
|
27 |
```
|
28 |
|
29 |
# 3D Visualizer
|
@@ -32,7 +31,9 @@ We provide a web-based 3D visualizer of our dataset under `visualizer/` which ha
|
|
32 |
cd visualizer
|
33 |
python server.py
|
34 |
```
|
35 |
-
You need `flask` and `numpy` to run the visualizer.
|
|
|
|
|
36 |
|
37 |
# Dataset structure
|
38 |
The metadata for all 153 pieces can be found in `metadata.json`:
|
|
|
22 |
And then download dataset.zip
|
23 |
```
|
24 |
cd for_elise
|
25 |
+
sh ./download_data.sh
|
|
|
26 |
```
|
27 |
|
28 |
# 3D Visualizer
|
|
|
31 |
cd visualizer
|
32 |
python server.py
|
33 |
```
|
34 |
+
Then you can access the visualizer by visiting `http://127.0.0.1:8080`. You need `flask` and `numpy` to run the visualizer.
|
35 |
+
|
36 |
+
For some long pieces, it might take several seconds to initialize the visualizer.
|
37 |
|
38 |
# Dataset structure
|
39 |
The metadata for all 153 pieces can be found in `metadata.json`:
|
download_data.sh
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
echo "Downloading dataset.zip"
|
2 |
+
wget https://huggingface.co/datasets/rcwang/for_elise/resolve/main/dataset.zip -O dataset.zip
|
3 |
+
echo "Unzipping dataset.zip"
|
4 |
+
unzip dataset.zip
|
5 |
+
echo "Downloading visualizer assets"
|
6 |
+
wget https://huggingface.co/datasets/rcwang/for_elise/resolve/main/visualizer/assets/mano_faces.pkl -O visualizer/assets/mano_faces.pkl
|
7 |
+
wget https://huggingface.co/datasets/rcwang/for_elise/resolve/main/visualizer/static/resources/envmap.hdr -O visualizer/static/resources/envmap.hdr
|
8 |
+
echo "Done"
|