This repository contains toolkit useful for the partipants of the 2023 PSCC Data challenge
Please document the project the better you can.
There is multiple way to create a suitable environment for your data challenge
You can use virtualenv: Create virtualenv and install the project:
sudo apt-get install virtualenv python-pip python-dev
deactivate; virtualenv ~/venv ; source ~/venv/bin/activate ;\
virtualenv -p python3.8 myenv
source myenv/bin/activateInstall git for later
pip install python-gitor
conda install -c anaconda gitYou can also create a environment via conda.
conda create -n myenv python=a python version >= 3.8Install git for later
conda install gitCheck for hackathon in github.com/{group}. If your project is not set please add it:
Go to https://github.com/{group}/hackathon to see the project, manage issues,
setup you ssh public key, ...
Clone the project and install it:
git clone git@github.com:{group}/hackathon.git
cd hackathon
pip install -r requirements.txt
make clean install test # install and testOnce you have made your predictions, you will have to save them as NIfTI files (.gz or not). Then you can create a .csv submission file as follow:
from hackathon.submission_gen import submission_gen
predictionpath = 'path'
csvpath = 'csvpath'
submission_gen(predictionpath, csvpath)
"submission file saved at 'csvath"