Comments (11)
@yuzehui1996 When you download the office-31 dataset, the images are at the root webcam/images/. (for webcam dataset).
For running of the above codes, you'd better place the images at the root webcam/. Otherwise, you'd make the following changes in DDC.py:
source_name = "amazon"
target_name = "webcam"
--> source_name = "amazon/images"
target_name = "webcam/images"
from transferlearning.
Yeah, the max acc is always 100% in task webcam to dslr, and the max acc in the task with most methods such as DDC is also 100%. Hence, here I record the acc of the last epoch.
from transferlearning.
but when I change the src and target, the max acc is always 100%. And during the training , all the epochs show the acc is 100%.Why?
from transferlearning.
I don't know the reason... Might be the environment? I have run the code in several machines, and all of them are ok.
from transferlearning.
And during the training epochs, the soft loss (classification loss) is always 0. Is there any questions about the calculating the soft loss? I mean the log_softloss function in the DDC.py train(). Thanks a lot!
from transferlearning.
I have run the code again, and I still don't find any mistakes with it.
from transferlearning.
Thanks!I have run the codes successfully.But I have tried to remove the mmd loss from the final loss, and it get the higher acc than the loss contain mmd loss. I was confused with for quite a long time. Do you have any explanation?
from transferlearning.
First, you tried to remove the mmd loss from the final loss. This is not same as the ResNet setting in DAN paper, and the detail you could ask Mingsheng Long. Second, I have run as you say. The acc is higher than ResNet in DAN paper, however it is not higher than DAN. I don't konw the reason for your result, too.
from transferlearning.
Thanks a lot! And I am trying to remove 10 classes from the target domain and the num of classes are reduce to 21 classes. The num of the source domain class is 31. And I didn't change any more.With the mmd , I got the acc result is nearly to 0%. I feel quite confused about the result.
from transferlearning.
I don't know. This is a partial transfer proble, and you could ask the author of Partial Transfer Learning with Selective Adversarial for the detail.
from transferlearning.
Thanks any way!
from transferlearning.
Related Issues (20)
- MMD距离 backward问题 HOT 3
- BDA代码中的数据集的问题 HOT 2
- 关于TransferNet中source_clf计算的疑问 HOT 1
- 关于复现 HOT 1
- 对比算法的复现缺少部分流程 HOT 1
- 程序显示没有loss_funcs模块 HOT 1
- Our new test-time adaptation algorithm for segmentation HOT 3
- 关于transferlearning/code /DeepDA的模型代码读取 HOT 2
- How to use DIFEX for single domain generalization? HOT 2
- code add HOT 2
- 有关于在使用DG中DANN方法中遇到的问题
- Office-31 webcam域上微调模型丢失 HOT 1
- 是否需要进行微调? HOT 2
- 作者您好!请问AdaRNN的对比实验中,MMD-RNN和DANN-RNN是如何实现的,MMD-RNN的源域和目标域是如何定义的,AdaRNN相比这两个对比模型进步在哪里? HOT 1
- Feature Request:添加ADDA的代码以及与其他方法的比较。 HOT 1
- 王老师您好,Domain Generalization for Activity Recognition via Adaptive Feature Fusion请问这篇论文的代码具体在哪个文件夹里?找了很久没找到 HOT 1
- Time series domain adaptation benchmark and datasets HOT 1
- DIVERSIFY: A General Framework for Time Series Out-of-distribution Detection and Generalization中的cross_dataset的文件 HOT 1
- BDA中A-distance问题
- 关于DANN中的域鉴别器的域分类准确率 HOT 2
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 transferlearning.