All Questions
Tagged with open-source python
140 questions
1
vote
0
answers
75
views
How to plot stacked bar chat in the latest version of SHAP
I am trying to reproduce the following example with the latest version 0.46.0 of SHAP open source. However, it seems to be weird that the result is not a bar chat as in the example.
My attempt: Then, ...
0
votes
0
answers
30
views
ERROR: Model Failed File Verification in OpenUBA
I have attempted to run the OpenUBA backend Python code, but each time I try to start the server i.e. by running the make command in the Linux terminal, I encounter the following error.
2024-09-25 02:...
1
vote
0
answers
881
views
Use ruff linter to issue warning for rule without failure
I want to assign certain ruff rulesets as suggestion/warning rather than hard failures.
Context
I am currently defining the ruff linter on a public open-source project.
In addition to the normal ...
0
votes
0
answers
34
views
How to make tesseract (pytesseract) recognise '±'?
Plus or minus character
I'm trying to detect text (mostly numbers) from an image (technical diagram). Do I need to train (if yes, how) tesstrain? jtessboxeditor?
On doing the OCR from a set of ...
1
vote
1
answer
398
views
Python interface for openEMS software not installing
I am trying to install an open source Maxwell's equations solver known as OpenEMS. To run that software the python interface for two things within it are required to be manually installed through ...
0
votes
1
answer
131
views
What is the easiest way to create a toy image dataset on GCP Vertex AI?
Toy datasets are useful to share reproducible issues. I would like to easily create image datasets on Vertex AI from open-source data.
For example, Keras provides some public data sets (boston_housing,...
0
votes
1
answer
608
views
Create PyPi package from Project
I have made an Open Source AI Coding Assistant in python: https://github.com/00-Python/AI-Debug
I am new to making PyPi Packages to be able to install my project with pip.
Im not sure where to start, ...
0
votes
1
answer
64
views
Testcase and Build is failing with Xgboost-2.0.0
While contributing to The Algorithms/Python, a GitHub repo for algorithms, I came across an error (https://github.com/TheAlgorithms/Python/actions/runs/6256698587/job/16987932045?pr=9074)
Which is ...
0
votes
1
answer
912
views
What is the best approach to creating a question generation model using GPT and Bert architectures?
I want to make a question generation model from questions as well as context. Should I make use of GPT based models or Bert Based architectures.
GPT is able to perform the tasks but sometimes returns ...
0
votes
2
answers
2k
views
Running Databricks Dolly locally on my Mac M1
I am trying to deploy and run Databricks Dolly, which a latest released opensource LLM model as an alternate option to gpt
Doc - https://learn.microsoft.com/en-us/azure/architecture/aws-professional/...
0
votes
1
answer
514
views
Why `functools.cached_property` can work as a decorator without `__new__` or `__call__`?
In my undertstanding, decorator class should contain __call__ or __new__ method. But cached_property in cpython repo doesn't follow the rules. Can anyone explain it for me?
class cached_property:
...
1
vote
0
answers
106
views
MacOS Big Sur: Python Quit Unexpectedly
I just upgraded from Mojave to Big Sur 11.7.1 and I'm trying to run an open source program through Python 2.7. I had no problem running the file with Python prior to updating, but now I'm unable to ...
2
votes
1
answer
1k
views
How to install db-core or any adapter in Windows 10 with Python (pip)
For the last couple of days I've struggled to install Dbt in my Windows 10 box. It seems the best way is to emulate Linux, with WSL.
So, in order to help others to save their time and a few neurons, I ...
0
votes
1
answer
1k
views
How to change the page title for odoo 15?
I was using this code below to change the title but not working for odoo 15.
openerp.your_module_name = function(instance) {
instance.web.WebClient.include({
init: function(parent, client_options) ...
0
votes
1
answer
43
views
Can I change input in external app using python?
I want python code to input particular sentence to a separated open source app. Here's more information: I have Anki installed on my PC (open-source flashcard program) and I want to write a code that ...