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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not find the files in MMengine which are removed in MMCV_v2x parallel. example, for DataContainer #2934
Comments
For For collate.py, you can find the function |
Thank you @fanqiNO1 when I tried BaseDataElement incident of Data container and I am unable to iter the Data loader . Does collate function is replaced with another function name ?? please help me to find error: |
Sorry, there is no other function which replace the collate function. However, you can refer https://github.com/open-mmlab/mmengine/blob/3b639da1ef3b46d5a42c94e3253d251d5bb6abf1/mmengine/structures/base_data_element.py#L81 to change |
@fanqiNO1 Could you please explain why DataContainer has been replaced with BaseDataElement |
In order to provide downstream algorithm libraries with a unified abstract data structure for data transfer between components and they need to support the wrapping of data of various natures and sizes, the |
earlier there was a stacking feature in the data container but in basedataelement, i didn't see this feature. |
馃摎 The doc issue
I was trying to update the version from mmcv 1x to 2x . Some files are removed. For example, https://github.com/open-mmlab/mmcv/tree/v1.7.1/mmcv/parallel. which is removed in mmcv 2x and mentioned to use mmengine, but for my project I did not find the data_container.py and collate.py etc in mmengine, so please someone help me to find all those files.
Suggest a potential alternative/fix
No response
The text was updated successfully, but these errors were encountered: