I have question. I want to run my code with python language in jupyter notebook, but when i run my code it has error. error is: "An exception has occurred, use %tb to see the full traceback.
SystemExit: 2"
cloud you please help me :(
from tensorflow.keras.models import Sequential
from utils import *
import argparse
def parse_args():
parser = argparse.ArgumentParser(description="train data path")
parser.add_argument("--xpath", help="Xdata Path", default='', type=str, required=True)
parser.add_argument("--ypath", help="ydata Path", default='', type=str, required=True)
parser.add_argument("--group", help="group", default='', type=str, required=True)
return parser.parse_args()
if __name__ == '__main__':
args = parse_args()
for train_X, train_y, test_X, test_y in read_data(args.xpath, args.ypath, args.group):
model_fit(train_X, train_y, test_X, test_y)