Use vscode
and open the root directory of this project.
Then, you will see a popup to reopen in a dev container.
poetry install
poetry shell
mkdir kaggle_data
cd kaggle_data
kaggle competitions download -c <competition name>
mkdir datasets
cd datasets/
tfds new my_dataset # Create `my_dataset/my_dataset.py` template files
# [...] Manually modify `my_dataset/my_dataset.py` to implement your dataset.
cd my_dataset/
tfds build # Download and prepare the dataset to `~/tensorflow_datasets/`
# in your python code
import tensorflow_datasets as tfds
import datasets.my_dataset
ds = tfds.load("my_dataset")
# modify ktk/apps/config/train.yaml
python -m ktk.apps.train
# or specify your own config
python -m ktk.apps.train --config_name=myconf
# modify ktk/apps/config/evaluate.yaml
python -m ktk.apps.evaluate
# or specify your own config
python -m ktk.apps.evaluate --config_name=myconf
python -m ktk.apps.tflite_converter
python -m ktk.apps.evaluate_tflite