Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError on trainin #30

Open
EyuphanMandiraci opened this issue Dec 20, 2022 · 7 comments
Open

ValueError on trainin #30

EyuphanMandiraci opened this issue Dec 20, 2022 · 7 comments

Comments

@EyuphanMandiraci
Copy link

image

Hello my code and error in the image.

@alexandruonel79
Copy link

Same issue. Did you fix it?

@uoRetr0
Copy link

uoRetr0 commented Dec 28, 2022

I got the same problem. Any fixes so far?

@fredericodeveloper
Copy link

fredericodeveloper commented Dec 28, 2022

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
Copy link

uoRetr0 commented Dec 28, 2022

Thank you very much, this worked for me

@FantasyPvP
Copy link

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
Copy link

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

@IceK1203
Copy link

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants