First you should google the current top results in google
keywords I used: "split dicom multiframe to single frame"
If you don't like the results you can check the below related links:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.8-bullseye | |
COPY requirements.txt /tmp/requirements.txt | |
RUN pip install -r /tmp/requirements.txt |
if you want to submit parallel jobs with condor_submit
:
condor.sub
universe = docker
docker_image = {{docker_url}}
docker_pull_policy = always
executable = {{bash_filename}}
should_transfer_files = YES
transfer_input_files = {{bash_filename}}
script:
- echo hello cicd
rules:
- if: "($CI_PIPELINE_SOURCE == 'pipeline' || $CI_PIPELINE_SOURCE == 'web') && $CI_COMMIT_TAG != null && $CI_COMMIT_BRANCH == 'main' "
since above rule with CI_COMMIT_TAG
is only triggered when tag
is pushed to gitlab, one can use the below
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keras_model.h5 | |
tf_model | |
model.onnx | |
updated_tf_model | |
updated_keras_model.h5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt-get update;apt-get install acl -yq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# gattia commented on Apr 6, 2018 | |
# https://github.com/keras-team/keras/issues/9395#issuecomment-379276452 | |
# | |
import tensorflow as tf | |
from tensorflow import keras | |
import tensorflow.keras.backend as K | |
def dice_coef(y_true, y_pred, smooth=1e-7): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.8-slim-buster | |
RUN apt-get update && apt-get -y install cron | |
# Copy hello-cron file to the cron.d directory | |
COPY hello-cron /etc/cron.d/hello-cron | |
# Give execution rights on the cron job | |
RUN chmod 0644 /etc/cron.d/hello-cron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style> | |
div.lazy { | |
width: 700px; | |
height: 467px; | |
background: #f2dede; | |
color: #a94442; |