Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Instructions for Extracting Images from AndroidControl TFRecord
|
| 6 |
+
|
| 7 |
+
Follow these steps to download and extract images from the AndroidControl TFRecord dataset.
|
| 8 |
+
|
| 9 |
+
## Step 1: Download the Original AndroidControl TFRecord
|
| 10 |
+
|
| 11 |
+
1. Navigate to [the AndroidControl TFRecord repository](https://github.com/google-research/google-research/tree/master/android_control) where the AndroidControl TFRecord is hosted.
|
| 12 |
+
2. Download the TFRecord file to your local machine or server.
|
| 13 |
+
|
| 14 |
+
## Step 2: Run the Python Script to Extract Images
|
| 15 |
+
|
| 16 |
+
1. Ensure that `extract_images.py` is in the same directory as your downloaded TFRecord or update the script to point to the location of your TFRecord.
|
| 17 |
+
2. Open a terminal or command prompt.
|
| 18 |
+
3. Execute the script by running:
|
| 19 |
+
```bash
|
| 20 |
+
python extract_images.py
|
| 21 |
+
|
| 22 |
+
## Step 3: Enjoy the parsed json data
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
(We currently do not involve VH Tree)
|