Skip to content

Commit b625ca9

Browse files
committed
commit 2
1 parent 12132e4 commit b625ca9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/14-deep-learning/point_cloud_classification_using_sqn.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
"```python\n",
168168
"output_path=r'C:/project/training_data.pctd'\n",
169169
"data = prepare_data(output_path, dataset_type='PointCloud', batch_size=2)\n",
170-
"sg = SQNSeg(data)\n",
171-
"sg.fit(20)\n",
170+
"sq = SQNSeg(data)\n",
171+
"sq.fit(20)\n",
172172
"```\n",
173173
"After training the SQN model, `compute_precision_recall()` method can be used to compute, per-class metrics (precision, recall, and f1-score) with respect to validation data. And `save()` method can be used to save the model."
174174
]
@@ -234,7 +234,7 @@
234234
"A typical usage with respect to API looks like:\n",
235235
"\n",
236236
"```python\n",
237-
"sg = SQNSeg(data=data, \n",
237+
"sq = SQNSeg(data=data, \n",
238238
" encoder_params={'out_channels':[16, 64, 128, 256],\n",
239239
" 'sub_sampling_ratio':[4, 4, 4, 4],\n",
240240
" 'k_n':16,\n",

0 commit comments

Comments
 (0)