Code Monkey home page Code Monkey logo

pybx's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pybx's Issues

get_bx wont work with `dict` without 'label' key

Describe the bug
get_bx wont work with dict without 'label' key

To Reproduce
Steps to reproduce the behavior:

# passing dict
get_bx({'x_min': 130, 'y_min': 63, 'x_max': 225, 'y_max': 180})

Expected behavior
Returns a Bx with 'unknown' or empty label.

Region proposals

Is your feature request related to a problem? Please describe.
Rather than creating a bunch of anchor boxes based on geometry, create region proposals based on classic signal processing.

Walkthrough issue for PIL mode.

In the step: Ask VisBx to use random logits with logits=True

vis.VisBx(image_sz=image_sz, logits=True, feature_sz=feature_sz).show(anchors, labels)

Returns a key error: KeyError: ((1, 1, 3), '<i8') and TypeError: Cannot handle this data type: (1, 1, 3), <i8 with PIL.

KeyError: 'label'

Describe the bug
draw() looks for key 'label'

To Reproduce
pass annotations Dict without the key for 'label'

TypeError: 'BaseBx' object is not iterable

Describe the bug
draw method of vis module tries to iterate over BaseBx during visualisation

To Reproduce
Steps to reproduce the behavior:

anns = {'label': 5,
 'x_min': 87.0,
 'y_min': 196.0,
 'x_max': 1013.0,
 'y_max': 2129.0}

from pybx.ops import make_array
coords, label = make_array(anns)

b = bbx(coords, label)
vis.draw(img, b)

get_gt_max_iou reutrns MultiBx even if single box in it.

Describe the bug
get_gt_max_iou returns a MultiBx even if single box in it.

To Reproduce
Steps to reproduce the behavior:

passing dict

true_annots = [{'x_min': 130, 'y_min': 63, 'x_max': 225, 'y_max': 180, 'label': 'clock'},
 {'x_min': 13, 'y_min': 158, 'x_max': 90, 'y_max': 213, 'label': 'frame'}]

get_gt_max_iou(
    true_annots,
    coords, 
    positive_boxes=1,  
)

> ({'clock': MultiBx(coords=[[183, 67, 243, 188]], label=['clock']),
  'frame': MultiBx(coords=[12, 152, 72, 256]], label=['frame'])},
{},
{})

Expected behavior
Returns a BaseBx.

Fix notebook (walkthrough)

Describe the bug

  • walkthrough link fails
  • Code import os bug

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Missing sidebar in documentation page

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.