diff --git a/edit_utils.py b/edit_utils.py index a9683f8c..c0fd917e 100644 --- a/edit_utils.py +++ b/edit_utils.py @@ -45,5 +45,5 @@ def get_span(orig, new, editType): if not flag: raise RuntimeError(f"wrong editing with the specified edit type:\n original: {orig}\n new: {new}\n, editType: {editType}") - - return orig_span, new_span \ No newline at end of file + print("1") + return orig_span, new_span diff --git a/hcI5jr1otBM.jpg b/hcI5jr1otBM.jpg new file mode 100644 index 00000000..21f3b161 Binary files /dev/null and b/hcI5jr1otBM.jpg differ diff --git a/main.py b/main.py index 0d3fac5b..21e49c3e 100644 --- a/main.py +++ b/main.py @@ -12,6 +12,7 @@ formatter = ( "%(asctime)s [%(levelname)s] %(filename)s:%(lineno)d || %(message)s" ) + print(logging) logging.basicConfig(format=formatter, level=logging.INFO) torch.cuda.empty_cache() @@ -42,4 +43,4 @@ world_size = dist.get_world_size() torch.cuda.set_device(rank) my_trainer = trainer.Trainer(args, world_size, rank) - my_trainer.train() \ No newline at end of file + my_trainer.train()