Comments (5)
Hi, so when i use the jupyter notebook and download the supplementary table 5, and it says the metal is not found and i can not run the demo. am I not pointing to the right directory?
The channel names follow the "144Nd-CD14_Nd144.tiff" format from the Zenodo deposit. is there a issue to fix this? is this a naming convention issue?
if 'generated_patches' in globals(): del generated_patches channel_name = "144Nd" Raw_directory = "C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset/local-implementation-test" # change this directory to your Raw_image_directory. Save_directory = None n_neighbours = 4 # Larger n enables removing more consecutive hot pixels. n_iter = 3 # Iteration number for DIMR DataGenerator = DeepSNiF_DataGenerator(channel_name = channel_name, n_neighbours = n_neighbours, n_iter = n_iter) generated_patches = DataGenerator.generate_patches_from_directory(load_directory = Raw_directory) if DataGenerator.save_patches(generated_patches, save_directory = Save_directory): print('Data generated successfully!')
Hello,
Thanks for your interest in our package. I will try to solve this problem and reply to you ASAP.
Best regards.
from imc_denoise.
Ok for clarity i am trying to reproduce the demo. I have downloaded the supplementary table 5 data and changed the raw inc directory to point to thw images in the zenodo. Do we point to the OME tiff directory? Or Thank you
from imc_denoise.
Ok for clarity i am trying to reproduce the demo. I have downloaded the supplementary table 5 data and changed the raw inc directory to point to thw images in the zenodo. Do we point to the OME tiff directory? Or Thank you
if 'generated_patches' in globals():
del generated_patches
channel_name = "144Nd"
Raw_directory = "C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset" # change this directory to your Raw_image_directory.
Save_directory = None
n_neighbours = 4 # Larger n enables removing more consecutive hot pixels.
n_iter = 3 # Iteration number for DIMR
DataGenerator = DeepSNiF_DataGenerator(channel_name = channel_name, n_neighbours = n_neighbours, n_iter = n_iter)
generated_patches = DataGenerator.generate_patches_from_directory(load_directory = Raw_directory)
if DataGenerator.save_patches(generated_patches, save_directory = Save_directory):
print('Data generated successfully!')
Hello,
Could you please try the code above? I just changed the folder name and deleted "local-implementation-test". Please let me know if it works.
Best regards.
from imc_denoise.
hi so this is resolved.
previously, I am using windows 10, i used WSL2 , and under WSL2, i created the conda environment for IMC DeNoise. i think the issue is that the path directories are different under WSL.
i installed this software without WSL, using Anaconda prompt on my main system and this worked just fine!
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\F_r1\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527528\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527529\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527530\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527531_r2\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527534\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527535\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527536\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\H1527539\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\K_r3\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\K_r4\144Nd-CD14_Nd144.tiff
C:/Users/antho/Documents/GithubRepos/supplemental data/IMC_Denoise/Raw_IMC_dataset_for_training_supp_table5/Raw_IMC_dataset\L\144Nd-CD14_Nd144.tiff
Image data loading completed!
The generated patches augmented.
The generated patches shuffled.
The generated training set with shape of (18608, 64, 64) is saved as C:\Users\antho\Documents\GithubRepos\IMC_Denoise\Jupyter_Notebook_examples\Generated_training_set\training_set_144Nd.npz.
Data generated successfully!
from imc_denoise.
this issue is that using WSL the path names are different, resolved when using Anaconda per the installation directions.
from imc_denoise.
Related Issues (19)
- Image format HOT 5
- Val_loss HOT 4
- Updating tensorflow, cudnn and cudatoolkit HOT 1
- IMC_Denoise on M1 Mac HOT 3
- Logics behind data preprocessing HOT 2
- Demo training data generates NaN for loss HOT 21
- Softplus activation function compatible for subsequent data normalisation? HOT 2
- Demo data produces NaN loss on multiple systems HOT 5
- IMC Denoising is too aggresive for certain channels HOT 9
- Issue generated patches from MIBI-TOF tiff data HOT 4
- multi markers training HOT 2
- About the issue of GPU usage efficiency HOT 3
- Percentage of masked pixels HOT 4
- running DIMR and DeepSNiF together in the tutorial HOT 1
- Question about how to train DeepSNiF properly & integration with steinbock HOT 24
- Problems running on GPU (NVIDIA A40) HOT 7
- Edge case in training batch generation HOT 1
- N2V2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imc_denoise.