Skip to content

[IMP] hash-grid-encoding: convert repository into package #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
5 changes: 5 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from . import convert
from . import encoding
from . import train
from . import utils
from . import video
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import PIL.Image
PIL.Image.MAX_IMAGE_PIXELS = 10000000000
# --- 3rd party ---
import utils
from . import utils

def get_args():
parser = argparse.ArgumentParser()
Expand Down
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import imageio
import tqdm
# --- my module ---
import utils
import encoding
from . import utils
from . import encoding

# --- datasets ---

Expand Down
4 changes: 2 additions & 2 deletions video.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from torch import nn
import tqdm
# --- my module ---
from train import Task
import utils
from .train import Task
from . import utils

def get_args():
parser = argparse.ArgumentParser()
Expand Down