Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2.77 KB

Beginner_guide.md

File metadata and controls

49 lines (41 loc) · 2.77 KB

Step-by-step instructions for beginners, who do not know Python, Anaconda, etc.

  1. Download and install the Anaconda program (https://conda.io/projects/conda/en/latest/user-guide/install/windows.html). You can find the "Anaconda Powershell Prompt" program after installation.


Anaconda Powershell Prompt

2. Execute it and direct it to the folder where you want to install our program. (use "cd" and "ls" commands to change the current location) 3. Clone the repository by entering the following command: "git clone https://github.com/NICALab/SUPPORT.git"

4. Enter the following command: "cd ./SUPPORT" 5. Enter the following command: "conda env create -f env.yml"

6. Enter the following command: "conda activate SUPPORT" 7. Enter the following command: "conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia"

After that, let's first run our default model to briefly check if it works!

To run graphic-based program, enter the following command: "python -m src.GUI.train_GUI".

You can load your noisy image, and then click Run!

Trouble shooting

If you meet the following error,

Torch not compiled with cuda enabled

Please follow the steps below.

  1. pip uninstall torch
  2. pip cache purge
  3. pip install torch -f https://download.pytorch.org/whl/torch_stable.html

Notes

  1. Default model does not mean the model we are proud of. It is just for (1) Roughly see how the denoised outcome looks like, (2) Check if there is any problem in program running. The best is, training the SUPPORT model on your own data, and then test it to the same data. Current default model is trained with different data to yours (of course), the performance will not that good.
  2. Since we basically developed in the Linux environment, there may be some issues in Windows. Please let us know if you face any problems!!! Email is [email protected] & [email protected].