-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from arangoml/create_test_data_on_init
Test data generated on init.
- Loading branch information
Showing
9 changed files
with
30 additions
and
131 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,9 @@ MAINTAINER Joerg Schad <[email protected]> | |
ENV GIT_PYTHON_REFRESH=quiet | ||
RUN apt-get update | ||
RUN apt-get install -y python-pip | ||
#RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango==4.4.0 | ||
#RUN pip install -i https://test.pypi.org/simple/ arangopipe | ||
RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango | ||
RUN pip install arangopipe | ||
RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango arangopipe jupyter matplotlib tensorflow-data-validation PyYAML==5.1.1 | ||
RUN mkdir -p /workspace | ||
RUN pip install jupyter | ||
RUN pip install matplotlib | ||
RUN pip install tensorflow-data-validation | ||
RUN pip install PyYAML==5.1.1 | ||
|
||
WORKDIR / | ||
COPY --from=0 / . | ||
WORKDIR /workspace/experiments | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,11 @@ FROM continuumio/miniconda3 | |
MAINTAINER Joerg Schad <[email protected]> | ||
ENV GIT_PYTHON_REFRESH=quiet | ||
RUN apt-get update | ||
RUN apt-get install -y python-pip | ||
#RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango==4.4.0 | ||
#RUN pip install -i https://test.pypi.org/simple/ arangopipe | ||
RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango | ||
RUN pip install arangopipe | ||
RUN apt-get install -y python-pip curl | ||
RUN pip install mlflow hyperopt sklearn2 jsonpickle python-arango arangopipe jupyter matplotlib PyYAML==5.1.1 | ||
RUN mkdir -p /workspace | ||
RUN pip install jupyter | ||
RUN pip install matplotlib | ||
RUN pip install PyYAML==5.1.1 | ||
RUN conda install pytorch cudatoolkit=10.0 -c pytorch | ||
#RUN git clone [email protected]:arangoml/arangopipe.git /workspace | ||
|
||
WORKDIR / | ||
COPY --from=0 / . | ||
WORKDIR /workspace/experiments | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#!/bin/bash | ||
arangod --database.password="open sesame"& | ||
|
||
jupyter notebook --allow-root --notebookdir=/workspace/experiments --ip=0.0.0.0 --port=8888 --no-browser& | ||
|
||
while [[ "$(curl -sL -w "%{http_code}\\n" "http://localhost:8529" -o /dev/null)" != "200" ]]; do | ||
echo "Waiting for arangod" | ||
sleep 5 | ||
done | ||
echo "arangod is up!" | ||
export PYTHONPATH=$PYTHONPATH:/workspace/experiments/examples/test_data_generator | ||
python -c "from generate_model_data import generate_runs; generate_runs()" | ||
npm start |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,6 +154,4 @@ def generate_runs(clean = False): | |
ap.log_serving_perf(ex_servingperf, deployment_tag, user_id) | ||
|
||
return | ||
|
||
|
||
|