CUDA error ‘torchvision::nms’ With YOLOv8 Model on NVIDIA GTX Card Solved by blog_1buq8n - October 30, 2024October 30, 20240 If you’re working on deep learning projects using YOLOv8 (You Only Look Once), you may have encountered the error: "CUDA error 'torchvision::nms' With YOLOv8 Model on NVIDIA GTX Card". This error typically arises in environments utilizing NVDIA's CUDA for GPU(graphics processing units) and video cards acceleration. This blog post provides a how-to guide with a step-by-step explanation to identify and resolve this error, allowing you to focus and continue building high-performance machine-learning models. What Does the Error Mean? We are using NVIDIA GeForce GTX 1050 GPU with 4GB VRAM to train a YOLOv8 model. NVDIA's GTX cards being economical solution when you are training models locally. There are high performing GPU cards like the latest one's RTX series (ray tracing). Also one can
No Audio With Systemd Command Service on Raspberry Pi Raspberry by komal swami - September 26, 2024September 26, 20240 while working on integrating sound playback into a flask service on an RPI. I encountered this issue where No Audio With Systemd Command Service on Raspberry Pi. Th issue where sound would play when running the Python script manually but when running it as a systems systemd service. After troubleshooting, I managed to solve the issue by making adjustments to the system's service file and sound configuration. here's a step-by-step guide. The solution was into basics, as you know there is thin line between, process context switch, process state switch and process mode switch. Context switch occurs between two different process while process mode switch occurs between two modes of same process but in these two 'context' is saved. Process
Disallowed Host Error On Django AWS EC2 python by komal swami - November 7, 2023November 7, 20230 Django (Name of Guitarist) is one of the famous web framework follows MVT(Model View Template) architecture. Means you get most of the things required to develop client server application. In this article we have explained in short how to solve disallowed Host Error On Django AWS EC2. Lets see, How to fix disallowed host Django. We have developed application on local system and we need to test and deploy a Django application on AWS EC2 instance. For this we have created virtual environment on AWS, installed python. With this we get pip(python package installer like npm - node package manager in java). pip is used to get packages in this virtual environment. $pip install django create new Django project
How To Install Ceedling On Windows Testing by blog_1buq8n - December 14, 2021December 20, 20230 This post shows ways about how to install ceedling on windows operating system with the latest updates. Ceedling as you know is a powerful tool for unit testing and is used mostly for testing C language code in embedded system. There are various tools for embedded testing like pclint, parasoft, vectorcast, tessy and few AI powered intelligent tools. What makes embedded system unit testing tools different than application testing tools is it utilizes components like hardware, real time operating system and cross compilation. Please note unit testing will not find bugs in your code but it will help you to reduce bugs in system testing and build robust software. This post will discuss about ceedling installation and related issues. Install
Rails DB Migration Failed Due To Duplicate Column LinuxAdmin by blog_1buq8n - November 20, 20210 I had recently added one column in postgres database, After the db migration, I wanted to update same migration file instead of creating new migrations. So I had added one new column in existing migration file and tried to run migrations again. Landed up with rails DB migration failed due to duplicate column. Problem Statement Caused by:PG::DuplicateColumn: ERROR: column 01:17 deploy:migrate[deploy:migrate] Checking changes in db[deploy:migrate] Run rake db:migrate01:19 deploy:migrating01 ~/.rvm/bin/rvm 2.7.0 do bundle exec rake db:migrate 01 rake aborted!01 StandardError: An error has occurred, this and all later migrations canceled: Step zero analysis Check all migration - rails db:migrate status Status Migration ID Migration Name -------------------------------------------------- up 20211007025051 ********** NO FILE **********
How To Setup 2FA On AWS Cloud Server LinuxAdmin by blog_1buq8n - October 25, 2021October 25, 20210 You are using AWS cloud with all the security modules enabled along with Cloudflare account. This alone does not keep your account safe from prying eyes. So making use of two two-factor authentication (2FA) is best way to secure your cloud account. Also 2FA is an very essential element of cybersecurity. These days with increase in work from home due to ongoing COVID-19 pandemic online security of your account is must. So lets start from basic to advanced on how to setup 2FA on AWS cloud server running Ubuntu system. What is Two Factor Authentication There are different authenticator services such as Authy, Google Authenticator and Microsoft Authenticator. It is difficult to to say which is best 2FA authentication as
How To Interface GPS With BeagleBone Green BBGW by blog_1buq8n - August 8, 2021August 19, 20210 This post discuss on how to connect and test your BeagleBone Green wireless with NEO-6M GPS module. After reading this article you will know how to play with the u-blox NEO-6M global positioning system (GPS) module. These days NEO-6m is a very popular, cost-effective GPS module. So lets get started with How To Interface GPS With BeagleBone Green board. Introduction To NEO-6M GPS Module You can easily check all NMEA 0813-National Marine Electronics Association - statements using this module. NEO-6m module works well with a DC input from 3.3- to 5-V range. That means it can easily powered up from your Raspberry Pi, Arduino, ESP32, or Beaglebone board. NEO-6M GPS module comes up with UART interface. You might have noticed that
Ubuntu To Debian Upgrade Issues LinuxAdmin by blog_1buq8n - June 20, 2020June 20, 20200 If you have received following message from dreamhost on VPS upgrade and your Ruby apps are broken then here are few tips that might save your day. "We will be upgrading your Virtual Private Server from version 14.04 (also known as trusty) to Debian 9.12 (aka Stretch!) ". Yes as they mentioned in their email that there are some environment changes that effect your system if you are using Ruby, Python, PHP, or run a site that relies heavily on specific server packages. Lets start with Ubuntu To Debian Upgrade Issues on VPS of Dreamhost. This post will help you only if you have already installed redmine on dreamhost VPS and your server is now upgraded to Debain Stretch. SVN Write
Advanced-cache.php Already Exists Warning Solved by blog_1buq8n - November 30, 2019November 30, 20190 Everything was broken when we tried to install yet another WP cache plugin. All the tabs and pages from admin panel are showing advanced-cache.php already exists warning. Warning! The file ../../wp-content/advanced-cache.php already exists. Please manually delete it before using this plugin. Origin Most of the wordpress installation done from dreamhost will have wp super cache plugin installed. This plugin will speed up wordpress blog, and so is recommended. If you do not have cache plugin installed then your wordpress blog will eat up lot of RAM(memory). There are multiple cache plugins available. We were trying out different plugins other than wp super cache. We tried to install hyper cache. Other than hyper cache there are tons of cache plugins, like, wp rocket, w3
SAME54 I2C Driver Issue Solved embedded by blog_1buq8n - September 10, 2019October 10, 20190 If you are reading this post that means you are using ATMEL or Microchip controller. We are using ATSAME54 micro from microchip, it is ARM based cortex-M4 series controller. In our application we have around eight I2C ( Inter-integrated Circuit) slave devices connected. I2C slave devices includes, RTC, onboard temperature sensor, FRAM, LED drivers etc. Well as you know all I2C slave devices can be addressed using their addresses. Well as most of guys does we too have downloaded sample code from start.atmel.com and tested. We have SAME54 explained pro and we brought PCA9685 LED driver. This is simple I2C based LED driver and is easily available, its schematic and design also available from adafruit. With sample code and its