sys path
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import argparse
|
||||
import itertools
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
import yaml
|
||||
import submitit
|
||||
|
||||
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
if PROJECT_ROOT not in sys.path:
|
||||
sys.path.insert(0, PROJECT_ROOT)
|
||||
|
||||
from src.train_supervised import main as app_main
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user