Giter Site home page Giter Site logo

drkostas / 3d-semantic-segmentation Goto Github PK

View Code? Open in Web Editor NEW
49.0 7.0 4.0 43.55 MB

Semantic Segmentation with Transformers on 3D Medical Images

License: Apache License 2.0

Makefile 0.14% Python 35.90% Jupyter Notebook 63.86% Dockerfile 0.02% Batchfile 0.03% Shell 0.05%
deep-learning pytorch segfomer semantic-segmentation

3d-semantic-segmentation's Introduction

COSC525: Final Project: Semantic Segmentation with Transformers on 3D Medical Images

GitHub license

Table of Contents

About

Final Project for the Deep Learning course (COSC 525). Involves the development of a semantic segmentation model with transformers on 3D medical images

The main code is located in the main.py file. All the other code such is located in the src folder.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

You need to have a machine with Python > 3.6 and any Bash based shell (e.g. zsh) installed.

$ python3.9 -V
Python 3.9.1

$ echo $SHELL
/usr/bin/zsh

Installing the requirements

All the installation steps are being handled by the Makefile. You can either use conda or venv by setting the flag env=<conda|venv>. To load an env file use the flag env_file=<path to env file>

Before installing everything, make any changes needed in the settings.ini file.

Then, to create a conda environment, install the requirements, setup the library and run the tests execute the following command:

$ make install

Running the code

In order to run the code, you will only need to change the yml file if you need to, and either run its file directly or invoke its console script.

Execution Options

First, make sure you are in the correct virtual environment:

$ conda activate cosc525_finalproject

$ which python
/home/<user>/anaconda3/envs/src/bin/python

main.py

Now, in order to run the code you can call the main.py directly.

$ python main.py -h
usage: main.py -d DATASET -n NETWORK -c CONFIG_FILE [-l LOG] [-h]

Project 1 for the Deep Learning class (COSC 525). Involves the development of a FeedForward Neural Network.

Required Arguments:
  -d DATASET, --dataset DATASET
                        The datasets to train the network on. Options (defined in yml): [and, xor, class_example]
  -n NETWORK, --network NETWORK
                        The network configuration to use. Options (defined in yml): [1x1_net, 2x1_net, 2x2_net]
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        The path to the yaml configuration file.

Optional Arguments:
  -l LOG, --log LOG     Name of the output log file
  -h, --help            Show this help message and exit

TODO

Read the TODO to see the current task list.

License

This project is licensed under the Apache License - see the LICENSE file for details.

3d-semantic-segmentation's People

Contributors

drkostas avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.