Classification-of-Hyperspectral-Image icon indicating copy to clipboard operation
Classification-of-Hyperspectral-Image copied to clipboard

unnecessary code

Open beishangongzi opened this issue 2 years ago • 0 comments

function: CreatetheDataSets.AugmentData

patch2 = flipped_patch
X_train[i,:,:,:] = patch2

These two lines of code are unnecessary as flipped_patch and X_train all point to the same object.

beishangongzi avatar Feb 12 '22 07:02 beishangongzi