IBM / DeepRest

Also, check our recent DeepRest based hybrid-cloud migration advisor Atlas by clicking on the link below.
https://github.com/IBM/DeepAtlas
Apache License 2.0
12 stars 6 forks source link

I get an error when running the code estimate.py #2

Open RuifMaxx opened 2 years ago

RuifMaxx commented 2 years ago
Traceback (most recent call last):
  File "api-tracing-app-management-deeprest/resource-estimation/estimate.py", line 35, in <module>
    input_size=step_size).fit_and_estimate(X, y[:, :, [idx]]))
IndexError: too many indices for array: array is 1-dimensional, but 3 were indexed
RuifMaxx commented 2 years ago

My python version is Python 3.8.8 and Numpy is 1.20.1

RuifMaxx commented 2 years ago

well, the dataset in this repo(https://github.com/IBM/api-tracing-app-management/blob/deeprest/resource-estimation/input.pkl) is too small and the lens of array (y) is zero image