-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: 'str' object has no attribute 'decode' #1155
Comments
Modify code |
tensorlayer\files\utils.py, line 2617, the same question, I modified。
深圳?
|
Line 2617 of the code also needs to be modified in the same way. Now this is a problem you may need to check if the parameters are imported correctly.This error occurs when the parameter shapes are inconsistent. |
原来的代码是tensorlayer提供的,问题也是tensorlayer产生的。 我是继续在这个issue提问还是新开一个issue? The original code is provided by tensorlayer, and the problem is also generated by tensorlayer. Do I continue to ask questions in this issue or open a new one? |
Hello @jaried... i resolved this issue by downgrading the h5py version to 2.10.0 hope this helps... |
Thanks for your answer. |
New Issue Checklist
Issue Description
AttributeError: 'str' object has no attribute 'decode'
Reproducible Code
Which OS are you using ?
windows 10 professional
tensorlayer: 2.2.5
tensorflow : 2.8
python:3.7
Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.
tutorial_PG
I use the trained network to test, and the following error is prompted:
The text was updated successfully, but these errors were encountered: