2021-04-11 15:45:20 +02:00
|
|
|
#####################################################
|
|
|
|
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.01 #
|
|
|
|
#####################################################
|
|
|
|
# This directory contains some ad-hoc functions, classes, etc.
|
|
|
|
# It will be re-formulated in the future.
|
|
|
|
#####################################################
|
2019-01-31 15:27:38 +01:00
|
|
|
from .evaluation_utils import obtain_accuracy
|
2021-03-07 04:09:47 +01:00
|
|
|
from .gpu_manager import GPUManager
|
|
|
|
from .flop_benchmark import get_model_infos, count_parameters, count_parameters_in_MB
|
|
|
|
from .affine_utils import normalize_points, denormalize_points
|
|
|
|
from .affine_utils import identity2affine, solve2theta, affine2image
|
|
|
|
from .hash_utils import get_md5_file
|
|
|
|
from .str_utils import split_str2indexes
|