akankshakshurai/cuda-error-resolution-analysis huggingface dataset:
Custom Conv2d Operation

eslammofreh: <p>How to write my custom Conv2d layer ?<br>
I want to do some transformations on the convolved part of the image before convolution.</p>

ptrblck: <p>You could use <code>unfold</code> for your custom convolution (which might be slow) as described <a href="https://discuss.pytorch.org/t/custom-nn-conv2d/62068/2">here</a>.</p>

narain1: <p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/4/e/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70.png" data-download-href="https://discuss.pytorch.org/uploads/default/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70" title="Opera Snapshot_2020-07-22_154551_www.kaggle.com"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/4/e/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70_2_621x499.png" alt="Opera Snapshot_2020-07-22_154551_www.kaggle.com" data-base62-sha1="b9Id38aMNOMWJ7bedlC7BDnw2ti" width="621" height="499" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/4/e/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70_2_621x499.png, https://discuss.pytorch.org/uploads/default/optimized/3X/4/e/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70_2_931x748.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/4/e/4e30fe4d117f49cf902987a1ef6a66bdeabb8a70.png 2x" data-dominant-color="F8F8F8"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Opera Snapshot_2020-07-22_154551_www.kaggle.com</span><span class="informations">1041×838 72.9 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p><a href="https://www.kaggle.com/c/alaska2-image-steganalysis/discussion/168548" rel="noopener nofollow ugc">link to the competition solution discussion</a></p>
<p>can you help me with what the convolution and maxpool with no stride mean</p>
<ul>
<li>thanks</li>
</ul>

ptrblck: <p>I don’t know, what “I removed the stride in the first conv layer and max-pooling layer” means.<br>
Maybe a custom stride was removed and the default one was used?</p>
<p>As it’s the 1st place solution, I assume that the code has to be released (to get the prize). You could also ask the author directly, what she meant by this setup. <img src="https://discuss.pytorch.org/images/emoji/apple/wink.png?v=9" title=":wink:" class="emoji" alt=":wink:"></p>
3D Point Cloud - Tensorboard - Changing Point Size

alishobeiri: <p>Hi,</p>
<p>My original post was about me trying to get Tensorboard point clouds set up, but I realized once I programatically set the camera that the points were visible, just very small.</p>
<p>As a natural follow up haha, I was wondering how it could be possible to make the points on the point cloud larger? I saw the config has <code>camera</code>, <code>light</code> and <code>material</code> options that reference ThreeJS classes but I wasn’t sure which class is control the point size.</p>
<p>I tried making changes to the material keyword using:</p>
<pre><code class="lang-auto">point_size_config = {
  'cls': 'PointsMaterial',
  'size': 10
}


tensorboard.add_mesh('my_mesh_larger_point', vertices=vertices_tensor, 
                     colors=colors_tensor, 
                     config_dict={"material": point_size_config})
</code></pre>
<p>I also tried several other classes but didn’t have any success either. I was wondering if anyone had any ideas about how to address this?</p>
<p>Thanks in advance <img src="https://discuss.pytorch.org/images/emoji/apple/slight_smile.png?v=9" title=":slight_smile:" class="emoji" alt=":slight_smile:"></p>

DomainFlag: <p>It’s a bit late, but this works for me as expected:</p>
<pre><code class="lang-auto">point_size_config = {
    'material': {
        'cls': 'PointsMaterial',
        'size': 0.03
    }
}
</code></pre>
Can't allocate memory

skyline: <p>Here is the error code:</p>
<pre><code class="lang-auto">RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 452984832 bytes. Error code 12 (Cannot allocate memory)
</code></pre>
<p>I have seen the post <a href="https://discuss.pytorch.org/t/got-error-cannot-allocate-memory/20736">https://discuss.pytorch.org/t/got-error-cannot-allocate-memory/20736</a></p>
<p>And I have checked my RAM by free -h as shown below:</p>
<pre><code class="lang-auto">              total        used        free      shared  buff/cache   available

Mem:           6.8G        1.2G        5.0G         71M        533M        5.3G
Swap:          2.0G        1.9G        119M
</code></pre>
<p>What’s wrong?452984832 bytes seems  not to be very large space?</p>