Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
object
- Page 1
How do I swap out the mesh on a humanoid armature in Unity 3D?
Programming
Game Development
5 Days Ago
by Michael_80
… that there are several meshes on the (prefab/game
object
) that I unpacked and wanted to know how to … Man_Body Mesh) and are they layered individually onto the game
object
? I have attempted to add a mesh filter (Man_BodyMesh)… Man-BodyMesh from the Starter Asset Mesh…….basically my
object
upon play looked like the vertices were jumbled resulting …
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
3 Days Ago
by usmanmalik57
… you just imported. Subsequently, using the transformers pipeline, create an
object
of the langChain `HuggingFacePipeline` class. ``` pipe = pipeline("…=tokenizer, max_new_tokens=1000) hf = HuggingFacePipeline(pipeline=pipe) ``` The `HuggingFacePipeline`
object
works like any other LLM in langChain and allows you…
Re: Which programming language is best Ludo game development?
Programming
Game Development
6 Days Ago
by polles
i would choose JavaScript
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Hanginium65
…: {tarinfo.name}. Skip it") continue # Create a file-like
object
from the contents... file_like_object = io.BytesIO(file_contents) # Upload the returned… name of the file selected in the archive as your
object
name... contents=file_like_object, content_type='application/octet-stream' # Set the …
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… associated problems. The following script creates an
object
of the `ChatOpenAI` llm with the GPT… embeddings) ``` Subsequently, we create a `ChatPromptTemplate`
object
that accepts our input query and context information extracted … responses. Next, while invoking the `history_retriever_chain`
object
, we pass the user input and the chat…
Using Natural Language to Query SQL Databases with Python LangChain Module
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
…we define a `get_db_response` function that accepts the database
object
and the user query as input parameters. Inside the function… is straightforward. First, you must create a database
object
using the `SQLDatabase` class. Then, you must … write a query string and pass the database
object
and the query string to the `get_db_response()` function…
Create And Install Windows Service Step By Step In C#
Programming
Web Development
1 Week Ago
by Rabiya_1
…(); timeDelay.Elapsed += new System.Timers.ElapsedEventHandler(WorkProcess); } public void WorkProcess(
object
sender, System.Timers.ElapsedEventArgs e) { string process = "Timer Tick…
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Week Ago
by usmanmalik57
… The rest of the process is straightforward. We create an
object
of the `ChatOpenAI` LLM and define a `retriever` that will…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
3 Weeks Ago
by Salem
I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message?
Re: Trying to animate sprite using DirectX9
Programming
Software Development
4 Weeks Ago
by Pavel_11
Hello, it is unneccessarily to use right movex or leftmovex , because it is to much variables. You should to use one variable movex to make it with minus or plus sign in your update function; by pressing left or right keys; because the one thing which is changable is a picture; I mean in global sense; variables like leftx, right x should be one…
Re: Create And Install Windows Service Step By Step In C#
Programming
Web Development
1 Week Ago
by rproffitt
Since the answer would be many pages long, read https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer and consider the two other pages noted there.
Re: Which programming language is best Ludo game development?
Programming
Game Development
1 Week Ago
by kishanrg
When it comes to developing a Ludo game, the choice of programming language largely depends on your familiarity with the language and the platforms you intend to target. However, some commonly used languages for game development, including Ludo games, are C++, C#, Java, JavaScript, and Python. Ultimately, the "best" programming …
How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Hanginium65
…='application/gzip' ) # Confirm the presence of the
object
holding the Netbox database backup obj1 = 'object_netbox_2024-03…file_contents) # Upload the returned contents to the OpenStack
Object
Storage container swift_conn.put_object( container, 'object_netbox_media_2024-03-…
Add property to standard object
Programming
Web Development
1 Month Ago
by Dani
I, very hackily, create an
object
of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry?
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
…`vertexai.preview.generative_models` module. Each Part
object
contains the base64-encoded string and the … script sets the environment variable, creates the model
object
, and defines the configuration settings. ``` os.environ…call the `generate_content()` method of the `GenerativeModel`
object
. This method takes three arguments: **input:** A…
Paris Olympics Chatbot- Get Ticket Information Using Chat-GPT and LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
… LLM's response using the `content` attribute of the response
object
. ``` chain = prompt | llm result = chain.invoke( {"…()` class and pass it along with the `document_chain`
object
to the `create_retrieval_chain()` class
object
. ``` retriever = vector.as_retriever() retrieval_chain = create_retrieval_chain(retriever, …
how convert cur images to image?
Programming
Software Development
2 Months Ago
by cambalinho
…?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.
Object
, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile… can i get the image from a cursor? the Cursor
object
read cur files and ani?
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
…"], task_type = "CAUSAL_LM", ) ``` Finally, you can create an
object
of the `SFTTrainer` class and pass the Gemma model…
object
, the training data, and various training arguments. Next, you can …
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Month Ago
by usmanmalik57
… of the process is straight-forward. You must create an
Object
of the `GenerativeModel` class and pass the input query to… text using Claude 3, you need to create a client
object
of the `anthropic.Anthropic` class and pass it your Anthropic…
Why am getting different syntax errors when running a Python script
Programming
Software Development
2 Months Ago
by Tom_45
… new to Python, but have a solid understanding of how
object
oriented design works, having taught myself VB.NET, C# and…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month Ago
by usmanmalik57
… columns. ``` def get_cropped_image(image, table, padding): # Create a new image
object
with the cropped area cropped_image = image.copy().crop((table["…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
1 Month Ago
by usmanmalik57
… other splitter if you want. The following script creates an
object
of the `RecursiveCharacterTextSplitter` class. We divide our documents into chunks…
Re: How can I upload a tar.bz2 file to openstack swift object storage container
Programming
Software Development
1 Month Ago
by Salem
First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt…
Re: Add property to standard object
Programming
Web Development
1 Month Ago
by jkon
I completely agree with you with the "hackily" part , but here it is: $arr = [ 'foo' => 'bar', 'baz' => 'bat' ]; $obj = json_decode(json_encode($arr)); $obj->newProperty = "something"; var_export($obj); exit;
Re: Add property to standard object
Programming
Web Development
1 Month Ago
by Dani
> $obj->newProperty = "something"; For some reason I thought that PHP didn't allow that without throwing an error?! (Hence the reason for me posting this question). I'm on PHP 8.2/8.3.
Re: Get error please help me the server threw an exception.
Programming
Software Development
2 Months Ago
by tinstaafl
Have you tried looking at the answers on this page? [Click Here](https://stackoverflow.com/questions/973206/what-causes-error-hresult-0x80010105-rpc-e-serverfault)
Re: Getting Started With C# - The List
Programming
Software Development
1 Month Ago
by Shahzad111
C-Sharp Tutorial is for student and prefessional who want to learn C# programming from basic to advance. We have discussed every topic of C# alonge with examples in this tutorial guide. https://c-sharptutorial.com/
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
2 Months Ago
by habi_2
how to use the best_model.pt
Re: how convert cur images to image?
Programming
Software Development
2 Months Ago
by pritaeas
Not easy, but [here](https://github.com/thetrik/VbPng)'s a lot of information. Basically, it's an [ICO file](https://docs.fileformat.com/image/cur/).
Re: how convert cur images to image?
Programming
Software Development
2 Months Ago
by cambalinho
damn i can't edit.. it's VB2010 and not VB6... but the tags is vb.net... i'm sorry
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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