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

add WeightedRandomSampler to balance the dataset #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Leavrth
Copy link
Collaborator

@Leavrth Leavrth commented May 15, 2021

No description provided.

@Leavrth
Copy link
Collaborator Author

Leavrth commented May 17, 2021

参考的是这篇论文 https://arxiv.org/pdf/1802.05033.pdf

@skyzh
Copy link
Owner

skyzh commented May 17, 2021

成功!

@skyzh skyzh self-requested a review May 20, 2021 07:42
Copy link
Owner

@skyzh skyzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

训练前的准备工作太慢了。计算 weight 的时候没必要将图片读出来。我再做一些修改,才能合并这个 PR。

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

Successfully merging this pull request may close these issues.

2 participants