Your change reflects my first suggestion of changing the in_features of self.fc1 to 1065360 and thus works.
I’m unsure what “but i am not sure of its accuracy” means. Are you concerned you’ve changed the wrong value or is accuracy related to the model accuracy?