I noticed that the readme mentioned extremely fast inference time. However, after installing NanoSam on my agx ORIN according to the instructions and using Python's built-in time module to measure the inference time, I obtained significantly different results. What could be the problem?
and my code is:
`# SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
#
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
I noticed that the readme mentioned extremely fast inference time. However, after installing NanoSam on my agx ORIN according to the instructions and using Python's built-in time module to measure the inference time, I obtained significantly different results. What could be the problem?
and my code is:
`# SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
#
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 numpy as np import matplotlib.pyplot as plt import PIL.Image import argparse from nanosam.utils.predictor import Predictor
import time # 程序计时器
if name == "main":
`