constantinpape / torch-em

Deep-learning based semantic and instance segmentation for 3D Electron Microscopy and other bioimage analysis problems based on pytorch.
MIT License
69 stars 19 forks source link

Error in _get_kwarg function when handling lists as input #227

Open emmateki opened 4 months ago

emmateki commented 4 months ago

Hi, firstly, I want to thanks for this repo! I've been using the 2D-UNet notebook, and I encountered an issue when attempting to add a description,tags,authors,... of the model as my input . I think that to enable both single and double quotes, the line of code should be modified to something like this ? val = val.replace(" ' ", ' " ')

here is the line of code. https://github.com/constantinpape/torch-em/blob/b90721bb6665d339678f63f717c990c2c81b5c33/torch_em/util/modelzoo.py#L233