-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes for saving registered images, minor fixes
- Loading branch information
1 parent
f0a2b4f
commit 86fd9f4
Showing
10 changed files
with
4,063 additions
and
3,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Copyright (c) DIRECT Contributors | ||
|
||
from __future__ import annotations | ||
|
||
from dataclasses import dataclass | ||
from typing import Optional | ||
|
||
from omegaconf import MISSING | ||
|
||
from direct.config.defaults import BaseConfig | ||
from direct.types import MaskFuncMode | ||
|
||
|
||
@dataclass | ||
class MaskingConfig(BaseConfig): | ||
name: str = MISSING | ||
accelerations: tuple[float, ...] = (5.0,) | ||
center_fractions: Optional[tuple[float, ...]] = (0.1,) | ||
uniform_range: bool = False | ||
mode: MaskFuncMode = MaskFuncMode.STATIC | ||
|
||
val_accelerations: tuple[float, ...] = (5.0, 10.0) | ||
val_center_fractions: Optional[tuple[float, ...]] = (0.1, 0.05) | ||
# Copyright (c) DIRECT Contributors | ||
|
||
from __future__ import annotations | ||
|
||
from dataclasses import dataclass | ||
from typing import Optional | ||
|
||
from omegaconf import MISSING | ||
|
||
from direct.config import BaseConfig | ||
from direct.types import MaskFuncMode | ||
|
||
|
||
@dataclass | ||
class MaskingConfig(BaseConfig): | ||
name: str = MISSING | ||
accelerations: tuple[float, ...] = (5.0,) | ||
center_fractions: Optional[tuple[float, ...]] = (0.1,) | ||
uniform_range: bool = False | ||
mode: MaskFuncMode = MaskFuncMode.STATIC | ||
|
||
val_accelerations: tuple[float, ...] = (5.0, 10.0) | ||
val_center_fractions: Optional[tuple[float, ...]] = (0.1, 0.05) |
Oops, something went wrong.