question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A small issue regarding noiseXarray

See original GitHub issue
>>> n=simplex.noise3array(x=10, y=10, z=10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python39\lib\site-packages\opensimplex\opensimplex.py", line 34, in noise3array
    return _noise3a(x, y, z, self._perm, self._perm_grad_index3)
  File "C:\Python39\lib\site-packages\opensimplex\opensimplex.py", line 111, in _noise3a
    noise = np.zeros(x.size, dtype=np.double)
AttributeError: 'int' object has no attribute 'size'

Perhaps a different attribute needs to be used?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zodiuxuscommented, Jan 7, 2022

Unfortunately, I have exams starting next week as well. I think I tried with the old method (by directly calling OpenSimplex.Function) which gave me the same result, but I’ll give it another shot.

-------- Original Message -------- On Jan 7, 2022, 08:47, Alex wrote:

Unknown attribute ‘noise2’ of type Module That seems odd? Are you using opensimplex v0.4? And instead of the module helpers you could try import the OpenSimplex class and call that instead (the old method).

I’m having exams in a week, so I really can’t dig deeper into bigger issues like this for the next week or so 😦

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

0reactions
lmascommented, Jun 29, 2022

Hmm I think I’ll close this due to updated docs and going off topic. Haven’t had any other demands of pytorch so I won’t be doing any work with that for now, but feel free to open a new issue for supporting pytorch or reopen this one if you have further comments about the original issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exploiting noise in array CGH data to improve detection of ...
A fundamental question is whether noise in array-CGH is indeed Gaussian, and if not, can one exploit the characteristics of noise to develop...
Read more >
Narrow sidebranch arrays for low frequency duct noise control
The present study investigates the sound transmission loss across a section of an infinitely long duct where one or more narrow sidebranch tubes...
Read more >
Experimental Results for the Sensitivity of a Low Noise ... - arXiv
performance has been recently shown for a smaller array in. [24], but only measured data for single channel receiver noise temperatures are presented...
Read more >
The Application of a Linear Microphone Array in the ... - MDPI
This paper concerns the application of a linear microphone array in the quantitative evaluation of blade trailing-edge (TE) noise reduction.
Read more >
Ocean acoustic noise and passive coherent array processing
For example, the two dashed lines in Fig. 5a show the coherent contribution from the surface-noise sources that travel through both of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found