Compare commits

...

10 Commits

Author SHA1 Message Date
0ca66e886a fixed syntax
All checks were successful
Modulation Recognition Demo / ria-demo (push) Successful in 5m4s
2025-08-22 13:30:54 -04:00
9f8a583857 reduced number of epochs
All checks were successful
Modulation Recognition Demo / ria-demo (push) Successful in 3m24s
2025-08-22 13:16:32 -04:00
6b4e39e5be reverted back to fallback
Some checks failed
Modulation Recognition Demo / ria-demo (push) Has been cancelled
2025-08-22 13:11:08 -04:00
145f80849f deleted the check
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 33s
2025-08-22 11:06:29 -04:00
45a5f81c8c added init.py
All checks were successful
Modulation Recognition Demo / ria-demo (push) Successful in 14m27s
2025-08-22 10:00:04 -04:00
50e8912f73 debug
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 39s
2025-08-22 09:57:01 -04:00
af2d3fae90 reverted back to ahving a fall back
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 30s
2025-08-22 09:54:22 -04:00
71a1559dca adjusted workflow
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 40s
2025-08-22 09:51:51 -04:00
3a6e2ceac2 fixed syntax
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 32s
2025-08-22 09:46:43 -04:00
27f6ba306f adjusted parameters
Some checks failed
Modulation Recognition Demo / ria-demo (push) Failing after 46s
2025-08-22 09:42:16 -04:00
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ dataset:
snr_step: 3
# Number of iterations (signal recordings) per modulation and SNR combination
num_iterations: 100
num_iterations: 10
# Modulation scheme settings; keys must match the `modulation_types` list above
# Each entry includes:
@ -57,7 +57,7 @@ training:
batch_size: 256
# Number of complete passes through the training dataset during training
epochs: 30
epochs: 5
# Learning rate: step size for weight updates after each batch
# Recommended range for fine-tuning: 1e-6 to 1e-4

0
helpers/__init__.py Normal file
View File

View File

@ -21,7 +21,7 @@ def convert_to_onnx(ckpt_path: str, fp16: bool = False) -> None:
in_channels = 2
batch_size = 1
slice_length = int(1024 / dataset_cfg.num_slices)
slice_length = int(dataset_cfg.recording_length / dataset_cfg.num_slices)
num_classes = len(dataset_cfg.modulation_types)
model = RFClassifier(
@ -42,7 +42,7 @@ def convert_to_onnx(ckpt_path: str, fp16: bool = False) -> None:
model.eval()
# Generate random sample data
base, ext = os.path.splitext(os.path.basename(ckpt_path))
base, _ = os.path.splitext(os.path.basename(ckpt_path))
if fp16:
output_path = os.path.join("onnx_files", f"{base}.onnx")
sample_input = torch.from_numpy(

View File

@ -90,7 +90,7 @@ def split_recording(
snippet_list = []
for data, md in recording_list:
C, N = data.shape
_, N = data.shape
L = N // num_snippets
for i in range(num_snippets):
start = i * L