Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

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 authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    cd2e817 View commit details
    Browse the repository at this point in the history