Skip to content
GitLab
菜单
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
Lin Sui
detectron2
提交
e4264ec7
提交
e4264ec7
编辑于
10月 10, 2021
作者:
suilin0432
浏览文件
update
上级
07f26afb
变更
4
Hide whitespace changes
Inline
Side-by-side
configs/COCO-InstanceSegmentation/voc_irn.yaml
0 → 100644
浏览文件 @
e4264ec7
_BASE_
:
"
../Base-RCNN-FPN.yaml"
MODEL
:
WEIGHTS
:
"
detectron2://ImageNetPretrained/MSRA/R-50.pkl"
MASK_ON
:
True
RESNETS
:
DEPTH
:
50
DATASETS
:
TRAIN
:
("voc_2012_seg_train_irn",)
TEST
:
("voc_2012_seg_val",)
SOLVER
:
BASE_LR
:
0.008
WEIGHT_DECAY
:
0.0001
IMS_PER_BATCH
:
8
STEPS
:
(16000, )
MAX_ITER
:
20000
CHECKPOINT_PERIOD
:
4000
\ No newline at end of file
detectron2/data/datasets/builtin.py
浏览文件 @
e4264ec7
...
...
@@ -52,6 +52,10 @@ _PREDEFINED_SPLITS_COCO["coco"] = {
"coco_2017_gt_random_30_1"
:
(
"coco2017/train2017"
,
"coco2017/annotations/random30_1.json"
),
"coco_2017_gt_random_30_2"
:
(
"coco2017/train2017"
,
"coco2017/annotations/random30_2.json"
),
"coco_2017_gt_random_30_3"
:
(
"coco2017/train2017"
,
"coco2017/annotations/random30_3.json"
),
"voc_2012_seg_train"
:
(
"VOC2012/JPEGImages"
,
"VOC2012/voc_2012_train_instance.json"
),
"voc_2012_seg_val"
:
(
"VOC2012/JPEGImages"
,
"VOC2012/voc_2012_val_instance.json"
),
"voc_2012_seg_train_irn"
:
(
"VOC2012/JPEGImages"
,
"VOC2012/voc_2012_train_instance_irn.json"
),
"sbd_seg"
:
(
"VOC_SBD/images"
,
"VOC2012/sbd_9118_instance.json"
)
}
_PREDEFINED_SPLITS_COCO
[
"coco_person"
]
=
{
...
...
run/WSIS/voc_irn.sh
0 → 100644
浏览文件 @
e4264ec7
python tools/train_net.py
\
--config-file
configs/COCO-InstanceSegmentation/voc_irn.yaml
\
--num-gpus
8
--dist-url
tcp://0.0.0.0:14192
--resume
\
OUTPUT_DIR output/wsis/voc_only_2w_008
\
SOLVER.BASE_LR 0.008
run/WSIS/voc_irn_v100.sh
0 → 100644
浏览文件 @
e4264ec7
CUDA_VISIBLE_DEVICES
=
4,5,6,7 python tools/train_net.py
\
--config-file
configs/COCO-InstanceSegmentation/voc_irn.yaml
\
--num-gpus
4
--dist-url
tcp://0.0.0.0:14192
--resume
\
OUTPUT_DIR output/wsis/voc_only_2w_008
\
SOLVER.BASE_LR 0.008
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录