Traceback (most recent call last):
File “train.py”, line 109, in
out, eval_res = tasks.eval_forecasting(model, data, train_slice, valid_slice, test_slice, scaler, pred_lens, n_covariate_cols, args.max_train_length-1)
File “F:softwareC-maintasksforecasting.py”, line 70, in eval_forecasting
test_pred_inv = scaler.inverse_transform(test_pred)
File “F:softwareanaconda3envsainenvlibsite-packagessklearnpreprocessing_data.py”, line 1048, in inverse_transform
X = check_array(
File “F:softwareanaconda3envsainenvlibsite-packagessklearnutilsvalidation.py”, line 951, in check_array
raise ValueError(
ValueError: Found array with dim 4. None expected
Q: ValueError: Found array with dim 4. StandardScaler expected
A: Please install the appr服务器托管网opriate package requirements as found in requirements.txt, in part服务器托管网icular, scikit_learn==0.24.1.
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.fwqtg.net
Android图片涂鸦,Kotlin(1) import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.g…