MoritzWillig / pysnic

Python implementation of the SNIC superpixels algorithm
MIT License
54 stars 5 forks source link

模型导入 #1

Closed zhy8602099 closed 3 years ago

zhy8602099 commented 5 years ago

我最近在做超像素分割的项目,看到了您的代码,很感兴趣,您能提供一下_init_文件么,我在运行程序时,无法导入模型

MoritzWillig commented 5 years ago

Hey, I'm not quite sure if I understood your problem correctly. I must admit, that I haven't written an explicit __init__ file yet, but only worked with the different classes directly. You can find examples, under pysnic/examples/

If you have any suggestions regarding the improvement of the project structure, let me know!

zhy8602099 commented 5 years ago

谢谢您的回复,我在电脑上安装了setup.py后,运行了pysnic / examples /下的示例后,显示找不到pysnic.algorithms模型,之后我将所有的程序放入一个文件夹后,更改了import命令,解决了这个问题。

MoritzWillig commented 3 years ago

PySNIC can now be installed via pip:

pip install pysnic