Skip to content
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

Precompiling failed #3

Open
terasakisatoshi opened this issue Oct 10, 2018 · 2 comments
Open

Precompiling failed #3

terasakisatoshi opened this issue Oct 10, 2018 · 2 comments

Comments

@terasakisatoshi
Copy link

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 ?

@avik-pal
Copy link
Owner

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.

@terasakisatoshi
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants