Acumos: docker container unable to find files The Next CEO of Stack OverflowHow do I check whether a file exists without exceptions?Finding the index of an item given a list containing it in Pythonerror: Unable to find vcvarsall.batHow do I list all files of a directory?How to read a file line-by-line into a list?Does Python have a string 'contains' substring method?Find all files in a directory with extension .txt in PythonFind current directory and file's directoryDelete a file or folderGetting “OSError: Unable to open file Permission denied ” when trying to open trained model using keras in python
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
How to avoid supervisors with prejudiced views?
WOW air has ceased operation, can I get my tickets refunded?
Is it professional to write unrelated content in an almost-empty email?
Contours of a clandestine nature
How did people program for Consoles with multiple CPUs?
Can you replace a racial trait cantrip when leveling up?
Rotate a column
Do I need to enable Dev Hub in my PROD Org?
Is micro rebar a better way to reinforce concrete than rebar?
Why didn't Khan get resurrected in the Genesis Explosion?
How to solve a differential equation with a term to a power?
Written every which way
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
Return the Closest Prime Number
Is it ever safe to open a suspicious html file (e.g. email attachment)?
What does convergence in distribution "in the Gromov–Hausdorff" sense mean?
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
multiple labels for a single equation
MessageLevel in QGIS3
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
How fast would a person need to move to trick the eye?
Sending manuscript to multiple publishers
Why do professional authors make "consistency" mistakes? And how to avoid them?
Acumos: docker container unable to find files
The Next CEO of Stack OverflowHow do I check whether a file exists without exceptions?Finding the index of an item given a list containing it in Pythonerror: Unable to find vcvarsall.batHow do I list all files of a directory?How to read a file line-by-line into a list?Does Python have a string 'contains' substring method?Find all files in a directory with extension .txt in PythonFind current directory and file's directoryDelete a file or folderGetting “OSError: Unable to open file Permission denied ” when trying to open trained model using keras in python
I am trying to test a model that I onboarded to the Acumos platform (with python client). Running the image in docker fails with this error :
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/keras/ticketsModel/model.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
My code looks like that :
from acumos.session import AcumosSession
from acumos.modeling import Model, List, create_dataframe
from tensorflow.python.keras.models import load_model
# This version tells me : unable to open file: name = 'data/keras/ticketsModel/model.hdf5'
#def classify_ticket(inText: str) -> str:
# current_model = load_model('data/keras/ticketsModel/model.hdf5')
# return current_model.predict(inText)
# This version tells me : NotImplementedError: numpy() is only available when eager execution is enabled.
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
model = Model(classify=classify_ticket)
session = AcumosSession()
session.dump(model,'ticket_classification','acumos_out')
Any help is greatly appreciated !
python acumos
add a comment |
I am trying to test a model that I onboarded to the Acumos platform (with python client). Running the image in docker fails with this error :
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/keras/ticketsModel/model.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
My code looks like that :
from acumos.session import AcumosSession
from acumos.modeling import Model, List, create_dataframe
from tensorflow.python.keras.models import load_model
# This version tells me : unable to open file: name = 'data/keras/ticketsModel/model.hdf5'
#def classify_ticket(inText: str) -> str:
# current_model = load_model('data/keras/ticketsModel/model.hdf5')
# return current_model.predict(inText)
# This version tells me : NotImplementedError: numpy() is only available when eager execution is enabled.
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
model = Model(classify=classify_ticket)
session = AcumosSession()
session.dump(model,'ticket_classification','acumos_out')
Any help is greatly appreciated !
python acumos
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
error message = 'No such file or directory'
- I think it's a pretty clear error message
– ForceBru
Mar 21 at 17:02
What does yourDockerfile
look like?
– C.Nivs
Mar 21 at 17:12
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46
add a comment |
I am trying to test a model that I onboarded to the Acumos platform (with python client). Running the image in docker fails with this error :
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/keras/ticketsModel/model.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
My code looks like that :
from acumos.session import AcumosSession
from acumos.modeling import Model, List, create_dataframe
from tensorflow.python.keras.models import load_model
# This version tells me : unable to open file: name = 'data/keras/ticketsModel/model.hdf5'
#def classify_ticket(inText: str) -> str:
# current_model = load_model('data/keras/ticketsModel/model.hdf5')
# return current_model.predict(inText)
# This version tells me : NotImplementedError: numpy() is only available when eager execution is enabled.
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
model = Model(classify=classify_ticket)
session = AcumosSession()
session.dump(model,'ticket_classification','acumos_out')
Any help is greatly appreciated !
python acumos
I am trying to test a model that I onboarded to the Acumos platform (with python client). Running the image in docker fails with this error :
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'data/keras/ticketsModel/model.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
My code looks like that :
from acumos.session import AcumosSession
from acumos.modeling import Model, List, create_dataframe
from tensorflow.python.keras.models import load_model
# This version tells me : unable to open file: name = 'data/keras/ticketsModel/model.hdf5'
#def classify_ticket(inText: str) -> str:
# current_model = load_model('data/keras/ticketsModel/model.hdf5')
# return current_model.predict(inText)
# This version tells me : NotImplementedError: numpy() is only available when eager execution is enabled.
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
model = Model(classify=classify_ticket)
session = AcumosSession()
session.dump(model,'ticket_classification','acumos_out')
Any help is greatly appreciated !
python acumos
python acumos
edited Mar 22 at 14:04
frédéric chantrel
asked Mar 21 at 16:59
frédéric chantrelfrédéric chantrel
32
32
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
error message = 'No such file or directory'
- I think it's a pretty clear error message
– ForceBru
Mar 21 at 17:02
What does yourDockerfile
look like?
– C.Nivs
Mar 21 at 17:12
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46
add a comment |
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
error message = 'No such file or directory'
- I think it's a pretty clear error message
– ForceBru
Mar 21 at 17:02
What does yourDockerfile
look like?
– C.Nivs
Mar 21 at 17:12
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
error message = 'No such file or directory'
- I think it's a pretty clear error message– ForceBru
Mar 21 at 17:02
error message = 'No such file or directory'
- I think it's a pretty clear error message– ForceBru
Mar 21 at 17:02
What does your
Dockerfile
look like?– C.Nivs
Mar 21 at 17:12
What does your
Dockerfile
look like?– C.Nivs
Mar 21 at 17:12
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46
add a comment |
2 Answers
2
active
oldest
votes
The acumos
library currently serializes models on behalf of users so that it can bundle objects in a portable manner while minimizing developer effort. An option to provide custom serialization logic may be added in the future however.
The solution to your problem should be to load your model above the function definition, e.g.:
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That meanscurrent_model
does not have apredict
method. Perhaps you should check thatcurrent_model
is the type you expect.
– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
|
show 2 more comments
Can you look inside the zip file generated when you dump the model and tell me all the files that are there and their sized?
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285605%2facumos-docker-container-unable-to-find-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The acumos
library currently serializes models on behalf of users so that it can bundle objects in a portable manner while minimizing developer effort. An option to provide custom serialization logic may be added in the future however.
The solution to your problem should be to load your model above the function definition, e.g.:
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That meanscurrent_model
does not have apredict
method. Perhaps you should check thatcurrent_model
is the type you expect.
– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
|
show 2 more comments
The acumos
library currently serializes models on behalf of users so that it can bundle objects in a portable manner while minimizing developer effort. An option to provide custom serialization logic may be added in the future however.
The solution to your problem should be to load your model above the function definition, e.g.:
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That meanscurrent_model
does not have apredict
method. Perhaps you should check thatcurrent_model
is the type you expect.
– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
|
show 2 more comments
The acumos
library currently serializes models on behalf of users so that it can bundle objects in a portable manner while minimizing developer effort. An option to provide custom serialization logic may be added in the future however.
The solution to your problem should be to load your model above the function definition, e.g.:
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
The acumos
library currently serializes models on behalf of users so that it can bundle objects in a portable manner while minimizing developer effort. An option to provide custom serialization logic may be added in the future however.
The solution to your problem should be to load your model above the function definition, e.g.:
current_model = load_model('data/keras/ticketsModel/model.hdf5')
def classify_ticket(inText: str) -> str:
return current_model.predict(inText)
edited Mar 21 at 19:50
answered Mar 21 at 18:14
trianta2trianta2
1,63212139
1,63212139
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That meanscurrent_model
does not have apredict
method. Perhaps you should check thatcurrent_model
is the type you expect.
– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
|
show 2 more comments
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That meanscurrent_model
does not have apredict
method. Perhaps you should check thatcurrent_model
is the type you expect.
– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
Before doing this the model was loaded above the function definition but I had an other error : AttributeError: 'Model' object has no attribute 'predict'.
– frédéric chantrel
Mar 21 at 20:18
That means
current_model
does not have a predict
method. Perhaps you should check that current_model
is the type you expect.– trianta2
Mar 21 at 20:25
That means
current_model
does not have a predict
method. Perhaps you should check that current_model
is the type you expect.– trianta2
Mar 21 at 20:25
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
When I replace the three last lines of the code in my first comment by this call test_prediction = classify_ticket("this is my test") everything works fine so the current_model have a predict method. The load_method comes from here from tensorflow.python.keras.models import load_model
– frédéric chantrel
Mar 21 at 20:49
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@frédéricchantrel Please update your original question with the latest code.
– chrisinmtown
Mar 22 at 13:07
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
@chrisinmtown I've updated my original question with the 2 errors in comment
– frédéric chantrel
Mar 22 at 13:37
|
show 2 more comments
Can you look inside the zip file generated when you dump the model and tell me all the files that are there and their sized?
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
add a comment |
Can you look inside the zip file generated when you dump the model and tell me all the files that are there and their sized?
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
add a comment |
Can you look inside the zip file generated when you dump the model and tell me all the files that are there and their sized?
Can you look inside the zip file generated when you dump the model and tell me all the files that are there and their sized?
answered Mar 22 at 15:29
Guy JacobsonGuy Jacobson
112
112
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
add a comment |
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
Sorry I have modified my code to make it run so my old version of the zip file isn't here anymore.
– frédéric chantrel
Mar 25 at 20:23
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285605%2facumos-docker-container-unable-to-find-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It appears that the Acumos python client library did not pick up your HDF5 file and include it in the bundle that was on-boarded. I've asked our expert to respond here.
– chrisinmtown
Mar 21 at 17:01
error message = 'No such file or directory'
- I think it's a pretty clear error message– ForceBru
Mar 21 at 17:02
What does your
Dockerfile
look like?– C.Nivs
Mar 21 at 17:12
Thanks for your help ; what do you mean by "what does you Dockerfile look like" ? The docker image starts correctly by saying [2019-03-21 16:20:26 +0000] [1] [INFO] Starting gunicorn 19.9.0 [2019-03-21 16:20:26 +0000] [1] [INFO] Listening at: 0.0.0.0:3330 (1) [2019-03-21 16:20:26 +0000] [1] [INFO] Using worker: sync [2019-03-21 16:20:26 +0000] [15] [INFO] Booting worker with pid: 15 [2019-03-21 16:20:26 +0000] [16] [INFO] Booting worker with pid: 16 Adding route /classify [input:['inText'], output:['value']] Adding route /classify [input:['inText'], output:['value']]
– frédéric chantrel
Mar 21 at 17:27
@C.Nivs is asking how the docker image was built. Those instructions are often in a file named "Dockerfile". But that is not relevant in Acumos, where the docker image is constructed by a service automatically.
– chrisinmtown
Mar 21 at 19:46