Skip to content

Error in the Demo #3

Closed
Closed

Description

@fizamurtaza

Hello

I want to run demo using this command line
python retrieve_proposals.py data/demo_input.csv data/demo_c3d.hdf5 data/class_induced_thumos14.pkl data/demo_proposals.csv

But I am getting following error
error

Although I have installed all the dependencies (as far as I know) which you mentioned in description but still I don't know how to solve this problem. Also I am new in Python and I am facing problem in understanding the error.
Kindly help me to remove this error.

Thanks in advance
Fiza Murtaza

Activity

  1. cabaf commented on Feb 9, 2017

    @cabaf
    Owner

    Hi Fiza,

    Thanks for your interest in our work.

    Unfortunately the traced error is not much informative due to the crash occurred inside a Parallel job. Try to reproduce the error in sequential mode: set n_jobs to 1 in this line and report back if the error persists.

  2. fizamurtaza commented on Feb 10, 2017

    @fizamurtaza
    Author

    Thank you for your kind reply.
    Following error I got after setting n_jobs to 1 in https://github.com/cabaf/sparseprop/blob/master/sparseprop/retrieve.py#L108

    image

  3. cabaf commented on Feb 10, 2017

    @cabaf
    Owner

    Thanks for reporting back. It seems SPAMs does not support the parameter linesearch_mode on windows. You can remove that key from the parameters dictionary: after this line write del params['linesearch_mode']. Let us know if it solves the problem.

  4. fizamurtaza commented on Feb 10, 2017

    @fizamurtaza
    Author

    Thank you so much Fabian 👍
    Yes byy writing
    del params['linesearch_mode'] after line https://github.com/cabaf/sparseprop/blob/master/sparseprop/retrieve.py#L100
    solved the problem Thanks God :)

    How I can learn coding in Python? Can you send me the tutorial links from where I can learn from very start??
    Also Why you preferred Python over Matlab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions