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

AttributeError: 'int' object has no attribute 'value' #5

Open
inikishev opened this issue Aug 30, 2022 · 1 comment
Open

AttributeError: 'int' object has no attribute 'value' #5

inikishev opened this issue Aug 30, 2022 · 1 comment

Comments

@inikishev
Copy link

inikishev commented Aug 30, 2022

from this _, height, width, number = map(lambda i: i.value, net.get_shape())

Traceback (most recent call last):
  File "D:\Downloads\Edge\time-domain-neural-audio-style-transfer-master\audio_style_transfer\models\timedomain.py", line 353, in <module>
    run(args['content'], args['style'], args['output'])
  File "D:\Downloads\Edge\time-domain-neural-audio-style-transfer-master\audio_style_transfer\models\timedomain.py", line 305, in run
    result = compute_stylization(
  File "D:\Downloads\Edge\time-domain-neural-audio-style-transfer-master\audio_style_transfer\models\timedomain.py", line 235, in compute_stylization
    _, height, width, number = map(lambda i: i.value, net.get_shape())
  File "D:\Downloads\Edge\time-domain-neural-audio-style-transfer-master\audio_style_transfer\models\timedomain.py", line 235, in <lambda>
    _, height, width, number = map(lambda i: i.value, net.get_shape())
AttributeError: 'int' object has no attribute 'value'
@Ap1075
Copy link

Ap1075 commented Jun 4, 2023

Any solutions on this?

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

2 participants