Skip to content

Refactored DETR implementation on optax API.#1062

Open
MasterSkepticista wants to merge 10 commits intogoogle-research:mainfrom
MasterSkepticista:main
Open

Refactored DETR implementation on optax API.#1062
MasterSkepticista wants to merge 10 commits intogoogle-research:mainfrom
MasterSkepticista:main

Conversation

@MasterSkepticista
Copy link
Copy Markdown

Many functions and calls within existing detr implementation are deprecated in Flax as well as OTT.

This PR includes two major changes (all changes only under projects/baselines/detr):

  • Migrates from flax.optim to optax.
  • sinkhorn solver now uses updated ott-jax calls.

I have tested both configs for train/eval/checkpointing.

@durianer-D
Copy link
Copy Markdown

Hi @MasterSkepticista, I am experimenting with your modified detr, I have encountered many environment conflicts and tried to resolve them, but there are still some difficult bugs, can you provide your environment as a reference. Thank you very much.

@MasterSkepticista
Copy link
Copy Markdown
Author

MasterSkepticista commented Aug 16, 2024

@durianer-D I created a new repo with a minimal implementation. It is also significantly faster to train than this PR.
https://github.com/MasterSkepticista/detr.

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

Successfully merging this pull request may close these issues.

2 participants