Spaces:
Running
Running
Download training/Networks/network.py from andreped/LungTumorMask: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/spaces/andreped/LungTumorMask/resolve/698bda389a52ba3f917a20775d0e521040462b6b/training/Networks/network.py
- Command line
-
hf download hf://spaces/andreped/LungTumorMask@698bda389a52ba3f917a20775d0e521040462b6b/training/Networks/network.py
-
curl -L -o network.py https://huggingface.co/spaces/andreped/LungTumorMask/resolve/698bda389a52ba3f917a20775d0e521040462b6b/training/Networks/network.py
237 Bytes
| import torch as T | |
| class Network(T.nn.Module): | |
| def __init__(self): | |
| super(Network, self).__init__() | |
| def forward(self, image, segbox): | |
| pass | |
| def train_step(self, image, segment, criterion, segbox): | |
| pass |