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.

custom data normalisation for non-imagenet datasets

See original GitHub issue

Hi, thanks to the authors of this paper and this code for making the effort to share their work with the community.

I am trying to use Dino on a non-imagenet dataset and started to alter the code in this fashion. For details, see main_dino.py and visualize_attention.py in my fork. I am basically trying to get rid of any hard coded magic numbers related to imagenet (if possible).

Drop me a 👍 if you like or need this work. If the feedback is inline with #1, I can send a PR if time permits. Other feedback on this is always welcome - feel free to send PRs to my fork.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:17
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Harry-KITcommented, Nov 30, 2021

Hi @mathildecaron31. Yes i did. You were right. I changed patch_size from 8 to 16. And it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Normalization Formula: How To Use It on a Data Set
The normalization formula is one way to process data to get easily comparable results within a data set and across several different data...
Read more >
Configuring normalization settings for datasets
A dataset is a collection of CIs and relationships, and each data provider has its own dataset ... Customize normalization for each dataset....
Read more >
How to normalize data between -1 and 1? - Cross Validated
I advise keeping your original and normalised datasets, you can then find maxx and minx easily by just looking at your original dataset...
Read more >
2 Easy Ways to Normalize data in Python
This is a more popular choice for normalizing datasets. Here's the code for normalizing the housing dataset using MinMaxScaler : from sklearn ...
Read more >
Data normalization in machine learning | by Mahbubul Alam
Let's first define what exactly is normalization. Let's say we have a dataset containing two variables: time traveled and distance covered.
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