Git Product home page Git Product logo

ltc-msda's People

Contributors

chrisallenming avatar francis0625 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ltc-msda's Issues

RuntimeError

Hello, when I train the full model using "python train.py --use_target --save_model --target "mnistm" --checkpoint_dir "checkpoint"", I get the following error,
Traceback (most recent call last):
File "train.py", line 114, in
main()
File "train.py", line 105, in main
num = solver.train_gcn_adapt(t, record_file=record_train)
File "./LtC-MSDA/solver.py", line 348, in train_gcn_adapt
loss.backward(retain_graph = True)
File "/root/anaconda3/lib/python3.7/site-packages/torch/tensor.py", line 185, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/root/anaconda3/lib/python3.7/site-packages/torch/autograd/init.py", line 127, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [2048]] is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

However, though I set all "inplace=True" as "inplace=False", the error also occurs. Can you tell me how to deal with it? Thanks.

How To Use Custom Dataset?

Hi, I know that if I want to train with my own dataset, I should use custom dataloader to load the data.
Inside the datasets folder, these *.py file were designed for loading mat file.

However, I think the most relevant to custom dataset setting should be DomainNet, but I don't see any dataloader for DomainNet in this repo, Do you mind provide the example code?

Detailed param setting in Office-31

Hi,

Could you provide a more detailed training setup of using AlexNet in office-31? E.g., learning rate decay, data augmentation.

Table 6 in the supplementary is helpful but not sufficient to reproduce the results, especially on the Amazon domain where I could only get around 41% accuracy, which is far from the 51.6% accuracy as reported for SourceOnly.

Btw, I used a constant learning rate of 5e-5, and data augmentation of random flip & crop.

Thanks

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.