You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: module 'mitdeeplearning.lab3' has no attribute 'plot_accuracy_vs_risk'
When I run:
from mitdeeplearning import lab3
dir(lab3)
I got this:
['DatasetLoader',
'IM_SHAPE',
'builtins',
'cached',
'doc',
'file',
'loader',
'name',
'package',
'spec',
'cv2',
'get_test_faces',
'glob',
'h5py',
'np',
'os',
'plot_image_prediction',
'plot_k',
'plot_percentile',
'plot_value_prediction',
'plt',
'sys',
'tf',
'time']
There is no such function called plot_accuracy_vs_risk, Could you solve this issue? I am using MAC M1, python 3.10
The text was updated successfully, but these errors were encountered:
When I running _ = mdl.lab3.plot_accuracy_vs_risk(bias_images, sorted_bias, sorted_bias_preds, "Bias vs. Accuracy")
I got these error
AttributeError Traceback (most recent call last)
Cell In[81], line 12
10 plt.xlabel("Density (Representation)")
11 plt.ylabel("Accuracy")
---> 12 _ = mdl.lab3.plot_accuracy_vs_risk(bias_images, sorted_bias, sorted_bias_preds, "Bias vs. Accuracy")
AttributeError: module 'mitdeeplearning.lab3' has no attribute 'plot_accuracy_vs_risk'
When I run:
from mitdeeplearning import lab3
dir(lab3)
I got this:
['DatasetLoader',
'IM_SHAPE',
'builtins',
'cached',
'doc',
'file',
'loader',
'name',
'package',
'spec',
'cv2',
'get_test_faces',
'glob',
'h5py',
'np',
'os',
'plot_image_prediction',
'plot_k',
'plot_percentile',
'plot_value_prediction',
'plt',
'sys',
'tf',
'time']
There is no such function called plot_accuracy_vs_risk, Could you solve this issue? I am using MAC M1, python 3.10
The text was updated successfully, but these errors were encountered: