guowenxin
commited on
Commit
•
3427d84
1
Parent(s):
e706125
Update modified script
Browse files- pills_inside_bottles.py +1 -16
pills_inside_bottles.py
CHANGED
@@ -1,25 +1,10 @@
|
|
1 |
-
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
# TODO: Address all TODOs and remove all explanatory comments
|
15 |
"""The dataset contains 13,955 imgaes of pills inside medication bottles,
|
16 |
which are from a top down view. They are labeled with 20 distinct National
|
17 |
Drug Code (NDC) and each image is associated with an image id. The dataset
|
18 |
is split into train, test, and validation sets. """
|
19 |
|
20 |
|
21 |
-
import csv
|
22 |
-
import json
|
23 |
import os
|
24 |
from typing import List
|
25 |
|
|
|
1 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"""The dataset contains 13,955 imgaes of pills inside medication bottles,
|
3 |
which are from a top down view. They are labeled with 20 distinct National
|
4 |
Drug Code (NDC) and each image is associated with an image id. The dataset
|
5 |
is split into train, test, and validation sets. """
|
6 |
|
7 |
|
|
|
|
|
8 |
import os
|
9 |
from typing import List
|
10 |
|