Ultralytics Code Refactor https://ultralytics.com/actions (#13153)
* Refactor code for speed and clarity * Update dataloaders.py Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
1 parent
b9019671f4
commit
100a423b66
14 files changed
+30
No files matched your search
@@ -148,6 +148,7 @@ def run(
|
||||
callbacks=Callbacks(),
|
||||
compute_loss=None,
|
||||
):
|
||||
"""Evaluates model on a dataset and logs performance metrics, results are saved to specific directories."""
|
||||
# Initialize/load model and set device
|
||||
training = model is not None
|
||||
if training: # called by train.py
|
||||
|
||||
Reference in new issue
Block a user