Skip to content

athnomedical/NSDD-SSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Pre-trained models from NSDD

This repository contains checkpoints of ResNet-18 model pre-trained by using dermatological images in National Skin Disease Database of Japan (NSDD).

Usage

To load the pre-trained model, use the following code snippet:

import torch
import torchvision

model = torchvision.models.resnet18()
unused_key = ('fc.weight', 'fc.bias')
state_dict = {k:v for k, v in torch.load('path_to_checkpoint.pth').items() if k not in unused_key}
model.load_state_dict(state_dict, strict=False)

Checkpoints

Pre-training method Image data used for pre-training Download
Self-supervised method (SimCLR) NSDD-unlabeled checkpoint
Self-supervised method (BYOL) NSDD-unlabeled checkpoint
Self-supervised method (DINO) NSDD-unlabeled checkpoint
Self-supervised method (SimCLR) + fine-tuning NSDD-unlabeled + NSDD-labeled checkpoint
Self-supervised method (BYOL) + fine-tuning NSDD-unlabeled + NSDD-labeled checkpoint
Self-supervised method (DINO) + fine-tuning NSDD-unlabeled + NSDD-labeled checkpoint

License

These checkpoints are freely available for academic use. For commercial use and more detailed licensing information, please contact shido1985 [AT] derma [DOT] med [DOT] tohoku [DOT] ac [DOT] jp.

Disclaimer

THESE CHECKPOINTS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THESE CHECKPOINTS OR THE USE OR OTHER DEALINGS IN THESE CHECKPOINTS.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published