Skip to content

Errors in manually installed conda-env #24

Description

@YaoxinHuang

Hi, it's an impressive work! However, you might not provide enough info about this repo's python lib dependency, e.g. the exact version of numpy, segmentation_models_pytorch etc.

Here's some problems i've met in my practice:

  1. Numpy should be lower than 2.0.0 but higher than 1.24.0, or it would raise an ModuleImport Error.
  2. I don't know which version ofsegmentation_models_pytorch would be better, however, it raises a TypeError: use_batchnorm is not available in md.Conv2D() function. So to solve this problem, I changed three different places from use_batchnorm=use_batchnorm to use_norm=use_batchnorm. I suggest it's just a versions' difference.

Thx for ur amazing work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions