21,343 questions
-2
votes
1
answer
79
views
Converting from Java model to JPA
I have implemented a class User that represents a User (so far either a Student or a Teacher). What they have in common is that they both have IDs, and some information about the user (this is stored ...
-3
votes
0
answers
28
views
Storing groundwater model geospatial data for speed and API usage [closed]
What are the best options for storing geospatial data, optimized for speed and small filesize? This is for polygon and point data output from groundwater models, especially MODFLOW and FEFLOW models. ...
0
votes
0
answers
88
views
tokenizer error: RuntimeError: The size of tensor a (4) must match the size of tensor b (8) at non-singleton dimension 0
When fine tuning a model, using the HuggingFace inference hub, the error below was encountered:
The tokenizer has new PAD/BOS/EOS tokens that differ from the model config and generation config. The ...
0
votes
2
answers
31
views
How do I solve the lack of excel sheets creation in GAMS?
I use GAMS with gtree to get an output file of my model, however, one excel sheet is created while the other is not created.
This is my output code;
$libinclude xldump Water_balance_summary Output\...
0
votes
0
answers
51
views
Codeigniter 3... Undefined Property $Ngetest
Models: Ngetest.phpp
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Ngetest extends CI_Model
{
public function showEcho()
{
return "naisu";
...
0
votes
1
answer
36
views
Results of Questionnaire to be downloaded as a spreadsheet
So i have this Model namely Questionnaire in models.py file of a Django project
class Questionnaire(models.Model):
title = models.CharField(max_length=200)
description = models.TextField(blank=...
0
votes
0
answers
54
views
How to train tensorFlow AI model for Android in .task format
I am trying to retrain MediaPipe Gusture Recognition model with new dataset. But I am not able to install MediaPipe Model Maker and tflite-support libraries in any of work environments like colab, my ...
0
votes
0
answers
18
views
Validation Accuracy stuck between 0.5-0.6
I am currently working on a custom VGG model for Breast Cancer Classification using mammography images. It has excellent accuracy for training images but the validation accuracy is stuck at 0.5-0.6. ...
1
vote
1
answer
164
views
FitzHugh–Nagumo model output not resembling what is shown on Wikipedia
First off, I just want to mention that I am a biology researcher not trained in differential equations or dynamical systems. I am doing this as an exercise to get a bit of intuitive understanding of ...
0
votes
1
answer
240
views
Tensorflow deployment, could not locate function 'mse'
My Model
model = Sequential()
model.add(Bidirectional(LSTM(128, return_sequences=True), input_shape=(X.shape[1], X.shape[2])))
model.add(Dropout(0.2))
model.add(Bidirectional(LSTM(50)))
model.add(...
0
votes
0
answers
86
views
Trouble in repeated measurments: lme model fails with "NA/NaN/Inf" error
I'm trying to fit a linear mixed-effects model with lme() from the nlme package to analyze repeated measures. The model runs fine on the full dataset, but after filtering by sex, I get the following ...
0
votes
4
answers
234
views
Return DTO or Model? I have learned to return the DTO but in we return the model in the project I am currently working on
I'm a junior developer and started my first job as a developer and have a question regarding DTO and Model.
Consider this code snippet
@Override
public ResponseEntity<List<...
1
vote
1
answer
101
views
How to pass context to a report in odoo 15
i have this problem.
I want to set the lang to a report through the context like this:
from odoo import api, fields, models
class IncLoadUnloadMovement(models.TransientModel):
_name = 'inc.load....
0
votes
1
answer
53
views
GNN Link Prediction (GraphSAGE/PyG) - Validation AUC Consistently Below 0.5 Despite Overfitting Control
I'm working on a task dependency prediction problem using Graph Neural Networks with PyTorch Geometric. The goal is to predict directed precedence links (A -> B) between tasks within specific sets (...
0
votes
1
answer
125
views
Error: Operation returned an invalid status 'Bad Request' on client.complete
I am using below code to get data from "Mistral-Nemo" model hosted as SaaS in Azure AI Foundry. It gives me below error:
Error: Operation returned an invalid status 'Bad Request'
Traceback (...
0
votes
0
answers
46
views
Tensorflow - Trained model always wrong, on image it trained on
I'm currently learning Tensorflow.
And the best way to do so is to get hands dirty right.
As an exercise Im training a model with some pokemon data found on kaggle.
After the model has been created ...
6
votes
3
answers
5k
views
How to fix the transformer installation issue?
I am trying to train a T5 model based on spellcheck by providing it with a sample csv file in google colab. Initially I ran the code with my personal device (python locally installed) and it executed ...
1
vote
1
answer
99
views
GLB Model not displaying on Three JS webpage
The scene, the mesh is all showing up on the website. I've moved the glb literally next to the main.ts file so there's no directory issues. But nothing shows up.
The filename is coffeeshop.glb. This ...
0
votes
0
answers
154
views
vLLM - Kaggle 2 T4 GPU - How to deploy models on different gpus?
'm trying to deploy two Hugging Face LLM models using the vLLM library, but due to VRAM limitations, I want to assign each model to a different GPU on Kaggle. However, no matter what I try, vLLM keeps ...
0
votes
0
answers
37
views
Python sklearn Gaussian mixture model does not fit a bimodal distribution very well
I have read around a bit and never asked a question on stackoverflow before.
It seems there is a solution to my problem, but I don't understand the way it is written and computed.
Fit mixture of two ...
0
votes
1
answer
73
views
How to create pydantic model with different names of filed?
I have pydantic model of table and another one for create like:
class Users(SQLModel, table=True):
id: UUID = Field(default_factory=uuid4, primary_key=True)
user: str = Field(index=True)
...
0
votes
0
answers
11
views
Set_weights for the FedBN algorithm
Attack classification with FedBN algorithm, but normalization is causing difference in weight set.
ValueError: You called `set_weights(weights)` on layer "model_1" with a weight list of ...
2
votes
5
answers
89
views
Accidentally set a wrong default value in Django model
So, I added a new TimeField to my Django model. When I did python3 manage.py make migrations, it asked me to choose two options: set a default value now or add one another way. I chose to set one now....
0
votes
0
answers
70
views
Rocketpy - How can I give my rocket Flight its starting state vector (x,y,z coordinates and velocities)?
I'm trying to simulate a 2-stage rocket, and in RocketPy there is not a built-in method to do this yet.
To simplify this issue: I am trying to start a second simulation at the ending point of the ...
0
votes
0
answers
31
views
Win 10 Excel Object Model job fails in Job Scheduler
Windows 10 and Excel 365 patched up to date. Using powershell to run an Excel Object Model session, I open a workbook which contains a query which fetches data from a database to update cells in a ...