-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from Nota-NetsPresso/v0.2.2-release
Micro update: v0.2.2 release
- Loading branch information
Showing
206 changed files
with
5,071 additions
and
410 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
...data/local/voc12_grayscale_converted.yaml → config/data/local/ade20k.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
data: | ||
name: voc2012 | ||
name: ade20k | ||
task: segmentation | ||
format: local | ||
path: | ||
root: ./data/voc2012_seg | ||
root: ./data/ade20k | ||
train: | ||
image: images/train # directory for training images | ||
label: labels/train # directory for training labels | ||
valid: | ||
image: images/valid # directory for valid images | ||
label: labels/valid # directory for valid labels | ||
test: | ||
image: ~ | ||
label: ~ | ||
image: images/valid # directory for test images | ||
label: labels/valid # directory for test images | ||
pattern: | ||
image: ~ | ||
label: ~ | ||
label_image_mode: L | ||
id_mapping: id_mapping.json | ||
#id_mapping: ['background', 'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
data: | ||
name: cityscapes | ||
task: segmentation | ||
format: local | ||
path: | ||
root: ./data/cityscapes | ||
train: | ||
image: images/train # directory for training images | ||
label: labels/train # directory for training labels | ||
valid: | ||
image: images/valid # directory for valid images | ||
label: labels/valid # directory for valid labels | ||
test: | ||
image: images/valid # directory for test images | ||
label: labels/valid # directory for test images | ||
pattern: | ||
image: ~ | ||
label: ~ | ||
label_image_mode: L | ||
id_mapping: id_mapping.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
data: | ||
name: voc2012 | ||
task: segmentation | ||
format: local | ||
path: | ||
root: ./data/voc2012_seg # dataset root | ||
train: | ||
image: images/train # directory for training images | ||
label: labels/train # directory for training labels | ||
valid: | ||
image: images/valid # directory for valid images | ||
label: labels/valid # directory for valid labels | ||
test: | ||
image: ~ | ||
label: ~ | ||
pattern: | ||
image: ~ | ||
label: ~ | ||
label_image_mode: RGB | ||
id_mapping: id_mapping.json | ||
# (0, 0, 0): background | ||
# (128, 0, 0): aeroplane | ||
# (0, 128, 0): bicycle | ||
# (128, 128, 0): bird | ||
# (0, 0, 128): boat | ||
# (128, 0, 128): bottle | ||
# (0, 128, 128): bus | ||
# (128, 128, 128): car | ||
# (64, 0, 0): cat | ||
# (192, 0, 0): chair | ||
# (64, 128, 0): cow | ||
# (192, 128, 0): diningtable | ||
# (64, 0, 128): dog | ||
# (192, 0, 128): horse | ||
# (64, 128, 128): motorbike | ||
# (192, 128, 128): person | ||
# (0, 64, 0): pottedplant | ||
# (128, 64, 0): sheep | ||
# (0, 192, 0): sofa | ||
# (128, 192, 0): train | ||
# (0, 64, 128): tvmonitor | ||
pallete: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
config/model/mobilenetv3/mobilenetv3-large-classification.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
model: | ||
task: classification | ||
name: mobilenet_v3_large | ||
checkpoint: | ||
use_pretrained: True | ||
load_head: False | ||
path: ~ | ||
fx_model_path: ~ | ||
optimizer_path: ~ | ||
freeze_backbone: False | ||
architecture: | ||
full: ~ # auto | ||
backbone: | ||
name: mobilenetv3 | ||
params: ~ | ||
stage_params: | ||
- | ||
in_channels: [16, 16, 24] | ||
kernel_sizes: [3, 3, 3] | ||
expanded_channels: [16, 64, 72] | ||
out_channels: [16, 24, 24] | ||
use_se: [False, False, False] | ||
act_type: ["relu", "relu", "relu"] | ||
stride: [1, 2, 1] | ||
- | ||
in_channels: [24, 40, 40] | ||
kernel_sizes: [5, 5, 5] | ||
expanded_channels: [72, 120, 120] | ||
out_channels: [40, 40, 40] | ||
use_se: [True, True, True] | ||
act_type: ["relu", "relu", "relu"] | ||
stride: [2, 1, 1] | ||
- | ||
in_channels: [40, 80, 80, 80, 80, 112] | ||
kernel_sizes: [3, 3, 3, 3, 3, 3] | ||
expanded_channels: [240, 200, 184, 184, 480, 672] | ||
out_channels: [80, 80, 80, 80, 112, 112] | ||
use_se: [False, False, False, False, True, True] | ||
act_type: ["hard_swish", "hard_swish", "hard_swish", "hard_swish", "hard_swish", "hard_swish"] | ||
stride: [2, 1, 1, 1, 1, 1] | ||
- | ||
in_channels: [112, 160, 160] | ||
kernel_sizes: [5, 5, 5] | ||
expanded_channels: [672, 960, 960] | ||
out_channels: [160, 160, 160] | ||
use_se: [True, True, True] | ||
act_type: ["hard_swish", "hard_swish", "hard_swish"] | ||
stride: [2, 1, 1] | ||
head: | ||
name: fc | ||
params: | ||
num_layers: 2 | ||
intermediate_channels: 1280 | ||
act_type: hard_swish | ||
dropout_prob: 0. | ||
losses: | ||
- criterion: cross_entropy | ||
label_smoothing: 0.1 | ||
weight: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: | ||
task: detection | ||
name: yolox_l | ||
checkpoint: | ||
use_pretrained: True | ||
load_head: False | ||
path: ~ | ||
fx_model_path: ~ | ||
optimizer_path: ~ | ||
freeze_backbone: False | ||
architecture: | ||
full: ~ # auto | ||
backbone: | ||
name: cspdarknet | ||
params: | ||
dep_mul: &dep_mul 1.0 | ||
wid_mul: 1.0 | ||
act_type: &act_type "silu" | ||
stage_params: ~ | ||
neck: | ||
name: yolopafpn | ||
params: | ||
dep_mul: *dep_mul | ||
act_type: *act_type | ||
head: | ||
name: anchor_free_decoupled_head | ||
params: | ||
act_type: *act_type | ||
# postprocessor - decode | ||
score_thresh: 0.01 | ||
# postprocessor - nms | ||
nms_thresh: 0.65 | ||
class_agnostic: False | ||
losses: | ||
- criterion: yolox_loss | ||
weight: ~ | ||
l1_activate_epoch: 1 |
Oops, something went wrong.