Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CCNet, a semantic segmentation model implemented by Jittor

NotificationsYou must be signed in to change notification settings

undergraduate-projects/ANN2022Fall

Repository files navigation

Preprocess

Dataset

Please downloadADE dataset and make sure the file structures are as follow:

ADE20K|-images/|-index_ade20k.mat|-index_ad220k.pkl|-objects.txt

You need to runpython3 edit_dataset.py to generate data list for ADE20K dataset, after that the file structures will be:

ADE20K|-images/|-datalist/|-index_ade20k.mat|-index_ad220k.pkl|-objects.txt

Pretrain

ResNet101 Backbone

Please download MIT imagenet pretrainedresnet101-imagenet.pth and store it atpretrain/resnet101-imagenet.pth, then runpython3 edit_pretrain_resnet.py to getpretrain/resnet101_base.pth for Jittor reloading.

VAN_b2 Backbone

Please download pytorch version pretrainedvan_b2.pth and store it atpretrain/van_b2.pth, then runpython3 edit_pretrain_van.py to getpretrain/van_b2_base.pth for Jittor reloading.

Run

Training

In order to trainxxx model (xxx is eitherresnet orvan), please run the following instruction, and the output log will be stored atlog/xxx/yyyymmdd_hhmmss.log

./train_xxx.sh

In case of machine crash or remote disconnection, we recommend that you usetmux to execute training or testing.

About

CCNet, a semantic segmentation model implemented by Jittor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp