Skip to content

AWS has errors processing certain images #37

Description

@andyjliu

When running MATLAB models without smoothing on the sample images provided, AWS model running fails on some images but not others.

The images that worked were flipped_person, cat_on_tower, cat_on_box, bar_colours, and O_Q.
The images that did not work were repin, monkey, dalmatian, clowns, and shishkin.

The specific error message is

Index in position 3 exceeds array bounds (must not exceed 1).

Error in aws

Error in AWS_wrap (line 51)
	[~, salmap] = evalc('aws(img,1,2.1)');

[AWS] Error processing image ./clowns.jpg.

Steps to reproduce: initialize the below as an experiment.yaml file within SMILER on MacOS, the run SMILER on said file:

experiment:
  name: Simple Example
  description: An illustrative example of how to set up SMILER YAML experiments.
  input_path: ./SMILER/examples/input_images
  base_output_path: /tmp/test_out
  parameters:
    do_smoothing: none

runs:

  - algorithm: AWS
    output_path: ./SMILER/smiler_tools/smiler_tools/exp_output/AWS
    parameters:
      do_smoothing: default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions