Git Product home page Git Product logo

Comments (4)

harsh-99 avatar harsh-99 commented on July 28, 2024

Hi, I think it's data loader problem so it should be coming for both scl and strong-weak. Maybe you should try to find for which data point exactly this problem is coming. And for training strong-weak which code did you use?

from scl.

SkeletonOne avatar SkeletonOne commented on July 28, 2024

@harsh-99 I used the strong-weak code in this repository. Just with:

CUDA_VISIBLE_DEVICES=$1 python trainval_net_global_local.py --cuda --net vgg16 --dataset mydataset_source --dataset_t mydataset_target --gc --lc --save_dir output

from scl.

SkeletonOne avatar SkeletonOne commented on July 28, 2024

I've figured it out. The SCL do not support batch size other than 1. Because if batch size = 2, "pooled_feat" will add 256 channels after each one in "feat1, feat2, feat3". This will cause a shape mismatch in "netD_inst" because the channels are hard-coded like 2048+128+128+128. So I just changed the cfgs and train it for a longer time. Still appreciate your great work!

from scl.

harsh-99 avatar harsh-99 commented on July 28, 2024

@SkeletonOne Thanks a lot for pointing out that. I will try to add the functionality of batch size greater 1. In case if you have done that, feel free to send PR.

from scl.

Related Issues (20)

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.