FastStyleTransfer.jl
FastStyleTransfer.jl copied to clipboard
Precompiling failed
I tried to run your Pkg .
julia> using Pkg; Pkg.clone("https://github.com/avik-pal/FastStyleTransfer.jl")
seems OK but occurs error message the below after using FastStyleTransfer
julia> using FastStyleTransfer
[ Info: Precompiling FastStyleTransfer [ff70ec99-cc3d-52c9-809f-ecb142a82ec2]
ERROR: LoadError: ArgumentError: Package FastStyleTransfer does not have NNlib in its dependencies:
- If you have FastStyleTransfer checked out for development and have
added NNlib as a dependency but haven't updated your primary
environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with FastStyleTransfer
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:833
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1041
[4] include(::Module, ::String) at ./sysimg.jl:29
[5] top-level scope at none:2
[6] eval at ./boot.jl:319 [inlined]
[7] eval(::Expr) at ./client.jl:389
[8] top-level scope at ./none:3
in expression starting at /home/terasaki/.julia/dev/FastStyleTransfer/src/FastStyleTransfer.jl:5
ERROR: Failed to precompile FastStyleTransfer [ff70ec99-cc3d-52c9-809f-ecb142a82ec2] to /home/terasaki/.julia/compiled/v1.0/FastStyleTransfer/I6kaR.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1187
[4] _require(::Base.PkgId) at ./logging.jl:311
[5] require(::Base.PkgId) at ./loading.jl:855
[6] macro expansion at ./logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:837
My PC Environment is
- OS: Ubuntu 16.04
- Julia 1.0.1
- Installed libraries
(v1.0 pkg> st
[c52e3926] Atom v0.7.8
[fbb218c0] BSON v0.2.1
[336ed68f] CSV v0.4.1
[150eb455] CoordinateTransformations v0.5.0
[3a865a2d] CuArrays v0.8.0
[a93c6f00] DataFrames v0.14.1
[ff70ec99] FastStyleTransfer v0.0.0 [`~/.julia/dev/FastStyleTransfer`]
[587475ba] Flux v0.6.7+ #master (https://github.com/FluxML/Flux.jl.git)
[7073ff75] IJulia v1.12.0
[6218d12a] ImageMagick v0.7.1
[916415d5] Images v0.16.0
[682c06a0] JSON v0.19.0
[e5e0dc1b] Juno v0.5.3
[dbeba491] Metalhead v0.3.0
[438e738f] PyCall v1.18.4
Which Julia version does this repository run ?
I had written this in julia 0.6 . This will require some minor modifications atleast for the Flux layers code to make it julia 1.0 compatible. Also the custom layers are not compatible with the Flux master, which u are on.
Thank you for your quick reply.
This will require some minor modifications atleast for the Flux layers code to make it julia 1.0 compatible
O,K, I will study Flux.jl