Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd6ba5d6

Browse files
authored
Merge pull requestx4nth055#127 from rir7890/master-1
Update hog.ipynb
2 parents4783b9b +2f173ad commitd6ba5d6

File tree

1 file changed

+2
-2
lines changed
  • machine-learning/hog-feature-extraction

1 file changed

+2
-2
lines changed

‎machine-learning/hog-feature-extraction/hog.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"source": [
7070
"#creating hog features\n",
7171
"fd, hog_image = hog(resized_img, orientations=9, pixels_per_cell=(8, 8),\n",
72-
"\tcells_per_block=(2, 2), visualize=True,multichannel=True)\n",
72+
"\tcells_per_block=(2, 2), visualize=True,channel_axis=2)\n",
7373
"print(fd.shape)\n",
7474
"plt.axis(\"off\")\n",
7575
"plt.imshow(hog_image, cmap=\"gray\")"
@@ -94,4 +94,4 @@
9494
"source": []
9595
}
9696
]
97-
}
97+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp