microsoft / landcover

Land Cover Mapping
201 stars 84 forks source link

Missing segmentation_models_pytorch #26

Closed PatrickBue closed 3 years ago

PatrickBue commented 3 years ago

I am getting a file-not-found error when trying to run the line "import segmentation_models_pytorch as smp" in: https://github.com/microsoft/landcover/blob/master/web_tool/ModelSessionPyTorchSegmentationModel.py#L27

Looks like segmentation_models_pytorch does not exist?

calebrob6 commented 3 years ago

Hi Patrick, this is a python library - https://github.com/qubvel/segmentation_models.pytorch

PatrickBue commented 3 years ago

Thanks for the quick reply. Strange it didn't install the library while creating a new conda environment using "environment_precise.yml". Might have been a silent fail, seen that before with pip.