File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1
- import argparse
1
+ import sys
2
2
from pathlib import Path
3
+ src_path = Path (__file__ ).parent .parent .parent .resolve ()
4
+ sys .path .append (str (src_path ))
5
+
6
+ import argparse
3
7
4
8
from src .data_utils import dataset_prep
5
9
from src .load_params import load_params
Original file line number Diff line number Diff line change 1
- import argparse
1
+ import sys
2
2
from pathlib import Path
3
+ src_path = Path (__file__ ).parent .parent .parent .resolve ()
4
+ sys .path .append (str (src_path ))
5
+
6
+ import argparse
3
7
4
8
from src .data_utils import create_test_dataset
5
9
from src .load_params import load_params
Original file line number Diff line number Diff line change
1
+ import sys
2
+ from pathlib import Path
3
+ src_path = Path (__file__ ).parent .parent .parent .resolve ()
4
+ sys .path .append (str (src_path ))
5
+
1
6
import argparse
2
7
import json
3
- from pathlib import Path
4
8
5
9
from src .eval_utils import get_metrics
6
10
from src .load_params import load_params
Original file line number Diff line number Diff line change 1
- import argparse
1
+ import sys
2
2
from pathlib import Path
3
+ src_path = Path (__file__ ).parent .parent .parent .resolve ()
4
+ sys .path .append (str (src_path ))
5
+
6
+ import argparse
3
7
4
8
from src .load_params import load_params
5
9
from src .train_utils import train_model
You can’t perform that action at this time.
0 commit comments