NeuralNine / neuralintents

A simple interface for working with intents and chatbots.
MIT License
253 stars 137 forks source link

ValueError on trainin #30

Open EyuphanMandiraci opened 1 year ago

EyuphanMandiraci commented 1 year ago

image

Hello my code and error in the image.

alexandruonel79 commented 1 year ago

Same issue. Did you fix it?

uoRetr0 commented 1 year ago

I got the same problem. Any fixes so far?

fredericodeveloper commented 1 year ago

I have managed to fix the error by fixing the main.py (neuralintents source file):

Change from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD Change training = np.array(training) to training = np.array(training, dtype=object)

The path for the main.py file can be found on the error message.

uoRetr0 commented 1 year ago

Thank you very much, this worked for me

FantasyPvP commented 1 year ago

I have managed to fix the error by fixing the main.py (neuralintents source file):

Change from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD Change training = np.array(training) to training = np.array(training, dtype=object)

The path for the main.py file can be found on the error message.

this worked for me too ty

IceK1203 commented 1 year ago

Please help, im having this error but idk how to edit the package, like I want to implement the fix but idk how

IceK1203 commented 1 year ago

I have managed to fix the error by fixing the main.py (neuralintents source file):

Change from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD Change training = np.array(training) to training = np.array(training, dtype=object)

The path for the main.py file can be found on the error message.

how do I implement the changes and download the updated package??