You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is omitted, periodic boundary conditions are not applied.
371
378
q (Tensor, optional): Atomic charges in the molecule. Shape: (N,).
372
379
s (Tensor, optional): Atomic spins in the molecule. Shape: (N,).
373
-
extra_args (Dict[str, Tensor], optional): Extra arguments to pass to the prior model.
380
+
extra_args (Dict[str, Tensor], optional): Extra arguments to pass to the model.
374
381
375
382
Returns:
376
383
Tuple[Tensor, Optional[Tensor]]: The output of the model and the derivative of the output with respect to the positions if derivative is True, None otherwise.
Copy file name to clipboardExpand all lines: torchmdnet/scripts/train.py
+1
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ def get_argparse():
80
80
parser.add_argument('--charge', type=bool, default=False, help='Model needs a total charge. Set this to True if your dataset contains charges and you want them passed down to the model.')
81
81
parser.add_argument('--spin', type=bool, default=False, help='Model needs a spin state. Set this to True if your dataset contains spin states and you want them passed down to the model.')
parser.add_argument('--extra-embedding', type=str, default=None, help='Extra fields of the dataset to pass to the model and append to the embedding vector.', action="extend", nargs="*")
83
84
parser.add_argument('--num-layers', type=int, default=6, help='Number of interaction layers in the model')
84
85
parser.add_argument('--num-rbf', type=int, default=64, help='Number of radial basis functions in model')
0 commit comments