Closed xsthunder closed 2 years ago
can you show the output of bash tests/correctly_installed.sh
I think it may be a pytorch version issue, since you get this
../aten/src/ATen/native/cuda/LegacyDefinitions.cpp:14: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead.
for linkcache.zip
see here https://github.com/IBM/transition-amr-parser/issues/17
removing trailing version tag sovled the RuntimeError: Function 'LogBackward' returned nan values in its 0th output.
problem. e.g. '1.2.0a0+afb7a16' -> '1.2.0'
sed -i "s/a0+afb7a16//" /opt/conda/lib/python3.6/site-packages/torch/version.py
Env:
Solution I've tried:
bash run/run_experiment.sh configs/amr2.0-action-pointer.sh
and yield the same error. Can't findunzip /path/to/linkcache.zip
.python preprocess/merge_files.py /path/to/LDC2017T10/data/amrs/split/ DATA/AMR2.0/corpora/
orbash run/run_experiment.sh configs/amr2.0-action-pointer.sh
doesn't generate/path/to/linkcache.zip
.linkcache.zip
seems to be a memory cache, Am I missing something?Full Logs: