Datasets:
Preparing ToothFairy2 Data
MedVision is designed to download raw data from source and the annotations from our Huggingface dataset repo. For access to the raw data of the ToothFairy2 dataset, you need to register at https://ditto.ing.unimore.it/toothfairy2/.
This tutorial is about:
- What data to download from the source in order to use the annotations from MedVision?
- How to prepare data?
What data to download?
- Download and extract data from source
# Files from ToothFairy2 source
βββ Dataset112_ToothFairy2
βββ imagesTr
βββ ToothFairy2F_001_0000.mha
βββ ...
βββ labelsTr
βββ ToothFairy2F_001.mha
βββ ...
How to prepare data?
β οΈ DO NOT change file or folder names. See why here.
Put these folders into
ToothFairy2and upload the compressed file to your HF dataset repo# DO NOT use other folder names βββ ToothFairy2 βββ imagesTr βββ labelsTrYour HF repo should contain
ToothFairy2.zipSet env var whenever you load ToothFairy2 data from MedVision
import os os.environ["MedVision_ToothFairy2_HF_ID"] = <your-hf-dataset-id>