Describe the bug
While importing the SparkMLlibModel using "from elephas.spark_model import SparkMLlibModel", I am getting the error "TypeError: 'type' object is not subscriptable" in multiple functions in "elephas/utils/rdd_utils.py" weherever subscript is used while defining types in function definition.
To Reproduce
To reproduce, we just need to execute the import statement "from elephas.spark_model import SparkMLlibModel"
Expected behavior
The import statements shouldn't run into any error.
Desktop (please complete the following information):
OS: Linux
Version
I am using Python version 3.8.5, pyspark version 3.2.3, tensorflow version 2.13.1 and keras version 2.15.0.
Additional context
Add any other context about the problem here.
Describe the bug While importing the SparkMLlibModel using "from elephas.spark_model import SparkMLlibModel", I am getting the error "TypeError: 'type' object is not subscriptable" in multiple functions in "elephas/utils/rdd_utils.py" weherever subscript is used while defining types in function definition.
To Reproduce To reproduce, we just need to execute the import statement "from elephas.spark_model import SparkMLlibModel" Expected behavior The import statements shouldn't run into any error. Desktop (please complete the following information):
Additional context Add any other context about the problem here.