Skip to content

Commit

Permalink
ready for v0.5.3 release
Browse files Browse the repository at this point in the history
	modified:   01_example_modulations_dataset.ipynb
	modified:   03_example_widebandsig53_dataset.ipynb
	modified:   06_example_wideband_yolo.ipynb
	modified:   07_example_classify_yolo.ipynb
	modified:   classify.yaml
	modified:   wbdata.yaml
	modified:   ../torchsig/transforms/target_transforms.py
	modified:   ../torchsig/utils/classify_transforms.py
	modified:   ../torchsig/utils/dsp.py
	modified:   ../torchsig/utils/visualize.py
	modified:   ../torchsig/utils/yolo_classify.py
	modified:   ../torchsig/utils/yolo_train.py
  • Loading branch information
pvallance committed Sep 5, 2024
1 parent e466441 commit 87554f9
Show file tree
Hide file tree
Showing 12 changed files with 634 additions and 517 deletions.
18 changes: 10 additions & 8 deletions examples/01_example_modulations_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 1,
"id": "f5634817-932d-4709-beb6-e50c11ffbc81",
"metadata": {},
"outputs": [],
Expand All @@ -36,7 +36,8 @@
"import pytorch_lightning as pl\n",
"import numpy as np\n",
"import pickle\n",
"import lmdb"
"import lmdb\n",
"import os"
]
},
{
Expand All @@ -55,7 +56,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 2,
"id": "c01651a5-904a-4fb3-bdbf-f826615b977f",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -176,7 +177,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 3,
"id": "160b0f82-28d7-47a9-9bde-0d5897093994",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -204,7 +205,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 4,
"id": "61f278a5-7b85-460f-b3a1-ae00a8fa8317",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -233,7 +234,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 5,
"id": "932a982c-9ed1-4d31-93f0-f66a59cac90a",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -273,19 +274,20 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 6,
"id": "22b3d234-bbe7-488b-a904-f1263e727554",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 5300/5300 [01:55<00:00, 45.87it/s] \n"
"100%|██████████| 5300/5300 [02:25<00:00, 36.50it/s] \n"
]
}
],
"source": [
"os.makedirs(\"./datasets/01_dataset\", exist_ok=True)\n",
"env = lmdb.open(\"./datasets/01_dataset\", max_dbs=3 if include_snr else 2, map_size=int(1e12))\n",
"\n",
"iq_sample_db = env.open_db(\"iq_samples\".encode())\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/03_example_widebandsig53_dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"source": [
"# Generate WidebandSig53 DataModule\n",
"from torchsig.transforms import *\n",
"root = \"./datasets/wideband_sig53\"\n",
"root = \"../datasets/wideband_sig53\"\n",
"impaired = True\n",
"qa = True\n",
"fft_size = 512\n",
Expand Down
496 changes: 165 additions & 331 deletions examples/06_example_wideband_yolo.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 87554f9

Please sign in to comment.