update: downgrade supported python version
Browse files- .gitignore +1 -0
- README.md +5 -1
- commands.txt +3 -3
.gitignore
CHANGED
|
@@ -79,3 +79,4 @@ Thumbs.db
|
|
| 79 |
!label_maps/
|
| 80 |
!train_test_paths/
|
| 81 |
!models/
|
|
|
|
|
|
| 79 |
!label_maps/
|
| 80 |
!train_test_paths/
|
| 81 |
!models/
|
| 82 |
+
.python-version
|
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: blue
|
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.19.2
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: Indian Sign Language Recognition Web UI
|
|
@@ -19,6 +20,9 @@ short_description: Indian Sign Language Recognition Web UI
|
|
| 19 |
Install the necessary Python dependencies:
|
| 20 |
|
| 21 |
```bash
|
|
|
|
|
|
|
|
|
|
| 22 |
pip install -r requirements.txt
|
| 23 |
```
|
| 24 |
|
|
@@ -90,4 +94,4 @@ publisher = {Association for Computing Machinery},
|
|
| 90 |
doi = {10.1145/3394171.3413528},
|
| 91 |
series = {MM '20}
|
| 92 |
}
|
| 93 |
-
```
|
|
|
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.19.2
|
| 8 |
+
python_version: 3.10
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Indian Sign Language Recognition Web UI
|
|
|
|
| 20 |
Install the necessary Python dependencies:
|
| 21 |
|
| 22 |
```bash
|
| 23 |
+
python3.10 -m venv venv
|
| 24 |
+
source venv/bin/activate
|
| 25 |
+
pip install --upgrade pip
|
| 26 |
pip install -r requirements.txt
|
| 27 |
```
|
| 28 |
|
|
|
|
| 94 |
doi = {10.1145/3394171.3413528},
|
| 95 |
series = {MM '20}
|
| 96 |
}
|
| 97 |
+
```
|
commands.txt
CHANGED
|
@@ -6,8 +6,8 @@ DATA_DIR="/home/ravijaanthony/Documents/dev/IIT/FYP/Code/DATA"
|
|
| 6 |
PROCESSED_DIR="$INCLUDE_DIR/processed_data"
|
| 7 |
CHECKPOINT="$INCLUDE_DIR/transformer_large.pth"
|
| 8 |
|
| 9 |
-
# Then recreate it on any machine with (Python 3.
|
| 10 |
-
python3.
|
| 11 |
source venv/bin/activate
|
| 12 |
pip install -r requirements.txt
|
| 13 |
|
|
@@ -127,4 +127,4 @@ python darken_dataset.py \
|
|
| 127 |
python combine_datasets.py \
|
| 128 |
--src_a "$INPUT_DIR/$SPLIT" \
|
| 129 |
--src_b "$DARK_DIR/$SPLIT" \
|
| 130 |
-
--output_dir "$MIXED_DIR/$SPLIT"
|
|
|
|
| 6 |
PROCESSED_DIR="$INCLUDE_DIR/processed_data"
|
| 7 |
CHECKPOINT="$INCLUDE_DIR/transformer_large.pth"
|
| 8 |
|
| 9 |
+
# Then recreate it on any machine with (Python 3.7-3.10 supported for mediapipe==0.10.14, 3.10 recommended):
|
| 10 |
+
python3.10 -m venv venv
|
| 11 |
source venv/bin/activate
|
| 12 |
pip install -r requirements.txt
|
| 13 |
|
|
|
|
| 127 |
python combine_datasets.py \
|
| 128 |
--src_a "$INPUT_DIR/$SPLIT" \
|
| 129 |
--src_b "$DARK_DIR/$SPLIT" \
|
| 130 |
+
--output_dir "$MIXED_DIR/$SPLIT"
|