Skip to content

What is the best way to use mycollate? #899

Answered by C1rN09
Fei-Wang asked this question in Q&A
Discussion options

You must be logged in to vote

There is an issue with Registry.get() method that it will not infer scopes as Registry.build() do. As a result, you have to register your mycollate to MMEngine's own root registry rather than your child registry.

Honestly speaking, this behavior is kind of weird. We will try to find a better solution in the future.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fei-Wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants