Directory Structure
βββ cfg.py
βββ checkpoints
β βββ cfg
β βββ checkpoint.pth.tar
βββ data
β βββ TestData
β β βββ image
β β βββ txt
β βββ TrainingData
β βββ image
β βββ txt
βββ dataset
β βββ builder.py
β βββ __init__.py
β βββ pan_pp_test.py
β βββ pan_pp_train.py
βββ models
β βββ backbone
β β βββ builder.py
β β βββ __init__.py
β β βββ resnet.py
β βββ builder.py
β βββ head
β β βββ builder.py
β β βββ __init__.py
β β βββ pan_pp_det_head.py
β βββ __init__.py
β βββ loss
β β βββ acc.py
β β βββ builder.py
β β βββ dice_loss.py
β β βββ emb_loss_v1.py
β β βββ emb_loss_v2.py
β β βββ __init__.py
β β βββ iou.py
β β βββ ohem.py
β βββ neck
β β βββ builder.py
β β βββ fpem_v2.py
β β βββ __init__.py
β βββ pan_pp.py
β βββ utils
β βββ conv_bn_relu.py
β βββ coordconv.py
β βββ fuse_conv_bn.py
β βββ __init__.py
βββ README.md
βββ requirement.txt
βββ main.ipynb
βββ test.py
βββ test.sh
βββ train.py
βββ train.sh
βββ utils
βββ average_meter.py
βββ corrector.py
βββ __init__.py
βββ logger.py
βββ result_format.py
βββ visualizer.py
~/Google Drive/λ΄ λλΌμ΄λΈ$ git clone https://github.com/Team-BoonMoSa/PANPP
~/Google Drive/λ΄ λλΌμ΄λΈ/PANPP/data
μ FlickrLogos-v2
μ
λ‘λ
sh makeGT.sh
!sh train.sh
tt_root_dir = './data/TrainingData/'
tt_train_data_dir = tt_root_dir + 'image/'
tt_train_gt_dir = tt_root_dir + 'txt/'
train_cfg = dict(
...
# pretrain='',
)
!sh test.sh
data = dict(
...
test=dict(
...
data='data/TestData/image/'
)
)
test_cfg = dict(
...
pretrain='./checkpoints/cfg/checkpoint.pth.tar', # tmp
)
Reference