Giter Club home page Giter Club logo

Comments (8)

heinzermch avatar heinzermch commented on July 21, 2024 1

The whole code is written in a very sloppy way. I recommend to use TorchCV directly, which is what this project is based on anyway. Plus at least the implementation of Self-Ensemble is wrong (not that it would work for this task). I did not check the implementations of the other baselines, as I don't have a good understanding of them.

from visda-2018-public.

MInner avatar MInner commented on July 21, 2024

As for the "Connection refused" error, install and run wisdom server in parallel, or comment lines that start it. Not sure about the latter, are you sure you downloaded our gt files and provided paths to them?

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

Yep, I just downloaded the gt files mentioned in this page and modified the corresponding path in the source code. I used the images extracted from train.tar as training data and visda18-detection-train.txt/visda18-detection-test.txt as gt boxes.

The latter problem was actually caused by dimension mismatch. Sometimes a boxes with only 1 dimension was passed to the function. I fixed this problem by modifying the code this way:

xmin = w - boxes[..., 2]
xmax = w - boxes[..., 0]

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

BTW, according to this page, I found the "Connection refued" error can be solved by setting num_worker=0 in when defining torch.utils.data.DataLoader.

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

Well, another issue appeared when processing this line:

cls_loss[cls_targets<0] = 0 # set ignored loss to 0

I got the error message below:
image

from visda-2018-public.

MInner avatar MInner commented on July 21, 2024

@heinzermch yep, I suspected that self-assembling code was probably wrong logically, but I would appreciate if you could point me more specifically towards what exactly is wrong with this implementation. As for the quality of code in the repo, it is pretty much torchcv SSD example with data readers for this specific dataset and somewhat different run logic since you have to train supervisely on source, unsupervisely on target, and eval on different splits of both. Pull requests are welcome :)

from visda-2018-public.

krumo avatar krumo commented on July 21, 2024

@chrisliu54 hi, did you solve this error?

from visda-2018-public.

chrisliu54 avatar chrisliu54 commented on July 21, 2024

After I turned to use official repo of TorchCV, some weird errors has gone since then : )

from visda-2018-public.

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.