udacity / build-ml-pipeline-for-short-term-rental-prices

Project code for cd0581 refresh taught by Giacomo Vianello
Other
14 stars 633 forks source link

The first step itself is not working #27

Closed falloutats closed 1 year ago

falloutats commented 1 year ago

(nyc_airbnb_dev) fallout@Fallouts-MacBook-Pro build-ml-pipeline-for-short-term-rental-prices % mlflow run src/step_name -P parameter1=1 -P parameter2=2 -P parameter3="test" /Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/types/schema.py:49: FutureWarning: In the future np.object will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions. binary = (7, np.dtype("bytes"), "BinaryType", np.object) Traceback (most recent call last): File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/bin/mlflow", line 5, in from mlflow.cli import cli File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/init.py", line 52, in import mlflow.fastai as fastai # noqa: E402 File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/fastai.py", line 22, in from mlflow import pyfunc File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/pyfunc/init.py", line 219, in import mlflow.pyfunc.model File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/pyfunc/model.py", line 17, in from mlflow.models import Model File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/models/init.py", line 25, in from .signature import ModelSignature, infer_signature File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/models/signature.py", line 12, in from mlflow.types.schema import Schema File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/types/init.py", line 6, in from .schema import DataType, ColSpec, Schema, TensorSpec File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/types/schema.py", line 20, in class DataType(Enum): File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/mlflow/types/schema.py", line 49, in DataType binary = (7, np.dtype("bytes"), "BinaryType", np.object) File "/Users/fallout/miniconda3/envs/nyc_airbnb_dev/lib/python3.9/site-packages/numpy/init.py", line 284, in getattr raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'object' (nyc_airbnb_dev) fallout@Fallouts-MacBook-Pro build-ml-pipeline-for-short-term-rental-prices %