d385044dbc4cfd0b70197d513000baa53e539b09,run.py,,main,#,24
Before Change
"{} directory. Can"t load model".format(os.path.join(logdir, "logs"))
)
else:
raise IOError(
"{} does not exist or is empty, can"t restore model".format(
os.path.join(logdir, "logs"))
)
except IOError as e:
if args.no_dir_check:
print("Warning: {}".format(e))
print("Resuming operation since no_dir_check argument was provided")
After Change
help="first step to start counting time for benchmarking")
parser.add_argument("--debug_port", type=int,
help="run TensorFlow in debug mode on specified port")
parser.add_argument("--enable_logs", dest="enable_logs", action="store_true",
help="whether to log output, git info, cmd args, etc.")
args, unknown = parser.parse_known_args()
if args.mode not in ["train", "eval", "train_eval", "infer"]:
raise ValueError("Mode has to be one of "
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: d385044dbc4cfd0b70197d513000baa53e539b09
Time: 2018-05-07
Author: igor.a.gitman@gmail.com
File Name: run.py
Class Name:
Method Name: main
Project Name: NifTK/NiftyNet
Commit Name: d77955ba3cbf7c83b3c3d2e13a6709fcefe17a5d
Time: 2017-08-22
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_parser.py
Class Name:
Method Name: run
Project Name: ray-project/ray
Commit Name: 57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc
Time: 2020-05-11
Author: sven@anyscale.io
File Name: rllib/examples/hierarchical_training.py
Class Name:
Method Name: