Spaces:
Sleeping
Sleeping
⬆️ [Fix] lost import functional in module.py
Browse files- yolo/model/module.py +1 -0
yolo/model/module.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from typing import Any, Dict, List, Optional, Tuple
|
| 2 |
|
| 3 |
import torch
|
|
|
|
| 4 |
from loguru import logger
|
| 5 |
from torch import Tensor, nn
|
| 6 |
from torch.nn.common_types import _size_2_t
|
|
|
|
| 1 |
from typing import Any, Dict, List, Optional, Tuple
|
| 2 |
|
| 3 |
import torch
|
| 4 |
+
import torch.nn.functional as F
|
| 5 |
from loguru import logger
|
| 6 |
from torch import Tensor, nn
|
| 7 |
from torch.nn.common_types import _size_2_t
|