-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load two channesl as inputs to do fluoresence to phase image translation #40
Labels
bug
Something isn't working
Comments
Oh this is due to a bug in the example input array. You can work around this by passing The channel of Lines 164 to 169 in 76c3b31
|
ziw-liu
added a commit
that referenced
this issue
Aug 24, 2023
Merged
mattersoflight
added a commit
that referenced
this issue
Aug 30, 2023
* pixelshuffle decoder * Allow sampling multiple patches from the same stack (#35) * sample multiple patches from one stack * do not use type annotations from future it breaks jsonargparse * fix channel stacking for non-training samples * remove batch size from model the metrics will be automatically reduced by lightning * add flop counting script * 3d ouput head * add datamodule target dims mode * remove unused argument and configure drop path * move architecture argument to model level * DLMBL 2023 excercise (#36) * updated intro and paths * updated figures, tested data loader * setup.sh fetches correct dataset * finalized the exercise outline * semi-final exercise * parts 1 and 2 tested, part 3 outline ready * clearer variables, train with larger patch size * fix typo * clarify variable names * trying to log graph * match example size with training * reuse globals * fix reference * log sample images from the first batch * wider model * low LR solution * fix path * seed everything * fix test dataset without masks * metrics solution this needs a new test dataset * fetch test data, compute metrics * byass cellpose import error due to numpy version conflicts * final exercise * moved files * fixed formatting - ready for review * viscy -> VisCy (#34) (#39) Introducing capitalization to highlight vision and single-cell aspects of the pipeline. * trying to log graph * log graph * black --------- Co-authored-by: Shalin Mehta <[email protected]> Co-authored-by: Shalin Mehta <[email protected]> * fix channel dimension size for example input #40 * fix argument linking * 3D prediction writer sliding windows are blended with uniform average * update network diagram * upgrade flop counting * shallow 3D (2.5D) SSIM metric * ms-ssim * mixed loss * fix arguments * fix inheritance * fix weight checking * squeeze metric * aggregate metrics * optinal clamp to stabilize gradient of MS-SSIM * fix calling * increase epsilon * disable autocast for loss * restore relu for clamping * plot all architectures with network_diagram script --------- Co-authored-by: Shalin Mehta <[email protected]>
ziw-liu
added a commit
that referenced
this issue
Nov 1, 2023
* pixelshuffle decoder * Allow sampling multiple patches from the same stack (#35) * sample multiple patches from one stack * do not use type annotations from future it breaks jsonargparse * fix channel stacking for non-training samples * remove batch size from model the metrics will be automatically reduced by lightning * add flop counting script * 3d ouput head * add datamodule target dims mode * remove unused argument and configure drop path * move architecture argument to model level * DLMBL 2023 excercise (#36) * updated intro and paths * updated figures, tested data loader * setup.sh fetches correct dataset * finalized the exercise outline * semi-final exercise * parts 1 and 2 tested, part 3 outline ready * clearer variables, train with larger patch size * fix typo * clarify variable names * trying to log graph * match example size with training * reuse globals * fix reference * log sample images from the first batch * wider model * low LR solution * fix path * seed everything * fix test dataset without masks * metrics solution this needs a new test dataset * fetch test data, compute metrics * byass cellpose import error due to numpy version conflicts * final exercise * moved files * fixed formatting - ready for review * viscy -> VisCy (#34) (#39) Introducing capitalization to highlight vision and single-cell aspects of the pipeline. * trying to log graph * log graph * black --------- Co-authored-by: Shalin Mehta <[email protected]> Co-authored-by: Shalin Mehta <[email protected]> * fix channel dimension size for example input #40 * fix argument linking * 3D prediction writer sliding windows are blended with uniform average * update network diagram * upgrade flop counting * shallow 3D (2.5D) SSIM metric * ms-ssim * mixed loss * fix arguments * fix inheritance * fix weight checking * squeeze metric * aggregate metrics * optinal clamp to stabilize gradient of MS-SSIM * fix calling * increase epsilon * disable autocast for loss * shuffle validation data for logging this hurts cache hit rate, but can avoid logging neighboring windows * simplify decoder structure * pop-head * fix head expansion * init conv weights * update diagnostic scripts * fix center slice metrics for 3D output (#51) * Configure the number of image samples logged at each epoch and batch (#49) * log sample size at epoch and batch levels * update example configs * do not shuffle validation dataset * fix upsampling weight initialization * fix merge * fix merge error * fix formatting --------- Co-authored-by: Shalin Mehta <[email protected]> Co-authored-by: Shalin Mehta <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was running the
MBL DL2023 example notebook
and ran into this issue at the end trying to predict the phase using 2 fluorescence channels.The text was updated successfully, but these errors were encountered: