comments to understand why torch

This commit is contained in:
Phan Tuấn Anh
2023-06-26 14:28:38 +02:00
committed by GitHub
parent 91144be667
commit 4d3bdf8ee1
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
import numpy as np import numpy as np
import cv2 import cv2
import torch import torch # hack to use onnxruntime with cuda
import onnx import onnx
import onnxruntime import onnxruntime
import face_align import face_align

View File

@@ -5,7 +5,7 @@ import os.path as osp
import argparse import argparse
import cv2 import cv2
import numpy as np import numpy as np
import torch import torch # hack to use onnxruntime with cuda
import onnxruntime import onnxruntime
from scrfd import SCRFD from scrfd import SCRFD
from arcface_onnx import ArcFaceONNX from arcface_onnx import ArcFaceONNX

View File

@@ -2,7 +2,7 @@
from __future__ import division from __future__ import division
import datetime import datetime
import numpy as np import numpy as np
import torch import torch # hack to use onnxruntime with cuda
import onnxruntime import onnxruntime
import os import os
import os.path as osp import os.path as osp

View File

@@ -1,5 +1,5 @@
import cv2 import cv2
import torch import torch # hack to use onnxruntime with cuda
import onnxruntime as rt import onnxruntime as rt
import sys import sys
from insightface.app import FaceAnalysis from insightface.app import FaceAnalysis