Open Alex-lcy opened 6 days ago
Hi, according to your description, you are using sc in preparing the dataset and are having problems is that right. This is because of the library version. You can refer to the README file of our other project (UltraLight VM-UNet) or do the following.
I suggest you to create a new environment for data preparation. Do the following and it will work fine:
Data preprocessing environment installation (python=3.7):
conda create -n tool python=3.7
conda activate tool
pip install h5py
conda install scipy==1.2.1 # scipy1.2.1 only supports python 3.7 and below.
pip install pillow
非常感谢您的回答,您的建议对我非常有帮助,我将重做。
您好,我在数据集处理的时候遇见了,这个问题: raceback (most recent call last): File "dataprepare/Prepare_your_dataset.py", line 31, in
img = sc.imread(Tr_list[idx])
File "/opt/conda/envs/vmunet/lib/python3.8/site-packages/scipy/misc/init.py", line 45, in getattr
raise AttributeError(
AttributeError: scipy.misc is deprecated and has no attribute imread. 非常希望能得到您的答复,您是如何解决的。