项目
在 GitHub 查看
rishikksh20/ResUnet
关于
ResUnet 和 ResUnet++ 的 PyTorch 实现。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Deep ResUnet and ResUnet ++ (Not Maintained)
Unofficial Pytorch implementation of following papers :
Note
- This repo written for experimentation (fun) purpose and heavily hard coded, so avoid to use this as it is in production environement.
- I only wrote ResUnet and ResUnet++ model, Unet is pre-implemented and borrows from this repo.
- Use your own pre-processing and dataloader, dataloader and pre-processing of this repo written for specific use case.
- This repo only tested on Massachusetts Roads Dataset.
Pre-processing
- This pre-processing is for specific use case and follows strict directory structure.
python preprocess.py --config "config/default.yaml" --train training_files_dir --valid validation_files_dir
- Training and validation directories passed in
argsabove should contain two foldersinputfor input images andoutputfor target images. And all images are of fixed square size (in this case1500 * 1500pixels). - Pre-processing crop each input and target image into several fixed size (in this case
224 * 224) small cropped images and saved intoinput_cropandmask_croprespectively on training and validation dump directories as inconfigfile. - You can change training and validation dump directories from config file i.e.
configs/default.yaml.
Training
python train.py --name "default" --config "config/default.yaml"
For Tensorboard:
tensorboard --logdir logs/
References
探索相关项目
加载中…