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

Error when running test_on_davis.py - module 'utils.improc' has no attribute 'erode2d' #8

Closed
amitabe opened this issue Nov 14, 2022 · 2 comments

Comments

@amitabe
Copy link

amitabe commented Nov 14, 2022

Hi,

when trying to run python test_on_davis.py I get the following error:

Traceback (most recent call last):
  File "test_on_davis.py", line 196, in <module>
    run_model(model, frame_list, video_dir, first_seg, seg_ori, sw)
  File "test_on_davis.py", line 101, in run_model
    seg0_safe = utils.improc.erode2d(seg0, times=3)
AttributeError: module 'utils.improc' has no attribute 'erode2d'

And it does seems there is no function called erode2d in utils/improc.py. It seems that the function gridcloud2d is also missing in utils/basic.py and is being used in test_on_davis.py (line 105). Can you please fill up the missing functions and upload them to the repository?

@aharley
Copy link
Owner

aharley commented Nov 14, 2022

Thanks! Fixed: 0d289ae

@amitabe
Copy link
Author

amitabe commented Nov 14, 2022

Seems to be working! Thanks for your quick response :)
Closing the issue

@amitabe amitabe closed this as completed Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants