jamesjg / FoodSAM

FoodSAM: Any Food Segmentation
Apache License 2.0
134 stars 13 forks source link

Some questions about mmseg and requirements versions #7

Open GiraudJules opened 6 months ago

GiraudJules commented 6 months ago

Hello,

First of all, thank you very much for your hard work and for sharing this project with the community! I've been exploring FoodSAM and am excited about the potential it has. However, I have a few questions regarding its dependencies and compatibility with newer versions of certain libraries. Your insights on these would greatly help me integrate and potentially contribute to the project:

Understanding these aspects would not only help me in utilizing FoodSAM more effectively but also in potentially contributing to its development, ensuring compatibility and leveraging improvements from these libraries.

Thank you for your time and assistance!

Best regards, Jules

jamesjg commented 5 months ago

Hi, thanks for your time!

We directly clone mmseg v0.11.0 in order to match the version used by FoodSeg103 since we leverage the baseline model SETR from FoodSeg103 for coarse segmentation. So far we have not tested FoodSAM with newer versions of mmseg or mmcv. Sticking with the matched versions avoids environment configuration issues. Upgrading would require careful testing for compatibility, which we have not prioritized yet.

If you use other segmentation models, you may need use its corresponding version. Thanks again for your interest in FoodSAM!