hikvision-research / probabilisticteacher Goto Github PK
View Code? Open in Web Editor NEWAn official implementation of ICML 2022 paper "Learning Domain Adaptive Object Detection with Probabilistic Teacher"."
License: Apache License 2.0
An official implementation of ICML 2022 paper "Learning Domain Adaptive Object Detection with Probabilistic Teacher"."
License: Apache License 2.0
Hello, Thank you for sharing interesting research
I'm wondering why gaussian pdf is directly used to formulate labeled regression loss as a cross-entropy loss.
Is this generally used?
gaussian = gaussian_dist_pdf(fg_pred_deltas[..., :4], gt_pred_deltas, sigma_xywh)
loss_box_reg_gaussian = - torch.log(gaussian + 1e-9).sum()
and gaussian_dist_pdf
def gaussian_dist_pdf(val, mean, var, eps=1e-9):
simga_constant = 0.3
return torch.exp(-(val - mean) ** 2.0 / (var + eps) / 2.0) / torch.sqrt(2.0 * np.pi * (var + simga_constant))
As far as I understand, the goal of mean and variance term used in this paper is to be gt_box (x_off, y_off, box_width, box_height) and zeros, since gt has direct delta fucntion with mean = gt_box and var = 0.
In this respect, directly using gaussian pdf as above would have infinite loss.
p.s/ How did you get sigma_constant = 0.3??
Thanks in advance
Joo Young Jang
Thanks for your great work and sharing the code!
I'm trying to reproduce your results on Cityscapes to FoggyCityscapes. However, I find the data preparation description is not very clear on this dataset:
.jpg
suffix. However, the images from Cityscapes are in .png
format.pose
truncate
difficult
properties which are not actually produced by your annotation transformation script.Would you mind giving more complete instructions on data preparation?
您好,请问这个问题是什么原因引起的呢?文件夹中路径已存在,如:/mnt/f/code_project/domain_adaption/ProbabilisticTeacher/pt/data/VOC2007_citytrain/ImageSets/Main/train.txt
Hello, I'm interested in using this work for inference in my own data, however, I'm not able to find a description about how to do it. Is it possible? And in that case, could you explain me how I can do it? Thanks in advance!
I use the same config files to execute Probablistic Teacher on KITTI to Cityscapes (k2c).
According to your paper, AP of k2c improve from 40.3 to 60.2.
However, I got only 23.8 for AP50.
BTW, in the README page, it seems that only f2c model weights and log files are given. (the link of k2c is same as f2c)
Thanks for your kindly help!
The log of my training is as following:
[10/16 02:43:47] d2.evaluation.testing INFO: copypaste: AP,AP50,AP75
[10/16 02:43:47] d2.evaluation.testing INFO: copypaste: 9.6286,23.8045,7.0624
[10/16 02:43:47] d2.utils.events INFO: eta: 0:00:00 iter: 29999 total_loss: 3.475 loss_cls: 0.04451 loss_box_reg: 0.3731 loss_rpn_cls: 0.03362 loss_rpn_loc: 0.324 loss_cls_sup: 0.04147 loss_box_reg_sup: 0.3772 loss_rpn_cls_sup: 0.03775 loss_rpn_loc_sup: 0.3196 loss_cls_unsup: 0.292 loss_box_reg_unsup: 1.025 loss_rpn_cls_unsup: 0.3071 loss_rpn_loc_unsup: 1.081 time: 6.9902 data_time: 1.4791 lr: 0.016 max_mem: 19448M
Hello, I would like to consult about model weights. I can't find model weights from those provided links, except c2f_log.txt.
please open the pretrained model dowload link
Hi, thanks for sharing the codes. Will you update the links of weights and log files in the "Main Results" ?
Hello,glad to see your excellent work.I wonder whether you can supply the results at commom datasets like coco or voc?
thx for replying.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.