-
Notifications
You must be signed in to change notification settings - Fork 137
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
WARNING:absl:lr
is deprecated, please use learning_rate
instead, or use the legacy optimizer.
#38
Comments
It is the exact same problem for me too |
this can be solved by removing decay argument from line 109 of the main.py of the module. |
Exact problem here! |
Fixed the problem, agilarasu was right. |
yes sir
…On Mon, Mar 27, 2023 at 12:46 PM agilarasu ***@***.***> wrote:
Are you running in a virtual environment?
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARRZRHTEEKDXTRSYUW6TS3DW6E5DFANCNFSM6AAAAAAUYYRIME>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You need to change line 109 of |
this i have done but still it is not giving the reply of hello
…On Mon, Mar 27, 2023 at 2:30 PM agilarasu ***@***.***> wrote:
@samarth2411 <https://github.com/samarth2411> ,
You need to change line 109 of
\.venv\Lib\site-packages\neuralintents\main.py
from : sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
to : sgd = SGD(lr=0.01, momentum=0.9, nesterov=True)
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARRZRHXZYINJWFJEEKOZWHTW6FJKTANCNFSM6AAAAAAUYYRIME>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
can you please share your error screen? |
[image: image.png]
it is giving me like this sir
On Mon, Mar 27, 2023 at 2:39 PM Samarth Porwal ***@***.***>
wrote:
… this i have done but still it is not giving the reply of hello
On Mon, Mar 27, 2023 at 2:30 PM agilarasu ***@***.***>
wrote:
> @samarth2411 <https://github.com/samarth2411> ,
>
> You need to change line 109 of
> \.venv\Lib\site-packages\neuralintents\main.py
> from : sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
> to : sgd = SGD(lr=0.01, momentum=0.9, nesterov=True)
>
> —
> Reply to this email directly, view it on GitHub
> <#38 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARRZRHXZYINJWFJEEKOZWHTW6FJKTANCNFSM6AAAAAAUYYRIME>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
I think the image is not attached properly. |
[image: image.png]
…On Mon, Mar 27, 2023 at 2:54 PM agilarasu ***@***.***> wrote:
I think the image is not attached properly.
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARRZRHRGKHVXYVIDP7KPVU3W6FMDJANCNFSM6AAAAAAUYYRIME>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
is it now fine sir
On Mon, Mar 27, 2023 at 3:02 PM Samarth Porwal ***@***.***>
wrote:
… [image: image.png]
On Mon, Mar 27, 2023 at 2:54 PM agilarasu ***@***.***>
wrote:
> I think the image is not attached properly.
>
> —
> Reply to this email directly, view it on GitHub
> <#38 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARRZRHRGKHVXYVIDP7KPVU3W6FMDJANCNFSM6AAAAAAUYYRIME>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
here it is sir |
Please respond , stuck at this very part |
thanks
…On Tue, Feb 21, 2023 at 9:45 PM agilarasu ***@***.***> wrote:
this can be solved by removing decay argument from line 109 of the main.py
of the module.
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZXM25BOACI43K55SSDQTRLWYTS27ANCNFSM6AAAAAAUYYRIME>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Thanks and Regards
Aaditya
|
WARNING:absl:
lr
is deprecated, please uselearning_rate
instead, or use the legacy optimizer, e.g.,tf.keras.optimizers.legacy.SGD.ValueError Traceback (most recent call last)
in
12
13 assistant = GenericAssistant('intents.json', intent_methods=mappings, model_name="test_model")
---> 14 assistant.train_model()
15 assistant.save_model()
16
4 frames
/usr/local/lib/python3.8/dist-packages/keras/optimizers/optimizer_experimental/optimizer.py in _process_kwargs(self, kwargs)
116 for k in kwargs:
117 if k in legacy_kwargs:
--> 118 raise ValueError(
119 f"{k} is deprecated in the new Keras optimizer, please"
120 "check the docstring for valid arguments, or use the "
ValueError: decay is deprecated in the new Keras optimizer, pleasecheck the docstring for valid arguments, or use the legacy optimizer, e.g., tf.keras.optimizers.legacy.SGD.
The text was updated successfully, but these errors were encountered: