aharley / track_check_repeat Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
track_check_repeat/utils/misc.py
Lines 37 to 56 in 29fdba4
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
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.
Hi,
I have a few questions regarding your evaluation.
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?
Was the quantitative result in object discovery from the paper produced using the sequence 0010-0011?
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.