The example code for u-net brain MRI may not include normalization pre-step
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- machine-learning
Direzione di ricerca
The change is in the preprocess transforms.Compose pipeline shown in the issue body, which applies transforms.Normalize with mean and std after ToTensor for the brain MRI U-Net example on the PyTorch Hub page. Before editing, confirm against the original training code the reporter cites whether normalization was used, and run the example with and without that step to compare outputs. Done means a justified decision on the preprocessing, with the example updated or the question answered in the thread.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When I following the example code in [(https://pytorch.org/hub/mateuszbuda_brain-segmentation-pytorch_unet/)] the results is a mess. Then I discovered by removing the normalization step, everything goes well. I checked the repo for the original code, it seems the training procedure did not have a normalization step. So it may be better to fix it. The model is good.
What I mean is, changing
preprocess = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(mean=m, std=s),
])
to
preprocess = transforms.Compose([
transforms.ToTensor(),
])
I was new to this area, tell me if I am wrong. Thanks.
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 248
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pytorch/hub
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
-
Output is not segmentedAperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 8/100
-
Difficoltà 4/5 Più di una settimana Idoneità per principianti 8/100
Issue simili
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
trezor/trezor-user-env#421 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tangentcode/tangentswarm#167 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno