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

generate부분에 initializer오류 #6

Open
Ella77 opened this issue Jun 26, 2019 · 1 comment
Open

generate부분에 initializer오류 #6

Ella77 opened this issue Jun 26, 2019 · 1 comment

Comments

@Ella77
Copy link

Ella77 commented Jun 26, 2019

타코트론 모델 훈련 후 generate.py를 실행하면
sess.run(net.queue_initializer) # 이 부분이 없으면, checkpoint에서 복원된 값들이 들어 있다.

이 코드부분에서 에러가 발생합니다.
FailedPreconditionError (see above for traceback): Attempting to use uninitialized value wavenet/SubPixelConvolution_layer_0/bias

https://stackoverflow.com/questions/34001922/failedpreconditionerror-attempting-to-use-uninitialized-in-tensorflow/41607207
init_op = tf.group(tf.initialize_all_variables(),net.queue_initializer)
sess.run(init_op)
등으로 하면 에러는 사라지게 되는데 이부분 어떻게 해결하셨나요??

@hccho2
Copy link
Owner

hccho2 commented Jul 1, 2019

제 경우에는 문제 없이 돌아갔습니다. tensorflow 버전 차이 같습니다.

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