提交 b0888e63 编写于 作者: S SunGaofeng

remove comments adn redundant codes

上级 3596eca2
...@@ -31,12 +31,12 @@ logger = logging.getLogger(__name__) ...@@ -31,12 +31,12 @@ logger = logging.getLogger(__name__)
class MetricsCalculator(): class MetricsCalculator():
def __init__(self, name, mode, **metrics_args): def __init__(self, name, mode, **metrics_args):
""" """
dataset args: metrics args:
num_test_clips num_test_clips, number of clips of each video when test
dataset_size dataset_size, total number of videos in the dataset
filename_gt filename_gt, a file with each line stores the groud truth of each video
checkpoint_dir checkpoint_dir, dir where to store the test results
num_classes num_classes, number of classes of the dataset
""" """
self.name = name self.name = name
self.mode = mode # 'train', 'val', 'test' self.mode = mode # 'train', 'val', 'test'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册