-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Celldino #572
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
Draft
coupriec
wants to merge
4
commits into
main
Choose a base branch
from
celldino
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Celldino #572
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| FAIR Noncommercial Research License | ||
| v1 Last Updated: August 18, 2025 | ||
|
|
||
| “Acceptable Use Policy” means the FAIR Acceptable Use Policy, applicable to Research Materials, that is incorporated into this Agreement. | ||
|
|
||
| “Agreement” means the terms and conditions for use, reproduction, distribution and modification of the Research Materials set forth herein. | ||
|
|
||
|
|
||
| “Documentation” means the specifications, manuals and documentation accompanying | ||
| Research Materials distributed by Meta. | ||
|
|
||
|
|
||
| “Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf. | ||
|
|
||
|
|
||
| “Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland). | ||
|
|
||
| “Noncommercial Research Uses” means noncommercial research use cases related to research, development, education, processing, or analysis and in each case, is not primarily intended for commercial advantage or monetary compensation to you or others. | ||
|
|
||
| “Research Materials” means, collectively, Documentation and the models, software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code, demonstration materials and other elements of the foregoing distributed by Meta and made available under this Agreement. | ||
|
|
||
| By clicking “I Accept” below or by using or distributing any portion or element of the Research Materials, you agree to be bound by this Agreement. | ||
|
|
||
|
|
||
| 1. License Rights and Redistribution. | ||
|
|
||
|
|
||
| a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Research Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Research Materials. | ||
|
|
||
| b. Redistribution and Use. | ||
| i. You will not use the Research Materials or any outputs or results of the Research Materials in connection with any commercial uses or for any uses other than Noncommercial Research Uses; | ||
|
|
||
|
|
||
| ii. Distribution of Research Materials, and any derivative works thereof, are subject to the terms of this Agreement. If you distribute or make the Research Materials, or any derivative works thereof, available to a third party, you may only do so under the terms of this Agreement. You shall also provide a copy of this Agreement to such third party. | ||
|
|
||
|
|
||
| iii. If you submit for publication the results of research you perform on, using, or otherwise in connection with Research Materials, you must acknowledge the use of Research Materials in your publication. | ||
|
|
||
|
|
||
| iv. Your use of the Research Materials must comply with applicable laws and regulations (including Trade Control Laws) and adhere to the FAIR Acceptable Use Policy, which is hereby incorporated by reference into this Agreement. | ||
| 2. User Support. Your Noncommercial Research Use of the Research Materials is done at your own discretion; Meta does not process any information nor provide any service in relation to such use. Meta is under no obligation to provide any support services for the Research Materials. Any support provided is “as is”, “with all faults”, and without warranty of any kind. | ||
|
|
||
|
|
||
| 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE RESEARCH MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE RESEARCH MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE RESEARCH MATERIALS AND ANY OUTPUT AND RESULTS. | ||
|
|
||
| 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING. | ||
|
|
||
| 5. Intellectual Property. | ||
|
|
||
|
|
||
| a. Subject to Meta’s ownership of Research Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the Research Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications. | ||
|
|
||
| b. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Research Materials, outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the Research Materials. | ||
|
|
||
| 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or access to the Research Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the Research Materials. Sections 3, 4 and 7 shall survive the termination of this Agreement. | ||
|
|
||
| 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement. | ||
|
|
||
|
|
||
| 8. Modifications and Amendments. Meta may modify this Agreement from time to time; provided that they are similar in spirit to the current version of the Agreement, but may differ in detail to address new problems or concerns. All such changes will be effective immediately. Your continued use of the Research Materials after any modification to this Agreement constitutes your agreement to such modification. Except as provided in this Agreement, no modification or addition to any provision of this Agreement will be binding unless it is in writing and signed by an authorized representative of both you and Meta. | ||
|
|
||
|
|
||
| FAIR Acceptable Use Policy | ||
|
|
||
| The Fundamental AI Research (FAIR) team at Meta seeks to further understanding of new and existing research domains with the mission of advancing the state-of-the-art in artificial intelligence through open research for the benefit of all. | ||
|
|
||
| As part of this mission, Meta makes certain research materials available for noncommercial research use. Meta is committed to promoting the safe and responsible use of such research materials. | ||
|
|
||
| Prohibited Uses | ||
|
|
||
| You agree you will not use, or allow others to use, Research Materials to: | ||
|
|
||
| Violate the law or others’ rights, including to: | ||
| Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as: | ||
| Violence or terrorism | ||
| Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material | ||
| Human trafficking, exploitation, and sexual violence | ||
| The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials. | ||
| Sexual solicitation | ||
| Any other criminal activity | ||
|
|
||
| Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals | ||
|
|
||
| Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services | ||
|
|
||
| Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices | ||
|
|
||
| Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws | ||
|
|
||
| Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any technology using FAIR research materials | ||
|
|
||
| Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system | ||
|
|
||
| 2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of research artifacts related to the following: | ||
|
|
||
| Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State | ||
|
|
||
| Guns and illegal weapons (including weapon development) | ||
|
|
||
| Illegal drugs and regulated/controlled substances | ||
|
|
||
| Operation of critical infrastructure, transportation technologies, or heavy machinery | ||
|
|
||
| Self-harm or harm to others, including suicide, cutting, and eating disorders | ||
|
|
||
| Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual | ||
|
|
||
| 3. Intentionally deceive or mislead others, including use of FAIR Research Materials related to the following: | ||
|
|
||
| Generating, promoting, or furthering fraud or the creation or promotion of disinformation | ||
|
|
||
| Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content | ||
|
|
||
| Generating, promoting, or further distributing spam | ||
|
|
||
| Impersonating another individual without consent, authorization, or legal right | ||
|
|
||
| Representing that outputs of FAIR research materials or outputs from technology using FAIR research materials are human-generated | ||
|
|
||
| Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement | ||
|
|
||
| 4. Fail to appropriately disclose to end users any known dangers of your Research Materials. | ||
|
|
||
| Please report any violation of this Policy or other problems that could lead to a violation of this Policy by submitting a report here [https://docs.google.com/forms/d/e/1FAIpQLSeb11cryAopJ7LNrC4nxEUXrHY26hfkXQMf_uH-oFgA3WlYZQ/viewform]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| The contents of this repo, including the code and model weights, are intended for research use only. It is not for use in medical procedures, including any diagnostics, treatment, or curative applications. Do not use this model for any clinical purpose or as a substitute for professional medical judgement. | ||
|
|
||
|
|
||
| # Scaling Channel-Adaptive Self-Supervised Learning (CHANNEL-DINO) | ||
|
|
||
| [[`Paper `](https://openreview.net/forum?id=pT8sgtRVAf))] [[`BibTeX`](#citing-channeladaptivedino-and-dinov2)] | ||
|
|
||
| Alice V. De Lorenci, Seungeun Yi, Théo Moutakanni, Piotr Bojanowski, Camille Couprie, Juan C. Caicedo, Wolfgang M. Pernice, | ||
|
|
||
| with special thanks to Elouan Gardes for his contributions to the codebase. | ||
|
|
||
| [README](https://github.com/facebookresearch/dinov2/blob/main/docs/README_CHANNEL_ADAPTIVE_DINO.md) | ||
|
|
||
|
|
||
|
|
||
| # Cell-DINO: Unbiased Image-based Embeddings for Cell Fluorescent Microscopy (CELL-DINO) | ||
|
|
||
| Théo Moutakanni, Camille Couprie, Seungeun Yi, Elouan Gardes, Piotr Bojanowski, Hugo Touvron, Michael Doron, Zitong S. Chen, Nikita Moshkov, Mathilde Caron, Armand Joulin, Wolfgang M. Pernice, Juan C. Caicedo | ||
|
|
||
| to appear soon. | ||
|
|
||
| [README](https://github.com/facebookresearch/dinov2/blob/main/docs/README_CELL_DINO.md) | ||
|
|
||
|
|
||
| ## Licenses | ||
|
|
||
| Code is released under the CC BY NC License. See [LICENSE_CELLDINO](LICENSE_CELLDINO) for additional details. | ||
| Model weights are released under the FAIR Noncommercial Research License. See [LICENSE_CELLDINO_WEIGHTS](LICENSE_CELLDINO_WEIGHTS) for additional details. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| student: | ||
| arch: vit_large | ||
| patch_size: 16 | ||
| num_register_tokens: 0 | ||
| interpolate_antialias: false | ||
| interpolate_offset: 0.1 | ||
| drop_path_rate: 0.1 | ||
| in_chans: 4 | ||
| block_chunks: 4 | ||
| teacher: | ||
| in_chans: 4 | ||
| crops: | ||
| global_crops_size: 224 | ||
| local_crops_size: 96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| train: | ||
| batch_size_per_gpu: 32 | ||
| OFFICIAL_EPOCH_LENGTH: 450 | ||
| cell_augmentation: true | ||
| channel_adaptive: true | ||
| student: | ||
| arch: vit_large | ||
| patch_size: 16 | ||
| num_register_tokens: 0 | ||
| interpolate_antialias: false | ||
| interpolate_offset: 0.1 | ||
| drop_path_rate: 0.1 | ||
| in_chans: 1 | ||
| block_chunks: 4 | ||
| channel_adaptive: true | ||
| teacher: | ||
| momentum_teacher: 0.996 | ||
| warmup_teacher_temp_epochs: 20 | ||
| in_chans: 1 | ||
| channel_adaptive: true | ||
| crops: | ||
| global_crops_scale: | ||
| - 0.4 | ||
| - 1.0 | ||
| local_crops_number: 8 | ||
| local_crops_scale: | ||
| - 0.005 | ||
| - 0.4 | ||
| global_crops_size: 224 | ||
| local_crops_size: 96 | ||
| optim: | ||
| weight_decay_end: 0.2 | ||
| base_lr: 5.0e-4 | ||
| warmup_epochs: 20 | ||
| epochs: 400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| train: | ||
| batch_size_per_gpu: 16 | ||
| OFFICIAL_EPOCH_LENGTH: 450 | ||
| cell_augmentation: true | ||
| student: | ||
| arch: vit_large | ||
| patch_size: 16 | ||
| in_chans: 4 | ||
| drop_path_rate: 0.1 | ||
| block_chunks: 4 | ||
| teacher: | ||
| momentum_teacher: 0.996 | ||
| warmup_teacher_temp_epochs: 20 | ||
| in_chans: 4 | ||
| optim: | ||
| weight_decay_end: 0.2 | ||
| base_lr: 5.0e-4 | ||
| warmup_epochs: 20 | ||
| crops: | ||
| global_crops_scale: | ||
| - 0.4 | ||
| - 1.0 | ||
| local_crops_number: 8 | ||
| local_crops_scale: | ||
| - 0.005 | ||
| - 0.4 | ||
| global_crops_size: 224 | ||
| local_crops_size: 96 | ||
| evaluation: | ||
| eval_period_iterations: 4500 | ||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| train: | ||
| batch_size_per_gpu: 16 | ||
| OFFICIAL_EPOCH_LENGTH: 450 | ||
| cell_augmentation: true | ||
| channel_adaptive: true | ||
| student: | ||
| arch: vit_large | ||
| patch_size: 16 | ||
| in_chans: 1 | ||
| drop_path_rate: 0.1 | ||
| block_chunks: 4 | ||
| teacher: | ||
| momentum_teacher: 0.996 | ||
| warmup_teacher_temp_epochs: 20 | ||
| in_chans: 1 | ||
| crops: | ||
| global_crops_scale: | ||
| - 0.4 | ||
| - 1.0 | ||
| local_crops_number: 8 | ||
| local_crops_scale: | ||
| - 0.005 | ||
| - 0.4 | ||
| global_crops_size: 224 | ||
| local_crops_size: 96 | ||
| optim: | ||
| weight_decay_end: 0.2 | ||
| base_lr: 5.0e-4 | ||
| warmup_epochs: 20 | ||
| epochs: 400 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| train: | ||
| batch_size_per_gpu: 32 | ||
| OFFICIAL_EPOCH_LENGTH: 1756 | ||
| cell_augmentation: true | ||
| student: | ||
| arch: vit_large | ||
| patch_size: 16 | ||
| in_chans: 4 | ||
| drop_path_rate: 0.1 | ||
| block_chunks: 4 | ||
| teacher: | ||
| momentum_teacher: 0.996 | ||
| warmup_teacher_temp_epochs: 20 | ||
| in_chans: 4 | ||
| optim: | ||
| weight_decay_end: 0.2 | ||
| base_lr: 5.0e-4 | ||
| warmup_epochs: 20 | ||
| crops: | ||
| global_crops_scale: | ||
| - 0.4 | ||
| - 1.0 | ||
| local_crops_number: 8 | ||
| local_crops_scale: | ||
| - 0.005 | ||
| - 0.4 | ||
| global_crops_size: 224 | ||
| local_crops_size: 96 | ||
| evaluation: | ||
| eval_period_iterations: 4500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this for the new paper title, please?
"Cell-DINO: Self-Supervised Image-based Embeddings for Cell Fluorescent Microscopy"