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)
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)