-
Notifications
You must be signed in to change notification settings - Fork 15
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
Homework 4 Code Issues #12
Comments
I had the same problem with See: http://stackoverflow.com/questions/25715909/export-a-uint8-array-as-an-image-using-images-in-julia |
Ah yes, |
The |
Author of Images here. I don't get the same crash with using Images
d = zeros(10,10);
colorview(RGB, d, d, d) (It just shows a black square, like it should.) Can you please send the result of |
I had the same issue with
|
Everyone in the class needs to download this gist and then say include("imagebranch.jl")
imagebranch("fixed-renaming") More detail at JuliaImages/Images.jl#542 (comment), but this is the bottom line. |
Oh, and just to make sure people know where to find docs: Please report issues to https://github.com/timholy/Images.jl/issues. Preferably each item as a separate issue. I'd view it as good thing if I get 15 bug reports or "this seems unnecessarily cumbersome" reports, as it's very hard as the author of software to know what other people find unintuitive. |
@timholy I get this trying to run your script julia> imagebranch("fixed-renaming")
INFO: Checking out FixedPointNumbers teh/compact_printing...
INFO: Pulling FixedPointNumbers latest teh/compact_printing...
INFO: No packages to install, update or remove
INFO: Checking out Images fixed-renaming...
INFO: Pulling Images latest fixed-renaming...
INFO: Cloning cache of AxisArrays from https://github.com/JuliaArrays/AxisArrays.jl.git
INFO: Cloning cache of CatIndices from https://github.com/JuliaArrays/CatIndices.jl.git
INFO: Cloning cache of ComputationalResources from https://github.com/timholy/ComputationalResources.jl.git
INFO: Cloning cache of CustomUnitRanges from https://github.com/JuliaArrays/CustomUnitRanges.jl.git
INFO: Cloning cache of FFTViews from https://github.com/JuliaArrays/FFTViews.jl.git
INFO: Cloning cache of ImageAxes from https://github.com/JuliaImages/ImageAxes.jl.git
INFO: Cloning cache of ImageCore from https://github.com/JuliaImages/ImageCore.jl.git
INFO: Cloning cache of ImageFiltering from https://github.com/JuliaImages/ImageFiltering.jl.git
INFO: Cloning cache of ImageMetadata from https://github.com/JuliaImages/ImageMetadata.jl.git
INFO: Cloning cache of IndirectArrays from https://github.com/JuliaArrays/IndirectArrays.jl.git
INFO: Cloning cache of IntervalSets from https://github.com/JuliaMath/IntervalSets.jl.git
INFO: Cloning cache of MappedArrays from https://github.com/JuliaArrays/MappedArrays.jl.git
INFO: Cloning cache of OffsetArrays from https://github.com/alsam/OffsetArrays.jl.git
INFO: Cloning cache of RangeArrays from https://github.com/JuliaArrays/RangeArrays.jl.git
INFO: Cloning cache of ShowItLikeYouBuildIt from https://github.com/JuliaArrays/ShowItLikeYouBuildIt.jl.git
INFO: Cloning cache of SimpleTraits from https://github.com/mauro3/SimpleTraits.jl.git
INFO: Updating cache of StaticArrays...
INFO: Cloning cache of TiledIteration from https://github.com/JuliaArrays/TiledIteration.jl.git
INFO: Installing AxisArrays v0.0.2
INFO: Installing CatIndices v0.0.1
INFO: Installing ComputationalResources v0.0.1
INFO: Installing CustomUnitRanges v0.0.3
INFO: Installing FFTViews v0.0.1
INFO: Installing ImageAxes v0.0.2
INFO: Installing ImageCore v0.0.5
INFO: Installing ImageFiltering v0.0.2
INFO: Installing ImageMetadata v0.0.1
INFO: Installing IndirectArrays v0.0.1
INFO: Installing IntervalSets v0.0.2
INFO: Installing MappedArrays v0.0.5
INFO: Installing OffsetArrays v0.2.12
INFO: Installing RangeArrays v0.1.1
INFO: Installing ShowItLikeYouBuildIt v0.0.1
INFO: Installing SimpleTraits v0.1.1
INFO: Installing StaticArrays v0.0.11
INFO: Installing TiledIteration v0.0.1
INFO: Checking out ColorTypes fixed-renaming...
ERROR: GitError(Code:ERROR, Class:Merge, There is no tracking information for the current branch.)
in #123 at .\libgit2\libgit2.jl:414 [inlined]
in with(::Base.LibGit2.##123#128{Base.LibGit2.GitRepo}, ::Void) at .\libgit2\types.jl:638
in (::Base.LibGit2.##119#124{String,String,Bool,Base.LibGit2.MergeOptions,Base.LibGit2.CheckoutOptions,Base.LibGit2.GitRepo})(::Base.LibGit2.GitReference) at .\libgit2\libgit2.jl:412
in with(::Base.LibGit2.##119#124{String,String,Bool,Base.LibGit2.MergeOptions,Base.LibGit2.CheckoutOptions,Base.LibGit2.GitRepo}, ::Base.LibGit2.GitReference) at .\libgit2\types.jl:638
in (::Base.#kw##merge!)(::Array{Any,1}, ::Base.#merge!, ::Base.LibGit2.GitRepo) at .\<missing>:0
in (::Base.Pkg.Entry.##18#20{String,String,Bool,Bool})(::Base.LibGit2.GitRepo) at .\pkg\entry.jl:231
in transact(::Base.Pkg.Entry.##18#20{String,String,Bool,Bool}, ::Base.LibGit2.GitRepo) at .\libgit2\libgit2.jl:520
in with(::Base.Pkg.Entry.##17#19{String,String,Bool,Bool}, ::Base.LibGit2.GitRepo) at .\libgit2\types.jl:638
in checkout(::String, ::String, ::Bool, ::Bool) at .\pkg\entry.jl:227
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}})() at .\pkg\dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}}, ::String) at .\file.jl:48
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at .\pkg\dir.jl:31
in checkoutbranch(::Array{String,1}, ::String) at .\REPL[5]:3
in imagebranch(::String) at .\REPL[7]:14 |
@timholy trying your simple example with master ColorTypes Error encountered while saving "Nullable{String}()".
Fatal error:
UndefVarError: AxisArrays not defined |
Gadfly's see: http://stackoverflow.com/questions/24598690/julia-plot-matrix-with-gadfly-jl |
thanks ! finally something that works |
workaround's are great but we should also fix the original problems |
@musm, is your ColorTypes dirty? If so do |
I have a different guess now: it needed to fetch the latest first. I just updated that gist, see if it works better now. If that fails, you can also try cd(Pkg.dir("ColorTypes"))
;git checkout fixed-renaming where the initial semicolon activates shell mode. If that fails for some reason, let me know the details. |
@timholy thanks, things look like they are now working ! |
a number of students had issues by the way i think i had the wrong vcat on the svd On Thu, Nov 10, 2016 at 2:00 PM, Mus M [email protected] wrote:
|
I'm having a couple technical issues with Homework 4, wondering if anyone might have come across them.
@manipulate
does not play nicely withmatshow
I cannot seem to make this work to "scroll through the images" as the homework instructs. When changing the manipulate slider, it just doesn't update the matshow image. What I'm trying, but doesn't work:
colorview
is crashing the kernel, every time I try to use it. The following minimal example, which should just show a black square, crashes the kernel:The text was updated successfully, but these errors were encountered: