Comments (4)
@IemProg In fact, the dataset is not required to be "Yaml" extension, and JPG is totally OK.
We illustrate an overall (coarse) guidelines on how to train the model on your own dataset as below and hope it helps.
- first of all, you need to create a set of config files under the folder openseg.pytorch/configs/your_dataset_name following the other dataset. For example, we take the coco_stuff dataset as an example (as below),
openseg.pytorch/configs/coco_stuff/R_101_D_8.json
Lines 2 to 49 in db0d389
You need to change a set of keywords in the json file including the "dataset", "num_classes", "label_list", "reduce_zero_label", "input_size","crop_size", "base_lr" and so on. Of course, you can also reset these parameters in the training script file (listed as below),
openseg.pytorch/scripts/coco_stuff/run_h_48_d_4_ocr_train.sh
Lines 31 to 48 in db0d389
- second, you need to organize your training/validation dataset following the folder structure like below,
├── your_dataset_name
│ ├── train
│ │ ├── image
│ │ └── label
│ ├── val
│ │ ├── image
│ │ └── label
- third, you need to prepare the training script following the example below and change the DATA_DIR, SAVE_DIR, CONFIGS, and all of the other settings accordingly.
from openseg.pytorch.
@IemProg Thanks for your advice and we will improve the Doc.
Do you mean the details on how to train the models on your own dataset?
from openseg.pytorch.
Yeah, please, especially if the dataset is not in "Yaml" extension, I have dataset in JPG format.
Thanks !
from openseg.pytorch.
It seems this is not suitable for training segfix on my own dataset
from openseg.pytorch.
Related Issues (20)
- Address already in use: how to enable multiple training process on one machine?
- validation in inference process has a large difference with validation in train process HOT 1
- ERROR: Found no prediction for ground truth HOT 1
- Wrong! bash scripts/cityscapes/segfix/run_h_48_d_4_segfix.sh segfix_pred_val 1 HOT 1
- Mask loss is 0.0 and overall loss doesnt converge && what is relevance of dt_num_classes ? HOT 2
- TypeError: 'NoneType' object is not callable HOT 2
- Unexpected key(s) in state_dict: "config_dict", "state_dict". HOT 1
- FSSlowOhemCELoss is not defined in loss_helper
- why the refined result is white?
- can not reproduce eval result with segfix
- question about flops
- Result of refinement by SegFix on HRNet / HRNet-Semantic-Segmentation open source
- a pretrained SegFix model,
- preprocess scripts for LIP
- Checkpoints for SegFix models trained with Pytorch-1.7 have been released?
- Preprocess VOC dataset HOT 2
- need *.mat when I want to train segfix on my own dataset
- custom dataset
- label list
- About Train and Val HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openseg.pytorch.