Giter Site home page Giter Site logo

thuml / san Goto Github PK

View Code? Open in Web Editor NEW
68.0 4.0 32.0 9.06 MB

Code release for "Partial Transfer Learning with Selective Adversarial Networks" (CVPR 2018)

Python 2.41% CMake 1.21% Makefile 0.29% Shell 0.17% HTML 0.08% CSS 0.11% Jupyter Notebook 58.63% C++ 34.05% Cuda 2.64% C 0.05% MATLAB 0.37%

san's Introduction

SAN

SAN Library

This is the code release for "Partial Transfer Learning with Selective Adversarial Networks" (CVPR 2018)

The caffe version is in directory "caffe". Details of the codes are described in the README.md in "caffe" directory. Notes that the performance of SAN in the paper are achieved by the codes of Caffe framework.

The pytorch version is in directory "pytorch". We have released the version test on PyTorch Version 0.3.1. Details of the codes are described in the README.md in "pytorch" directory.

Citation

If you use this code for your research, please consider citing:

    @InProceedings{Cao_2018_CVPR,
      author = {Cao, Zhangjie and Long, Mingsheng and Wang, Jianmin and Jordan, Michael I.},
      title = {Partial Transfer Learning With Selective Adversarial Networks},
      booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
      month = {June},
      year = {2018}
    }

Contact

If you have any problem about our code, feel free to contact

or describe your problem in Issues.

san's People

Contributors

caozhangjie 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

Watchers

 avatar  avatar  avatar  avatar

san's Issues

question about the partial transfer in DAN

Hey, I am running the partial transfer codes based on DAN ,and the dataset is Office31. The src domain is amazon and the target domain is webcam. But I got the acc is nearly to 0 instead of the acc result showed in the 'Partial Transfer Learning with Selective Adversarial Networks' paper which is 56.52. I feel quite confuse about the amazing result. Can you help me ?

the SAN branch consume a large amount of memory

Hi,
When I training san on imagenet, which has 1000 class numbers of source target . And the base network before san has 256 outputs. The 'ad_net' branch was LittleAdversarialNetwork. However, the ad_net branch would consume a large amount of GPU memory, which has 1000 fully connected branch with 256 inputs and 1 outputs. How do you cope with this problem?

Best Regards.

The VGG16 used in experiment

Hello. I wonder the VGG16 you used in the experiment of office 31-10. As I know, the pretrained VGG16 models are different in Caffe and PyTorch and also have different accuracies. Could you tell me which VGG16 is used as your base model? Thx!

about the class of the mission on Caltech256→Office10

I'm trying to do the experiment on the mission of the Caltech256→Office10 ,however,after my first few experiments on C256→W10, the result is far away from the report result.And then I checked the classes of the C256,I realize some of the classes in C256 is a little bit confused,such as the "mountain-bike"and "touring-bike",they are all belong to the "bike" class in office31 dataset,the same situation happened in "caffee mug" and "beer mug",How do your guys deal with it? Can you provide the txt file of the mission of the Caltech256→Office10?

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.