Force UTF-8 IO encoding

This commit is contained in:
Reuben Morais 2020-02-17 10:46:40 +01:00
parent f32fd7a33f
commit cedd72da9b
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ fi;
# and when trying to run on multiple devices (like GPUs), this will break
export CUDA_VISIBLE_DEVICES=0
# Force UTF-8 output
export PYTHONIOENCODING=utf-8
echo "##### Train ENGLISH model and transfer to RUSSIAN #####"
echo "##### while iterating over loading logic #####"