Skip to content

Commit

Permalink
fix path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hellock committed Oct 8, 2018
1 parent 8b47a12 commit 3d2b79b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/r50_fpn_frcnn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
rcnn=dict(score_thr=0.05, max_per_img=100, nms_thr=0.5))
# dataset settings
dataset_type = 'CocoDataset'
data_root = '../data/coco/'
data_root = 'data/coco/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
data = dict(
Expand Down
2 changes: 1 addition & 1 deletion configs/r50_fpn_maskrcnn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
score_thr=0.05, max_per_img=100, nms_thr=0.5, mask_thr_binary=0.5))
# dataset settings
dataset_type = 'CocoDataset'
data_root = '../data/coco/'
data_root = 'data/coco/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
data = dict(
Expand Down
2 changes: 1 addition & 1 deletion configs/r50_fpn_rpn_1x.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
min_bbox_size=0))
# dataset settings
dataset_type = 'CocoDataset'
data_root = '../data/coco/'
data_root = 'data/coco/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
data = dict(
Expand Down
2 changes: 1 addition & 1 deletion tools/dist_train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

PYTHON=${PYTHON:-"python"}

$PYTHON -m torch.distributed.launch --nproc_per_node=$2 train.py $1 --launcher pytorch ${@:3}
$PYTHON -m torch.distributed.launch --nproc_per_node=$2 $(dirname "$0")/train.py $1 --launcher pytorch ${@:3}

0 comments on commit 3d2b79b

Please sign in to comment.