Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Package installation setup."""

from setuptools import setup
from setuptools import setup, find_packages

# Read long description from README
try:
Expand Down Expand Up @@ -58,7 +58,7 @@
author_email="yuchenz7@andrew.cmu.edu",
url="https://uniflowmatch.github.io/",
license="BSD Clause-3",
packages=["uniception", "uniflowmatch"], # Directly specify the package
packages=find_packages(include=["uniception", "uniflowmatch*"]),
package_dir={
"uniception": "UniCeption/uniception", # Map uniception package
"uniflowmatch": "uniflowmatch", # Map uniflowmatch package
Expand Down
2 changes: 1 addition & 1 deletion uniflowmatch/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class UFMOutputInterface:

from uniception.models.encoders.image_normalizations import IMAGE_NORMALIZATION_DICT

from uniflowmatch.utils.flow_resizing import (
from ..utils.flow_resizing import (
AutomaticShapeSelection,
ResizeToFixedManipulation,
unmap_predicted_channels,
Expand Down
6 changes: 3 additions & 3 deletions uniflowmatch/models/ufm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
from uniception.models.prediction_heads.mlp_feature import MLPFeature
from uniception.models.prediction_heads.moge_conv import MoGeConvFeature

from uniflowmatch.models.base import (
from .base import (
UFMClassificationRefinementOutput,
UFMFlowFieldOutput,
UFMMaskFieldOutput,
UFMOutputInterface,
UniFlowMatchModelsBase,
)
from uniflowmatch.models.unet_encoder import UNet
from uniflowmatch.models.utils import get_meshgrid_torch
from .unet_encoder import UNet
from .utils import get_meshgrid_torch

CLASSNAME_TO_ADAPTOR_CLASS = {
"FlowWithConfidenceAdaptor": FlowWithConfidenceAdaptor,
Expand Down