Skip to content

Commit

Permalink
remove remaining keyword use
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallYan committed Oct 22, 2024
1 parent 9e02af5 commit 69b3dd4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion modelforge/potential/potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,6 @@ def load_inference_model_from_checkpoint(checkpoint_path: str) -> Potential:

# Create the model in inference mode
model = NeuralNetworkPotentialFactory.generate_potential(
use="inference",
potential_parameter=potential_parameter,
dataset_statistic=dataset_statistic,
potential_seed=potential_seed,
Expand Down
3 changes: 1 addition & 2 deletions modelforge/tests/test_schnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def setup_schnet_model(potential_seed: Optional[int] = None):
config["potential"].core_parameter.number_of_radial_basis_functions = 5
config["potential"].core_parameter.number_of_filters = 12

model = NeuralNetworkPotentialFactory.generate_potential(
use="training",
model = NeuralNetworkPotentialFactory.generate_trainer(
potential_parameter=config["potential"],
training_parameter=config["training"],
dataset_parameter=config["dataset"],
Expand Down

0 comments on commit 69b3dd4

Please sign in to comment.