21,343 questions
0
votes
1
answer
53
views
Trying to figure out how to join/link 3 different spring boot entities
I'm not even quite sure how to quickly word my question for a title, but what I'm attempting to do is: I have a tank entity that contains a list of RefLines. There is also a list of tests which each ...
0
votes
1
answer
77
views
How do you usually perform hyperparameter tuning on a large dataset?
I'm working on training a model that predicts which way in cache to evict based on cache features, access information, etc, etc...
However, I have millions and millions of data samples. Thus, I cannot ...
0
votes
0
answers
63
views
Key Error when trying to remove slug from my models
I am getting this error when I run migrations:
*old_field = model_state.fields.pop(name) KeyError: 'slug'*
I have no reference to a slug apart from in my migrations where I had added it then tried to ...
0
votes
1
answer
1k
views
Checkpoints ValueError with downloading HuggingFace models
I am having trouble downloading deepseek_vl_v2 into my computer.
Here is the error in my terminal
ValueError: The checkpoint you are trying to load has model type
deepseek_vl_v2 but Transformers does ...
0
votes
0
answers
16
views
Clarifying Access Control and Specialization in Conceptual Modeling for Client and Registered Client Entities"
enter image description here
My question is: when we have a specialization like in my case "registered_client", will only this person have access to the order, plan, and payment ...
0
votes
1
answer
139
views
Odoo still remember deleted fields in the model
I created a field in the model and its view, tested it and it worked. Then later deleted it, including in the database. When I created another field and restarted the system, it's generating an error ...
0
votes
0
answers
19
views
Get notified when translation job finished on ACC item
I am familiar with setting up an APS Webhook listening to the extraction.finished event when a new model gets uploaded to an OSS bucket in a registered APS app. Once a model translation job has ...
1
vote
0
answers
263
views
Error with model deployment: azureml-inference-server-http is missing during Azure ML deployment
I am currently working on deploying a movie recommendation model using Azure ML, but I have encountered an error during the deployment process. I keep receiving the following error message
A required ...
1
vote
0
answers
62
views
Laravel: Model relationships lazy loading not working properly in boot() method - loads all records instead of respecting constraints
I'm encountering an unusual behavior with Laravel's lazy loading of relationships in the boot() method.
Problem Description:
When trying to access model relationships using lazy loading ($user->...
0
votes
0
answers
41
views
Modeling many to many invariants in DDD
I'm currently learning DDD and am having trouble modeling invariants in a many to many relationship
Lets suppose I am attempting to model a school scheduling program, and I have the following ...
0
votes
0
answers
37
views
Error in delete(model: CrossZansu.self) in SwiftData [duplicate]
When try modelContext.delete(model: CrossZansu.self) is executed
Error Domain=NSCocoaErrorDomain Code=134050 “Constraint trigger violation: Batch delete failed due to mandatory OTO nullify inverse on ...
0
votes
1
answer
45
views
How I can pass just an integer to my razor view without creating a model in razorpage
I have a Razor view (without backend .cs file) that has a model of type Int32. It's name is Index in folder Types:
@page
@model Int32
I want to pass an integer to above page by a link like:
<a ...
0
votes
0
answers
20
views
What are the steps I need to do to change a field from Selection to Many2one
This is related to my previous question, see here. The package_type field has 2 values that can be selected, but I need to dynamically change it based on the other fields.
package_type = fields....
1
vote
0
answers
40
views
label key "Fare" not being fetched in the evaluator component of a tfx pipeline
i am using the evaluator component after a trainer component in a tfx pipeline to predict fares from the chicago taxi trips data. in the evaluator component, after the predictions are made, the "...
0
votes
1
answer
416
views
ModuleNotFoundError: No module named 'json'
When I was running pip install spleeter,an error occurred.
I can import json model in other spirits normally, but there is a wrong happend here.
The detailed information is as follows:
Looking in ...
1
vote
1
answer
37
views
Django - dynamically update a count model field when related objects are added or removed
I've tried to research this myself but can't figure it out so I'm hoping someone may be able to offer me some direction.
I have the following 2 models:
class Group(models.Model):
short_name = ...
0
votes
0
answers
62
views
How to delete an object?
I am gonna use my codes for image processing and I created OOP programming codes. If self.set_variables.has_changed() trigger, I want to destroy all created objects such as self.set_variables, self....
0
votes
1
answer
23
views
what is subclass tf.keras.layers.Layer instead of using a Lambda in this code?
An example of replacing a lambda with a subclass in code is as follows:
scale = tf.Variable(1.)
scale_layer = tf.keras.layers.Lambda(lambda x: x * scale)
Because scale_layer does not directly track ...
1
vote
0
answers
29
views
COX regression model has a wide 95%CI, ph was not satisfied
enter image description hereI did a cox regression model. The data was classfied according to a variable. The three group was 7,143,7 according the ECOG score. The 95%CI was wide. In this dataset, is ...
1
vote
1
answer
30
views
Django model form widget not renderiing
Framework – Django. I am trying to create a contact form with input field attributes. I have a problem with the first field "name". The second to fourth fields come out perfectly in html.
...
-1
votes
1
answer
40
views
No implicit conversion Error while extracting nested parameter in Rails self method
I am trying to implement search functionality based on parameters by passing into rails model self method. While checking passed parameter conditionally on query I am getting no implicit conversion of ...
0
votes
1
answer
55
views
Django populate Model form dynamically with model - possible?
I am trying to use a model form independently of the model that is passed.
My goal is to have a list of database tables where the user can select the table which is then displayed. Then within this ...
0
votes
0
answers
26
views
How to get the input shape of TensorFlow layers?
Having a model instance as input, I would like to create a function that prints the input shape of the model layers. I am aware of model.layers() but this is not general enough for what I want. Layers ...
-1
votes
1
answer
118
views
Drawing a simple mediation diagram with coefficients in R [closed]
Please could someone advise how to draw a mediation diagram similar to the one attached? I have tried the Diagrammar + Graphviz but can’t get the values under stress (1.00), wellbeing (0.62) and above ...
0
votes
1
answer
101
views
How to design a flexible product data model in Django for varying product specifications?
I'm currently working on designing a product data model in Django to manage details for industrial machinery. The challenge is that some products share common specifications, while others have ...