MrGiovanni / MrGiovanni/ModelsGenesis

Using the pretrained model on a different dataset

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
791
Forks
141
PR merge metrics
No merged PRs in 30d

Description

Hi!
Thank you for sharing this code!
I have a newbie question,
We are trying to run it with the weights: genesis_nnunet_luna16_006.model on the Task004_Hippocampus data,
but we get the print : "Training from scratch", meaning we are not using the weights.
I checked and the condition: (model_dict[key].shape == pretrained_dict[key].shape) is False.

It would be great if you are familiar with the reason and maybe can clarify it for us,
and tell us if what we are trying to do is even possible.

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the genesis_nnunet_luna16_006.model weights and the Task004_Hippocampus model shapes, especially the model_dict[key].shape == pretrained_dict[key].shape check. Determine whether the reported mismatch is expected for these datasets and document whether the pretrained weights can be used with this task.

Written by the indexing model from the issue text.

Assessment

Tech stack
pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.