2021-07-20 12:32:26.962743: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
/global/homes/s/snayfach/.conda/envs/py3/lib/python3.9/site-packages/tensorflow/python/keras/engine/sequential.py:425: UserWarning: `model.predict_proba()` is deprecated and will be removed after 2021-01-01. Please use `model.predict()` instead.
warnings.warn('`model.predict_proba()` is deprecated and '
2021-07-20 12:32:27.498255: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
2021-07-20 12:32:27.498856: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency: 2299890000 Hz
Traceback (most recent call last):
File "/global/projectb/scratch/snayfach/databases/DeepCapTail/predict_sequence.py", line 98, in <module>
main()
File "/global/projectb/scratch/snayfach/databases/DeepCapTail/predict_sequence.py", line 93, in main
makedirs(p_directory)
File "/global/homes/s/snayfach/.conda/envs/py3/lib/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''
I ran:
DeepCapTail$ python predict_sequence.py --p_fasta data/tail_testing/independent/positive.fasta --capsid_tail capsid --p_output prediction.csvAnd got the error:
Commenting out lines 92-93 solved the issue for me