Sadjad Alikhani commited on
Commit
9e4f99a
·
verified ·
1 Parent(s): 27053bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -450,8 +450,8 @@ def process_hdf5_file(uploaded_file, percentage):
450
  print(f"Loading the LWM model on {device}...")
451
  model = lwm_model.LWM.from_pretrained(device=device)
452
  model = model.float()
453
- for name, param in model.state_dict().items():
454
- print(f"Layer: {name} | Weights: {param}")
455
 
456
  # Step 5: Load the HDF5 file and extract the channels and labels
457
  with h5py.File(uploaded_file.name, 'r') as f:
 
450
  print(f"Loading the LWM model on {device}...")
451
  model = lwm_model.LWM.from_pretrained(device=device)
452
  model = model.float()
453
+ #for name, param in model.state_dict().items():
454
+ # print(f"Layer: {name} | Weights: {param}")
455
 
456
  # Step 5: Load the HDF5 file and extract the channels and labels
457
  with h5py.File(uploaded_file.name, 'r') as f: