Code Monkey home page Code Monkey logo

track_check_repeat's People

Contributors

aharley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

track_check_repeat's Issues

Possible cc3d Performance Improvement

Hi! I was just browsing through projects that are using cc3d and I noticed a spot where you might be able to get a lot better performance. I don't know how critical this routine is to your project, but I'll offer some advice in case it is helpful.

labels = connected_components(mask)
segids = [ x for x in np.unique(labels) if x != 0 ]
for si, segid in enumerate(segids):
extracted_vox = (labels == segid)
z = zg[extracted_vox==1]
y = yg[extracted_vox==1]
x = xg[extracted_vox==1]
zmin = np.min(z)
zmax = np.max(z)
ymin = np.min(y)
ymax = np.max(y)
xmin = np.min(x)
xmax = np.max(x)
if (zmax-zmin > min_side and
ymax-ymin > min_side and
xmax-xmin > min_side and
np.sum(extracted_vox*count_mask) > min_voxels):

Could be rewritten approximately like so to remove lots of redundant computation:

    labels = connected_components(mask)
    stats = cc3d.statistics(labels)
    for segid, extracted_vox in cc3d.each(labels, binary=True):
        slices = stats['bounding_boxes'][segid]
        zmin, zmax = slices[2].start, slices[2].stop
        ymin, ymax = slices[1].start, slices[1].stop
        xmin, xmax = slices[0].start, slices[0].stop
        voxel_count = stats['voxel_counts'][segid]

        if (zmax-zmin > min_side and 
            ymax-ymin > min_side and 
            xmax-xmin > min_side and 
            voxel_count > min_voxels): 

I haven't tested this snippet, it's just a guide. If this isn't helpful, please feel free to ignore this; I don't want to waste your time.

Thanks so much and good luck!
Will

Please add a license

Hi,
first of all let me say thank you for the great work! :) I was thinking about trying it out, but I have noticed that there is no license included in the project. Without a license, the work is under exclusive copyright by default. Could you please add one? You could check out choosealicense.com if you are unsure which license fits your needs.
Thank you very much.

Clarification for the evaluation

Hi,
I have a few questions regarding your evaluation.

  1. In the readme file from this repository, it's mentioned that the testing has been done using sequences 0009-0010. However, in your code, the evaluation code uses sequences 0010-0011. Could you specify which sequence you evaluated your trained model on?

  2. Was the quantitative result in object discovery from the paper produced using the sequence 0010-0011?

  3. For the object discovery, did you evaluate your detector on all types of objects(e.g. cyclist, car, van, and pedestrian) except for 'DontCare' class in KITTI?

Thanks a lot for your work!

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.