Skip to content

Instantly share code, notes, and snippets.

View nagadomi's full-sized avatar
💭
I will be away in May.

nagadomi

💭
I will be away in May.
View GitHub Profile
import torch
import coremltools as ct
import os
# --- Model Definitions (Primary Models) ---
V2_MODELS = {
# model_name: (entry_point, arg_name, encoder_name)
"Any_S": ("DepthAnything", "encoder", "vits"),
"Any_B": ("DepthAnything", "encoder", "vitb"),
import ctypes
import os
import sys
import torch
import numpy as np
import torchvision
# NVOF Constants
NV_OF_API_MAJOR_VERSION = 2
NV_OF_API_MINOR_VERSION = 0