Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software provided is incomplete #11

Open
matallan opened this issue Feb 3, 2020 · 0 comments
Open

Software provided is incomplete #11

matallan opened this issue Feb 3, 2020 · 0 comments
Assignees
Labels
type:feature Feature requests

Comments

@matallan
Copy link

matallan commented Feb 3, 2020

  • Training loop errors due to FLIR camera object requiring 'engine' as input

if args.will_sort: engine = edgetpu.classification.engine.ClassificationEngine(model_path) mode = "sort" else: mode = "train"

workaround is just to supply the camera object with an 'engine' variable for training also.

  • Incorrect import and reference of modules in sorter.py.

from scipy import ndimage used and then in def is_good_photo(img, width, height, mean, sliding_window): if (filter_type == 'center_of_mass'): center = scipy.ndimage.measurements.center_of_mass(img) detection_zone_avg = (center[0] + center[1]) / 2

scipy.ndimage.measurements.center_of_mass(img) should be ndimage.measurements.center_of_mass(img).

Does not look like the code supplied has been successfully run. It would be good to update with the version that is used in the tutorial.

@hjonnala hjonnala added the type:feature Feature requests label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature requests
Projects
None yet
Development

No branches or pull requests

3 participants