Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
124 views

I'm getting a Model is not available error message with z3 using symbolic execution model. The initial code has v1 and v2 added and it works but once I substitute v1 and v2 values, I get a model is ...
A S's user avatar
  • 122
2 votes
1 answer
39 views

I have table which has string such as id | url 1 | /myapi/1241/ 2 | /myapi/ 3 | /myapi/1423/ 4 | /myapi/ Now I want to filter them like this below myModel.Objects.filter(url="/myapi/****/&...
whitebear's user avatar
  • 12.6k
1 vote
1 answer
202 views

Motivation I would like to simulate a machine using the impressive python-statemachine package. It is the first time I've read about the concept of State Machine, so I've been spending about one day ...
HenryShines's user avatar
0 votes
1 answer
21 views

I was wondering is there any way to order collection of objects in ObjectReef? Usually, in other programming languages, there is something like standard library to perform sorting on sets. ObjectReef ...
aniawalentyna's user avatar
1 vote
0 answers
76 views

I made a model that extract vector layers and export the attributes into a spreadsheet. It's completely functional. But when I add a conditional branch algorithm to choose if I want to use or not an ...
Vincent LINLAUD's user avatar
0 votes
0 answers
620 views

I have a Model not found: meeting.management for this particular code snippet below and I do not understand why. I am using Odoo 18. So the error comes up after the application/module has already been ...
moneniko's user avatar
0 votes
1 answer
112 views

All, From the Models Menu, I picked a model (Loan Approval Data) from the various versions and was able to set it up for "Real-Time Inference". I also did the same for 1994 Census Data. I ...
Gopinath Rajee's user avatar
0 votes
1 answer
43 views

I'm working on an OPL model for a two-floor evacuation simulation. The model is supposed to calculate the flow of people evacuating from various nodes to the exits while considering constraints like ...
abolfazl AKHONDZADE's user avatar
0 votes
1 answer
39 views

My question might feel stupid but I got this model : export interface Role { id: number; rolename: string; permissions: string; createdAt: string; updatedAt: string; } export interface ...
ThePaulohubert's user avatar
1 vote
0 answers
21 views

I have this code in admin.py @admin.register(BaseFundElement) class BaseFundElementAdmin(admin.ModelAdmin): list_display = ['registration_date', 'inventory_number', 'author', 'title', 'year', '...
Ivan Dauhalaptseu's user avatar
1 vote
1 answer
68 views

I have a model with QR codes that has a field called type. This field can have two values: 1 (Plate) or 2 (Sticker). I could simply create an enumeration of these types as an array in the model and ...
Vladimir's user avatar
0 votes
0 answers
46 views

class Cyclist extends User { protected $table = 'users'; protected static function boot() { parent::boot(); static::addGlobalScope('cyclist', function (Builder $builder) { $builder-&...
gerl's user avatar
  • 1,191
0 votes
0 answers
35 views

I am working with a spatial autoregressive model in R. I would like to create a partial dependency plot of the effect of predictor variables on the outcome (holding everything else constant). With ...
Mark Kreider's user avatar
0 votes
0 answers
36 views

I am encountering an error when trying to load a Keras model with custom objects. The error message is: AttributeError: 'function' object has no attribute 'get_shape' This occurs in the following ...
kwcool's user avatar
  • 1
1 vote
1 answer
399 views

I have an API endpoint in FastAPI wherein I'm not using Models to access request body. I'm instead using the built-in type Body with a description. @vault_router('/secret') def get_secret( token: ...
Ritik Saxena's user avatar
1 vote
0 answers
152 views

Local environment tensorflow version also 2.17 but when try to load this model locally it returns below error. --------------------------------------------------------------------------- ValueError ...
Kalpani Athukorala's user avatar
-2 votes
1 answer
30 views

the user has many tasks, id add a foreign key in tasks table refer to user , if i want to delete user i want to delete all the tasks for this user , i do this in controller task::where('user_id',$...
mhmd k987 karkoutli's user avatar
0 votes
1 answer
44 views

i have been writing code for simulating the new CSDDD policy from EU for my research paper. But the code doesn't run properly and there's always some error. i solved some of them but then there's a ...
Rahul Arora's user avatar
1 vote
0 answers
29 views

I’m uncertain about how to set the seed for training the model. When I use different seeds, the results vary. Is there a gold standard for choosing a seed, or should I try multiple seeds and select ...
Peter's user avatar
  • 11
0 votes
1 answer
43 views

In the following code, as you can see I am trying to update inspection_due_date when updated_at created or updated. But in the database, inspection_due_date is not getting updated. how can I sort this ...
hossain45's user avatar
  • 421
3 votes
1 answer
51 views

I'm finetuning the Mt5 model on the Arabic part of the Xl-sum data set For ten epochs and the resulted manipulation model was stored in hugging face library, there were good results on the training ...
Noor's user avatar
  • 31
-2 votes
1 answer
72 views

Question: I am working on a linear programming problem using pulp in Python to model power generation constraints for multiple generators. I need to ensure the solution meets the following criteria: ...
Isha Garg's user avatar
0 votes
0 answers
57 views

I have a join table that handles the logic of who owns what: (Not final just my work in progress) create_table :exercise_drills do |t| t.references :exercise, foreign_key: true, null: false t....
Chrismisballs's user avatar
0 votes
0 answers
54 views

I'm making a fitness log MEN CRUD app and am trying to push data to a MongoDB subdocument using an HTML form. When adding (creating) a new workout, the user is presented with two options between 'run' ...
flo's user avatar
  • 1
0 votes
1 answer
2k views

I just started with local AI models, my question is if I download a model and ask for a task and correct it, does the model remember the correction for the next time, I meant, is it growing in ...
jos3m's user avatar
  • 135