question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about Repeated Augmentation

See original GitHub issue

Hi, first of all, thank you for releasing the code base. I have a small question about the sampler for Repeated Augmentation. What does this 256*256 mean?

https://github.com/facebookresearch/deit/blob/cb29b5efd522a0ac83d64aa8b41fe27cead3a030/samplers.py#L32

Thank you!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kyle-1997commented, Apr 27, 2021

I have tried to remove the RAsampler for deit-tiny and deit-small, the performance is almost the same.

1reaction
TouvronHugocommented, Apr 27, 2021

Hi @moskomule ,

No it’s just to determine the number of images used in the dataset for each epochs. This is not exactly int(math.floor(len(self.dataset) / self.num_replicas)) but just the nearest multiple of 256. I think it was originally used for question of batch size.

Best,

Hugo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Augment Your Batch: Improving Generalization Through ...
We propose to use batch augmentation: repli- cating instances of samples within the same batch with dif- ferent data augmentations. Batch augmentation acts...
Read more >
Newest 'data-augmentation' Questions
I'm working on a 3-class text classification problem where my initial class distribution looked like this: positive: 50% negative: 25% and neutral: 25%...
Read more >
Data Augmentation | How to use Deep Learning when you ...
This article is a comprehensive review of Data Augmentation techniques for Deep Learning, specific to images.
Read more >
Question Data Augmentation with Controllable Rewriting in ...
Tell Me How to Ask Again: Question Data Augmentation ... coder to map the original discrete question into ... layers which consist of...
Read more >
A survey on Image Data Augmentation for Deep Learning
In contrast to the techniques mentioned above, Data Augmentation approaches overfitting from the root of the problem, the training dataset. This ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found