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

Object detectors in Demo at cvat.org fail to run #1846

Closed
dschoerk opened this issue Jul 3, 2020 · 1 comment · Fixed by #1767
Closed

Object detectors in Demo at cvat.org fail to run #1846

dschoerk opened this issue Jul 3, 2020 · 1 comment · Fixed by #1767
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dschoerk
Copy link
Contributor

dschoerk commented Jul 3, 2020

I was testing the "Automatic Annotation" function in your demo at cvat.org. Created a task, uploaded some images and defined a "car" class, which should work for both MaskRCNN and FasterRCNN. Then selected Actions > Automatic Annotation. MaskRCNN. A progress bar is showing up, but after a couple of seconds the below error message is printed to the browsers console. Choosing FasterRCNN does not even show a progress bar, nothing happens at all.

Error: Inference status for the task 2925 is failed. AttributeError: in user code:

/home/django/Mask_RCNN/mrcnn/model.py:390 call  *
    roi_level = log2_graph(tf.sqrt(h * w) / (224.0 / tf.sqrt(image_area)))
/home/django/Mask_RCNN/mrcnn/model.py:341 log2_graph  *
    return tf.log(x) / tf.log(2.0)

AttributeError: module 'tensorflow' has no attribute 'log'
@bsekachev
Copy link
Member

@azhavoro Looks like the attribute is unavailable since TF 2.0. According to requirements we use 2.2.
Implementation of Mask_RCNN we use, uses tensorflow>=1.3.0 (1.*)

@bsekachev bsekachev added the bug Something isn't working label Jul 3, 2020
@nmanovic nmanovic self-assigned this Jul 4, 2020
@nmanovic nmanovic added this to the 1.1.0-beta milestone Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants