oneapi-src / credit-card-fraud-detection

AI Starter Kit for Credit Card Fraud Detection model using Intel® Extension for Scikit-learn*
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

ModuleNotFoundError: No module named utils.training #2

Open bconsolvo opened 1 year ago

bconsolvo commented 1 year ago

When I run python ./src/run_benchmarks_train.py -l ./logs/stock_training.log, I get the following error:

Traceback (most recent call last):
  File "/home/u151382/Consolvo/20221027_creditcardfraud/credit-card-fraud-detection/./src/run_benchmarks_train.py", line 15, in <module>
    from utils.training import split_data, DBSCAN_Clustering, lgbm_model_train
ModuleNotFoundError: No module named 'utils.training'
bconsolvo commented 1 year ago

It appears that a __init__.py needs to be added to the utils folder.