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
How to check which id and expression each row of the latent_codes_state_dict['weight'] matrix in a checkpoint of a certain epoch corresponds to?
I tried adding some code to the get_loader function in face_dataset.py to try to match them to each row by looking at the id and expr loading order in the batch, but I found that the loading order is different for each run, and there are repeated idx being loaded. Is the random seed somewhere not fixed?
What should I do to see the correspondence between the latent_codes_state_dict['weight'] matrix and id and expression
def get_loader(self, shuffle=True):
random.seed(0)
torch.manual_seed(0)
torch.cuda.manual_seed(0)
np.random.seed(0)
How to check which id and expression each row of the latent_codes_state_dict['weight'] matrix in a checkpoint of a certain epoch corresponds to?
I tried adding some code to the get_loader function in face_dataset.py to try to match them to each row by looking at the id and expr loading order in the batch, but I found that the loading order is different for each run, and there are repeated idx being loaded. Is the random seed somewhere not fixed?
What should I do to see the correspondence between the latent_codes_state_dict['weight'] matrix and id and expression
def get_loader(self, shuffle=True):
random.seed(0)
torch.manual_seed(0)
torch.cuda.manual_seed(0)
np.random.seed(0)
The text was updated successfully, but these errors were encountered: