Add is_colab() and is_kaggle() (#41)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
f56c9bcc26
commit
4c68b9dcf6
14 changed files with 103 additions and 119 deletions
|
|
@ -1,10 +1,7 @@
|
|||
import time
|
||||
from copy import deepcopy
|
||||
|
||||
import thop
|
||||
import torch.nn as nn
|
||||
|
||||
from ultralytics.yolo.utils import LOGGER
|
||||
from ultralytics.yolo.utils.anchors import check_anchor_order
|
||||
from ultralytics.yolo.utils.modeling import parse_model
|
||||
from ultralytics.yolo.utils.modeling.modules import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue