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

Conversation

@tianyilt
Copy link

@tianyilt tianyilt commented Nov 9, 2020

Hey, Thanks for your help and I succeed in run it.
But there may exist some little bug.
I try to fix this 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.

Sorry for me can't provide the snapshot because I get off work and forget to save.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant