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

Metalhead IJulia notebook broken #75

Open
VarLad opened this issue Jan 24, 2021 · 2 comments
Open

Metalhead IJulia notebook broken #75

VarLad opened this issue Jan 24, 2021 · 2 comments

Comments

@VarLad
Copy link

VarLad commented Jan 24, 2021

@xorJane
vgg = VGG19()
gives an error

EOFError: read end of file

Stacktrace:
  [1] read(s::IOStream, #unused#::Type{UInt8})
    @ Base ./iostream.jl:399
  [2] read
    @ ./Enums.jl:22 [inlined]
  [3] parse_doc(io::IOStream)
    @ BSON ~/.julia/packages/BSON/XAts7/src/read.jl:51
  [4] parse_tag(io::IOStream, tag::BSON.BSONType)
    @ BSON ~/.julia/packages/BSON/XAts7/src/read.jl:15
  [5] parse_doc(io::IOStream)
    @ BSON ~/.julia/packages/BSON/XAts7/src/read.jl:53
  [6] parse
    @ ~/.julia/packages/BSON/XAts7/src/read.jl:101 [inlined]
  [7] open(f::typeof(BSON.parse), args::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base ./io.jl:330
  [8] open
    @ ./io.jl:328 [inlined]
  [9] parse
    @ ~/.julia/packages/BSON/XAts7/src/read.jl:102 [inlined]
 [10] load
    @ ~/.julia/packages/BSON/XAts7/src/read.jl:104 [inlined]
 [11] weights(name::String)
    @ Metalhead ~/.julia/packages/Metalhead/qsJ7m/src/utils.jl:21
 [12] vgg19_layers()
    @ Metalhead ~/.julia/packages/Metalhead/qsJ7m/src/vgg19.jl:2
 [13] VGG19()
    @ Metalhead ~/.julia/packages/Metalhead/qsJ7m/src/vgg19.jl:39
 [14] top-level scope
    @ In[5]:1
 [15] eval
    @ ./boot.jl:360 [inlined]
 [16] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:1090

on Julia 1.6beta with Metalhead 0.5.1

@logankilpatrick
Copy link
Member

@clad26 does this looks like a Julia 1.6 bug to you or something we can syntactically update in the notebook?

@VarLad
Copy link
Author

VarLad commented Feb 11, 2021

Oh
Yeah
Sorry
I think its a notebook problem
I'll just push the fix real soon!

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