Skip to content
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

If I have trained the model and want to use pytorch to implement data pre-processing, how should I disassemble the code? #1950

Open
1 task done
watertianyi opened this issue Sep 21, 2024 · 0 comments

Comments

@watertianyi
Copy link

描述该功能

If I have already trained the model and want to use pytorch to implement data pre-processing, how should I disassemble the code? I found that your pipeline is as follows:

  1. The configuration file needs to go through _init_pipeline(config)
    2.preprocess
    3.track(inputs, 'Inference', total=ceil(1))
    4.data_preprocessor(data, False)
    5.extract_feat(data1['inputs'])
    6.head.predict(feat,data1['data_samples'])

The above, especially 2, 3, and 4, are not easy to understand. The encapsulation is special. Can you elaborate on it? Or tell me whether the above five steps can be fully realized through pytorch.

是否希望自己实现该功能?

  • 我希望自己来实现这一功能,并向 MMPreTrain 贡献代码!
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

No branches or pull requests

1 participant