-
Notifications
You must be signed in to change notification settings - Fork 17
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
Model used in the publication #8
Comments
Hi, I am not sure what the problem is only looking at the trace. Did you use the pre-trained model we uploaded or trained the model on your own? |
I used pre-trained model and I remembered that is bs1. |
Here is model parameters which were used for mouse and zebrafish data in Fig. 4: Denoising population voltage imaging data. of our paper. Try that two parameters, and different imaging rate, spike property, noise level... between train / test data could hinder perfect denoising. The best way is to train SUPPORT to your data. If these pretrain models also not work well and if you have any difficulties on training, let us know. |
I will try it, thank you very much! |
Sorry, seems the pre-trained model's parameter 'in-channels' is 61, the model parameter's 'in-channels' you shared is 16, shall I use 61 or change the layer's architecture? |
Yes, I already validated the model on your zebrafish data, it works well. Seems we need to train models with our data in order to get good results. Thank you very much for the help! |
Hi, can I ask what's the raw data you used in Fig.4a and 4d? I downloaded the mouse cortex data and found they are all single cell's images and for zebrafish's data seems they are brain's images while Fig 4d seems from the body. Besides, can I ask how many data you used in the training? I trained some of my data however the SNR's improvement is not obvious. Thanks for your time! |
Hi, the data used in Fig.4a can be downloaded from (https://zenodo.org/record/4515768#.ZC0_DHZByUk), and the data used in Fig.4d can be downloaded from (https://figshare.com/articles/dataset/Voltage_imaging_in_zebrafish_spinal_cord_with_zArchon1/14153339). |
Thank you very much! Can I ask how you train your video, like learning rate or other parameters? I trained with a 3000020096, filming rate = 1000 movie for 100 epochs for saving the time, the loss is around 0.1 and the loss decay is really unobvious, shall I increase my training epochs or modify some other parameters? |
We trained the model with the default parameters uploaded on (https://github.com/NICALab/SUPPORT/blob/main/src/utils/util.py). If you found that the improvement of SNR is not obvious, I would like to recommend increasing the "bs_size" to [3, 3] or higher. |
If the noise remains in the denoised frame, we usually increase the bs_size. p.s., Is it possible to share the data and let us try processing it? |
Thank you very much! And I've sent our data through the email. Besides, when I tried to use pre-trained model and your parameter to denoise your data, there seems some spike's signal lost. I attached a denoised trace from the chosen ROI, do you have any idea how it could happen? red line is the denoised trace and blue line is the raw trace. |
movie.tif
<https://drive.google.com/file/d/15VvMADVYLc-O2bnEzA_Q9GyzSip6EW77/view?usp=drive_web>
Hi,
The attached frame is from the raw movie, the denoised movie still remains
some noise. I attached the raw movie data in this email, if you can try to
process it, it will be very helpful! Thank you for your reply again!
…On Tue, Apr 11, 2023 at 11:53 PM Seungjae Han ***@***.***> wrote:
Hmm,
1.
Is the attached frame denoised, or is it raw??
2.
What does *not much improvement* mean in detail?
- Do you observe "noise" also in the denoised frame? (spatially)
- Or it is visually okay, but noise did not reduce in ROI trace?
(temporally)
If the noise remains in the denoised frame, we usually increase the
bs_size.
p.s., Is it possible to share the data and let us try processing it?
We are not sure just by looking at one frame of the data...
I think your data is not much different from the data we have processed...
of course, based on current information.
—
Reply to this email directly, view it on GitHub
<https://urldefense.com/v3/__https://github.com/NICALab/SUPPORT/issues/8*issuecomment-1504551702__;Iw!!IBzWLUs!VD6kT7PABVls8FXxDwG_zd8e5KrgTh0vTaJjxd5UzyEvx_n83hvmoLKGzd9tardY4GRt4ec3Q0AmuvQOm8og-i3vMMI$>,
or unsubscribe
<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/A3J5DZ2MLIW4GGQAFWZNCYDXAYRMVANCNFSM6AAAAAAWDLJV3A__;!!IBzWLUs!VD6kT7PABVls8FXxDwG_zd8e5KrgTh0vTaJjxd5UzyEvx_n83hvmoLKGzd9tardY4GRt4ec3Q0AmuvQOm8ogng_Y-HE$>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, the model we uploaded to Github was trained with another dataset, which I believe was the mouse calcium imaging dataset. |
We'll try SUPPORT on your data. Also, we are currently unavailable to download the data, seems like we need permission. These are our Gmails, so please add us to your shared link!! After that, we'll try your data. Minho ([email protected]) |
Hi, we have denoised your data, and would like to share what we have done. In short, we believe that spikes (based on our view) are preserved and the noise has been reduced after denoising. Here is the shared folder that contains 1. denoised image, 2. Mean traces from raw and denoised data, 3. model pth file, and 4. ImageJ ROI we used for analysis. Please take a look, and check if the results are same as yours, or better. It would be great if you could point out the ROI or temporal region where the denoised data shows poor performance. Below are the details. I assume most of the things are similar to your experiment. We trained about 150 epochs (~26hours with RTX 3090Ti GPU).
where only the mid_channels are increased compared to the default. And we used the |
Thank you very much for trying our data and help us figure out the problem! The result is good! Can I ask a question which may be silly, did you extract the subthreshold? I am slightly confused of what you mean the regular fluctuations on subthreshold region. Can I understand it as you think the frequency and strength of those fluctuations are consistant in subthreshold region so that you think they are not noise since the noise should be independent? |
Thank you for your explanation! Can I ask what data and model you used for supplementary figure 9, I want to see how SUPPORT works on unseen data. |
We used the data uploaded at (https://zenodo.org/record/4515768#.ZE9k83ZByUl). |
And this is our second movie. I understand that your time is valuable, if you have some spare time, you can try our data. I'm thinking there must be some issues on my training process, so please let me know if you find something about our problem. Thank you again! |
Hi, I really interested which model you used for voltage imaging data of mouse cortex layer and zebrafish. Because recently I was dealing with similar voltage imaging data, and I found some tiny irregular spikes that looks like noise on my baseline. Did you use bs1 or bs3, or other models?
The text was updated successfully, but these errors were encountered: