SHI-Labs / Neighborhood-Attention-Transformer

Neighborhood Attention Transformer, arxiv 2022 / CVPR 2023. Dilated Neighborhood Attention Transformer, arxiv 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to do Visualization

skyfallsss opened this issue · comments

mmdet show the error NAT is not registered.I can't solve the problem.

Hello and thanks for your interest.
Have you followed the instructions on setting up the environment correctly?

I can train and test the model successfully,but I want to show the result I tested,such as the painted pictures or the pictures with bounding boxes.

We haven't included those scripts, but using them only requires you to move them to the detection/ directory, and add this line to the python script:

from nat import *

I will take a try.Thank you for your help.The output file formed in pickle,how can I use it?

In other word,how can I print the bouding box data by using the test script?

Thank you for your help.I solved the problem by using from nat import *.