renaming
BIN
mmp/a4/.output/2242079_transformed.png
Normal file
|
After Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 134 KiB |
BIN
mmp/a4/.output/2245201_transformed.png
Normal file
|
After Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 154 KiB |
BIN
mmp/a4/.output/2245364_transformed.png
Normal file
|
After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 161 KiB |
BIN
mmp/a4/.output/2246825_transformed.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
|
Before Width: | Height: | Size: 202 KiB |
BIN
mmp/a4/.output/2247504_transformed.png
Normal file
|
After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 153 KiB |
BIN
mmp/a4/.output/2251738_transformed.png
Normal file
|
After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 118 KiB |
BIN
mmp/a4/.output/2254896_transformed.png
Normal file
|
After Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 133 KiB |
BIN
mmp/a4/.output/2258469_transformed.png
Normal file
|
After Width: | Height: | Size: 260 KiB |
BIN
mmp/a4/.output/2259787_transformed.png
Normal file
|
After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 194 KiB |
BIN
mmp/a4/.output/2262766_transformed.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
mmp/a4/.output/2265095_transformed.png
Normal file
|
After Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 191 KiB |
BIN
mmp/a4/.output/2265907_transformed.png
Normal file
|
After Width: | Height: | Size: 223 KiB |
@@ -120,7 +120,7 @@ def get_dataloader(
|
||||
return dataloader
|
||||
|
||||
|
||||
def calculate_max_coverage(loader, min_iou):
|
||||
def calculate_coverage(loader, min_iou):
|
||||
"""
|
||||
@param loader: DataLoader object.
|
||||
@param min_iou: Minimum IoU overlap to count a ground truth box as covered.
|
||||
@@ -254,7 +254,7 @@ def draw_positive_boxes(
|
||||
|
||||
def main():
|
||||
anchor_grid = get_anchor_grid(
|
||||
anchor_widths=[8, 16, 35, 32, 64, 96, 128, 144, 150, 160, 192, 224],
|
||||
anchor_widths=[8, 16, 32, 64, 96, 128, 160, 192],
|
||||
aspect_ratios=[1 / 3, 1 / 2, 3 / 5, 2 / 3, 3 / 4, 1, 4 / 3, 5 / 3, 2, 2.5, 3],
|
||||
num_rows=28,
|
||||
num_cols=28,
|
||||
@@ -270,7 +270,7 @@ def main():
|
||||
anchor_grid=anchor_grid,
|
||||
)
|
||||
|
||||
# print(calculate_max_coverage(dataloader, 0.7))
|
||||
# print(calculate_coverage(dataloader, 0.7))
|
||||
|
||||
for img, label, img_id in islice(dataloader, 12):
|
||||
draw_positive_boxes(
|
||||
|
||||