'ProgbarLogger' object has no attribute 'log_values'
See original GitHub issueHello, I am facing the specified error with the following config :
OS : Ubuntu 18.04 Tensorflow: 1.15.04 Keras : 2.3.1
JSON:
{
"model" : {
"type": "Classifier",
"architecture": "NASNetMobile",
"input_size": 224,
"fully-connected": [],
"labels": [],
"dropout" : 0.2
},
"weights" : {
"full": "",
"backend": "imagenet",
"save_bottleneck": false
},
"train" : {
"actual_epoch": 100,
"train_image_folder": "/mnt/0d2701de-7997-4d53-99fb-0c9de0a116c9/K210_tools/data/fire_dataset/cat_imaages",
"train_times": 1,
"valid_image_folder": "/mnt/0d2701de-7997-4d53-99fb-0c9de0a116c9/K210_tools/data/fire_dataset/non_cat_images",
"valid_times": 1,
"valid_metric": "val_accuracy",
"batch_size": 16,
"learning_rate": 1e-3,
"saved_folder": "cat",
"first_trainable_layer": "",
"augumentation": true
},
"converter" : {
"type": ["k210"]
}
}
When i run
python train.py -c ../configs/cat_classifier.json
i get the following error
AttributeError: 'ProgbarLogger' object has no attribute 'log_values'
I have tried adding " dense " to the first_trainable_layer but i get a different error
Exception: First trainable layer specified in config file is not in the model
Also i have tried with the dogs_classifier with the provided data from the sample_datasets and the result is the same.
Thank you for your time!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
'ProgbarLogger' object has no attribute 'log_values' · Issue ...
I have no idea why I get this error, It seems to happen randomly, can anyone point me in the right direction? Here...
Read more >python - AttributeError: 'ProgbarLogger' object has no attribute ...
Answer 1: If the error only occurs when you use smaller datasets, you're very likely using datasets small enough to not have a...
Read more >'ProgbarLogger' object has no attribute 'log_values'-numpy
Coding example for the question AttributeError: 'ProgbarLogger' object has no attribute 'log_values'-numpy.
Read more >Kerasで'ProgbarLogger' object has no attribute 'log_values'
自分のソースコードを確認してみると、動作確認のため少ない枚数で学習させたので、バッチサイズで割った時に0になった模様。 例えば.
Read more >'ProgbarLogger' object has no attribute 'log_values'_Doit_行之 ...
AttributeError : 'ProgbarLogger' object has no attribute 'log_values'. 场景:tensorflow.keras,或keras训练模型. 输入数据条数小于batch_size.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, great! I actually knew something is wrong with folder structure when you wrote to me on LinkedIn, I just decided it’s better to have it on GitHub issues in case someone else encounters similar problem 😃 Closing the issue.
Hello, With the provided structure of folders it worked! Thank you for your time