-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Orca do not support preprocess inputs before training in forward() #4410
Comments
This is the link that orca directly call the forward(). But the input exceeds the size of the forward() in yolox |
in yolox, there is some preprocess on input https://github.com/Megvii-BaseDetection/YOLOX/blob/main/yolox/core/trainer.py#L100 https://github.com/analytics-zoo/YOLOX/blob/main/yolox/core/trainer.py#L95 |
Probably we can add an argument for users to specify a preprocess function? |
The original yolox GPU version used a prefetcher, throwing away two inputs and only retaining two inputs. This is also a part of its data preprocessing. |
I rewrite yolox's code to run on orca as distributed, but errors were reported when forward(). Because orca directly use the input to forward() after the data loader, resulting in the inputs not being supported in yolox forward(). Yolox would preprocess input and target after the data loader before going to model forward.
Is it necessary for orca to support some special preprocess before training?
The text was updated successfully, but these errors were encountered: