Apply linter
Summary: Applies lint Reviewed By: arpitkalla Differential Revision: D98515496 fbshipit-source-id: 967c9bf19ef7e1e25906204075c37c8461ed2a0e
This commit is contained in:
committed by
meta-codesync[bot]
parent
9f22cb976f
commit
5a3143c652
@@ -68,9 +68,9 @@ def process_image(args):
|
||||
def main():
|
||||
assert len(sys.argv) > 1, "You have to provide the name of the dataset"
|
||||
dataset_name = sys.argv[1]
|
||||
assert (
|
||||
dataset_name in annotation_files
|
||||
), f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
assert dataset_name in annotation_files, (
|
||||
f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
)
|
||||
all_outputs = []
|
||||
for file in annotation_files[dataset_name]:
|
||||
with open(os.path.join(config["path_annotations"], file), "r") as f:
|
||||
|
||||
Reference in New Issue
Block a user