We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f86e32 commit a14799aCopy full SHA for a14799a
dpgen/generator/run.py
@@ -395,7 +395,7 @@ def make_train (iter_index,
395
jinput['model']['fitting_net']['activation_function'] = model_devi_activation_func[ii][1]
396
if len(np.array(model_devi_activation_func).shape) == 1 : # for backward compatibility, 1-dim list, not net-resolved
397
jinput['model']['descriptor']['activation_function'] = model_devi_activation_func[ii]
398
- jinput['model']['descriptor']['activation_function'] = model_devi_activation_func[ii]
+ jinput['model']['fitting_net']['activation_function'] = model_devi_activation_func[ii]
399
# dump the input.json
400
with open(os.path.join(task_path, train_input_file), 'w') as outfile:
401
json.dump(jinput, outfile, indent = 4)
0 commit comments