Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vb/nph segmentation pipeline #10

Open
wants to merge 19 commits into
base: new_modules
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
59e28a2
Adding NPHSegmentationMetric Module
chandrakanth-gudavalli Mar 16, 2023
1b17c07
added module files
Apr 20, 2023
4a814e3
Merge pull request #3 from UCSB-VRL/3dgan
connor11son Apr 20, 2023
c83c444
Create README.md
amilworks Apr 20, 2023
0d50b42
Added PrairieDogDetection Module
chandrakanth-gudavalli Apr 24, 2023
cd697e3
Merge pull request #4 from UCSB-VRL/chad/prairie_dog_detection
chandrakanth-gudavalli Apr 24, 2023
404dfb9
Added QRBSA Module
chandrakanth-gudavalli Apr 24, 2023
35cf566
Merge pull request #5 from UCSB-VRL/chad/qrbsa_module
chandrakanth-gudavalli Apr 24, 2023
fd099eb
Added SpeciesTrackerAndCounter Module
chandrakanth-gudavalli Apr 24, 2023
df13fb2
Merge pull request #6 from UCSB-VRL/chad/species_tracker
chandrakanth-gudavalli Apr 24, 2023
53b50a6
updated new modules
Apr 24, 2023
9694006
Merge branch 'main' into module-updates
connor11son Apr 24, 2023
59a0bb6
Merge pull request #7 from UCSB-VRL/module-updates
connor11son Apr 24, 2023
623c296
Updated NPH Metric Module to support OME TIFF also
chandrakanth-gudavalli Apr 24, 2023
aa19cf0
Merge pull request #8 from UCSB-VRL/chad/nph_metric_module
chandrakanth-gudavalli Apr 24, 2023
0afbb62
Updated NPH Preduction Module for Mask Editing Feature
chandrakanth-gudavalli Apr 25, 2023
5d8a720
Merge pull request #9 from UCSB-VRL/chad/nph_with_mask_editing
chandrakanth-gudavalli Apr 25, 2023
1ee5e5b
Added NPHSegmentationPipeline module
Electrum9 May 7, 2023
86ce46b
Replaced value with segmentation
Electrum9 May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,12 @@ dmypy.json

# Pyre type checker
.pyre/
*/*/reference.dream3d

QRBSA/src/DREAM3D-6.5.141-Linux-x86_64/*
*.pt
*.npy
SpeciesTrackerAndCounter/src/runs/train/*
*.hdf5

*.tar
65 changes: 65 additions & 0 deletions 3DMaterialGAN/3DMaterialGAN.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<module name="3DMaterialGAN" type="runtime">

<tag name="inputs">

<tag name="mex_url" type="system-input_resource"/>
<tag name="bisque_token" type="system-input_resource"/>
</tag>

<tag name="outputs">

<tag name="NonImage">

<template>

<tag name="label" value="Outputs"/>

<tag name="Output Zip" type="file"/>
</template>

</tag>

<tag name="Output Tiff" type="image">
<template>
<tag name="label" value="Output Tiff"/>
</template>
</tag>
</tag>

<tag name="execute_options">

<tag name="iterable" type="dataset" value="image_url"/>

</tag>

<tag name="module_options">

<tag name="version" value="1"/>

</tag>

<tag name="display_options">

<tag name="group" value="Materials Science"/>

</tag>

<tag name="interface">

<tag name="javascript" type="file" value="webapp.js"/>

<tag name="css" type="file" value="webapp.css"/>

</tag>

<tag name="help" type="file" value="public/help.html"/>

<tag name="thumbnail" type="file" value="public/thumbnail.jpg"/>

<tag name="title" type="string" value="3DMaterialGAN"/>

<tag name="authors" type="string" value="BisQue Team"/>

<tag name="description" type="string" value="This module generates 3D Grain Data"/>
</module>
44 changes: 44 additions & 0 deletions 3DMaterialGAN/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:deadsnakes/ppa && \
apt-get update -y
RUN apt-get install -y build-essential
RUN apt-get install -y python3.6 python3.6-dev python3-pip && \
apt-get install -y git && \
# update pip
python3.6 -m pip install pip --upgrade && \
python3.6 -m pip install wheel

RUN apt-get -y install python-pip liblapack3 libblas-dev liblapack-dev gfortran
RUN apt-get update
RUN pip install torch==1.2.0
RUN pip install numpy==1.14.5
RUN pip install tensorflow-gpu==1.13.1
RUN pip install tensorboardX==2.0
RUN pip install QtPy==1.9.0
RUN pip install lxml
#RUN pip install --user --install-option="--prefix=" -U scikit-learn==0.19.1
RUN pip install -i https://biodev.ece.ucsb.edu/py/bisque/prod/+simple bisque-api==0.5.9

WORKDIR /module
COPY src /module/src

# ===============bqapi for python3 Dependencies=====================
# pip install in this exact order
RUN pip install six
RUN pip install pyyaml scipy tiffile
RUN pip install requests==2.18.4
RUN pip install requests-toolbelt
# =====================Build Directory Structure====================
RUN alias python='python3.6'
COPY PythonScriptWrapper.py /module/
COPY bqapi/ /module/bqapi
RUN apt-get install zip -y
# Replace the following line with your {ModuleName}.xml
COPY 3DMaterialGAN.xml /module/3DMaterialGAN.xml

ENV PATH /module:$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTHONPATH $PYTHONPATH:/module/src
Loading