The recommended setup steps are as follows:
-
Install conda
-
create the conda environment:
cd clvision
conda env create -f environment.yml
- Download and extract the dataset: in order to download the dataset, we ask all participants to accept the dataset terms and provide their email addresses through this form.
You will immediately receive the download instructions at the provided address. We recommend extracting the dataset in the default folder
$HOME/3rd_clvision_challenge/demo_dataset/
. The final directory structure should be like this:
$HOME/3rd_clvision_challenge/challenge/
├── ego_objects_challenge_test.json
├── ego_objects_challenge_train.json
├── images
│ ├── 07A28C4666133270E9D65BAB3BCBB094_0.png
│ ├── 07A28C4666133270E9D65BAB3BCBB094_100.png
│ ├── 07A28C4666133270E9D65BAB3BCBB094_101.png
│ ├── ...
- change the dataset path:
change the dataset path in the
classification.py
file.
# TODO: change this to the path where you downloaded (and extracted) the dataset
DATASET_PATH = ''
- run the code:
python classification.py
the output file is './instance_classification_results_vit'