mirror of
https://github.com/Laurent2916/REVA-QCAV.git
synced 2024-11-09 15:02:03 +00:00
refactor: renamed files
Former-commit-id: c9936db9c051268c7e9bd3a78bbeaab9948e416e
This commit is contained in:
parent
30b9abfc5b
commit
cc4e8089ec
|
@ -8,7 +8,7 @@ import torch.nn.functional as F
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
from torchvision import transforms
|
from torchvision import transforms
|
||||||
|
|
||||||
from utils.data_loading import BasicDataset
|
from src.utils.dataset import BasicDataset
|
||||||
from unet import UNet
|
from unet import UNet
|
||||||
from utils.utils import plot_img_and_mask
|
from utils.utils import plot_img_and_mask
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ from torch.utils.data import DataLoader, random_split
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
from evaluate import evaluate
|
from evaluate import evaluate
|
||||||
|
from src.utils.dataset import BasicDataset, CarvanaDataset
|
||||||
from unet import UNet
|
from unet import UNet
|
||||||
from utils.data_loading import BasicDataset, CarvanaDataset
|
|
||||||
from utils.dice_score import dice_loss
|
from utils.dice_score import dice_loss
|
||||||
|
|
||||||
dir_img = Path("./data/imgs/")
|
dir_img = Path("./data/imgs/")
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
from .unet_model import UNet
|
from .model import UNet
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
""" Full assembly of the parts to form the complete network """
|
""" Full assembly of the parts to form the complete network """
|
||||||
|
|
||||||
from .unet_parts import *
|
from .blocks import *
|
||||||
|
|
||||||
|
|
||||||
class UNet(nn.Module):
|
class UNet(nn.Module):
|
Loading…
Reference in a new issue