udtl_lable_inconsistent's People
udtl_lable_inconsistent's Issues
uan代码部分可能存在问题
您好 在UAN代码的测试阶段的一行代码可能存在问题 for (each_predict, each_label,each_target_share_weight) in zip(logits, labels.cpu(), target_share_weight): 这个target_share_weight应该利用测试数据重新计算一下
你好 这里有一个报错 请教您一下
datasets文件夹下
from datasets.CWRU_label_inconsistent import CWRU_inconsistent
from datasets.CWRUFFT_label_inconsistent import CWRUFFT_inconsistent
总是会报如下错误:TypeError: 'module' object is not callable(“模块”对象不可调用)
但是我认真比对了代码 并没有出现包的引入错误 这是为什么呢?
Possible mistakes
-
train_utils_open_univ.py line 273
I checked the official UAN code and they get thedomain_prob
by adding or not adding.detach()
, while your code seems to use onlyself.AdversarialNet_auxiliary()
, which is non-adversarial because no grl layer is added. So the adv_loss here might be wrong?self.AdversarialNet()
should be used here right? -
train_utils_open_univ.py line 330
>
should be changed to<
? Because the weight < threshold means that it belongs to the unknown class. -
train_utils_open_univ.py line 368-415
Code indentation may be wrong?
Thanks for your effort! This code helped me a lot : )
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.