A command is not recognized Error, what it is? If you are constantly using programs like CMD or DISM directly from the Run prompt, you might have wondered how they launched instantly and how is it that the Windows operating system is able to find them right away. For instance, when you create a shortcut of a program, the shortcut knows where exactly the program is located and launches it quickly.
The Windows operating system keeps a list of paths where the most common system programs are located so when you use the Run prompt, it opens easily. The list kept by Windows is called the Windows Environment Variables. If something goes wrong with this list, the programs won’t work. So in this guide, you will be guided on how you can troubleshoot the problem where any command you use is not recognized as an internal or external command, operable program, or batch file.
Before you start troubleshooting the problem, you need to make sure that the program you are trying to run really exists. In fact, this can also happen to the Run program which is pulled up using the Win + R shortcut. To check, go to C:\Windows\System32 and there, check if the program exists or not or you can also try searching for the EXE in the System 32 folder. After making sure that the program exists, refer to the instructions given below.
Note: Now all you have to do is to try executing the programs once again – the ones where you got the error, “ is not recognized as an internal or external command, operable program or batch file” every time you open them and then see if you can now open these programs or not.
Stable Diffusion is a machine learning model developed by Stability AI to generate digital images from natural language descriptions. The model can be used for different tasks like generating image-to-image translations guided by text prompts and upscaling images.
Unlike competing models like DALL-E, Stable Diffusion is open source and does not artificially limit the images it produces. Stable diffusion was trained on a subset of the LAION-Aesthetics V2 data set. It can run on most consumer hardware equipped with a modest GPU and was hailed by PC World as "the next killer app for your PC".
Since Stable Diffusion is run locally and not in the cloud, as mentioned there is no limit to the number of images that you can produce but in order to use it you will have to get down a little dirty with setting your PC environment for it since it is not really an application, it is a command line text based descriptor that will use python to generate your images, so there is no install nor GUI.
In this guide, we will show you how to both install and run Stable Diffusion on your local PC so you can start producing some cool images all by yourself.
Make no mistake, Stable Diffusion will not run on a potato PC, in order to harvest the power of AI-generated imagery this is what you will need:
For this tutorial, we are covering the installation and running of Stable Diffusion on Windows PC. The steps presented here are presented in a way that installation can be performed on any operating system but precise instructions will be for Windows OS.
The first thing to do is to install GIT. It is a tool that will let you easily maintain and install repos from the internet. to install it go to: https://git-scm.com/ and click on download. Follow the instructions for your version of the operating system. If you are a developer you are familiar with GIT and if you already have it installed you can skip this step.
One thing that is important when installing GIT locally is to select to use it via the command line (the second option that says "Git from the command line and also from 3rd-party software").
Now when we have GIT installed, next thing is to use Miniconda3 to install python and all required libraries that are needed. Get the installer at: https://docs.conda.io/en/latest/miniconda.html
Miniconda3 is basically an easy installer so you do not have to install tons of stuff manually from different websites and sources, it is nicely packaged in the installer that will take care of everything.
After the previous two steps, we are ready now to actually install Stable Diffusion. Go to https://huggingface.co/CompVis/stable-diffusion#model-access and install the latest library (as of the writing of this article currently it is stable-diffusion-v1-4-original, the last one on the right), the library is almost 5GB in size so be prepared for big download.
After installing stable diffusion's latest library it is time to update it to the newest version. You can download ZIP from GIT HUB https://github.com/CompVis/stable-diffusion
Once downloaded click on the Windows start button and type in Miniconda3 and click on open. Create a folder and name it how you want on a drive of your choice. For this example, we will install it all in disk C under folder AI_art, follow the instructions below but use your own names and destination instead. Do not close Minicoda3 after typing commands!!!
cd c:/
mkdir AI_art
cd AI_art
Extract GitHub files that you have downloaded into your new folder and get back to Minicoda3 and type the next commands:
cd C:\AI_art\stable-diffusion-main
conda env create -f environment.yaml
conda activate ldm
mkdir models\ldm\stable-diffusion-v1
Let the whole process finish, some files are large and it might take a while. After the whole process is finished and completed, copy the checkpoint file that you have downloaded into: C:\AI_art\stable-diffusion-main\models\ldm\stable-diffusion-v1
After the file is copied rename it to model.ckpt and you are finished.
The created environment is needed in order to actually use Stable Diffusion to create images. Each time you want to use it you will have to run it, so go into Miniconda3, and inside it type:
conda activate ldm
cd C:\AI_art\stable-diffusion-main
after we are inside the folder call the script with the parameters:
python scripts/txt2img.py --prompt "TXT DESCRIPTION OF IMAGE THAT YOU WANT TO CREATE" --plms --n_iter 5 --n_samples 1
and that's it, your image is created and it is located in C:\AI_art\stable-diffusion-main\outputs\txt2img-samples\samples
mountvol /E
mountvol /N
mountvol /R
diskpart
automount
automount enable
automount disable
automount scrub
In today's age, free cloud storage is no longer anything exclusive and plenty of companies will offer some free amount of it in hopes that you will buy a premium plan. Among plenty of starter and free options, there are of course some that are more generous and more appealing and offer a larger quantity of free space and even some other services.
In this article, we are taking a look and recommending some of the best ones in our opinion.
First on the list is of course google with its google drive. With an amazing 15GB of free could storage just given to anyone who makes a google account this had to be the first recommendation. Also since google drive is requiring a google account you will be given all google office tools for free as well as the Gmail service. Completely free 15GB at your fingertips if you do not mind google tracking policies.
Another company on the list, with only 5GB storage seems little compared to google this entry was simply included because google Microsoft also offers you Office 365 WEB for free with skype along with their Hotmail. So all in all another full package of apps with some free storage that requires also just an account.
With the free offer of 10GB this comes as an easy recommendation, IceDrive is a cloud storage company that is not offering anything of productivity apps but it has some great features in their cloud solution like being able to see encrypted files in your cloud. All you have to do to get this 10GB of storage is to make a free account.
With an amazing 20GB of free storage, MEGA is certainly one that gives the most space for free. Sadly a few years ago it was hacked and files and user information were leaked, for that reason, it is on our last place of recommendation but if you are not worried about their security and plan just to use this as a temporary file sharing service with that amount I am sure it will fill your needs.