1be3f2f89932d1586bf6d1578dc21d222e95d070,elephas/java/__init__.py,,,#,4

Before Change


jnius_config.add_options("-Dorg.bytedeco.javacpp.nopointergc=true")
jnius_class_path = os.environ.get("ELEPHAS_CLASS_PATH")
if not jnius_class_path:
    raise Exception("Environment variable ELEPHAS_CLASS_PATH not set.")
elif not os.path.exists(jnius_class_path):
    raise Exception("File not found : {0}".format(jnius_class_path))
jnius_config.set_classpath(".", jnius_class_path)

After Change


jnius_config.add_options("-Dorg.bytedeco.javacpp.nopointergc=true")
jnius_class_path = os.environ.get("ELEPHAS_CLASS_PATH")
if not jnius_class_path:
    print("WARNING: Environment variable ELEPHAS_CLASS_PATH not set.")
elif not os.path.exists(jnius_class_path):
    print("WARNING: File not found : {0}".format(jnius_class_path))
else:
    jnius_config.set_classpath(".", jnius_class_path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: maxpumperla/elephas
Commit Name: 1be3f2f89932d1586bf6d1578dc21d222e95d070
Time: 2018-08-29
Author: max.pumperla@googlemail.com
File Name: elephas/java/__init__.py
Class Name:
Method Name:


Project Name: AlexEMG/DeepLabCut
Commit Name: 96da2cacf837a9b84ecdeafb50dfb4a93b402f33
Time: 2021-01-06
Author: tr.biasi@gmail.com
File Name: deeplabcut/pose_estimation_tensorflow/nnet/net_factory.py
Class Name:
Method Name: pose_net


Project Name: catalyst-team/catalyst
Commit Name: 450b907b25d98be9cb37da9672e772a1a198bb6a
Time: 2019-06-24
Author: scitator@gmail.com
File Name: catalyst/dl/callbacks/checkpoint.py
Class Name: CheckpointCallback
Method Name: load_checkpoint