Info-extract icon indicating copy to clipboard operation
Info-extract copied to clipboard

Error running docker compose up

Open nklsbckmnn opened this issue 1 year ago • 0 comments

Thanks for sharing this. I get this error. Does anyone have an idea how to fix this?

=> ERROR [stage-0  9/11] RUN conda run -n hbcp-predict python train4api.py -i ../resources/train4api.tsv -n ../resources/embfile4api.m  5.0s                                                                                                                 
 > [stage-0  9/11] RUN conda run -n hbcp-predict python train4api.py -i ../resources/train4api.tsv -n ../resources/embfile4api.merged.vec:    
#0 4.855 2023-05-16 17:14:06.557074: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory                                                  
#0 4.855 2023-05-16 17:14:06.557330: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory                                    
#0 4.855 2023-05-16 17:14:06.557388: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
#0 4.855 Using TensorFlow backend.
#0 4.855 2023-05-16 17:14:07,626 | INFO | converting words to IDs...
#0 4.855 Traceback (most recent call last):
#0 4.855   File "train4api.py", line 146, in <module>
#0 4.855     main(sys.argv[1:])
#0 4.855   File "train4api.py", line 142, in main
#0 4.855     train_and_save(TRAIN_FILE, EMB_FILE, model_name, epochs)
#0 4.855   File "train4api.py", line 36, in train_and_save
#0 4.855     inpH.convertWordsToIds(merged_vec_path)
#0 4.855   File "/python-nb/ov-predict/src/preprocessing/InputHelper.py", line 105, in convertWordsToIds
#0 4.855     allNodeNames = self.getAllNodes(emb_path)
#0 4.855   File "/python-nb/ov-predict/src/preprocessing/InputHelper.py", line 92, in getAllNodes
#0 4.855     for line in open(emb_path):
#0 4.855 FileNotFoundError: [Errno 2] No such file or directory: '../resources/embfile4api.merged.vec'
#0 4.855 
#0 4.855 ERROR conda.cli.main_run:execute(47): `conda run python train4api.py -i ../resources/train4api.tsv -n ../resources/embfile4api.merged.vec` failed. (See above for error)
#0 4.855 
#0 4.855 ERROR conda.cli.main_run:execute(47): `conda run /bin/bash -c conda run -n hbcp-predict python train4api.py -i ../resources/train4api.tsv -n ../resources/embfile4api.merged.vec` failed. (See above for error)
#0 4.855 Training file: ../resources/train4api.tsv
#0 4.855 Emb file: ../resources/embfile4api.merged.vec
#0 4.855 Collecting node names...
#0 4.855 
#0 4.855 
failed to solve: process "conda run -n hbcp-predict /bin/bash -c conda run -n hbcp-predict python train4api.py -i ../resources/train4api.tsv -n ../resources/embfile4api.merged.vec" did not complete successfully: exit code: 1

nklsbckmnn avatar May 16 '23 17:05 nklsbckmnn