GithubHelp home page GithubHelp logo

Unavailable dataset about sdat HOT 2 OPEN

friedrice231 avatar friedrice231 commented on June 17, 2024
Unavailable dataset

from sdat.

Comments (2)

rangwani-harsh avatar rangwani-harsh commented on June 17, 2024

Hi, I have updated the office-home dataset links, can you pull the latest changes from the library and check again?

from sdat.

friedrice231 avatar friedrice231 commented on June 17, 2024

Great, the links work now. However, I run into the error below. How do I fix this?

[INFORMATION] The bottleneck dim is 256
lr_bbone: 0.0002
lr_btlnck: 0.002
Traceback (most recent call last):
File "/home/lyeekai/SDAT/examples/cdan_mcc_sdat.py", line 352, in
main(args)
File "/home/lyeekai/SDAT/examples/cdan_mcc_sdat.py", line 158, in main
train(train_source_iter, train_target_iter, classifier, domain_adv, mcc_loss, optimizer, ad_optimizer,
File "/home/lyeekai/SDAT/examples/cdan_mcc_sdat.py", line 219, in train
y, f = model(x)
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/lyeekai/SDAT/examples/common/modules/classifier.py", line 80, in forward
f = self.bottleneck(f)
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/modules/batchnorm.py", line 171, in forward
return F.batch_norm(
File "/home/lyeekai/.conda/envs/clip/lib/python3.10/site-packages/torch/nn/functional.py", line 2450, in batch_norm
return torch.batch_norm(
RuntimeError: running_mean should contain 197 elements not 256

from sdat.

Related Issues (12)

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.