lackel / dpn Goto Github PK
View Code? Open in Web Editor NEWAAAI 2023 paper "Generalized Category Discovery with Decoupled Prototypical Network"
AAAI 2023 paper "Generalized Category Discovery with Decoupled Prototypical Network"
It seems self.predict_k(args, data) is not defined in the code (line numbers 32 and 33 in DPN.py) for args.cluster_num_factor > 1: (https://github.com/Lackel/DPN/blob/main/DPN.py#L33)
if args.cluster_num_factor > 1: self.num_labels = self.predict_k(args, data)
I tried to run the default code given for the "StackOverflow" dataset and the Clinc dataset. I am getting the following results:
got for Stackoverflow dataset: {'ACC_all': 75.6, 'ACC_known': 81.2, 'ACC_novel': 58.8}
Provided in paper for Stackoverflow dataset: {'ACC_all': 84.23, 'ACC_known': 85.29, 'ACC_novel': 81.07}
Please let me know how can I reproduce the results. I tried varying parameters also like 'predict_k'=2 or 3 but was unable to reproduce the results.
hi wenbin:
感谢贡献非常出色的工作,有一些疑问还麻烦解答一下,感谢:
1、
Line 143 in b359340
Hi ,thank you for your inspiring wok! I find that the code uses softmax function in https://github.com/Lackel/DPN/blob/main/DPN.py#L203. I don't know why the paramater dim is set 0.
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.