thuhoainguyen / kits23

The official repository of the 2023 Kidney Tumor Segmentation Challenge (KiTS23)
MIT License
0 stars 0 forks source link

Execute the preprocessing script #6

Closed anhtuduong closed 3 weeks ago

anhtuduong commented 1 month ago

@thuhoainguyen I just fixed the code so now you can run it entirely. To run the code, go to the project root folder FBK/kits23 (remember NOT FBK/kits23/kits23) and run: To update the code:

git pull

To activate the virtual environment:

source venv/bin/activate

To update libraries:

pip3 install -e .

To execute preprocessing:

python3 segmentation/segmentation_preProc.py

And it will run. The info will be printed on the terminal. You can inspect the results by looking at segmentation/results/<datetime> the folder in format of the time you execute the code. Inside that folder are the results.

Tips: if you want to stop the code in the middle of the process, press keys Ctrl + C (or Cmd + C in Mac maybe...). Inside the results/<datetime> folder there's also a file .log saved all the info of the python running process (I made for you as a gift, because I know that you will close the terminal and all the info of the running process will be gone).