Default Avatar

daria

daria

About

Username
daria
Joined
Visits
267
Last Active
Roles
Member

Comments

  • Greetings! I have found the issue - it was on my side. In the OmegaML docs I found these lines: def fit(self, modelname, Xname, Yname, **kwargs): ... As we can see fit takes 4 parameters (incl self). But inside my backend I have: def fit(self…
  • I am using: python 3.6-slim-buster omegaml==0.13.7 celery==4.2.1 For python: https://hub.docker.com/layers/python/library/python/3.6-slim-buster/images/sha256-d3733847147ae1fb37d0844a0d0c273c6839b5d56f88a5eb2744d559299657e9?context=explore
  • Thanks for the response! Yes, I have to rebuild all the containers and delete all images and volumes. After that - everything works fine! Thanks! Best regards, Daria
  • Hi! I have done some steps and got an error. Namely: I have updated the OmegaML version to the last one: 0.13.7 Installed: minibatch==0.4.0 Inside my Django application in the file where I call om.runtime.fit(), I added these lines: # setup source =…
  • Hello! Thank you for the reply! Actually, I do no need to track the requests to MongoDB. Currently, I need just to write pytests to test endpoints inside our project. Imagine that we have an endpoint where the User can upload a dataset. Inside this …
  • Hello! I also want to ask - How can I get a callback for task-succeeded using the approach mentioned by you above? I mean - only for this event. Thank you in advance! Best Regards, Daria
  • Greetings! Thank you for the response! We are currently using the Omegaml 0.13.5. Are there any options to handle events and get info from omegaml tasks performed using this version? Best regards, Daria
  • Thank you for the response! It is a great suggestion. Will implement it! Best regards, Daria
  • HI! I just do not use a CELERY_RESULT_BACKEND for our local Celery app and run tasks without specifying the MongoDB. Just use RabbitMQ as a broker. Everything works fine now!
  • Hi! I have already solved the first issue - track the result of the task - by getting the id of fit, as a parent task, and generate as a child task. But still, there is a need to get callbacks from Celery that the task was done successfully. Seems…
  • Greetings! There are some additional questions concerning the fit-generate as an async task. The method you mention above is working perfectly - thank you for your advice! I want additionally to track and save the state of fitting/generating. Wha…
  • Greetings! While trying to use: with om.runtime.chain() as crt: ... I get this error: 'OmegaRuntime' object has no attribute 'chain'
  • Thank you for the answer!
  • Many thanks for such a detailed answer! Just want to clarify: if I want to store a custom model data like: "model_name": model_store_name, "model_type_name": model_type_name, "model_fitted_dataset": model_fitted_data…
  • Thanks! It works! Will  store the task status in the model metadata. P.S. In case anyone will use the code - there were some misspellings: ... # the 'r' was missed meta.attributes['tasks'].update({'expected-dataset-name': task.id}) ... ... # not…
  • Thank you for the response!
  • Greetings! I fixed the issue. It was related to the insufficient configs in the docker-compose file. I changed them, rebuild everything and it works.
  • Have found some info in the documentation. According to this chapter I was managing to run fit locally. After calling: $ om shell I was wondering if I can do something with fit. So I called: In [1]: from sklearn.linear_model import LinearRegression …
  • Made a getinfo.txt file. Maybe it could help. https://community.omegaml.io/forum/uploads/901/T05VUDPSA0L7.txt
  • Thank you for the response!
  • https://community.omegaml.io/forum/discussion/comment/12#Comment_12 Yes, see below: Traceback (most recent call last): |  File "serve_backend.py", line 16, in <module> |   from models.synthetiser import Synthetiser |  File "…
  • Thank you for the response! Could you, please, also explain the use of: pythonlib:/app/pylib? As I understand, we create a named volume pythonlib and every our container uses it under e.g. pythonlib:/app/pylib. But this volume is empty, unless we i…