Skip to content

Commit

Permalink
Merge pull request #10 from elephant-track/dev
Browse files Browse the repository at this point in the history
v0.3.0 -> v0.3.1
  • Loading branch information
ksugar authored Dec 2, 2021
2 parents dde7163 + e3beb3c commit d69e7d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ help:

ELEPHANT_GPU?=0
ELEPHANT_WORKSPACE?=${PWD}/workspace
ELEPHANT_IMAGE_NAME?=elephant-server:0.3.0
ELEPHANT_IMAGE_NAME?=elephant-server:0.3.1
ELEPHANT_NVIDIA_GID?=$$(ls -n /dev/nvidia$(ELEPHANT_GPU) | awk '{print $$4}')
ELEPHANT_DOCKER?=docker

Expand Down
1 change: 1 addition & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ def reset_seg_models():
return (jsonify(error='Content-Type should be multipart/form-data' +
' or application/json'), 400)
if int(redis_client.get(REDIS_KEY_STATE)) != TrainState.IDLE.value:
logger().exception('Process is running. Model cannot be reset.')
return jsonify(error='Process is running'), 500
if 'multipart/form-data' in request.headers['Content-Type']:
print(request.form)
Expand Down
2 changes: 1 addition & 1 deletion elephant-core/elephant/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
# ==============================================================================
"""Version definition."""

__version__ = '0.3.0'
__version__ = '0.3.1'
2 changes: 1 addition & 1 deletion elephant_server.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"id": "CpJPKG_ATv39"
},
"source": [
"%env ELEPHANT_SERVER_VERSION = v0.3.0"
"%env ELEPHANT_SERVER_VERSION = v0.3.1"
],
"execution_count": null,
"outputs": []
Expand Down

0 comments on commit d69e7d4

Please sign in to comment.