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

fix format_err_str function in mytorch.py #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 9, 2020

  1. fix format_err_str function in mytorch.py

    Fix error type: list has no attribute ravel.
    The error raises if we run the following:
    python exp.py --net rnn_vgg16unet3_gruunet4.64.3 --cmd eval --iter last --eval-dsets tat-subseq --eval-scale 0.5
    Only np array has attribute ravel. But isinstance(v, (np.ndarray, list)) make list operate list.ravel which will cause error.
    tianyilt committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    cd2e817 View commit details
    Browse the repository at this point in the history