Skip to content

Commit

Permalink
Move TCN vectorization into the TCN package
Browse files Browse the repository at this point in the history
  • Loading branch information
Purg committed Oct 24, 2024
1 parent d7304a3 commit c6ba9be
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1,089 deletions.
3 changes: 1 addition & 2 deletions angel_system/activity_classification/tcn_hpl/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from tcn_hpl.data.components.augmentations import NormalizePixelPts, NormalizeFromCenter
from tcn_hpl.models.ptg_module import PTGLitModule

from angel_system.activity_classification.utils import (
from tcn_hpl.data.vectorize_classic import (
tlbr_to_xywh,
obj_det2d_set_to_feature,
)
Expand Down Expand Up @@ -515,7 +515,6 @@ def debug_from_array_file() -> None:
import numpy as np
import torch
from tqdm import tqdm
from tcn_hpl.data.components.augmentations import NormalizePixelPts
from angel_system.tcn_hpl.predict import (
load_module,
predict,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pickle
import kwcoco
import argparse
import json

import numpy as np
import matplotlib.pyplot as plt
Expand All @@ -16,7 +15,7 @@

from angel_system.data.common.load_data import sanitize_str

from angel_system.activity_classification.utils import (
from tcn_hpl.data.vectorize_classic import (
obj_det2d_set_to_feature,
)

Expand Down
Loading

0 comments on commit c6ba9be

Please sign in to comment.