Revision 5ad666f417684f8f1280029ac46e19dc8b5ddb0a authored by Xinlei Chen on 08 March 2019, 04:39:38 UTC, committed by GitHub on 08 March 2019, 04:39:38 UTC
the extract command has a mistake
create_imdb_header.py
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
import datetime
from global_variables.global_variables import imdb_version
def create_header(dataset_name, has_answer, has_gt_layout):
now = datetime.datetime.now()
time = now.strftime("%Y-%m-%d %H:%M")
version = imdb_version
header = dict(create_time=time,
dataset_name=dataset_name,
version=version,
has_answer=has_answer,
has_gt_layout=has_gt_layout)
return header
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...