Skip to content

Commit

Permalink
add license header, add requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan McCormick <rmccormick@nvidia.com>
  • Loading branch information
rmccorm4 committed Mar 24, 2020
1 parent 0541539 commit 3829224
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker/parse_onnx_multi_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
#!/usr/bin/env python3

# Copyright 2020 NVIDIA Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import re
import sys
Expand All @@ -7,6 +22,9 @@
from pprint import pprint
from collections import defaultdict

if len(sys.argv) < 2:
sys.exit("Usage: {} model.onnx".format(sys.argv[0]))

# ONNX file in current directory
model = sys.argv[1]

Expand Down
1 change: 1 addition & 0 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker==4.2.0

0 comments on commit 3829224

Please sign in to comment.