Xiao Zeqi commited on
Update exp_base.py
Browse files55 unmodified lines56575859606155 unmodified linesmodel_path = hf_hub_download(repo_id=repo_id, filename=file_name)ckpt = torch.load(model_path, map_location=torch.device('cpu'))filtered_state_dict = {}for k, v in ckpt['state_dict'].items():if "frame_timestep_embedder" in k:55 unmodified lines5657585960616255 unmodified linesmodel_path = hf_hub_download(repo_id=repo_id, filename=file_name)ckpt = torch.load(model_path, map_location=torch.device('cpu'))# quick workaroundfiltered_state_dict = {}for k, v in ckpt['state_dict'].items():if "frame_timestep_embedder" in k:
experiments/exp_base.py+1