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

AI tools Interactors no polygon output #4432

Closed
jonathancaevans opened this issue Mar 8, 2022 · 8 comments · Fixed by #4505
Closed

AI tools Interactors no polygon output #4432

jonathancaevans opened this issue Mar 8, 2022 · 8 comments · Fixed by #4505
Labels
bug Something isn't working

Comments

@jonathancaevans
Copy link

Are the AI tool interactors disabled on the demo site? Having trouble using DEXTR specifically, after marking points no polygon is generated in any case. This issue is on the demo site and my install for me.

@bsekachev bsekachev added the bug Something isn't working label Mar 9, 2022
@bsekachev
Copy link
Member

@jonathancaevans

Thanks for the report. Looks like something is wrong also with FBRS interactor.
We will investigate.

@hyunchan-jung
Copy link

@bsekachev

in cvat/apps/lambda_manager/views.py

class LambdaFunction:
    ...
    def invoke(self, db_task, data):
        ...
        response = self.gateway.invoke(self, payload)
        response_filtered = []
        ...
        if self.kind == LambdaType.DETECTOR:
            ...
            response_filtered.append(item)
        
        return response_filtered

In this case, if it is not a detector, [ ] is returned.

@nmanovic
Copy link
Contributor

@hyunchan123 , thanks for the investigation. It looks like it is a regression after recent changes in the area. Will you be able to help us and send a PR?

@amteusch amteusch mentioned this issue Mar 23, 2022
8 tasks
@kriskorrel-cw
Copy link

@nmanovic
If I understand correctly, it is expected that DEXTR does not work in the latest version of CVAT? Because I think I have the same problem: Dextr seems to return a 200 response, but this is always an empty list.

Do you have any indication of how it will take for the fix to be released? Can I expect this to be today/tomorrow, or will this take more time. In that case I might have to downgrade.

amteusch pushed a commit to amteusch/cvat that referenced this issue Mar 24, 2022
amteusch pushed a commit to amteusch/cvat that referenced this issue Mar 24, 2022
nmanovic pushed a commit that referenced this issue Mar 25, 2022
Co-authored-by: Adam Teuscher <adamteuscher@smartvisionworks.com>
@dprov
Copy link

dprov commented Mar 28, 2022

FYI, to make the fix work until it is released, I think one has to run (as stated in https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/)

docker-compose -f docker-compose.yml -f docker-compose.dev.yml build

@kriskorrel-cw
Copy link

FYI, to make the fix work until it is released, I think one has to run (as stated in https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/)

docker-compose -f docker-compose.yml -f docker-compose.dev.yml build

Thanks! It took me some time to figure this out, but just a few hours ago I indeed found that I needed to rebuild from local source code using -f docker-compose.dev.yml 😅
I can confirm that DEXTR works again after applying this fix.

@amteusch
Copy link
Contributor

I found that I also needed to set up auto annotation as shown here. After registering with nuclio I got DEXTR and YOLO to work, and I presume it would be similar for other auto-annotation models.

@stobias123
Copy link

Hi all, I'm still seeing this issue with f-BRS - even after following above steps.

I can confirm that I even see an output from the call to the f-BRS function in browser, but no polygon is created.

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.

8 participants