Skip to content

Commit

Permalink
provide model input shape during model creation
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichAD committed Aug 13, 2024
1 parent 24862a0 commit 6b473df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/create-model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ http_code=$(curl -sS -X POST "${DEMONSTRATOR_BASE_URL}/api/models/" \
-w "%{http_code}" \
-F name="MNIST Model" \
-F description="A PyTorch model for MNIST classification" \
-F "input_shape=None" -F "input_shape=1" -F "input_shape=28" -F "input_shape=28" \
-F model_file=@data/torch-model.pt
)
if [ "$http_code" = "201" ]; then
Expand Down

0 comments on commit 6b473df

Please sign in to comment.