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

how to implement CLTD? #42

Closed
KAHIMWONG opened this issue Mar 1, 2024 · 3 comments
Closed

how to implement CLTD? #42

KAHIMWONG opened this issue Mar 1, 2024 · 3 comments

Comments

@KAHIMWONG
Copy link

No description provided.

@qcf-568
Copy link
Owner

qcf-568 commented Mar 1, 2024

You can set a counter in the Dataset class, using it in the getitem function. Each time the getitem function is used, the counter add one.

@qcf-568
Copy link
Owner

qcf-568 commented Mar 1, 2024

Then the counter controls the compression factor in the getitem function.

@qcf-568
Copy link
Owner

qcf-568 commented Mar 1, 2024

Another way is using the index input of the getitem function, the index denotes the ordinal of the sample when "shuffle" is closed.

@qcf-568 qcf-568 closed this as completed Mar 1, 2024
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

2 participants