HenriquesLab / ZeroCostDL4Mic

ZeroCostDL4Mic: A Google Colab based no-cost toolbox to explore Deep-Learning in Microscopy
MIT License
557 stars 129 forks source link

Hit a wall #1

Closed sparkerino closed 4 years ago

sparkerino commented 4 years ago

I found a few issues with the wiki compared to Supp Video 1, and I am unable to move past Step 3 in trying to set the paths to use Noise2VOID.

In section 1.2, it says "Click on "Files" site on the right. Refresh the site. Your Google Drive folder should now be available here as "drive"." I couldn't figure this out until watching the video and saw that the mounted Google Drive files can be accessed on the left by leaving the table of contents and clicking on the file folder icon. Just a typo, but the video is much clearer than the wiki

At Step 4, I am stuck (see screenshots). My drive is mounted, and I think I've set the paths correctly, but I cannot move past because of the error given in the screenshot

This is using Safari on Mac OS Catalina 10.15.3. I'll give it a shot on Chrome and see if that browser behaves

Screen Shot 2020-03-21 at 12 01 08 AM Screen Shot 2020-03-21 at 12 01 17 AM
sparkerino commented 4 years ago

Same issue in Chrome

guijacquemet commented 4 years ago

Hi, Many thanks for reaching out ! It looks like it could be an issue with the type of data you are trying to load into N2V. Did you use the notebook for Noise2Void 2D or Noise2Void 3D ? Could you tell us a little bit more about the type of images you are using ? File format and dimensions would be very useful.

At the moment Noise2Void 2D only accepts single .tif images (grayscale images) while you can load Z stacks (.tif) in Noise2Void 3D (also grayscale images).

Romain-Laine commented 4 years ago

Hi, here's my suggestion: Try and test it first on the data we provide by following the same protocol as described on the video, adapting it to N2V, and check if this works for you.

As Guillaume suggested, it sounds like it may be a format or data dimension issue. Please see if the following works for you:

You should be able to convert your images into tif by using Fiji/ImageJ if your images are not tif to start with but beware that conversion can (and most likely will) change the actual data. All the best ! R

sparkerino commented 4 years ago

Ok! So yes, I was trying to run it on a timelapse video, forgetting that technically, that's 3D 🤓. I had the same error with a single channel, single frame, single color LUT 16-bit TIF, but changing it to grayscale worked! I'll see if I can get further without hitting another error, thanks for your help! Stay safe!

guijacquemet commented 4 years ago

Great ! If you want to denoise a timelapse video then I would still use the 2D notebook. Just save your timelapse as single images. You can do this very easily using Fiji "save as an image sequence" export function. The 3D notebook is more dedicated to dealing with Z stacks.
Stay safe too !