ultralytics 8.0.133
add torchvision
compatibility check (#3703)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -601,7 +601,7 @@ def attempt_load_one_weight(weight, device=None, inplace=True, fuse=False):
|
||||
|
||||
|
||||
def parse_model(d, ch, verbose=True): # model_dict, input_channels(3)
|
||||
# Parse a YOLO model.yaml dictionary into a PyTorch model
|
||||
"""Parse a YOLO model.yaml dictionary into a PyTorch model."""
|
||||
import ast
|
||||
|
||||
# Args
|
||||
|
Reference in New Issue
Block a user