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
Hello,I am sorry to disturb you.
I am a student majoring in chemical engineering. I found your research very helpful to me. Thanks a lot. But when I try to figure out the CSG of CIFAR-10 loaded from keras. I cannot obtain the result mentioned in your article(1.0), My result is 3.53361029. I am looking forward to receiving your help very much, thanks a lot again. This is my code:
from spectral_metric.estimator import CumulativeGradientEstimator
from keras.datasets import cifar10
(train_images,train_labels),(test_images,test_labels) = cifar10.load_data()
train_images =train_images/255
train_images = train_images.reshape((train_images.shape[0],-1))
train_labels = train_labels.reshape([-1])
estimator = CumulativeGradientEstimator()
estimator.fit(train_images,train_labels)
csg = estimator.csg
print(csg)
The text was updated successfully, but these errors were encountered:
Hello,I am sorry to disturb you.
I am a student majoring in chemical engineering. I found your research very helpful to me. Thanks a lot. But when I try to figure out the CSG of CIFAR-10 loaded from keras. I cannot obtain the result mentioned in your article(1.0), My result is 3.53361029. I am looking forward to receiving your help very much, thanks a lot again. This is my code:
from spectral_metric.estimator import CumulativeGradientEstimator
from keras.datasets import cifar10
(train_images,train_labels),(test_images,test_labels) = cifar10.load_data()
train_images =train_images/255
train_images = train_images.reshape((train_images.shape[0],-1))
train_labels = train_labels.reshape([-1])
estimator = CumulativeGradientEstimator()
estimator.fit(train_images,train_labels)
csg = estimator.csg
print(csg)
The text was updated successfully, but these errors were encountered: