Questions tagged [save]
To store (data) in a computer or on a storage device.
10,026
questions
0
votes
0
answers
27
views
How to create a document Excel with the 10 previous measurements before a certain date in Python
I am finding some troubles in doing a work: I have a dataset containing some measurements over time. I needed to extract the 10 previous values before a certain date, and the 10 following values after ...
0
votes
0
answers
17
views
Saving and loading kerascv yolo model (TypeError: '_DictWrapper' object is not callable)
I created an object detection model with keras_cv using this tutorial (https://keras.io/examples/vision/yolov8/).
I want to save my model and load it.
backbone = keras_cv.models.YOLOV8Backbone....
-1
votes
0
answers
26
views
save method in django not saving data,field changes
i have tried all i think i should but my django model is not updating. The save() method is not working even though there seem not to be an error. What am i doing wrong? or what did i miss?
...
0
votes
0
answers
14
views
android BitmapFactory.decodeFile(file_path) return null and I can't figure out why
I use the folowing code to take a picture and save it as a base64 string
public fun convertPictureResourceToBase64String(file_path: String?): String {
val picture_bitmap = BitmapFactory....
0
votes
0
answers
16
views
I am trying to setup pickle for the first time ever and keep getting errors, or the program does not save/load the variables
I keep getting the error (load() missing 1 required positional argument: 'player') when I try to load.
I have kinda given up on this project for a bit until I can fix this, so I finally got back to it ...
0
votes
0
answers
15
views
API Returning None In Google Collab
I'm writing a code for a project, and this is my first time delving into machine learning. The issue I'm having however, is just in the data collection to train the model. I'm not huge on Google ...
0
votes
0
answers
68
views
Aforge.net when i save image with camera device the image is not saving image in original location and cutting
I have a camera device in device there is button in camera to capture the image I have having a issue when I capture the image with camera device the camera location is not in original size and image ...
0
votes
1
answer
69
views
Setting filename using for loop identifier
I am trying to save the results of a for loop, where each loop selects a subset of a tibble and then fits this subset. I have 150 txt files, which I load into a dataframe using:
filelist = list.files(...
0
votes
1
answer
43
views
Loop saves png files wrongly?
Models <- list.files(path = "D:/Final_Projections_Global", full.names = TRUE, pattern = ".asc$")
Models <- lapply(Models, raster)
Models_G <- raster::stack(Models)
world ...
0
votes
0
answers
27
views
Two objects are created after registering with Django
After registration, two objects are entered in the database, one with only the user, the other with the user and first and last name.
This is because I save twice, but when saved once will fail
u = ...
0
votes
1
answer
60
views
plot line drawn across boundaries in svg file
I save an image as .svg file and the plot is outside of the canvas boundaries. It does not happen with png files. Below is the code. Does anyone know the reason for that? I can fix it of course by ...
0
votes
2
answers
62
views
C# Create Json file from two clases in one file in the same string
can you please help me. I need to create json from two different clases
Here what I have:
public class SmtpData
{
public string id { get; set; }
public string settingName { get; set; }
...
-1
votes
0
answers
5
views
I run a main.py to train a model,and I set a save_path='/data/models/',but it is not my code running place,how Can I save it
I run a main.py to train a model,and I set a save_path='/data/models/',but it is not my code running place,how Can I save it .
I try many ways ,this can saveenter image description here But why when i ...
0
votes
0
answers
26
views
Android studio save image to gallery
I am currently making an app which opens an image from galler, the user can blur the image and after that save the image, i just can t figure out how to save the image to gallery by pressing a save ...
0
votes
1
answer
27
views
Image.save giving AttributeError: 'NoneType' object has no attribute 'save'error
My code is giving me error while saving the image
the following is my code:
import sys
from PIL import Image, ImageOps
import os
import PIL
#suppurted formet
spfr = [".jpeg", ".jpg&...
0
votes
1
answer
178
views
Yolov8 results: AttributeError: 'list' object has no attribute 'path'- attributes not found
I am working in colab with a Yolov8 object detection model. The code runs through the image subfolders correctly and the model is outputting correct results in the terminal, however I am unable to get ...
-1
votes
0
answers
36
views
How not to lose data while saving html from browser
I am building wysiwyg system. In it you can add images, video , text, edit it and i'm trying to implement saving to the local hard drive, and when i try to save html file on my computer it saves only ...
0
votes
1
answer
27
views
Save in exisiting folder
I want this code to always save the pdf in the same location as the file.
If I do not manual resave this file before running the code, the pdf ends up in a different location.
Sub ...
0
votes
0
answers
54
views
VBA Filing emails to network archive based on folder name skipping some entries
Have some code that I've cobbled together from a bunch of answers here that mostly does what I want it to: takes email from a selected Outlook folder, finds the appropriate place to put it on my ...
0
votes
0
answers
14
views
FIles doesnt save after Electrons Build - Nodejs
Title:
Issue with Saving PDF Files in Electron App After Build
Body of the Question:
Hey everyone, hope you're doing well!
I'm working on an Electron app and everything was great while I was running ...
0
votes
0
answers
35
views
How to save complex classes in Unity C#
I have a class called Container. This class contains a 2D array with a not consistent size. The array contains a different class called Slot. That class also contains a few parameters:
public ...
0
votes
0
answers
30
views
Saving score/value in javascript not persistent
I have created a little javascript game and the top 10 scores should save. They do while you have the game loaded but if the browser is refreshed the scores are cleared. how can I make it persistent?
...
0
votes
0
answers
27
views
Error in displaying plots loaded from .RData file
I created some plots using ggcorrplot and saved them to a list in RStudio
When I try to view the plots using list$correplot it works
The next step is to save the list using the save function in R and ...
0
votes
0
answers
19
views
How can I save data in Android Apps?
fun loadData() {
val sharedPref = applicationContext.getSharedPreferences("MeineEinstellungen", Context.MODE_PRIVATE)
val gson = Gson()
val editor = sharedPref.edit()
...
0
votes
1
answer
19
views
How to save at multiple points? Saving the X, Y, what sprite (custom), and what text it was left off
I will try my best to explain my problem.
I'm trying to remake DDLC on Scratch and I have a hard time making a code that can save at anytime the user wants. Meaning, if I press S, then I save. I also ...
0
votes
0
answers
23
views
How can I save a pysimplegui chart as a pdf
I made a graph using Pysimplegui, but I want to print it out as a pdf. Does anyone know how to do this?
1
vote
1
answer
30
views
Change color in imager and save image
The documentation of imager shows how to specify your own colors in a plot (see here). This is super handy but I seem to be unable to save a modified plot. How can I achieve that?
library(imager); ...
0
votes
1
answer
31
views
Roblox Studio: Why isn't my values saving with datastore?
i am trying to make a game and the leaderboard data should save but isn't. here is the code in serverscriptservice:
local DataStoreService = game:GetService("DataStoreService")
local statsDS ...
0
votes
0
answers
44
views
Save Button in Button to XML
I have winforms application.
There is "programmatically" done button and is Added to Controls of winform, in this button is "programmatically" done next button, and this button is ...
0
votes
0
answers
18
views
how to modify the length of tab when we modify the files in bufferline.nvim
It's not a critical problem, but I'm asking it on Stack overflow because it's so annoying.
The problem is that we can look only half of the circle. The circle shows when the editor modifies the file ...
0
votes
0
answers
53
views
When I using np.savez() function, I got a Error:setting an array element with a sequence. Because I try to save the list like this:[[1,2,3],2.32]
When I try to use the functionnp.savez(), I get an error:
Traceback (most recent call last):
File "test.py", line 98, in <module>
res.save('results.npz')
File "C:\Users\...
1
vote
1
answer
61
views
React access <canvas/> ref of a child component
I'm trying to save canvas as PNG file on the press of a button.
This is my code for now: (this part is working)
const canvasRef01 = useRef(null);
const saveAsPng = () => {
const canvas = ...
0
votes
0
answers
13
views
SaveAs issue cannot access file
I am beside myself! I have this simple code and it keeps giving me the run time error ....cannot access file "C:(various characters)..... on save as. This is so simple I SHOULD be able to ...
0
votes
0
answers
19
views
Saving a wpf treeview to text file
Please can you help
Have created a WPF treeView
Have button which adds nodes
Now how do we save the treeview for later loading
Have achieved this in winforms treeview using binary serialization
Have ...
0
votes
0
answers
43
views
Saving/Loading files on Meta Quest 2 in UnityEngine
i am working on an app for Meta Quest 2. I have two apps basically. One called "ADMIN" and the other called "CLIENT". You can configure and save some data in the "ADMIN" ...
0
votes
0
answers
10
views
Android-java audioRecord Unable to write wav
Audio Recording is upp and actively recording audio signals, then succesfully save it to audio file to external storage of the device, however, when looking for the saved audio file, i cou'd not find ...
0
votes
0
answers
43
views
Does WriteAllLines delete the existing file and recreate it, or overwrite the data inside it?
I use the File.WriteAllLines() method in my project. The txt file is to be synced to a remote server (via another application, Autodesk Docs in my case) upon Save action.
I am not sure why, but using ...
-1
votes
1
answer
38
views
How do I save data in a textarea using preventDefault by using an event listener in jQuery?
pretty new here so apologies for all the questions. I'm making a scheduler that saves notes for different time brackets using jQuery and I'm at a snag where I'm unable to figure out how to have the ...
0
votes
1
answer
83
views
R: how to save multidimensional array to disk with arrow/parquet?
in R, I would like to save a multidimensional array (say 10 dimensions or more, each dimension with possibly different lengths) to disk in a cross-platform format. For this reason I'm excluding .rds ...
0
votes
1
answer
54
views
Cant save fig with plotnine
I have a plot that I am trying to save with plotnine.
w = 10
h = 5
p9.ggsave(heatmap,plotName, width=w, height= h, dpi=300, limitsize=False)
For some reason I keep getting the following error:
...
0
votes
1
answer
41
views
how to save and load tranformer models for further training and text generating? PyTorch
please tell me how to save and load tranformer models for furher training?
I came across this blog post - https://wingedsheep.com/building-a-language-model
Here is the code from it - https://github....
0
votes
0
answers
14
views
Is there a way to save only certain url using lynx, or at least skip externals usrls?
As title, I'm trying to save the links of a website, but I'd like to save only the links that points to a certain urls (and skip some pages and external urls). Is there a way to do it with lynx? ...
0
votes
0
answers
24
views
Tensorflow save weights InvalidArgumentError
Using the following minimal piece of code
import tensorflow as tf
model = tf.keras.models.Sequential([
tf.keras.layers.Flatten(input_shape=(28, 28)),
tf.keras.layers.Dense(128, activation='relu'),...
0
votes
0
answers
35
views
"It is not a known persistent type" when trying to save Spy object Grails 4.1.2
I cannot save to database object which is spying on other object. That makes testing more difficult.
Is there any workaround to this problem or do you know if it is intentioned? I am not sure if this ...
0
votes
0
answers
62
views
FilePicker does not save files in my windows application
I try to save an example file in my Flutter application for Windows based on the example provided by the pub.dev website, when I click on save the file it simply does not appear in the selected ...
0
votes
0
answers
12
views
how to get the savefile function to run when button is clicked instead of on start [duplicate]
every time I open the file, savefile runs on start instead of on the button click. and when it does work it doesn't write in the file.
I tried to use lambda and got the error Function(self) is not ...
0
votes
0
answers
11
views
Can't write image data to path in my coding
Intervention\Image\Exception\NotWritableException
Can't write image data to path (C:\xampp\htdocs\marini\laravel-ecommerce\storage\app/public/images/categories/vitamin.jpg)
public function store(...
0
votes
0
answers
20
views
libigl: How to save mesh along with uv map
My question is how to save a mesh along with uv map in libigl.
int main(int argc, char *argv[])
{
using namespace Eigen;
using namespace std;
// Load a mesh in OFF format
igl::readOFF(...
4
votes
0
answers
187
views
Customize state_dict() and load_state_dict() pytorch
I have a nested set of classes (each of type torch.nn.module). I need to do some preprocessing before saving the weights of one of the nested classes. Is it possible to override the state_dict() ...
0
votes
0
answers
22
views
Count click over image and save
I have a photo sharing program Webpage program "www.look-up-photos.com", (HTML and Javascript) and I would like to know the number of times an image is opened.
The program is based on an ...