Kainmueller-Lab / PatchPerPix

official implementation of the PatchPerPix instance segmentation method
MIT License
27 stars 5 forks source link

Missing PatchPerPix.models #6

Open steriegler opened 8 months ago

steriegler commented 8 months ago

Hi everyone,

this is rather related to the archived PatchPerPix_experiments since I'm trying to replicate the wormbodies experiment. Ultimately, I would like to use PatchPerPix on my own 2D data. I have, however, not yet managed to reproduce the experiment. While I believe the dataset is arranged correctly (I used consolidate_data.py & trainTestSplit.py), I'm not even getting that far.

In the step mknet it appears that PatchPerPix.models, and therefore unet.py is missing. This is the case for both, PatchPerPix_experiments and PatchPerPix. I tried to get around that by using the UNET from https://github.com/Kainmueller-Lab/funlib.learn.tensorflow.git@a521614484423e3118ce024758d350b17f81b84d#egg=funlib.learn.tensorflow. This one is unfortunately not very compatible with mknet.py, and so far I haven't managed to find a unet.py that is.

Hence I would like to ask whether you could deposit a complete setup with all scripts necessary to run the wormbodies experiment successfully. Additonally, I was wondering whether an example config file with annotations of all parameters is available.

Thank you very much in advance! Loving what you achieved here, I'm looking forward to reproducing it!

abred commented 3 weeks ago

Hi Stefan, very sorry about the late reply! thank you for your interest.

PatchPerPix.models should be part of the PatchPerPix repo (https://github.com/Kainmueller-Lab/PatchPerPix/blob/ea4e2d4fb824d46e74c514ab8c7946df3467b652/PatchPerPix/models/__init__.py), did you follow the installation instructions in the readme file for the eccv2020 tag/commit? Can you please check if you can import PatchPerPix or PatchPerPix.models?