Giter Club home page Giter Club logo

softwarestudies's People

Watchers

 avatar  avatar  avatar

Forkers

jeremydouglass

softwarestudies's Issues

ca_analyze.py fails at MATLAB colorTexture with "Error using ==> readgif"

What steps will reproduce the problem?

1. In accordance with the log below, go to Time_covers--all on Astana
2. clean the ca_project project directory
3. from above, run ca_analyze.py -m images ca_project

What is the expected output? What do you see instead?

I expected ca_analyze to finish -- instead, the process quit in the middle
of the MATLAB portion job (see log below). Results.txt was empty, etc. Note
that the error code mentions a readgif function although the directory
contains no gifs.


LOG:

astana:Time_covers--all jeremydouglass$ ca_analyze.py -m images ca_project
Processing line...
/Applications/Programming/softwarestudies/scripts/line -d ca_project/lines
--preset high ca_project/images
[line]Processing...1101000101_400.jpg
[line]Processing...1101000117_400.jpg

[...]

[matlab-colorTexture]..1101060109_400.jpg
[matlab-colorTexture]..1101060116_400.jpg
[matlab-colorTexture]..1101060123_400.jpg
??? Error using ==> readgif at 20
READGIF requires a Java Virtual Machine.

Error in ==> imread at 430
    [X, map] = feval(fmt_s.read, filename, extraArgs{:});

Error in ==> colorTexture at 11
    Image = imread([currfolder,myfiles(i).name]);

Original issue reported on code.google.com by [email protected] on 8 Sep 2009 at 9:22

ca_analyze.py fails at MATLAB with "Index exceeds matrix dimensions"

What steps will reproduce the problem?

1. In accordance with the log below, go to Google_logos on Astana
2. clean the hiperspace project directory of all but images/
3. from above, run ca_analyze.py -m images hiperspace

What is the expected output? What do you see instead?

I expected ca_analyze to finish -- instead, the process quit in the middle
of the MATLAB portion job (see log below). Results.txt was empty, etc.
Also, there was something strange: adaptiveColorQ.txt was inside /images

I've attached the image file that MATLAB failed on, in case some kind of
formatting was the cause.


LOG:

Astana:Google_logos jeremydouglass$ ca_analyze.py -m images hiperspace

Error: importing config.py
Processing line...
/Applications/Programming/softwarestudies/scripts/line -d hiperspace/lines
--preset high hiperspace/images
[line]Processing...1stdayofschool08.jpg
[line]Processing...4th_birthday.jpg
[line]Processing...5th_birthday.jpg

[...]

[line]Processing...yuri_gagarin.jpg
Processing UniformColorQ...
/Applications/Programming/softwarestudies/scripts/uniformColorQ -q 2
hiperspace/images 
[uniformColorQ]Processing...1stdayofschool08.jpg
[uniformColorQ]Processing...4th_birthday.jpg

[...]

uniformColorQ]Processing...yuri_gagarin.jpg
Processing AdaptiveColorQ...
/Applications/Programming/softwarestudies/scripts/adaptiveColorQ -n 16 -k 2
/Volumes/SWS02/projects/jeremy/images/Google_logos/hiperspace/images/ 
matlab -nodisplay -nojvm -r
"path(path,'/Applications/Programming/softwarestudies/matlab/adaptiveColorQ');
adaptiveColorQ('/Volumes/SWS02/projects/jeremy/images/Google_logos/hiperspace/im
ages/',16,2);
exit;"

[...]

[matlab-adaptiveColorQ]../Volumes/SWS02/projects/jeremy/images/Google_logos/hipe
rspace/images/elsalvador_independence08.jpg
[matlab-adaptiveColorQ]../Volumes/SWS02/projects/jeremy/images/Google_logos/hipe
rspace/images/escher.jpg
??? Index exceeds matrix dimensions.

Error in ==> adaptiveColorQ at 46
            fprintf(resultf,',%.4f,%.4f,%.4f',T(j,4:6));
EDU>> 

Original issue reported on code.google.com by [email protected] on 8 Sep 2009 at 8:11

Attachments:

ca_analyze.py fails on colorTexture with invalid arguments

What steps will reproduce the problem?

1. In accordance with the log below, go to Watchmen on Astana
2. clean the subdir panels except /images and PanelData.txt
3. run ca_analyze.py -m images panels

What is the expected output? What do you see instead?

I expected ca_analyze to finish -- instead, the process quit in the middle
of the job (see log below). Results.txt was empty, etc.

This appears related to bug 1, where colorTexture also fails, however it
does not show a Java error -- and the image listed in the log is the very
last image in the directory, indicating a successful run of [line]. It is
possible that bug 1 actually logs two bugs, the Java error and then an
unrelated error, possibly how ca_analyze.py was called.


LOG:

astana:Watchmen jeremydouglass$ pwd

/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen

astana:Watchmen jeremydouglass$ ca_analyze.py -m images panels

Processing line...
/Applications/Programming/softwarestudies/scripts/line -d panels/lines
--preset high panels/images
[line]Processing...Watchmen--00003-f1.jpg
[line]Processing...Watchmen--00003-f2.jpg
[line]Processing...Watchmen--00003-f3.jpg

[...]

[line]Processing...Watchmen--00410-f7.jpg
[line]Processing...Watchmen--00410-f8.jpg

Processing colorTexture...
/Applications/Programming/softwarestudies/scripts/colorTexture -d 1
/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen/panels/images/ 
Invalid arguments. --help for more info
Error: colorTexture

astana:Watchmen jeremydouglass$ 






Original issue reported on code.google.com by [email protected] on 8 Sep 2009 at 8:00

ca_analyze.py fails at convolve with OutOfMemoryError

What steps will reproduce the problem?

1. In accordance with the log below, go to Watchmen on Astana
2. clean the pages project directory of all but images/
3. from above, run ca_analyze.py -m images pages

What is the expected output? What do you see instead?

I expected ca_analyze to finish -- instead, the process quit in the middle
of the job (see log below). Results.txt was empty, etc.

I currently have 3 guesses --
a) that something about the color / compression encoding of the specific
file Watchmen--00154.jpg killed it -- although it was generated by the same
batch process as all the other images.
b) that under certain circumstances the process uses more memory the larger
the batch, and that 154 images killed it
c) that something about the way I invoked ca_analyze.py from the command
line and with an empty but existing config.py killed it.


astana:Watchmen jeremydouglass$ pwd

/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen

astana:Watchmen jeremydouglass$ ca_analyze.py -m images pages

Processing line...
/Applications/Programming/softwarestudies/scripts/line -d pages/lines
--preset high pages/images
[line]Processing...Watchmen--00001.jpg
[line]Processing...Watchmen--00002.jpg
[line]Processing...Watchmen--00003.jpg

[...]

line]Processing...Watchmen--00153.jpg
[line]Processing...Watchmen--00154.jpg
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at misc.ImageUtil.convolve(ImageUtil.java:181)
    at extractor.LineFeature.process(LineFeature.java:297)
    at extractor.LineFeature.main(LineFeature.java:489)
Error processing pages/images/Watchmen--00154.jpg
Error: line
Processing colorTexture...
/Applications/Programming/softwarestudies/scripts/colorTexture -d 1
/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen/pages/images/ 
Invalid arguments. --help for more info
Error: colorTexture

astana:Watchmen jeremydouglass$

Original issue reported on code.google.com by [email protected] on 8 Sep 2009 at 6:45

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.