You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I am trying to train a model for immunofluorescently labelled cells in a whole mouse brain slice. However, every time I do the training in the first image, it never recognizes any cells in the second image or any other.
Below I am showing some screenshots of the images I am using. Any help is highly appreciated, thank you!
What I already tried out
I already tried out different things:
using pre-installed models or starting from scratch
cellpose 2.3.2 and the newest version
normalizing images beforehand
with and without GPU
playing around with the flow threshold and the cellprob threshold
24 bit and 16 bit pixel depth
cropping the image to only the area of interest (substantia nigra/ventral tegmental area)
Details on images
.png files
around 10 MB
around 6482x4564 pixels
24 bit
normalized to values between 0 and 255
taken with widefield microscope, maximum-intensity projected z-stacks
Screenshots
Example 1:
Example 2:
Example 2 zoomed in:
Output:
The text was updated successfully, but these errors were encountered:
could you perhaps try decreasing the cell probability after retraining and see if the network is still uncertain about the cells? also these cells are pretty small, you may want to start with the "nuclei" model even if it is worse because the mean diameter is 17, so the network will not make your images quite so large during inference (right now cellpose will resize them to diam_mean of 30 so a factor of 3x)
@ian-coccimiglio also recommended trying the Adam training, which is now an option if you pip install git+https://github.com/mouseland/cellpose.git. you will want to reduce the learning rate to around 0.001.
Description
I am trying to train a model for immunofluorescently labelled cells in a whole mouse brain slice. However, every time I do the training in the first image, it never recognizes any cells in the second image or any other.
Below I am showing some screenshots of the images I am using. Any help is highly appreciated, thank you!
What I already tried out
I already tried out different things:
Details on images
Screenshots![image](https://private-user-images.githubusercontent.com/182621528/370219209-92686628-d689-4168-ac7f-d3f810f1ed39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjAwODAsIm5iZiI6MTczOTAxOTc4MCwicGF0aCI6Ii8xODI2MjE1MjgvMzcwMjE5MjA5LTkyNjg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jdlZmZkMWY4ZTZlMzQxNTI2NzdhZTNjYTY4MDYxMTFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.w3rcFOaxX6ce0MSU8Dq-1HB7s7Hs5z2jZ2PwL4nAVrw)
![image](https://private-user-images.githubusercontent.com/182621528/370218914-2f5bc85e-978e-4275-abc3-e8c30b897bd9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjAwODAsIm5iZiI6MTczOTAxOTc4MCwicGF0aCI6Ii8xODI2MjE1MjgvMzcwMjE4OTE0LTJmNWJjODVlLTk3OGUtNDI3NS1hYmMzLWU4YzMwYjg5N2JkOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMzAzMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMjRkZDNkNDk1MmM4ZDE5ZjYxZWQyNDMyYmEzMzBlNDMyYjNlNzlhOWM4YzhmNDQ3MzY4YTUyNGQ0OTliNWRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.56d6GNCDNg2slt9vkpWCjoTBmBPkb6W29CSiUAFo8-Q)
![image](https://private-user-images.githubusercontent.com/182621528/370232333-de88ec58-9c48-4039-87c4-0193a16fc515.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjAwODAsIm5iZiI6MTczOTAxOTc4MCwicGF0aCI6Ii8xODI2MjE1MjgvMzcwMjMyMzMzLWRlODhlYzU4LTljNDgtNDAzOS04N2M0LTAxOTNhMTZmYzUxNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMzAzMDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDVlMGZkZDQ0M2IyYzMxNzRiYmVhNjRlZGVkYzFmZGVlYjczZjIzNjY2NDZlNzY5MzYxMDE2MWZmNDc0M2JiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.v4VlQPL2GYiWV-9CCT57k8KJ0-ailaMNadUiV5gAJyY)
Example 1:
Example 2:
Example 2 zoomed in:
Output:
The text was updated successfully, but these errors were encountered: