-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent results when recreating model instance #77
Comments
Update: This is due to the However, how do you intend to reload a model if When only saving the model's state dict, I lose the information on which modes were selected during model creation... |
Can you elaborate on your problem with reloading random model?
|
Hello there,
First of all, thanks a lot for publishing your code and actively answering questions on GitHub!!
I ran into problems when I instantiated a new instance of the FEDformer model class and loading weights of a previous run. I could not reproduce the same scores. Moreover, the scores substantially differed each time I reloaded the weights.
Hence, I checked whether model outputs stayed the same when reloading previous model weights while feeding consistent inputs. Therefore, I have created 3 model outputs, which should all be the same:
1., 2., 3. should be the same. This is true if model version is
Wavelets
. However, if the model version isFourier
this leads to 1. != 2.. As a result, I am not able to use the weights of aFourier
model I trained. I could save and load the model instance as a whole, but I am still wondering why this is the case. Or did I miss something?This is the code to reproduce my findings:
I appreciate any help on this matter!!
The text was updated successfully, but these errors were encountered: