Comments (7)
@eezxuan This repo currently only contains the IoU prediction, as it has not included GCN-S yet.
To get the IoP prediction, you can either (1) replace IoU with IoP or (2) train with both IoU and IoP. Both solutions require small modification on the code.
Specifically, for solution (1), when preparing the ground-truth for each proposal, we only need to modify this line to compute IoP instead of IoU.
For solution (2), in addition to the ground-truth preparation, we need to modify the network to predict IoU and IoP with two fc layers respectively.
from learn-to-cluster.
@eezxuan We have added the IoP prediction. To decouple IoU and IoP for better illustration, we implement solution (1) as discussed above. Feel free to have a try. :-)
from learn-to-cluster.
from learn-to-cluster.
Hello @yl-1993
Thanks for your great work and project.
Currently I also try solution (1) to train the GCN-D for getting the IoP score and I find a small problem. In train.py
, since the build_dataset
function only gets cfg.train_data
as input, the det_label
attr is always missing, and the default value 'iou' is used. In this way, setting det_label
to 'iop' in train_cluster_det_iop_ms1m.sh
doesn't change the training target to IoP score and the target is still the IoU score. And to solve this problem, I add the following line
setattr(cfg.train_data, 'det_label', cfg.det_label)
before sending cfg.train_data
into build_dataset
function, which works for me.
from learn-to-cluster.
@Dyfine Good catch! Do you want to create a PR for this?
from learn-to-cluster.
Hi @yl-1993
I just create a PR for this modification. I am sorry that I am not very familiar with the PR steps and please inform me if i did something wrong.
from learn-to-cluster.
@Dyfine Thanks. It looks good to me and I have merged it into the master branch.
from learn-to-cluster.
Related Issues (20)
- output error HOT 1
- Dataset issue HOT 2
- Issue while training LGCN HOT 1
- 您好,想请教一下训练GCN-D时报错run out of input HOT 1
- 没有修改任何参数跑作者提供的pretrained model for ms1m Fscore 只有0.32
- Clustering 512D features using pretrained model HOT 3
- building symmetric adjacency matrix in utils HOT 1
- why using output of relu for rebuilding knn graph HOT 1
- is not a checkpoint filemodels/pretrained_gcn_e_ms1m.pth HOT 3
- about extracting features HOT 3
- About how to make a .meta file HOT 1
- Can we manually set the number of clusters during the test HOT 1
- 大佬,请教下train_cluster_seg_iop_vox.sh 的test阶段报错的问题 HOT 2
- 两个face recognition模型,推荐使用哪个,hfsoftmax还要用到python 2 ? HOT 1
- About pretrained_model to get the the extracted feature HOT 2
- GCN-D MMdistributedDataparallel train HOT 2
- 关于性能 HOT 1
- How to apply lgcn for clustering on custom embeddings of collected face images? HOT 1
- On custom dataset preparation
- On the numpy version which may cause exception HOT 3
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 learn-to-cluster.