Giter VIP home page Giter VIP logo

dann_py3's People

Contributors

fungtion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dann_py3's Issues

救命!帮帮我!

我想做可以检测森林火灾烟雾的DAN模型,那我是不是需要更换源域数据集呀,更换源域数据集的话都需要改什么部分呀

关于域分类器的error

您好,我想请问一下,为了使源域和目标域距离拉近,随时训练的加深,域分类器的loss(error)是不是应该越来越大呀,

The domain classifier loss is not decreasing.

image

As shown in the image above, the domain classifier loss is almost constant throughout the training process. I use a ViT as the feature extractor, a linear layer as label classifier, and a two-layer MLP as the domain classifier.

What are the possible causes? and what are the typical loss curves for domain classifier?

Thanks

Pytorch version is not consistent in README and Dockfile

Hello, in README.md, the environment is Pytorch 1.6 Python 3.8.5, but in Dockfile is Pytorch 1.0.1 and uses pytorch/pytorch:1.0.1-cuda10.0-cudnn7-runtime as base images. So which one is right and if we should use Pytorch 1.6, then base images should use pytorch/pytorch:1.6.0-cuda10.1-cudnn7-runtime, right?

关于模型classifier中dropout的问题

model.py中第23行使用了dropout2d,但是在全连接层情况下不是应该使用dropout吗?这个时候应该也没有channel来dropout了吧?望解答。

关于len_dataloader的问题

您好,我想请问一下,在main中len_dataloader取得是min(len(dataloader_souce),len(dataloader_target)),一般来说目标域的数据要少于源域,那这样取循环的话,每次epoch源域不是都没有输入所有的样本嘛。那这样训练的话不就只使用了源域样本的一部分嘛?

dataset

Mnist_m cannot be downloaded
Baidu cloud disk has no password

why this model is not care about the label of taget dataset?..

_, domain_output = my_net(input_data=t_img, alpha=alpha)
err_t_domain = loss_domain(domain_output, domain_label)
err = err_t_domain + err_s_domain + err_s_label

I found here you backward the loss of three part...
but I think the taget dataset's class is the most important..
why this model's loss is not care about the taget dataset's class label?..

how to use DANN for a net performing regression instead of classification?

Hello @fungtion ,

I have been working on a problem which used CNN and performs regression in the end with the ground truth images.
Now, I want to incorporate DANN into my algorithm (CNN) so that it can withstand the domain variation.
Any suggestion in direction will be helpful.
One more thing, what is the effect of p on the DANN during training. Can I keep it as a fixed value?

Size of target domain

I have a training set with 50k source images and 1k target images. Is DANN a good approach for this use case? If not, what is your recommendation?

下载的文件

下载的dataset是128Mb的文件 里面没有mnist_m_train/test等等这些东西 只有一个mnist_m.tar的文件这是要怎么做

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.