Comments (5)
Are you using the latest github version rather than the opam package? I think the opam package still has the bug that was fixed last week so would likely not work - I just tried again the current github tip and it works well for me.
from ocaml-torch.
I am using the latest opam package. I can try with github version but the libtorch link on the main page of your ocaml-torch page is broken. I am relatively new to ocaml and have not tried running any major libraries just from the github.
After installing libtorch, what part of the code should I change inorder to making in run from the github instead of the opam.
When will you update the opam package? If it is within a day or two then I can just wait.
I am doing this for a final project in an ocaml course at Johns Hopkins, so would be really nice to do ml with this package.
from ocaml-torch.
I made an opam release over the week-end and the pull request just got merged, so my guess is that by tomorrow you should have access to a version including the bugfix (0.16).
from ocaml-torch.
Thank you! Got it working as well on the github way.
from ocaml-torch.
Hi, I'm also facing this issue of always zero accuracy when running linear.ml
I'm using the opam package:
And even the sample utop in Readme is not working:
Any help will be greatly appreciated!
from ocaml-torch.
Related Issues (20)
- Is it possible to download pretrained model weights from the python version of pytorch and use it in ocaml-torch? HOT 2
- Mnist example - crashes at runtime HOT 2
- Torch installation not working with ubuntu HOT 2
- Is there anthing equivalent to load and save model in ocaml torch HOT 4
- Support for CUDA 11 HOT 3
- Mini-Dalle Example HOT 2
- How to load a npz file to a tensor? HOT 1
- diffusers-ocaml HOT 3
- Custom training HOT 1
- Setting slices of a tensor: what is the equivalent of (python) x[i,:,:] = y HOT 7
- debugging out-of-memory exception HOT 12
- Install Ocaml-Torch failed on macos with M1 chip HOT 2
- installing gpu accelerated version on macos
- most exceptions from libtorch not caught (macos) HOT 24
- installing on macos in presence of other pytorch instances HOT 11
- .pt file to .ot file - Anyway to skip the conversion HOT 12
- How to extend Tensor.t with additional functions? HOT 3
- Issues with install on MacOS, with ARM architecture
- undefined symbol: ffi_type_void, version LIBFFI_BASE_7.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml-torch.