Iulia Elisa commited on
Commit
62b1e82
·
1 Parent(s): 8dd38f5

refactory changes

Browse files
.gitignore CHANGED
@@ -5,3 +5,4 @@ plots/.ipynb_checkpoints/artefacts_examples-checkpoint.png
5
  .ipynb_checkpoints/coco_format_to_parquet-checkpoint.ipynb
6
  .ipynb_checkpoints/utils-checkpoint.py
7
  __pycache__/utils.cpython-311.pyc
 
 
5
  .ipynb_checkpoints/coco_format_to_parquet-checkpoint.ipynb
6
  .ipynb_checkpoints/utils-checkpoint.py
7
  __pycache__/utils.cpython-311.pyc
8
+ coco_format_to_parquet.ipynb
load_and_visualise_dataset.ipynb CHANGED
@@ -44,14 +44,14 @@
44
  },
45
  {
46
  "cell_type": "code",
47
- "execution_count": 89,
48
  "id": "c6fb9073-5dcc-40fa-bd6a-f0538de52f8d",
49
  "metadata": {
50
  "scrolled": true
51
  },
52
  "outputs": [],
53
  "source": [
54
- "dataset_path = './dataset_archive/'\n",
55
  "train_annotations_path = os.path.join(dataset_path, 'train/', '_annotations.coco.json')\n",
56
  "valid_annotations_path = os.path.join(dataset_path, 'valid/', '_annotations.coco.json')\n",
57
  "\n",
@@ -62,7 +62,7 @@
62
  },
63
  {
64
  "cell_type": "code",
65
- "execution_count": 90,
66
  "id": "d2f36b48-c584-4927-9558-f88ce82adaf7",
67
  "metadata": {},
68
  "outputs": [
@@ -72,7 +72,7 @@
72
  "5009"
73
  ]
74
  },
75
- "execution_count": 90,
76
  "metadata": {},
77
  "output_type": "execute_result"
78
  }
@@ -83,7 +83,7 @@
83
  },
84
  {
85
  "cell_type": "code",
86
- "execution_count": 92,
87
  "id": "ccf3258b-39ec-4b3b-be3e-e5f02b65003e",
88
  "metadata": {},
89
  "outputs": [
@@ -93,7 +93,7 @@
93
  "1648"
94
  ]
95
  },
96
- "execution_count": 92,
97
  "metadata": {},
98
  "output_type": "execute_result"
99
  }
 
44
  },
45
  {
46
  "cell_type": "code",
47
+ "execution_count": 15,
48
  "id": "c6fb9073-5dcc-40fa-bd6a-f0538de52f8d",
49
  "metadata": {
50
  "scrolled": true
51
  },
52
  "outputs": [],
53
  "source": [
54
+ "dataset_path = './xami_dataset/'\n",
55
  "train_annotations_path = os.path.join(dataset_path, 'train/', '_annotations.coco.json')\n",
56
  "valid_annotations_path = os.path.join(dataset_path, 'valid/', '_annotations.coco.json')\n",
57
  "\n",
 
62
  },
63
  {
64
  "cell_type": "code",
65
+ "execution_count": 16,
66
  "id": "d2f36b48-c584-4927-9558-f88ce82adaf7",
67
  "metadata": {},
68
  "outputs": [
 
72
  "5009"
73
  ]
74
  },
75
+ "execution_count": 16,
76
  "metadata": {},
77
  "output_type": "execute_result"
78
  }
 
83
  },
84
  {
85
  "cell_type": "code",
86
+ "execution_count": 17,
87
  "id": "ccf3258b-39ec-4b3b-be3e-e5f02b65003e",
88
  "metadata": {},
89
  "outputs": [
 
93
  "1648"
94
  ]
95
  },
96
+ "execution_count": 17,
97
  "metadata": {},
98
  "output_type": "execute_result"
99
  }
stratified_kfold.ipynb DELETED
The diff for this file is too large to render. See raw diff