Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
input-file
- Page 1
Comparing Fine-tuned and Default GPT-3.5 Turbo for Text Classification
Programming
Computer Science
3 Days Ago
by usmanmalik57
…wrote a simple function that converts the
input
Pandas Dataframe to the required JSON format…be careful while specifying this value. ``` # JSON
file
path json_file_path = '/home/mani/Datasets/airline_sentiments.json'…api_key = api_key) training_file = client.files.create(
file
=open(json_file_path, "rb"), purpose="fine…
Re: Read file properties of video files in C++
Programming
Software Development
2 Months Ago
by toneewa
… < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open
input
file
\n"); return -1; } // find stream information. ret…default) Metadata: handler_name : Core Media Audio Output 2:
Input
#0, matroska,webm, from 'ofc.mkv': Metadata: …
Re: GCC Fails to Recognize Parameters
Programming
2 Months Ago
by toneewa
…* fmt_ctx = NULL; int ret; // read the header of
input
stream. ret = avformat_open_input(&fmt_ctx, "snow.mp4",…(ret < 0) { av_log(NULL, AV_LOG_ERROR, "Cannot open
input
file
\n"); return -1; } // find stream information. ret =…
How Build Html form ?
Programming
Web Development
2 Months Ago
by Kirubel_2
…</span> <
input
type="
file
" name="image"… 1.275) shadow-mercury ; } .payment .
input
-box
input
{ border: 1px solid transparent; background: #fff9.…-bottom: 2px solid #fff; } .payment .
input
-box
input
::placeholder{ font-family: 'Lucida Sans', 'Lucida …
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
2 Months Ago
by usmanmalik57
…-service-account) and download the JSON credentials
file
for the project. Next, you need to…its value to the path of the JSON
file
you just downloaded. ``` os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = … of the `GenerativeModel` class and pass the
input
query to the `model.generate_content()` method. In…
Summarizing YouTube Video Transcriptions Using Distil Whisper and LLM
Programming
Computer Science
1 Month Ago
by usmanmalik57
… library. The following script downloads the model and its
input
/output processor. ``` device = "cuda:0"…we will define a pipeline that takes the audio
file
as
input
, preprocess and tokenizes it into segments, and generates…will define the `generate_response()` method, which takes the
input
text, the number of response tokens, and the …
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by mx_983
…# InnoDB Configuration default_storage_engine=InnoDB innodb_autoinc_lock_mode=2 binlog_format=ROW The log
input
situation is as follows: 240403 05:05:09 mysqld_safe Starting…mysqld_safe WSREP: Running position recovery with --disable-log-error --pid-
file
='/var/lib/mysql/data-server-recover.pid' 240403 05:05…
Re: how to create a simple elevator simulation?
Programming
Software Development
1 Month Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
Re: How Build Html form ?
Programming
Web Development
1 Month Ago
by Dani
I'm not exactly understanding your question. I see you have an HTML form here in this HTML code. What is not working about it? You need to specify the action="#" to be a URL that will process the form.
Re: Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month Ago
by Harini sri
Hi, Thank you so much for the above code. Its giving better results compared to other libraries. I have few questions. In some tables, I have common column name for three columns and further I have sub columns like below.... in these cases the tables are not getting extracted properly...Do you have any suggestions for handling such cases? Also …
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
From https://stackoverflow.com/questions/78269177/mariadb10-11-6-galera-single-failed-node-startup-stuck-failure where they call it out as a bug waiting for a fix.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
The problem is still unresolved. Until the bug is fixed. Be sure to tell all that you don't accept this as a bug and want a fix now.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
I wonder if the last other stable releases show this issue? "Stable release: 11.3.2 / 16 February 2024; 46 days ago" or the most recent release of MariaDB 10.11: MariaDB 10.11.7 Stable (GA) That is, many fixes don't get released for out of date versions. The new version is how many fixes are issued.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by toneewa
I wonder how these IP addresses are issued. Static, dynamic, or is DHCP on? It reminds me of the time a network printer that stopped working, after the power went out. Other devices connected to the network after it's setup. Then, after rebooting, it got a different IP, but the host still thought it was on the old one. I've seen the same thing when…
input file
Programming
Software Development
16 Years Ago
by gee1288
…guys i need some help with this
input
file
program im getting
input
file
invalid all the time i have no…int counter=0; cout<<"Please enter
input
file
name: "; cin>>inputFileName; cout&…;); if (in_stream.fail()) { cout << "
Input
file
opening failed.\n"; exit(1); } ofstream out_stream("…
Input file parsing
Programming
Software Development
11 Years Ago
by TheWolverine
…these parameters. Within the application, I read in the
input
file
, strip and trim all unncessary stuff, like comment lines,… I can search through to match parameters from the
input
file
, and then set the values given in the struct…in the direction of any literature online that tackles
input
file
parsing of parameter/value pairs. Thanks in advance …
Input File Issue! Help!
Programming
Software Development
12 Years Ago
by pattilupwned
…. In the program, I have to use an
input
file
that includes the name of a college, where the…, it gives a different name off the
input
file
until it reaches the very last name on the…ie "Youngstown State University" based on the
input
data
file
provided below: [code] AntiochCollege YellowSprings 330 27800 ArtAcademyofCincinnati…
input file stream problem
Programming
Software Development
15 Years Ago
by chunalt787
…Search Tree and the data has to be
input
from a .txt
file
where in the data is held as …(fileName.c_str()); if (istream.is_open()) { cout << "
File
was successfully opened" << endl; } else { cout …pt); return 0; }[/CODE] I have also zipped the
input
file
and the 4 code files in case anyone is interested…
Input file/array help
Programming
Software Development
14 Years Ago
by ELBUF
…readPlayers will read the number of players from the
input
file
and assign that through the num_playersp pointer. Then allocate… pointer. Finally read in the heights from the
file
into the array allocated. I am having trouble … too skilled with dynamically allocated arrays and reading in
input
files. Does anyone have any suggestions? Comments? Help…
from input file to array
Programming
Software Development
16 Years Ago
by andyg55
input
file
: 1 0 0 2 1 0 0 2 1 I …"); if (!inFile) { printf ("Unable to open
input
file
"); exit(1); } for (i=0; i < 3; i++){ …
Input file and calculations
Programming
Software Development
13 Years Ago
by ronthedon
I have a program where I have to put an
input
file
in. Can someone tell me which direction to go in to where i can have my program calculate the data from the
input
file
?
Input File to Output File
Programming
Software Development
15 Years Ago
by ejiroy
… names that are in my .txt
file
into an output
file
that the user specifies. My program…cout << "Enter the name of the
input
file
:"; string inputname; getline(cin, inputname); ifstream fin; …(); cout << "Enter name of output
file
:"; string outputname; getline(cin, outputname); ofstream fout(outputname…
Re: Input File to Output File
Programming
Software Development
15 Years Ago
by siddhant3s
…=cpp]cout << "Enter the name of the
input
file
:"; string inputname; getline(cin, inputname); ifstream fin; fin.open…
Re: input file
Programming
Software Development
16 Years Ago
by Ancient Dragon
…. You previously asked for the
input
filename but hardcoded it at line 32. Also check the
file
system to see that its… specify the full path on line 32. Finally, if the
file
name contains spaces, such as [b]Program Files[/b] then…
Re: Input file stream -- endless loop
Programming
Software Development
14 Years Ago
by PolarPear
… your help. From the computer science books I have, the
input
file
part of my code should be exactly right. I have… see if that would work, and it works fine. My
input
file
on the other hand, even if I write the name… of the
file
into my code instead of having it be user entered…
Re: Input file to project
Programming
Software Development
14 Years Ago
by Fbody
[QUOTE=sfurlow;1038231] <...snip...> How do I go about doing this? I created a text
file
with the example information in it, but how do I import this into the project?[/QUOTE] Use an
input
file
stream ([icode]ifstream myFile(MASTER_FILE_NAME);[/icode]) to read the information into your program and process it accordingly.
student data from input file
Programming
Software Development
11 Years Ago
by jameswj83
…sample run below). Read the student data from the
input
file
and store it using an array of appropriate type…list dynamically, since the size is stored in the
input
file
. (Note that this also means each list item … included in this summary report.
File
formats
Input
File
-- The first line of the
input
file
will contain the number of students…
Lines are being skipped in the input file.
Programming
Software Development
19 Years Ago
by echelon
…you know what is wrong. Here is the
input
file
info [CODE] Field Positions Type Decimals Fullname… 'Specify the positions and lengths of data in the
input
file
. CONST FullNamePos = 1 CONST FullNameLen = 20 CONST … END SUB [/CODE] I will attach the
input
file
given to me by the instructor. The filename…
Re: New to C++, problems with input file
Programming
Software Development
15 Years Ago
by VernonDozier
… I have a function that opens an
input
file
. It asks you to
input
a
file
and if it can’t open the… { cout << "Please type the name of your
input
file
: "; cin >> FileName; cout << endl;… if(!inFile) { cout << "Can't open
input
file
" << endl << "Would you …
Re: New to C++, problems with input file
Programming
Software Development
15 Years Ago
by VernonDozier
…{ cout << "Please type the name of your
input
file
: "; cin >> FileName; cout << …(!inFile) { cout << "Can't open
input
file
" << endl << "Would you…{ cout << "Please type the name of your
input
file
: "; cin >> FileName; cout << …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC