You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
import matplotlib
matplotlib.use('Agg')
from src.algorithms.segment.src.data_generation import prepare_training_data
prepare_training_data()
from src.algorithms.segment.src.training import train
train() output
ERROR:root:69.xml is no valid DICOM
Traceback (most recent call last):
File "", line 1, in
File "/app/src/algorithms/segment/src/training.py", line 78, in train
:CUBOID_IMAGE_SHAPE[2]]
ValueError: could not broadcast input array from shape (332,360,360) into shape (512,512,512)
Context (Environment)
Detailed Description
FIY concept-to-clinic/docs/design-doc.html
Training
In order to train the segmentation model, the following steps are necessary:
Put it in tests/assets/test_image_data/full optionally using a symbolic link
pylidc wraps the LIDC dataset and provides information
such as annotated nodules, visualization methods etc. You must create a .pylidrc file that specifies
the path to your local LIDC dataset like so
Run prepare_training_data
to generate the binary segmentation masks in prediction/src/algorithms/segment/assets.
I have confirmed this using the officially supported Docker Compose setup using the local.yml configuration and ensured that I built the containers again and they reflect the most recent version of the project at the HEAD commit on the master branch
I have searched through the other currently open issues and am confident this is not a duplicate of an existing bug
I provided a minimal code snippet or list of steps that reproduces the bug.
I provided screenshots where appropriate
I filled out all the relevant sections of this template
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
Traning done then output model
Current Behavior
Possible Solution
Steps to Reproduce
Context (Environment)
Detailed Description
FIY
concept-to-clinic/docs/design-doc.html
Training
In order to train the segmentation model, the following steps are necessary:
tests/assets/test_image_data/full
optionally using a symbolic linksuch as annotated nodules, visualization methods etc. You must create a
.pylidrc
file that specifiesthe path to your local LIDC dataset like so
to generate the binary segmentation masks in
prediction/src/algorithms/segment/assets
.Possible Implementation
Checklist before submitting
local.yml
configuration and ensured that I built the containers again and they reflect the most recent version of the project at theHEAD
commit on themaster
branchThe text was updated successfully, but these errors were encountered: