Skip to content
Snippets Groups Projects
Commit 9aedc0f5 authored by Felipe Delestro Matos's avatar Felipe Delestro Matos
Browse files

Hotfix: load imports

parent dfe9eb41
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
import qim3d.io
import qim3d.gui
import qim3d.utils
import qim3d.viz
import qim3d.utils
import qim3d.models
import logging
\ No newline at end of file
......@@ -5,7 +5,7 @@ from matplotlib import cm
import torch
import numpy as np
from qim3d.io.logger import log
from qim3d.io.load import load
import qim3d.io
def grid_overview(data, num_images=7, cmap_im="gray", cmap_segm="viridis", alpha=0.5):
"""Displays an overview grid of images, labels, and masks (if they exist).
......@@ -211,7 +211,7 @@ def slice_viz(input, position = 'mid', cmap="viridis", axis=False, img_height=2,
# Filepath input
if isinstance(input,str):
vol = load(input) # Function has its own ValueErrors
vol = qim3d.io.load(input) # Function has its own ValueErrors
dim = vol.ndim
if dim == 3:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment