Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move and restructure cliffordlayers based models #9

Merged
merged 1 commit into from
Aug 31, 2023
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
CliffordConv2d,
CliffordConv3d,
)
from cliffordlayers.models.custom_kernels import (
from cliffordlayers.models.basic.custom_kernels import (
get_2d_scalar_vector_encoding_kernel,
get_2d_scalar_vector_decoding_kernel,
get_2d_rotation_scalar_vector_encoding_kernel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from cliffordlayers.nn.modules.cliffordconv import CliffordConv3d
from cliffordlayers.nn.modules.cliffordfourier import CliffordSpectralConv3d
from cliffordlayers.nn.modules.groupnorm import CliffordGroupNorm3d
from cliffordlayers.models.custom_layers import CliffordConv3dMaxwellEncoder, CliffordConv3dMaxwellDecoder
from cliffordlayers.models.basic.custom_layers import CliffordConv3dMaxwellEncoder, CliffordConv3dMaxwellDecoder


class CliffordFourierBasicBlock3d(nn.Module):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from cliffordlayers.nn.modules.cliffordconv import CliffordConv2d
from cliffordlayers.nn.modules.cliffordfourier import CliffordSpectralConv2d
from cliffordlayers.nn.modules.groupnorm import CliffordGroupNorm2d
from cliffordlayers.models.custom_layers import CliffordConv2dScalarVectorEncoder, CliffordConv2dScalarVectorDecoder
from cliffordlayers.models.basic.custom_layers import CliffordConv2dScalarVectorEncoder, CliffordConv2dScalarVectorDecoder


class CliffordBasicBlock2d(nn.Module):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_CliffordFluidNet2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import torch
import torch.nn.functional as F
from cliffordlayers.models.utils import partialclass
from cliffordlayers.models.models_2d import (
from cliffordlayers.models.basic.twod import (
CliffordFluidNet2d,
CliffordBasicBlock2d,
CliffordFourierBasicBlock2d,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_CliffordMaxwellNet3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch
import torch.nn.functional as F
from cliffordlayers.models.models_3d import (
from cliffordlayers.models.basic.threed import (
CliffordMaxwellNet3d,
CliffordFourierBasicBlock3d,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_GCAFluidNet2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT license.

import torch
from cliffordlayers.models.gca_models_2d import CliffordG3ResNet2d, CliffordG3UNet2d
from cliffordlayers.models.gca.twod import CliffordG3ResNet2d, CliffordG3UNet2d


def test_gca_resnet():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_clifford_convolution_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT license.

import torch
from cliffordlayers.models.custom_layers import (
from cliffordlayers.models.basic.custom_layers import (
CliffordConv2dScalarVectorEncoder,
CliffordConv2dScalarVectorDecoder,
CliffordConv3dMaxwellEncoder,
Expand Down
Loading