A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
#include <functional> | |
#include <chrono> | |
#include <iostream> | |
template <class> struct ExeTime; | |
// Execution time decorator | |
template <class R, class... Args> | |
struct ExeTime<R(Args ...)> { | |
public: |
name: "RHDLatentHMMap" | |
#-----Generate random image index for training 0 | |
layer { | |
name: "image_index_0" | |
type: "DeepHandModelGenRandIndex" | |
top: "image_index_0" | |
gen_rand_index_param { | |
index_lower_bound: 0 | |
index_upper_bound: 10000 |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
import onnxruntime as ort | |
import numpy as np | |
import time | |
import argparse | |
import os | |
def parse_args(): | |
parser = argparse.ArgumentParser(description="Benchmark FPS for an ONNX model.") | |
parser.add_argument("--model-path", type=str, default="model.onnx", | |
help="Path to the ONNX model file (default: model.onnx)") |