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

能否只使用代码中的主动学习部分来筛选图片呢 #95

Closed
dust-removal opened this issue Jun 29, 2023 · 3 comments
Closed
Labels
individual Individual problem and need

Comments

@dust-removal
Copy link

你好,我刚看完你的论文,我最近有一个应用场景需要使用主动学习,我想知道能够用你的方法仅仅帮我筛选图片,应该怎么做。

@yuantn
Copy link
Owner

yuantn commented Jun 30, 2023

你可以修改 mmdet/utils/active_datasets.py 文件中的 update_X_L 函数(它在 tools/train.py 中被调用),令其返回 X_S,此即为每一轮主动学习后筛选出不确定性较高的新增样本。


You can modify the update_X_L function in mmdet/utils/active_datasets.py called by tools/train.py, make it return X_S, which are the new selected samples with higher uncertainty after each cycle of active learning.

@dust-removal
Copy link
Author

你可以修改 mmdet/utils/active_datasets.py 文件中的 update_X_L 函数(它在 tools/train.py 中被调用),令其返回 X_S,此即为每一轮主动学习后筛选出不确定性较高的新增样本。

You can modify the update_X_L function in mmdet/utils/active_datasets.py called by tools/train.py, make it return X_S, which are the new selected samples with higher uncertainty after each cycle of active learning.

感谢,我现在发现mmdet2.3.0已经有了支持windows的版本,那是不是在win上运行就有可能了

@yuantn
Copy link
Owner

yuantn commented Jun 30, 2023

是的,但我没有尝试过,你可以试一下。


Yes, but I have not tried it. You may have a try.

@yuantn yuantn added the individual Individual problem and need label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
individual Individual problem and need
Projects
None yet
Development

No branches or pull requests

2 participants