File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- from video_to_automaton .config .loader import load_config
4
- from video_to_automaton .model .vision .grounding_dino import GroundingDino
5
- from video_to_automaton .processor .video_processor import (
3
+ from ns_vfs .config .loader import load_config
4
+ from ns_vfs .model .vision .grounding_dino import GroundingDino
5
+ from ns_vfs .processor .video_processor import (
6
6
VideoFrameProcessor ,
7
7
)
8
- from video_to_automaton .video_to_automaton import VideotoAutomaton
8
+ from ns_vfs .video_to_automaton import VideotoAutomaton
9
9
10
10
if __name__ == "__main__" :
11
11
sample_video_path = "/opt/Video-to-Automoton/artifacts/data/hmdb51/clap/Applauding_Abby_clap_u_nm_np1_fr_med_1.avi"
Original file line number Diff line number Diff line change 2
2
3
3
from ns_vfs .common import omegaconf
4
4
5
- ROOT_DIR = os .path .dirname (os .path .abspath (__file__ )).split (
6
- "video_to_automaton"
7
- )[0 ]
5
+ ROOT_DIR = os .path .dirname (os .path .abspath (__file__ )).split ("ns_vfs" )[0 ]
8
6
9
7
config_path = os .path .join (
10
8
os .path .dirname (os .path .abspath (__file__ )), "config.yaml"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def load_config():
22
22
)
23
23
config .GROUNDING_DINO .GROUNDING_DINO_CONFIG_PATH = os .path .join (
24
24
config .VERSION_AND_PATH .ROOT_PATH ,
25
- "video_to_automaton " ,
25
+ "ns_vfs " ,
26
26
"config" ,
27
27
"GroundingDINO_SwinT_OGC.py" ,
28
28
)
You can’t perform that action at this time.
0 commit comments