Add codes to evaluate the FLOPs and parameters for ResNeSt

This commit is contained in:
D-X-Y 2020-06-01 20:11:28 -07:00
parent 816f111824
commit 91ee265bd2

View File

@ -1,7 +1,8 @@
#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.01 #
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2020.06 #
#####################################################
# python exps/experimental/test-resnest.py
#####################################################
#
import sys, time, torch, random, argparse
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True