Skip to content

Commit 1cc71eb

Browse files
author
Kimia Ghaffari
committedDec 12, 2022
adjusted files to allow for training subpackage
1 parent b2c01bf commit 1cc71eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1190
-78
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"model": {
3+
"type_map": [
4+
"B",
5+
"C"
6+
],
7+
"descriptor": {
8+
"type": "se_e2_a",
9+
"sel": "auto:1.5",
10+
"rcut": 6.0,
11+
"rcut_smth": 1.0,
12+
"neuron": [
13+
50,
14+
100
15+
],
16+
"axis_neuron": 16,
17+
"seed": 1
18+
},
19+
"fitting_net": {
20+
"type": "ener",
21+
"neuron": [
22+
150,
23+
150,
24+
150
25+
],
26+
"activation_function": "relu",
27+
"seed": 1
28+
}
29+
},
30+
"learning_rate": {
31+
"type": "exp",
32+
"start_lr": 0.001,
33+
"stop_lr": 0.0001,
34+
"decay_steps": 5
35+
},
36+
"loss": {
37+
"type": "ener",
38+
"start_pref_e": 1,
39+
"limit_pref_e": 1,
40+
"start_pref_f": 1000,
41+
"limit_pref_f": 1000,
42+
"start_pref_v": 5,
43+
"limit_pref_v": 5
44+
},
45+
"training": {
46+
"training_data": {
47+
"systems": "/home/kimia.gh/blue2/python_course/test_03/virials/training_data"
48+
},
49+
"validation_data": {
50+
"systems": "/home/kimia.gh/blue2/python_course/test_03/virials/validation_data"
51+
},
52+
"numb_steps": 100,
53+
"seed": 1,
54+
"disp_file": "lcurve.out",
55+
"disp_freq": 10,
56+
"save_freq": 10,
57+
"save_ckpt": "model_ckpt",
58+
"disp_training": true,
59+
"profiling": true,
60+
"profiling_file": "profile",
61+
"tensorboard": true,
62+
"tensorboard_log_dir": "tensorboard_log_dir",
63+
"tensorboard_freq": 500
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
WARNING:tensorflow:From /home/kimia.gh/.conda/envs/deepermd/lib/python3.10/site-packages/tensorflow/python/compat/v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
2+
Instructions for updating:
3+
non-resource variables are not supported in the long term
4+
WARNING:root:To get the best performance, it is recommended to adjust the number of threads by setting the environment variables OMP_NUM_THREADS, TF_INTRA_OP_PARALLELISM_THREADS, and TF_INTER_OP_PARALLELISM_THREADS.
5+
Traceback (most recent call last):
6+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/env.py", line 226, in get_module
7+
module = tf.load_op_library(str(module_file))
8+
File "/home/kimia.gh/.conda/envs/deepermd/lib/python3.10/site-packages/tensorflow/python/framework/load_library.py", line 54, in load_op_library
9+
lib_handle = py_tf.TF_LoadLibrary(library_filename)
10+
tensorflow.python.framework.errors_impl.NotFoundError: /home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/op/libop_abi.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb
11+
12+
The above exception was the direct cause of the following exception:
13+
14+
Traceback (most recent call last):
15+
File "/home/kimia.gh/.conda/envs/deepermd/bin/dp", line 7, in <module>
16+
from deepmd.entrypoints.main import main
17+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/__init__.py", line 7, in <module>
18+
import deepmd.utils.network as network
19+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/utils/__init__.py", line 2, in <module>
20+
from .data import DeepmdData
21+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/utils/data.py", line 10, in <module>
22+
from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
23+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/env.py", line 303, in <module>
24+
op_module = get_module("libop_abi")
25+
File "/home/kimia.gh/.local/lib/python3.10/site-packages/deepmd/env.py", line 236, in get_module
26+
raise RuntimeError(
27+
RuntimeError: This deepmd-kit package was compiled with CXX11_ABI_FLAG=0, but TensorFlow runtime was compiled with CXX11_ABI_FLAG=1. These two library ABIs are incompatible and thus an error is raised when loading libop_abi. You need to rebuild deepmd-kit against this TensorFlow runtime.

0 commit comments

Comments
 (0)