nouhadziri / THRED

The implementation of the paper "Augmenting Neural Response Generation with Context-Aware Topical Attention"
https://arxiv.org/abs/1811.01063
MIT License
111 stars 25 forks source link

output directory not specified. pass it using: -o OR --out-dir #3

Closed Zengpr closed 5 years ago

Zengpr commented 5 years ago

I have the problem: sudo sh bin/reddit.sh -c data/RC__2018-10.xz --log log/log.txt -o output/output.txt

\bin/Reddit.sh: 9: bin/Reddit.sh: [[: not found -e output directory not specified. pass it using: -o OR --out-dir why?

ehsk commented 5 years ago

The script is written in bash not shell (sh). Please try the following command:

bash bin/reddit.sh -c data/RC__2018-10.xz --log log/log.txt -o output/output.txt

Also, the script does not need root privileges to run.