Giter VIP home page Giter VIP logo

Comments (8)

mousecpn avatar mousecpn commented on August 28, 2024

can you offer the printed error? It can help me give you the solution

from fernet-pytorch.

cjplol avatar cjplol commented on August 28, 2024

can you offer the printed error? It can help me give you the solution

Now the error message I'm getting is the following:

File "/home/cjp/roimix/mmdet/models/dense_heads/prs_head.py", line 531, in get_bboxes
proposals = self._get_bboxes_single(cls_score_list, bbox_pred_list,
File "/home/cjp/anaconda3/envs/roimix/lib/python3.7/site-packages/torch/nn/modules/module.py", line 779, in getattr
type(self).name, name))
torch.nn.modules.module.ModuleAttributeError: 'PRSHead' object has no attribute '_get_bboxes_single'

It seems that the _get_bboxes_single method is missing from the prs_heads.py file

from fernet-pytorch.

ZYCi avatar ZYCi commented on August 28, 2024

I also encountered a problem when running the code, the error message is as follows, can you help me find the reason?
2022-04-14 18:46:03,087 - mmdet - INFO - Set random seed to 725963868, deterministic: False
/home/czy/mmdetection/mmdet/models/builder.py:53: UserWarning: train_cfg and test_cfg is deprecated, please specify them in model
'please specify them in model', UserWarning)
Traceback (most recent call last):
File "tools/train.py", line 220, in
main()
File "tools/train.py", line 193, in main
test_cfg=cfg.get('test_cfg'))
File "/home/czy/mmdetection/mmdet/models/builder.py", line 55, in build_detector
'train_cfg specified in both outer field and model field '
AssertionError: train_cfg specified in both outer field and model field

from fernet-pytorch.

mousecpn avatar mousecpn commented on August 28, 2024

Got that. I am implementing a new version FERNet for the latest version of FERNet, and will upload the new ver. in a few days.

from fernet-pytorch.

cjplol avatar cjplol commented on August 28, 2024

train_cfg and test_cfg is deprecated, please specify them in model

I didn't meet the problem,but I think you may check the file of "configs/FERNet300_coco.py",is the dict of "train_cfg" missing?

from fernet-pytorch.

cjplol avatar cjplol commented on August 28, 2024

Got that. I am implementing a new version FERNet for the latest version of FERNet, and will upload the new ver. in a few days.

Thank you, looking forward to your update.

from fernet-pytorch.

mousecpn avatar mousecpn commented on August 28, 2024

I have updated the code, and it can fit the current version of mmdet.

Got that. I am implementing a new version FERNet for the latest version of FERNet, and will upload the new ver. in a few days.

Thank you, looking forward to your update.

from fernet-pytorch.

cjplol avatar cjplol commented on August 28, 2024

I have updated the code, and it can fit the current version of mmdet.

Got that. I am implementing a new version FERNet for the latest version of FERNet, and will upload the new ver. in a few days.

Thank you, looking forward to your update.

Thank you. I was too busy to try your new code a few days ago. I will try it soon.

from fernet-pytorch.

Related Issues (8)

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.