1,336 Topics
![]() | |
In my previous article, I explained how to fine-tune [OpenAI GPT-4o model for natural language processing tasks](https://www.daniweb.com/programming/computer-science/tutorials/542333/how-to-fine-tune-the-openai-gpt-4o-model-the-wait-is-finally-over). In OpenAI DevDay, held on October 1, 2024, OpenAI announced that users can now fine-tune OpenAI vision and multimodal models such as GPT-4o and GPT-4o mini. The best part is that fine-tuning vision … | |
Im trying to code a lem-in project. https://github.com/01-edu/public/tree/master/subjects/lem-in Im coding in go lang. But its okay in another language tho. I can convert it to go. Me and my friends cant even solve the algorithm neither. ChatGPT is stuck and in the web i found a 800 rows of code. … | |
RE: ffmpeg-4.4 Andrew Wu DJGPP CROSS COMPILER, GCC v12.2.0 Host Macbook Pro, macOS Monterey [Click Here](https://ffmpeg.org/platform.html#DOS) DJGPP Cross Compiler 12.2.0 Fails to Recognize "certain" Parameters in FFmpeg Source Code Hi, I am using the DJGPP cross compiler 12.2.0, developed by Andrew Wu, github, to build the FFmpeg source code, and … | |
I recently tackled a challenging research task involving multimodal data for a classification problem using [TensorFlow Keras](https://www.tensorflow.org/guide/keras). One of the trickiest aspects was figuring out how to load multimodal data in batches from storage efficiently. While TensorFlow Keras offers helpful functions for batch-loading images from various sources, the documentation and … | |
Facial emotion detection, as the name suggests, involves detecting emotions from faces in images or videos. Recently, I was working on a facial emotion detection task and came across the DeepFace library that implements various state-of-the-art facial emotion detection models. However, in my experience, the performance of the DeepFace library … | |
In this tutorial, you will learn to fine-tune a [Hugging Face Transformers model](https://huggingface.co/docs/transformers/index) for video classification in PyTorch. The Hugging Face documentation provides an example of performing video classification using the Hugging Face Trainer with one of Hugging Face's built-in datasets. However, the process of fine-tuning a video transformer on … | |
Understanding facial expressions is crucial for various tasks, from recognizing emotions to enhancing security measures. While extracting faces from pictures is easy, doing the same in videos is tricky. Imagine creating videos with only highlighted facial expressions, offering a unique perspective on human interactions. Various tools are available for face … | |
I use apple's x code, my system is OS X 10.4.11 Im getting a warning you must be familiar: [CODE]"#ifdef __DEPRECATED #warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. … | |
I am trying to make a drawing board in pygame but I want to be able to change the opacity using RGBA but it doesn't seem to be working, my code below: import pygame as pg import sys, os from pygame.locals import * pg.init() draw = 0 color = 0 … | |
Hi, i went to install mac OS Sonoma into my macbook pro 2017, But when, i have try to download and install, i got error that, my Book not supportable. What i can do. Can you please suggest me the setting or i leave it. | |
i did these code for create RayCasting: Option Explicit Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) Private Const PI As Double = 3.14159265358979 Dim LevelMap(12) As Variant Dim CamWidth As Long Dim CamHeight As Long Dim CamHalfHeight As Long Dim RayCastingPrecision As Long Dim PlayerX As Double … | |
Am I out of date? For over a decade I never worried about any virus on MacOS/iOS. But https://www.reddit.com/r/techsupport/comments/11di44n/do_i_need_antivirus_for_a_macbook/ is kicking it around like you need such a thing. And while I tend to be precise, folk today call everything a virus even if it's a trojan, malware or a … | |
I'm trying to make the picturebox collide with the others. I tried to do several things but they don't work. I spoke to my teacher and he said I should do something like this: PictureBox1.Left + PictureBox1.Width >= PictureBox2.Left And PictureBox1.Top + PictureBox1.Height >= PictureBox2.Top And PictureBox1.Top <= PictureBox2.Top + … | |
## Introduction I have a pile of home movie videos created over more than seventy years. As with my many photos (all in digital form) they require some effort to find particular ones of interest. Typically, I name my videos (and photos) with tags. A file might look like 2013-10-29 … | |
Adding a file/folder comment capability to Windows This is something I wrote a few years ago in vb.Net and just recently ported to python/wxpython. As I keep discovering, just about everything is easier in python. Windows does not have a commenting facility so I decided to write something simple. NTFS … | |
## Introduction I recently bought a new laptop. Since I haven't used VB.Net in years (nothing but Python now) I did not install Visual Studio. That meant rewriting all my VB apps in Python/wxPython. One of my most often used apps was a shell extension I wrote to add a … | |
## Introduction ## If your App only need a simple way to play videos on Android, then **VideoView** (`android.widget.VideoView`) might just fit the bill. In this tutorial, we will learn how to use VideoView for video playback in our App. ## Goals ## At the end of the tutorial, you … | |
I've only been on OS X for 2 days! So I am pretty new. Basically when I plugged in my Targus USB mouse it popped up that I was replacing the keyboard, it said if I wasn't then just to ignore the message and carry on, so I crossed it … | |
There are several of Blu-ray player for Mac OS X, which one are you using? Do you think the one you are using is the best? | |
**Requires:** 1. Python version 3.8 or newer 2. wxPython version 4.0 or newer 3. exif module 4. Windows with NTFS file system To ensure you have the required packages please run the following 1. python -m pip install --upgrade pip 2. pip install exif 3. pip install wxPython I have … | |
Years ago I wrote a program in Fortran for a structural analysis class. At the time I had very little programming experience and mottled my way through the assignment. Fast forward to now and I'm attempting to teach myself Python 3. I figured I'd would try to convert the old … | |
# Comparing two videos side by side I have been creating walk-through videos on the cheap by just wandering through an area with my little Sony camera. Lacking a steady-cam I just try to hold the camera as steady as possible. Fortunately, with the proper (free) tools I can still … | |
![]() | I am trying to run my game in Python, with Pygame. However, I am presented with a black screen, but my game shows up for a fraction of a second after I exit the Shell. What's wrong with my code, I think it's an issue with my timer. # Import … |
[ATTACH=RIGHT]20145[/ATTACH][B]Building your first DYNAMIC Database application. This is Part One of a four part tutorial on how to install and use your database, Part Two will teach you how to build successful connections and Part Three will teach you how to build database interaction and management of your databases.[/B] There … | |
My mac book is a little angry so I take the drive nd used it as external. How I run my IOS on windows pc? | |
I just upgraded the software to OS X Sierra and I use a multi usb port for connecting my mouse since there are just two usb port and the harddisk has to be plugged in directly. The light appears at the bottom of the mouse which means that the power … | |
Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>> #!/use/bin/env python3 import os import tkinter import webbrowser from tkinter import * from tkinter.filedialog import asksaveasfilename from tkinter.scrolledtext import ScrolledText from PIL import Image, ImageTk from PIL import * window = tkinter.Tk() window.geometry("520x800") window.title("STARLABS BIOSCIENCE SDN BHD") window.resizable(False, False) … | |
I am trying to build a GUI app for graph plotting where graph can be shown as a slideshow so that the data can be clearly visualised. First I wish to plot a set of data then after a specific time interval next set of data and so on. I … | |
Up until 5 days ago Outlook 2011 on my iMac was working fine -but now it recieves emails but I cannot send them - all it does is save them as drafts. I have it setup so it receives and sends from my (imap) gmail account (as I said it … | |
I'm wanting to build a new computer but I'm having trouble, it's been a long time since I've built one and my head is starting to spin just looking at the options for motherboards. So you know what I'm working with this is my empty tower -> NZXT Source 210 … | |
I am trying to do my first 2d game in android studio, just for fun and experience, but I am having a major problem. What I want to do is start from a title screen with two buttons, 'Play Game' and 'High Score' (it's obvious what these buttons do. Where … | |
Somehow, I think my OS X is borked. Whenever you mouseover a menu, it's supposed to highlight, right? Well, mine doesn't... Also, my dock magnification is turned on, but if I highlight apps on my dock, they don't magnify, and it doesn't say the apps name above its icon. If … | |
I am developing a new android app, and I've run into a bit of a snag. While everything else works, I want to have it so that when you click on the screen, it exits the program, same as if you click the back button. How do I get around … | |
import turtle import os import math import random import pygame #set up the screen wn = turtle.Screen() wn.bgcolor("black") wn.title("Space invaders") wn.bgpic("space_invaders_backgrounds.gif") pygame.init() #Register the shapes turtle.register_shape("ship.gif") turtle.register_shape("Enemy.gif") #Drawing my border border_pen = turtle.Turtle() border_pen.speed(0) border_pen.color("white") border_pen.penup() border_pen.setposition(-300,-300) border_pen.pendown() border_pen.pensize(3) for side in range(4): border_pen.fd(600) border_pen.lt(90) border_pen.hideturtle() #Set the score to … | |
Hi. Ive actually got a problem in cmd while im trying to repair my computer. (Windows Server 2012 r2) What im trying to do is to reset my password in Admin, since i can't log in on it. What i did is, i insert the bootable usb , then "repair" … | |
Good man James helped me learn die roll board game programming in Java, and I applied it on Ladders and Snakes. Made one in Java. Now I'm learning to do it in Android. Here's the question: Making simple Ladders and Snakes game. Can't use those in Google Play, they don't … | |
I have a late 2016 MacBook Pro running the latest version of OS X Sierra 10.12.6 Ever since I got it, I've been having a problem connecting it to external displays. Firstly, there is the 32" 4K Seiki Pro, connected via a USB-C cable. Most times when the Mac goes … | |
I have been using a wal-mart wireless mouse for months. It got slow response yesterday and today will not work. Plugged in a new mouse and it's not working either. Settings /mouse not detecting. Batteries good. any help would be appreciated. | |
Hi All, i need to convert this Python code to C# .Tried Some online converters nothing Worked out so far.Please Help. import openpyxl from PIL import Image, ImageTk import Tkinter as tk import subprocess import time import os import RPi.GPIO as IO import sys import glob def Image_dis(img, delay): root … | |
0 down vote favorite I have created a network scanner, that looks for a specific port on a range of IP's. I would like to thread the application but I am getting and error message ERROR: for worker in range(network.hosts): TypeError: 'method' object cannot be interpreted as an integer Now … | |
**Video players** 1. [VLC Media Player](http://www.videolan.org/vlc/download-macosx.html) - VLC is a cross-platform and open source multimedia player for Mac OSX. 2. [Perian](http://www.perian.org/) - Perian is another open source video player for that are based on multi-platform form of FFmpeg project. 3.[ Mac Media player](http://www.macblurayplayer.com/mac-media-player.htm) - Mac media player provided all the … | |
I just got a Macbook and I've always had a PC when it comes to doing worky stuff. (For many years I had an iMac at home, Dell at work, and I haven't had a mac at all for the past 4 years). First I had a problem installing Zend … | |
I have a one day old Macbook Pro. I tried to install PHP Zend Studio (which is what I use to code in). Everytime I try to run it for the first time after dragging and dropping it into the Applications folder, it crashes and this is what I get: … | |
[SIZE=2][COLOR=Indigo][FONT=Georgia]Can anyone tell me if there is a free download for any programs like Spybot or Spy Blaster, that will check for nasty spyware on my G3, I'm running Jaguar. I've looked & can't find anything, it all seems to be for Windows. There must be something out there somewhere, … | |
Hello everyone, I'm pretty new to python and I have found this code https://www.daniweb.com/programming/software-development/code/260268/restart-your-python-program to restart a python program. I have developed a little program and applied this function to it. By pressing a Button the function `resize()` is being called which triggers the `restart_program()` function. But when I start … | |
Most common quiestion is: [quote]Is there any C++ GUI API?[/quote] My answer is MANY. There are many API's for making GUI applications. Here are some. [B] 1. WinAPI: (C based)(MFC is C++ based)[/B] [I]Its a great API and the best solution if you are windows programmer. First code will look … | |
Need some help. I have the below hardware details. attached Intel Core i7-3770 @ 3.40GHz 4 Cores 8 Logical Ivy Bridge-DT 4 x (32 + 32 + 256) + 8M Cache Features enabled MMX SSE SSE-2 SSE-3 SSSE-3 SSE4.1 SSE4.2 AVX DEP VMX SMX SMEP EM64T EIST TM1 TM2 HTT … | |
his is an example of creating a semi-dynamic pie chart without the use of server-side imaging libraries [url]http://www.surfare.net/~toolman/temp/diagram.html[/url] CSS Diagrams Things to Do With CSS When You’re Bored at Work [url]http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/[/url] Star Rater Creating a Star Rater using CSS [url]http://komodomedia.com/blog/index.php/2006/01/09/css-star-rating-part-deux/[/url] CSS Star Rating CSS Star Rating Part Deux [url]http://www.jluvip.com/works/css/starvote/index2-1.html[/url] Star … | |
We have developed an app for iPhone. Our business requirement is to run the app at the background and listen to our server for the updates. We need to get the list of online users. This helps us in getting the list of online users and also in listenning to … | |
Hi, im writing app in Python 3.4 using tkinter. Its timer for windows 7 and higher. Input some minutes and press start button. When time reaches zero it will shutdown computer. Ive used update method with time.sleep - look at my code. But i need to make this timer with … |
The End.