I need some help for setting up my linux box for scaled-yolov4.
My linux box have a gpu card, Nvidia quadro P620 2GB card. running linux mint 20.4 = ubuntu 20.4.
I have anaconda setup. But didn't help much.
This is what I did.
I installed the cuda 11.2 by using the following:
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/11.2.1/local_installers/cuda-repo-ubuntu2004-11-2-local_11.2.1-460.32.03-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-11-2-local_11.2.1-460.32.03-1_amd64.deb
sudo apt-key add /var/cuda-repo-ubuntu2004-11-2-local/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda
and then using conda to install the rest. In this case, the detect.py works fine, but train.py didn't work with out of memory error.
I installed the CUDA10.2, things work without GPU, so its very slow.
Can someone tell me the right way to install NVIDIA card and CUDA and setup the environment for the scaled-yolov4? Thank you very much.
Related
I am trying to install ATLAS BLAS package.
The solution would be write on terminal
sudo apt-get install libblas-dev liblapack-dev
The problem is that I am running on Windows, so don't have the sudo neither apt-get command.
How could I install it ?
Sorry for the late answer, I just stumbled on your question searching for something else.
First, the command that you want to use (apt-get install) mainly concerns Debian-based Linux operating system and not Windows.
Second, it would install base BLAS and LAPACK libraries that are not ATLAS.
I think that you have at least two possibilities:
use Windows Subsystem for Linux (WSL) to install and run a Linux subsystem on your Windows machine, like a Ubuntu Linux distribution (more details here for the installation instruction), in which you will be able to use apt-get install command to install packages, and specifically apt-get install libatlas-base-dev for ATLAS, and any other software packages that you would need to run your computations.
directly install ATLAS in Windows, following the instructions on their website, based on the Cygwin software.
Maybe, other alternatives exist.
I'm spending way too muhc time on trying to figure this out, so I decided to ask you guys for a little help.
I downloaded VMWare Workstation 12.5.5 on kernel 4.10.8 (Linux Mint 18.1).
A popup show up saying I don't have gcc >= 6.2.0.
After trying to compile it I realised there's a version hosted on a ppa:
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial
main
sudo apt update
sudo apt install gcc-6
I relaunch vmware and I still get this error. Entering the path manually to /usr/bin/gcc-6 doesn't work either. /usr/bin/gcc-6 -v gives me gcc version 6.2.0 20160901 (Ubuntu 6.2.0-3ubuntu11~16.04)
How can I run VMware on my machine? Thanks! :D
How can I get startx to work?
I have my SD set -used pi filler and image raspbian jessie.
However, I did download the zip Raspbian Jessie Lite (usually I have done the full desktop image, not lite)
After I log in as pi I want to get to my GUI. I type:
$startx
-bash: startx: command not found
So then I try with sudo, still: command not found.
I have done my steps in the sudo raspi-config to extend file system, set correct time and keyboard.
When I try to install some python packages
I want to configure my wi-fi by running the GUI. But, I cannot get to my gui with startx.
I know a few things (I've had startx work before on other pi 3s, but I'm a big noob, so please be detailed if you can help me out.
Thank you, in advance!
sudo apt-get install lxde
after this one gets installed, used the command
startlxde
My solution was to install these packages
sudo apt-get --no-install-recommends install xserver-xorg xserver-xorg-video-fbdev xinit pciutils xinput xfonts-100dpi xfonts-75dpi xfonts-scalable
The lite version of Raspian Jessie doesn't come with X installed. That's why you cannot start it.
Raspbian lite is intended for a headless system usage, however you can still install X (don't ask me how, the web is plenty of tutorials)
use sudo apt-get install xinit instead.
Don't forget to expand your File System and reboot: sudo raspi-config
I have windows, xampp and oracle_VM_Virtual Box. How can I install koha and where do I find this file?
As you're probably aware, since you have VirtualBox installed, you can't run Koha on Windows -- it needs a Linux platform
You should create an Ubuntu virtual machine on VirtualBox, and then I suggest you take a look at the installation instructions Koha on Ubuntu
Essentially it boils down to these command-line operations
echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
sudo apt-get install koha-common
I am using libavcodec and libavformat in my project but when I execute a binary which was built on another machine, I get the following error:
error while loading shared libraries: libavcodec.so.53: cannot open shared object file: No such file or directory
I installed ffmpeg with libav and trying the following commands:
sudo apt-get install ffmpeg libavcodec-dev libavformat-dev
sudo apt-get install ffmpeg libavcodec-extra-53
sudo apt-get install libav-tools
The error doesnt show up when I build the binary on the same machine, but it would be much faster to compile on a second machine.
UDPATE: I also ran sudo apt-get install update and sudo apt-get install pkg-config without any change in the output. (OS = 12.04)
https://sites.google.com/site/linuxencoding/builds
try installing the linux binary for ffmpeg from the above website.
just so that every user benefits from this answer i am adding links to ffmpeg binaries available for different platforms
for centOS http://pkgs.repoforge.org/ffmpeg/
Tutorial for installation :
http://www.rackspace.com/knowledge_center/article/centos-installing-ffmpeg
for mac http://ffmpegmac.net/
for windows http://ffmpeg.zeranoe.com/builds/
also i have made a video tutorial to install a binary. but this is on mac. but i assume its the same for linux to.
https://www.youtube.com/watch?v=wiLNqg2IOAQ
hope this helps