Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

ImportError running detr #186

Open
LSC527 opened this issue Nov 4, 2022 · 1 comment
Open

ImportError running detr #186

LSC527 opened this issue Nov 4, 2022 · 1 comment

Comments

@LSC527
Copy link

LSC527 commented Nov 4, 2022

🐛 Describe the bug

File "/workspace/ColossalAI-Examples/image/detr/models/transformer.py", line 10, in
from titans.layer.attention import DeTrAttention
ImportError: cannot import name 'DeTrAttention' from 'titans.layer.attention' (/opt/conda/lib/python3.8/site-packages/titans/layer/attention/init.py)

Environment

No response

@binmakeswell
Copy link
Member

Hi @LSC527 Thank you for your feedback. We will try to reproduce your issue.
This is another version DeTr
https://github.com/hpcaitech/ColossalAI-Examples/tree/main/image/detr-debug

By the way, we are restructuring the documents and examples, and the new version examples will be provided at the following link
https://github.com/hpcaitech/ColossalAI/tree/main/examples

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants