amine-ammor / Entropy-rate-superpixel-segmentation

5 stars 0 forks source link

Lack of "//Data" #1

Open hao-y-cpu opened 2 years ago

hao-y-cpu commented 2 years ago

Hello, thanks for your "Entropy-rate-superpixel-segmentation" code firstly. However, when I obey your README.md file, I meet some problem that the pyCharm tell me I lack in the Data file initialized in data_sampler.py (rel_path_data = "..//Data" path_dir_data = os.path.join(dirFile, rel_path_data)). However, these file you provided don't included the Data directory. Could you give me some suggestions or help ? Thank you a lot.

ammoramine commented 2 years ago

hello, you're welcome, the data is not part of the project, you can download it from here (https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/). You should create a folder named "Data", on the same level as the code, then put the extracted data on that folder. try to use, some small images first.

If you want ot use some other data, you should rewrite this script. Note that the code is slow! For a faster version, try to "networkx" with an other library, by creating for example an abstraction over it. The architecture is also a little bit messy. Good luck. Regards,

hao-y-cpu commented 2 years ago

Thank you a lot . Best wishes. Han Hao

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2021年12月13日 21:29 | | 收件人 | @.> | | 抄送至 | @.**@.> | | 主题 | Re: [ammoramine/Entropy-rate-superpixel-segmentation] Lack of "//Data" (Issue #1) |

hello, you're welcome, the data is not part of the project, you can download it from here (https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/). You should create a folder named "Data", on the same level as the code, then put the extracted data on that folder. try to use, some small images first.

If you want ot use some other data, you should rewrite this script. Note that the code is slow! For a faster version, try to "networkx" with an other library, by creating for example an abstraction over it. The architecture is also a little bit messy. Good luck. Regards,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.