Skip to content

Commit

Permalink
Fixed gdcm error
Browse files Browse the repository at this point in the history
  • Loading branch information
BarzaH committed Dec 17, 2024
1 parent fdc534e commit 2c7221e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions innofw/core/datasets/coco_rtk.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
from pckg_util import install_and_import

install_and_import("pylibjpeg", "2.0.0", packageimportname="pylibjpeg")
install_and_import("python-gdcm", "3.0.24.1", packageimportname="gdcm")
from innofw.utils.data_utils.preprocessing.dicom_handler import dicom_to_raster
import json
import os

import cv2
import numpy as np
import pydicom
import torch
from torch.utils.data import Dataset

from innofw.utils.data_utils.preprocessing.dicom_handler import dicom_to_raster



class DicomCocoDatasetRTK(Dataset):
Expand Down

0 comments on commit 2c7221e

Please sign in to comment.