learned-string-alignments
learned-string-alignments copied to clipboard
make AlignCNN work on CPU
I changed the AlignCNN class to use CUDA only if the CUDA_VISIBLE_DEVICES environment variable is defined, so otherwise it can run on CPU. Most of the changes are from the code formatter I'm using, and I can get rid of those if you don't want them.