Predict mnist
run_predict(finetune_dir, test_length)
Run the prediction step.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
finetune_dir
|
str
|
The directory with the previous step |
required |
test_length
|
int
|
The length of the test step. |
required |
Returns:
Name | Type | Description |
---|---|---|
tensor |
the outputs of the model. |
Source code in bionemo/example_model/training_scripts/predict_mnist.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|