New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neural networks doesn't function in pyscript #475
Comments
Not a particularly well put issue, but i see it's your first 🙂 This isn't a bug as such, it's a limitation. I suppose you could research the underlying causes and try to help progress with those. There are some relevent details here: |
FYI, there's further discussion here too: |
Thanks for the replies @nmstoker. |
If you still want NNs to be working, try sklearn! It works with pyscript and supports MLPs (Fully Connected neural Networks): |
Thank you all for responding. I'm not an expert in web applications, but I'd really appreciate any help on embedding neural networks using pyscript. It would be a great advance for those of us who regularly work with data science and predictive modeling. |
@taranis2025 How constrained are you with regards to the NN you want to work with? Do you have pre-existing models or do you particularly want to use a certain framework or are you happy to build new NN in whatever's available? If you're in the last category then as Yannick says you could try sklearn. With the links i posted above, i found another repo that seems to be suitable: it only relies on numpy (which does run). It aims to reimplement the Keras API solely in numpy. As the saying goes "Your mileage may vary" but it might be worth a quick look: |
Sympy package/module also doesn't work in pyscript |
@naschimhit - please could you clarify your point? Looks like you may have a typo. |
Thanks @naschimhit . I believe it should work, since it's available in Pyodide as you'll see here Based on Stack Overflow questions/answers like this one, it looks like it does indeed work (but may need some work arounds for printing latex output): https://stackoverflow.com/questions/72318609/pretty-print-sympy-when-not-using-ipython Might be worth raising a separate issue if you've got further concerns (unless they all closely relate to the topic of this issue) |
Hey there, Is there any easy way to allow building pyscript with a custom version of pyodide? Even if some packages (e.g. shapely) are already available in pyodide, the pyodideversion used in pyscript does not contain them. |
Nevermind, I did this by updating the pyodide version in /src/components/pyconfig.ts |
pyodide_webgpu.mp4Join my army |
I have a conclusion for this, in my opinion should using mathjax. Is it like that? |
I'm not sure if we should close this as a |
I'm closing it as it's not a specific request for a package. |
Checklist
What happened?
Las redes neuronales (NN) no funcionan en pyscript. Sabemos que es una versión alfa, pero ¿qué se puede hacer por este fallo?. La plataforma no reconoce ninguna librería relativa al desarrollo de NN.
What browsers are you seeing the problem on? (if applicable)
Chrome
Console info
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: