Lecture 03先预测采样结果,再判断指标名称 · 实现代码
先预测采样结果,再判断指标名称 · 实现代码
按问题继续
前景/背景/mIoU口径、RGB到mask训练、FCN与1×1读出及边界
展开完整实现代码
import os, tempfile
from pathlib import Path
# Isolated ephemeral workspace supports detached runs with readonly project storage.
SPATIAL_RUN_DIR = Path(tempfile.mkdtemp(prefix='lecture03-'))
os.chdir(SPATIAL_RUN_DIR)
print('Ephemeral experiment directory:', SPATIAL_RUN_DIR)