Skip to content

Commit

Permalink
refactor: rename compressai -> src
Browse files Browse the repository at this point in the history
  • Loading branch information
YodaEmbedding committed Jun 18, 2024
1 parent d83fa2b commit e745f6c
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions compressai/models/adaptive.py → src/models/adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@

import torch
import torch.nn as nn

from compressai.entropy_models.entropy_models import EntropyBottleneck, pdf_layout
from compressai.entropy_models.entropy_models import EntropyBottleneck
from compressai.latent_codecs import LatentCodec
from compressai.layers import UniformHistogram
from compressai.models.base import CompressionModel
from compressai.models.google import (
FactorizedPrior,
MeanScaleHyperprior,
ScaleHyperprior,
)
from compressai.ops import RangeBound
from compressai.registry import register_model, register_module
from compressai.registry.torch import MODELS

from src.entropy_models.entropy_models import pdf_layout
from src.layers import UniformHistogram
from src.ops import RangeBound


class FreezeMixin:
def _freeze_modules(self, freeze_modules, unfreeze_modules):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e745f6c

Please sign in to comment.