Update utils.py
Browse files
utils.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import numpy as np
|
| 2 |
import torch
|
| 3 |
-
import torch.nn.functional as F
|
| 4 |
|
| 5 |
def generate_label(inputs, imsize=512):
|
| 6 |
"""Generate label maps from model outputs"""
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
import torch
|
|
|
|
| 3 |
|
| 4 |
def generate_label(inputs, imsize=512):
|
| 5 |
"""Generate label maps from model outputs"""
|