Git Product home page Git Product logo

Comments (25)

hby96 avatar hby96 commented on May 28, 2024

You can simply set the aggregators as "GAP" and set the dim_processors as "Identity".

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Thanks. It can work. But why can't set aggregator as none or delete it directly?

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

cool! However, when I plan to search for feature extraction. Something wrong,
image

It's about config key, could you tell me where to set it?

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

I add a model in the pyretri\models\backbone\backbone_impl\simclr.py and I want to search a good hyper-params. So, I add my model and extractor in the search\search_modules\extract_dict.py like:
image

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

It seems like my model name does not appear when run pyretri.config.get_defaults_cfg.py

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Do you mean add this in pyretri\models\backbone.__init__.py:

from .backbone_impl.resnet import ResNet
from .backbone_impl.vgg import VGG
from .backbone_impl.reid_baseline import ft_net
from .backbone_impl.simclr import SimCLR
from .backbone_base import BackboneBase


__all__ = [
    'BackboneBase',
    'ResNet', 'VGG',
    'ft_net',
    'SimCLR',
]

I have added this.

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

But your name here is "SimCLR" not "simclr".

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

I just add it according to ResNet, in resnet.py the class is ResNet and there are resnet50, resnet101 fun et.al. In my simclr.py the class is SimCLR and there is simclr func. So, I think there are other problems.

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Thank you very much. I have found the problem.

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

So what's the problem? I am curious.

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Yes. You are right. The changes do not in effect before.

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Now, I also have another question. Is this logs right?
image

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

It likes it skip all aggregators? Is this ok? Can you give some ideas to do image retrieval and search good hyper-parmas methods with N*C?

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

Thanks for your suggestions! : )

And the GAP or other aggregators will not do anything on this N*C features. So, this doesn't matter if I use GAP for it does need one op in aggregation. Is this right?

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

I'm curious if the aggregators don't work. Why I got this? The different aggregator has different performance.
image

from pyretri.

HymEric avatar HymEric commented on May 28, 2024

And every time I run python main/index.py -cfg configs/pattern_simclr.yaml with pca_whiten, the result is different. Is this because of the training phase in PCA?

from pyretri.

hby96 avatar hby96 commented on May 28, 2024

from pyretri.

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.