-
Notifications
You must be signed in to change notification settings - Fork 239
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
Update test_examples #3195
base: develop
Are you sure you want to change the base?
Update test_examples #3195
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update test duration
} |
Build # 645 (NNCF/nightly/test_examples) |
@alexsu52 Done, Please review |
Build # 646 (with batch_size = 32) |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test_examples build failed.
https://github.com/openvinotoolkit/nncf/actions/runs/12902524043
loss=tf.keras.losses.CategoricalCrossentropy(), | ||
metrics=[tf.keras.metrics.CategoricalAccuracy()], | ||
) | ||
|
||
tf_quantized_model.fit(train_dataset, epochs=3, verbose=1) | ||
tf_quantized_model.fit(train_dataset, epochs=1, verbose=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tf_quantized_model.fit(train_dataset, epochs=1, verbose=1) | |
# To minimize the example's runtime, we train for only 1 epoch. This is sufficient to demonstrate | |
# that the quantized model produced by QAT is more accurate than the one produced by PTQ. | |
# However, training for more than 1 epoch would further improve the quantized model's accuracy. | |
tf_quantized_model.fit(train_dataset, epochs=1, verbose=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NNCF/nightly/test_examples: Build # 648
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTQ drop: ~0.018
QAT drop: ~0.014
New results: CPU:
1 GPU
|
Changes
Add quantization_aware_training_tensorflow_mobilenet_v2 to test scope