Skip to content

Commit

Permalink
Build 2024-12-24 05:10:14. 16ef7fc. Event: schedule.
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 24, 2024
1 parent e7081c0 commit 2703c51
Show file tree
Hide file tree
Showing 27 changed files with 1,471 additions and 1,164 deletions.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 404/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _next/static/vJuFcpWvbN6zbAub4gcIZ/_buildManifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions _next/static/vJuFcpWvbN6zbAub4gcIZ/_ssgManifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
4 changes: 2 additions & 2 deletions docs/api_reference/augmentations/crops/transforms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</span><span id=__span-0-53><a id=__codelineno-0-53 name=__codelineno-0-53></a><a href=#__codelineno-0-53><span class=linenos data-linenos=" 53 "></span></a>
</span><span id=__span-0-54><a id=__codelineno-0-54 name=__codelineno-0-54></a><a href=#__codelineno-0-54><span class=linenos data-linenos=" 54 "></span></a> <span class=k>if</span> <span class=nb>len</span><span class=p>(</span><span class=n>bboxes</span><span class=p>)</span> <span class=o>&gt;</span> <span class=mi>0</span><span class=p>:</span>
</span><span id=__span-0-55><a id=__codelineno-0-55 name=__codelineno-0-55></a><a href=#__codelineno-0-55><span class=linenos data-linenos=" 55 "></span></a> <span class=c1># Pick a bbox amongst all possible as our reference bbox.</span>
</span><span id=__span-0-56><a id=__codelineno-0-56 name=__codelineno-0-56></a><a href=#__codelineno-0-56><span class=linenos data-linenos=" 56 "></span></a> <span class=n>bboxes</span> <span class=o>=</span> <span class=n>denormalize_bboxes</span><span class=p>(</span><span class=n>bboxes</span><span class=p>,</span> <span class=n>image_shape</span><span class=o>=</span><span class=p>(</span><span class=n>image_height</span><span class=p>,</span> <span class=n>image_width</span><span class=p>))</span>
</span><span id=__span-0-56><a id=__codelineno-0-56 name=__codelineno-0-56></a><a href=#__codelineno-0-56><span class=linenos data-linenos=" 56 "></span></a> <span class=n>bboxes</span> <span class=o>=</span> <span class=n>denormalize_bboxes</span><span class=p>(</span><span class=n>bboxes</span><span class=p>,</span> <span class=n>shape</span><span class=o>=</span><span class=p>(</span><span class=n>image_height</span><span class=p>,</span> <span class=n>image_width</span><span class=p>))</span>
</span><span id=__span-0-57><a id=__codelineno-0-57 name=__codelineno-0-57></a><a href=#__codelineno-0-57><span class=linenos data-linenos=" 57 "></span></a> <span class=n>bbox</span> <span class=o>=</span> <span class=bp>self</span><span class=o>.</span><span class=n>py_random</span><span class=o>.</span><span class=n>choice</span><span class=p>(</span><span class=n>bboxes</span><span class=p>)</span>
</span><span id=__span-0-58><a id=__codelineno-0-58 name=__codelineno-0-58></a><a href=#__codelineno-0-58><span class=linenos data-linenos=" 58 "></span></a>
</span><span id=__span-0-59><a id=__codelineno-0-59 name=__codelineno-0-59></a><a href=#__codelineno-0-59><span class=linenos data-linenos=" 59 "></span></a> <span class=n>x1</span><span class=p>,</span> <span class=n>y1</span><span class=p>,</span> <span class=n>x2</span><span class=p>,</span> <span class=n>y2</span> <span class=o>=</span> <span class=n>bbox</span><span class=p>[:</span><span class=mi>4</span><span class=p>]</span>
Expand Down Expand Up @@ -226,7 +226,7 @@
</span><span id=__span-0-100><a id=__codelineno-0-100 name=__codelineno-0-100></a><a href=#__codelineno-0-100><span class=linenos data-linenos="100 "></span></a>
</span><span id=__span-0-101><a id=__codelineno-0-101 name=__codelineno-0-101></a><a href=#__codelineno-0-101><span class=linenos data-linenos="101 "></span></a> <span class=k>def</span> <span class=nf>get_transform_init_args_names</span><span class=p>(</span><span class=bp>self</span><span class=p>)</span> <span class=o>-&gt;</span> <span class=nb>tuple</span><span class=p>[</span><span class=nb>str</span><span class=p>,</span> <span class=o>...</span><span class=p>]:</span>
</span><span id=__span-0-102><a id=__codelineno-0-102 name=__codelineno-0-102></a><a href=#__codelineno-0-102><span class=linenos data-linenos="102 "></span></a> <span class=k>return</span> <span class=p>(</span><span class=s2>&quot;erosion_rate&quot;</span><span class=p>,)</span>
</span></code></pre></div> </details> </div> </div> <div class="doc doc-object doc-class"> <h2 id=albumentations.augmentations.crops.transforms.BaseCrop class="doc doc-heading" data-toc-label=BaseCrop> <code>class <strong> BaseCrop</strong></code> <code> </code> <span class=doc-github-link> <a href=https://github.com/albumentations-team/albumentations/blob/main/albumentations/augmentations/crops/transforms.py#L64 target=_blank>[view source on GitHub]</a> </span><a class=headerlink href=#albumentations.augmentations.crops.transforms.BaseCrop title="Permanent link">¶</a> </h2> <div class=class-signature> </div> <div class="doc doc-contents "> <p>Base class for transforms that only perform cropping.</p> <div class="admonition info"> <p class=admonition-title><strong>Interactive Tool Available!</strong></p> <p> <strong>Explore this transform visually and adjust parameters interactively using this tool:</strong> </p> <p> <a class="md-button md-button--primary" href=https://explore.albumentations.ai/transform/BaseCrop target=_blank>Open Tool</a> </p> </div> <details class=quote> <summary>Source code in <code>albumentations/augmentations/crops/transforms.py</code></summary> <div class="language-python highlight"><span class=filename>Python</span><pre><span></span><code><span id=__span-0-1><a id=__codelineno-0-1 name=__codelineno-0-1></a><a href=#__codelineno-0-1><span class=linenos data-linenos=" 1 "></span></a><span class=k>class</span> <span class=nc>BaseCrop</span><span class=p>(</span><span class=n>DualTransform</span><span class=p>):</span>
</span></code></pre></div> </details> </div> </div> <div class="doc doc-object doc-class"> <h2 id=albumentations.augmentations.crops.transforms.BaseCrop class="doc doc-heading" data-toc-label=BaseCrop> <code>class <strong> BaseCrop</strong></code> <code> </code> <span class=doc-github-link> <a href=https://github.com/albumentations-team/albumentations/blob/main/albumentations/augmentations/crops/transforms.py#L65 target=_blank>[view source on GitHub]</a> </span><a class=headerlink href=#albumentations.augmentations.crops.transforms.BaseCrop title="Permanent link">¶</a> </h2> <div class=class-signature> </div> <div class="doc doc-contents "> <p>Base class for transforms that only perform cropping.</p> <div class="admonition info"> <p class=admonition-title><strong>Interactive Tool Available!</strong></p> <p> <strong>Explore this transform visually and adjust parameters interactively using this tool:</strong> </p> <p> <a class="md-button md-button--primary" href=https://explore.albumentations.ai/transform/BaseCrop target=_blank>Open Tool</a> </p> </div> <details class=quote> <summary>Source code in <code>albumentations/augmentations/crops/transforms.py</code></summary> <div class="language-python highlight"><span class=filename>Python</span><pre><span></span><code><span id=__span-0-1><a id=__codelineno-0-1 name=__codelineno-0-1></a><a href=#__codelineno-0-1><span class=linenos data-linenos=" 1 "></span></a><span class=k>class</span> <span class=nc>BaseCrop</span><span class=p>(</span><span class=n>DualTransform</span><span class=p>):</span>
</span><span id=__span-0-2><a id=__codelineno-0-2 name=__codelineno-0-2></a><a href=#__codelineno-0-2><span class=linenos data-linenos=" 2 "></span></a><span class=w> </span><span class=sd>&quot;&quot;&quot;Base class for transforms that only perform cropping.&quot;&quot;&quot;</span>
</span><span id=__span-0-3><a id=__codelineno-0-3 name=__codelineno-0-3></a><a href=#__codelineno-0-3><span class=linenos data-linenos=" 3 "></span></a>
</span><span id=__span-0-4><a id=__codelineno-0-4 name=__codelineno-0-4></a><a href=#__codelineno-0-4><span class=linenos data-linenos=" 4 "></span></a> <span class=n>_targets</span> <span class=o>=</span> <span class=n>ALL_TARGETS</span>
Expand Down
Loading

0 comments on commit 2703c51

Please sign in to comment.