Skip to content

Error running docker compose up #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nklsbckmnn opened this issue May 16, 2023 · 0 comments
Open

Error running docker compose up #16

nklsbckmnn opened this issue May 16, 2023 · 0 comments

Comments

@nklsbckmnn
Copy link

nklsbckmnn commented May 16, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant