Open abianco88 opened 4 years ago
can confirm with julia 1.5.3.
I tried:
Pkg.add(url="https://github.com/ayush1999/Keras.jl")
resulting in:
ERROR: could not find project file in package at
https://github.com/ayush1999/Keras.jl
maybesubdir
needs to be specified
or with:
Pkg.add("Keras")
it was not found:
ERROR: The following package names could not be resolved:
- Keras (not found in project, manifest or registry)
The workaround is to clone the github normally (git clone https://github.com/ayush1999/Keras.jl
) and then starting a new Project.toml (this was only introduced after Julia 0.6, I think). Then you need to manually add all dependencies (] dev .
and ] add X
), just keep adding all the dependencies.
There are other issues: the Julia itself has changed significantly from 0.6, things like the ...
operator have changed. So I think that for any Julia > 0.6, this package is currently broken. I tried to fix some of the issues but it's quickly becoming too cumbersome.
Unfortunetly, because this package would really be useful. If I find anything, I'll comunicate.
Hey folks! I wrote this package three years ago and then I lost access to that github account (@ayush1999). If you think this package is useful, please let me know and I'll try to migrate it to my current account (@ayush-1506) and bump it to support new julia versions. Thanks!
I think it is definetly useful, I'd used it on ProtoSyn.jl if it worked on Julia 1.7. How hard do you think it would be?
I think apart from adding the usual manifest files (which should be the simpler bit), we'd also need to check if the Flux & Keras APIs have changed. This might be the more involved part.
Agreed. Some julia changes might also have broken this code.
FYI if code changes here are significant and you want something to work as soon as possible, there are other things you can try:
I was exploring the ONNX.jl, actually adding ops as you said (ahah). Run into some problems: https://github.com/FluxML/ONNX.jl/issues/61#issuecomment-1040501987
Perhaps you may help as well. I'm kind of a noob when it comes to these things. I also took a look at Keras.jl, but I may just end up going with the default way of using PyCall to run TensorFlow.
I see that the package is a bit stale and has not been upgraded to work on Julia 1, however I was able to install it seamlessly in Julia 1.3.1 by executing
Pkg.add(Pkg.PackageSpec(url="https://github.com/ayush1999/Keras.jl", rev="master"))
. Executingusing Keras
returned errors I wasn't able to fix. The full output is below. Any suggestion is greatly appreciated.