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

Setup help please #2

Closed
BeFranke opened this issue Apr 14, 2021 · 1 comment
Closed

Setup help please #2

BeFranke opened this issue Apr 14, 2021 · 1 comment

Comments

@BeFranke
Copy link

Hello,
I am really interested in trying out your framework. Could you elaborate a little bit more on the installation process please?
I did install Detectron2 and Fast-Transformer, but what should I do with DETR and Deformable-DETR, as you can't really install those as packages to your environment? Are these supposed to be added as submodules?
Thank you for your time.

@Hatmm
Copy link
Owner

Hatmm commented Apr 17, 2021

Hi sorry, configs for running DQRF will be uploaded. You don't need Fast-Transformer module, as you can see here

class MultiHeadAttention(nn.Module):
you can obtain similar behavior by multiplying the weights of the self attention module by a binary mask where 1 correspond to the 100 nearest keys for each query. To train, don't forget to first convert you json using our provided code, then you can simply run train_net and specify the number of gpu and the path for you config for instance python $ROOT/train_net.py
--num-gpus $NUM_GPUS
--config-file $ROOT/configs/file.yaml

@Hatmm Hatmm closed this as completed Apr 17, 2021
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