Giter Club home page Giter Club logo

Comments (7)

fredzzhang avatar fredzzhang commented on August 20, 2024

Hi @chenminupup,

I'm not sure what you mean. Are you referring to the mAP of the model? And what did you remove exactly, both layers or one of them?

Fred.

from upt.

chenminupup avatar chenminupup commented on August 20, 2024

yes, I mean the mAP of the model is 0.0000 when I remove one or both of them。

The mAP is 0.0000, rare: 0.0000, none-rare: 0.0000

unary_tokens, unary_attn = self.coop_layer(unary_tokens, box_pair_spatial_reshaped)

pairwise_tokens, pairwise_attn = self.comp_layer(pairwise_tokens)

from upt.

fredzzhang avatar fredzzhang commented on August 20, 2024

Are you able to reproduce the results while keeping both layers?

from upt.

chenminupup avatar chenminupup commented on August 20, 2024

yes,the results didn't differ much

from upt.

fredzzhang avatar fredzzhang commented on August 20, 2024

Hi @chenminupup,

I just repeated the experiment and got full: 0.2370, rare: 0.1701, none-rare: 0.2569 for UPT-R50 with both layers removed. I think you might have used an incorrect path to the checkpoint, in which case a randomly initialised model will be used, hence the zero mAP.

If the specified path is correct, you will see something like => Rank 0: continue from saved checkpoint checkpoints/sota/upt-r50-hicodet.pt on the command line, otherwise you will see => Rank 0: start from a randomly initialised model. Can you check if you've got the path correct?

Fred.

from upt.

chenminupup avatar chenminupup commented on August 20, 2024

Hi, I have the correct file loading path, but the result is still 0.0000

=> Rank 0: continue from saved checkpoint /mnt/hdd1/cm/ckpt_upt/upt-r50-hicodet-no2att/ckpt_94080_20.pt
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 9546/9546 [11:24<00:00, 13.94it/s]
WARNING: Collected results are empty. Return zero AP for class 0.
WARNING: Collected results are empty. Return zero AP for class 1.
...
WARNING: Collected results are empty. Return zero AP for class 598.
WARNING: Collected results are empty. Return zero AP for class 599.
The mAP is 0.0000, rare: 0.0000, none-rare: 0.0000

from upt.

fredzzhang avatar fredzzhang commented on August 20, 2024

Based on the log, the network is returning empty results for each image. Can you attach the exact changes you made to remove the two layers?

from upt.

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.