Spaces:
Runtime error
Runtime error
Adding docker file
Browse files- .idea/.gitignore +8 -0
- .idea/bone-age-estimation.iml +8 -0
- .idea/inspectionProfiles/Project_Default.xml +29 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- Dockerfile +10 -0
.idea/.gitignore
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
4 |
+
# Editor-based HTTP Client requests
|
5 |
+
/httpRequests/
|
6 |
+
# Datasource local storage ignored files
|
7 |
+
/dataSources/
|
8 |
+
/dataSources.local.xml
|
.idea/bone-age-estimation.iml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="PYTHON_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$" />
|
5 |
+
<orderEntry type="inheritedJdk" />
|
6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
+
</component>
|
8 |
+
</module>
|
.idea/inspectionProfiles/Project_Default.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<profile version="1.0">
|
3 |
+
<option name="myName" value="Project Default" />
|
4 |
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
5 |
+
<option name="ignoredPackages">
|
6 |
+
<value>
|
7 |
+
<list size="9">
|
8 |
+
<item index="0" class="java.lang.String" itemvalue="scikit-image" />
|
9 |
+
<item index="1" class="java.lang.String" itemvalue="batchgenerators" />
|
10 |
+
<item index="2" class="java.lang.String" itemvalue="nibabel" />
|
11 |
+
<item index="3" class="java.lang.String" itemvalue="tifffile" />
|
12 |
+
<item index="4" class="java.lang.String" itemvalue="scikit-learn" />
|
13 |
+
<item index="5" class="java.lang.String" itemvalue="torch" />
|
14 |
+
<item index="6" class="java.lang.String" itemvalue="medpy" />
|
15 |
+
<item index="7" class="java.lang.String" itemvalue="SimpleITK" />
|
16 |
+
<item index="8" class="java.lang.String" itemvalue="dicom2nifti" />
|
17 |
+
</list>
|
18 |
+
</value>
|
19 |
+
</option>
|
20 |
+
</inspection_tool>
|
21 |
+
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
22 |
+
<option name="ignoredErrors">
|
23 |
+
<list>
|
24 |
+
<option value="N813" />
|
25 |
+
</list>
|
26 |
+
</option>
|
27 |
+
</inspection_tool>
|
28 |
+
</profile>
|
29 |
+
</component>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="bodyct" project-jdk-type="Python SDK" />
|
4 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/bone-age-estimation.iml" filepath="$PROJECT_DIR$/.idea/bone-age-estimation.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM docker.io/jackrio/bae_repo
|
2 |
+
|
3 |
+
# Setup container directories
|
4 |
+
USER root
|
5 |
+
|
6 |
+
# launch server with gunicorn
|
7 |
+
WORKDIR /bae
|
8 |
+
EXPOSE 8080
|
9 |
+
CMD ["gunicorn", "deployment:app", "--timeout=0", "--preload", \
|
10 |
+
"--workers=1", "--threads=4", "--bind=0.0.0.0:8080"]
|