Comments (2)
@happsky : Sorry for being late in responding to your query. If you want to train it on your own dataset, you can follow the standard training procedure mentioned at the github repo of RefineNet
You will need to create files gen_classs_info_<dataset-name>.m
and my_gen_ds_info_<dataset-name>.m
with information about your dataset and train, val, test splits.
If your dataset also has 2 classes: hand and background, then you can use the same files from folder refinenet_files in this repo.
I hope it helps. Let me know if you have any more queries.
from hand-segmentation-in-the-wild.
To be more clear, this is what you need to do:
-
Make a clone from refinenet github repo
-
If you want to train on your own dataset, you need to follow the demo training file: demo_refinenet_train.m.
-
You need to provide the information for your dataset and the classes. If you go through the file demo_refinenet_train.m, you will find the dataset information is defined in the file my_gen_ds_info_voc.m, so follow this file to write your own file for defining the dataset, e.g.,
my_gen_ds_info_<dataset-name>.m
-
There's a line in the file my_gen_ds_info_voc.m:
ds_info.class_info=gen_class_info_voc();
where the class information is specified in the function gen_class_info_voc(), and you need to follow this to write your own function.
- Since you will need a new classification layer, you need to skip the initiation of the last classification layer from the trained model.
In the file gen_network_main.m
to skip this initialization, You will find this line in the file:
loss_group_info=gen_network_loss_group(train_opts, net_config, group_output_info);
add the following lines after the above line to stop the initiation of the classification layer:
% if you want to increase the learning rate for the last classification layer, uncomment this line:
% loss_group_info.net_info.ref.lr_multiplier=10;```
from hand-segmentation-in-the-wild.
Related Issues (12)
- Demo code? HOT 3
- Error in HandOverFace(HOF) dataset HOT 2
- EYTH Dataset masks saved as jpg in vid6 HOT 2
- Could not download the datasets HOT 2
- training details HOT 3
- The URL list of original movies used in EgoYoutubeHand dataset HOT 5
- Generalising to bigger images
- Transparent Hands Dataset HOT 3
- Hand over face (High Resolution Masks) HOT 11
- Would you please specify your dataset license? HOT 1
- Assertion Failed Error while running demo_refinenet_test_example_egohands.m script
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 hand-segmentation-in-the-wild.