Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
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 |
-
|
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:
|