da03 commited on
Commit
e071c19
·
1 Parent(s): e363f86
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -30,7 +30,7 @@ NUM_SAMPLING_STEPS = 8
30
  with open('latent_stats.json', 'r') as f:
31
  latent_stats = json.load(f)
32
  DATA_NORMALIZATION = {'mean': torch.tensor(latent_stats['mean']).to(device), 'std': torch.tensor(latent_stats['std']).to(device)}
33
- LATENT_DIMS = latent_stats['latent_dims']
34
 
35
  # Initialize the model at the start of your application
36
  #model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")
 
30
  with open('latent_stats.json', 'r') as f:
31
  latent_stats = json.load(f)
32
  DATA_NORMALIZATION = {'mean': torch.tensor(latent_stats['mean']).to(device), 'std': torch.tensor(latent_stats['std']).to(device)}
33
+ LATENT_DIMS = (16, SCREEN_HEIGHT // 8, SCREEN_WIDTH // 8)
34
 
35
  # Initialize the model at the start of your application
36
  #model = initialize_model("config_csllm.yaml", "yuntian-deng/computer-model")