feng2022 commited on
Commit
da5331d
1 Parent(s): fc8f608

Update Time_TravelRephotography/projector.py

Browse files
Time_TravelRephotography/projector.py CHANGED
@@ -68,7 +68,7 @@ def normalize(img: torch.Tensor, mean=0.5, std=0.5):
68
 
69
 
70
  def create_generator(file_name: str, path:str,args: Namespace, device: torch.device):
71
- path = hf_hub_download(f'{path}',
72
  f'{file_name}',
73
  use_auth_token=TOKEN)
74
  with open(path, 'rb') as f:
 
68
 
69
 
70
  def create_generator(file_name: str, path:str,args: Namespace, device: torch.device):
71
+ path = hf_hub_download(f'{path}',
72
  f'{file_name}',
73
  use_auth_token=TOKEN)
74
  with open(path, 'rb') as f: