GithubHelp home page GithubHelp logo

Bad exception handling about mobilenet-v2 HOT 6 CLOSED

mg2033 avatar mg2033 commented on June 15, 2024
Bad exception handling

from mobilenet-v2.

Comments (6)

Rizhiy avatar Rizhiy commented on June 15, 2024

More importantly I get the following error:

Traceback (most recent call last):
  File "main.py", line 49, in <module>
    main()
  File "main.py", line 10, in main
    config_args = parse_args()
  File "/home/rizhiy/misc_repos/MobileNet-V2/utils.py", line 28, in parse_args
    print(config_args)
  File "/home/rizhiy/miniconda3/envs/MobileNet-V2/lib/python3.6/site-packages/bunch/__init__.py", line 200, in __repr__
    keys.sort()
AttributeError: 'dict_keys' object has no attribute 'sort'

from mobilenet-v2.

MG2033 avatar MG2033 commented on June 15, 2024

Thank you for pointing that out. I'll update the exception message. However, I don't know why you get that error except that "bunch" is not compatible with python 3.6.

from mobilenet-v2.

Rizhiy avatar Rizhiy commented on June 15, 2024

That must be the problem as I'm using python3.6.
Why are you using bunch instead of easydict?
Bunch hasn't been updated in 5 years.

from mobilenet-v2.

MG2033 avatar MG2033 commented on June 15, 2024

I've used it for nearly 3 years and I've not found any issues with it. I thought it gets updated regularly. I'll move to "easydict" or another library. Thank you again.

from mobilenet-v2.

MG2033 avatar MG2033 commented on June 15, 2024

I updated the code. Check it out, please.

from mobilenet-v2.

Rizhiy avatar Rizhiy commented on June 15, 2024

Thanks.

I have added more fine-grained inception handling, check it out please: #2

from mobilenet-v2.

Related Issues (7)

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.