Logo

What to do if JPEG files won’t open in Windows 10

As you know, “JPEG” is one of the commonly used formats for image files which is a compression of digital images. It is one of the topmost used file formats by mobile phones and digital cameras and usually achieves a 10:1 compression with little visible loss in the quality of the image.

There are tons of cases as of late, most particularly after the latest Windows 10 update where users were not able to open JPEG files on their PCs. Every time they try to open any JPEG file, they either get an error or nothing happens at all. This issue could be due to the default handler application for JPEG applications not being set or there could be some third-party image viewer not working properly. To fix this issue with JPEG files, refer to the troubleshooting options below.

Option 1 – Try to change the file type association

You need to check if the file type association of the JPEG files are correctly set or not since there are tons of third party programs that change the file type association automatically to themselves without your permission the instant they are installed and so if any of these third-party programs are broken, then naturally, your JPEG files won’t really open. That’s why you can try changing the setting to the default photo viewer instead of the third-party one. To do so, follow the steps below.

  • Tap the Win + R keys to open the Run dialog box.
  • Then type in “control panel” in the field and hit Enter to open the Control Panel.
  • After opening Control Panel, click on the Programs category and select the “Default Programs” option from the menu.
  • Next, select the second option “Associate a file type or protocol with a program” and then select the “Choose default apps by file type” option.
  • After that, click on the .jpg file extension and choose the option from the pop-up.
  • Now restart your PC to refresh all your programs and then see if it has fixed the problem or not.

Option 2 – Try to update your computer

Microsoft frequently releases updates to target bugs and improve users’ experience. And this particular error where JPEG files won’t open is already acknowledged by Microsoft so you need to make sure that your Windows 10 PC is updated to the latest released update and that there are no pending updates.

  • Tap the Win + S keys to open Search and then type in “update” in the field and open the system setting from the search results.
  • After that, check for updates and then download and install them if needed.
  • Now restart your PC once the update is done and check if you can now open JPEG files.

Option 3 – Try to reset the Photos app via Settings

Resetting the Photos app could also help you in fixing the problem. Note that this option will reset all the configurations and your data associated with your Photos and makes the application go into a state when you first started using it and that this option will fix any discrepancies that your application might be experiencing right now.

  • Tap the Win + S keys to open the search bar.
  • Then type in “settings” in the field to open the Settings application.
  • After opening Settings, click the “Apps” category.
  • From there, a list of applications installed on your computer will appear.
  • Navigate through these applications until you find the Photos app and then click on the Advanced options.
  • Afterward, click the Reset button that appears on the next screen. Then a new pop-up comes up and will warn you that all the preferences, as well as sign-in information, will be lost. Click on “Reset” anyway to proceed in resetting the Photos app.
  • Restart your PC once the reset is done.

Option 4 – Try to reinstall the Photos app

Before you start using other third-party image viewers just yet, you can try to reinstall the Photos app first. Thus, if there is something wrong with it, it will instantly get fixed right after it reinstalls. Just take note that this option requires administrative privileges so you need to be logged in as an administrator.

  • The first thing you have to do is tap the Windows + S keys and type in “PowerShell”.
  • Next, right-click on the file and click on the “Run as administrator” option from the context menu.
  • Once PowerShell is opened, execute this command: get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage
  • The command you just entered will remove the Photos app. After the process is done, go to the Microsoft Store and look for Microsoft Photos then download and install it again.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

New vulnerability found in Windows
Windows users need to be on high alert. Microsoft has confirmed a critical vulnerability has been found in all versions of Windows which presents an immediate threat, and you need to act now. A critical new zero-day hack has been found which affects all Windows versions. windows vulnerabilityTracked as CVE-2021-34484, the “zero-day” flaw enables hackers to breach all versions of Windows (including Windows 10, Windows 11, and Windows Server 2022) and take control of your computer. Microsoft mistakenly thought it had patched the vulnerability (which was first found in August) when it was publicly disclosed in October. But the fix itself was found to be flawed, something the company admitted, and this drew even more attention to the vulnerability. Microsoft subsequently promised to “take appropriate action to keep customers protected” but two weeks later, a new fix has still not arrived. Luckily the third-party security specialist 0patch has beaten Microsoft to the punch with a ‘micropatch that it has now made available for all Windows users “Micropatches for this vulnerability will be free until Microsoft has issued an official fix," 0patch confirmed. You will need to register for a 0patch account and install its download agent before the fix can be applied, but with 0patch fast becoming a go-to destination for hot fixes which beat software companies to the punch this is a no brainer. Hopes will be high that Microsoft can release an effective patch sooner rather than later but, until then, all Windows users must act now if they want to be safe. Download 0patch here: https://blog.0patch.com/2021/11/micropatching-incompletely-patched.html
Read More
How to Fix Win32kbase.sys BSOD error
There is various Blue Screen of Death errors that you can encounter as you use your Windows 10 computer and some of these Stop errors have something to do with the win32kbase.sys file. This post will guide you in fixing the BSOD errors related to the win32kbase.sys file.
  • A problem has been detected and Windows has been shut down to prevent damage to your computer. The problem seems to be caused by the following file: Win32kbase.sys.
  • Your PC ran into a problem and needs to restart. If you would like to know more, you can search online later for this error: win32kbase.sys.
  • SYSTEM_SERVICE_EXCEPTION (win32kbase.sys)
  • STOP 0x0000000A: IRQL_NOT_LESS_EQUAL – win32kbase.sys
  • STOP 0x0000001E:
KMODE_EXCEPTION_NOT_HANDLED – win32kbase.sys
  • STOP 0×00000050:
PAGE_FAULT_IN_NONPAGED_AREA – win32kbase.sys
The win32kbase.sys file is a Windows operating system Base Win32 Kernel Driver file located in the System32 folder so if it ends up getting corrupted or if it went missing, your computer will throw up Blue Screen error. To fix BSOD errors that have something to do with the win32kbase.sys file, here are some possible fixes that could help. Worry not for these possible fixes are not complicated.

Option 1 – Run the Check Disk or CHDSK utility

One of the first things you can try to resolve the win32kbase.sys Blue Screen error is running the CHKDSK utility. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f C:
  • Wait for the process to be completed and then restart your computer.

Option 2 – Run SFC or System File Checker scan

System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files. To run the SFC command, follow the steps given below.
  • Tap Win + R to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
 Restart your PC.

Option 3 – Try to run the DISM commands

You might want to repair potentially corrupted files in your system as having them could also trigger the win32kbase.sys Blue Screen error. To repair these corrupted system files, you can run the DISM commands:
  • Tap the Win + X keys and click on the “Command Prompt (Admin)” option.
  • After that, input each one of the commands listed below sequentially to execute them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth
  • Once you’ve executed the commands given above, restart your computer and check if the dxgkrnl.sys Blue Screen error is now fixed.

Option 4 – Try to run the Blue Screen Troubleshooter

As you know, the Blue Screen troubleshooter is a built-in tool in Windows 10 that helps users in fixing Blue Screen errors related to the win32kbase.sys file. It can be found in the Settings Troubleshooters page. To use it, refer to these steps:
  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.
Read More
Disabling Auto Update in Chrome & Firefox
As you know, all the web browsers come with the support of auto-updates which include both Google Chrome and Mozilla Firefox. However, with these updates, the browser comes with the support of a new web APIs and better rendering. Although there could be a lot of problems that may arise due to these updates. These problems consist of depreciation of features, incompatibility with some websites, to name a few. It includes incompatibility with some websites, depreciation of features, and more. This might push someone to stop the auto-updates of these web browsers. So, in this guide, we will be checking out how to stop auto-update in Google Chrome and Mozilla Firefox on Windows 10. Thus, if you want to be rid of these issues, then you can disable the Chrome & Firefox auto-update and you can do that by either using the Windows Services Manager and the System Configuration utility.

Option 1 – Disable Chrome & Firefox auto-update via Windows Services Manager

The first thing you can do to disable the Chrome auto-update is through the Windows Services Manager. To do so, follow these steps:
  • First, tap the Win + R keys to open the Run dialog box.
  • Next, type “services.msc” in the field and hit Enter to open the Windows Services Manager.
  • After that, you will see a list of services and from there, look for the Google Update Services (gupdate) and Google Update Service (gupdatem).
  • Once you find these services, right-click on each one of them and select Properties and then make sure that the Service Status is set to be Stopped.
  • You should also select the Startup Type to Disabled and click on the Apply and OK buttons.
  • Now restart your computer. This should stop the automatic update of the Chrome browser.

Option 2 – Disable Chrome & Firefox auto-update via System Configuration utility or MSConfig

  • Tap the Win + R keys to open the Run utility and type “msconfig” in the field and tap Enter to open the System Configuration.
  • After that, go to the Services tab and uncheck the two entries, namely Google Update Service (gupdate) and Google Update Service (gupdatem).
  • Next, click on the Apply and OK buttons to save the changes made.
  • Restart your computer.
Note: Now that you’ve stopped the auto-update in Firefox, it’s time for you to stop the auto-update in Mozilla Firefox. To get started, follow the steps below.
  • Open the Mozilla Firefox browser and click on the hamburger menu located on the top-right portion of the screen.
  • After that, select Options and under the General panel and then go to the Firefox Updates section.
  • Next, click on the radio button for updates but select the option to let you install them.
  • You also have to uncheck the options named “Use a background service to install updates” and “Automatically update search engines”.
  • Once done, restart the Firefox browser. This should stop the automatic update.
Read More
Fix Network driver issue in Windows
The network driver error is a not serious Windows issue.  It happens from time to time and luckily it can be solved with a little effort and in a short time period. Today in this article we will explore the most common solutions for driver malfunction for Network adapter inside Windows 10. If you have this particular problem, go from step 1 to the last step since all steps are meant to go from simplest to the most complex. All of that being said let us fix your Network driver issue.
  1. Check to see if the cable is plugged in and not malfunctioned

    The first common issue of the network now working can be cable malfunction or bad contact in your network adapter or in HUB/SWITCH. There are various tools to check the quality and working order of cable but you could also make sure that it is not a cable issue by trying connection with the correct working cable. If the network is restored with another cable then change the malfunctioning cable and your issue is resolved if the problem persists move to the next step.
  2. Check if Windows troubleshooter will resolve the issue

    Righ-click on the network icon in the taskbar and choose to troubleshoot problems. Windows built-in tools could resolve issues and fix them for you. If by any chance Windows is not able to find or resolve issues move to the next step.
  3. Check if the Device Manager is reporting an error and update the driver

    If the hardware is functioning properly then the issue might be in Windows not detecting device or driver malfunction. In any case, the Device Manager will be the one who will report this problem. In order to check to see if the driver is properly working press ⊞ WINDOWS + X to open the hidden start menu. keyboard with windows and x marked Once it opens, click on Device Manager to open it, If you have a driver device error inside Windows, you should see it immediately when entering the Device Manager, it will have a yellow exclamation mark beside it. Right-click on it and choose update driver.
  4. Reinstall driver

    If driver update failed or you already have the latest drivers, reinstalling them could fix the issue since drivers might have corrupted during installation of some update or application. Follow steps from point 3 to get to the driver in Device Manager, then right-click on it but instead of update choose to uninstall. Reboot Windows once the driver is uninstalled and Windows will install a new one automatically. If you do not want to update drivers automatically, do not restart your system, instead install the latest driver for your device, then reboot. Since this is a network error, you will have to get drivers on another computer and transfer them via USB to malfunctioning one.
  5. Check Windows update

    Check to see if the latest Windows update is installed, update your Windows if needed
  6. Fix driver issue with DRIVERFIX

    If everything else fails, get DRIVERFIX, a premium solution for your PC issues, and fix driver errors.
Read More
Fixing TV screen resolution on PC
When you connect your TV via HDMI cable Windows will recognize it as another monitor and will control the display settings for your HDMI connection. In most cases using it as the extended desktop will work fine, issues will arise when you play video on it. Video playing applications can override Windows settings which can lead to strange results on the screen. Here in this guide, we will tackle with reasons and solutions to this particular issue. Solutions provided are not meant to be followed in the way they are presented but as a silent rule, they go from most common one to most rare so it is advisable to try them in the order presented.

FIXING RESOLUTION ISSUES

The first thing when experiencing resolution issues on your TV connected to a PC is to check TV settings. There is very likely a chance that you will need to manually adjust picture settings on the TV itself using TV controls. On older models of TV, there is an overscan option which can lead to different resolutions and screen sizes. Overscan is a technology that was used in order to help content creators to deliver consistent pictures on different screen sizes and aspect ratios but how technology has advanced and everything including aspect ratio was standardized overscan itself has become a relic of the past. If you are unable to access or see edges of your desktop on the TV screen it is very likely that overscan is the issue. In order to fix this be sure to select HDTV's aspect ratio to fit the screen setting in the picture setting. Sadly finding this option on your TV will be different from manufacturer to manufacturer and even from model to model of the same manufacturer so we can not cover all models but in most cases option is located under picture settings or advanced options. Sometimes you will face even different overscan settings instead of classic ft to screen options, in this case, experiment with the setting until you find one which will work. If you have it, find settings in the user manual of your TV. Luckily you have managed to find the proper option on your TV set and have chosen the right aspect ratio for display. If everything works ok there is no need for the next step but if you experience a different resolution than desired on your TV follow this next guide on how to change the resolution of the TV on your PC.
  1. Press the ⊞ Windows and type Change Display Settings. Click on the top result.
  2. Once the Display Settings App opens, you’ll see two screens (or more if you’ve got multiple HDMI outputs connected). Make sure you select the right display for the HDMI TV before making any changes. You can do this by clicking on Identify.
  3. You’ll see the number from the screenshot above displayed on the monitors for a brief period. Depending on which screen is set to your primary display, make sure you change the settings for the HDMI monitor.
  4. Select the HDMI monitor from the available displays.
  5. Scroll down until you see the current resolution settings for your HDMI monitor.
  6. You can change the resolution settings and test different values that match your HDMI TV’s configuration.
  7. Once you change the setting, Windows will apply the new resolution for a limited time and revert if you don’t accept the new setting.
  8. Once you’ve found the best resolution for your TV, select Keep Changes to keep the new resolution.
You are all set now, make sure that you have the latest drivers on your system and enjoy using your TV as a second monitor.
Read More
How to map a network drive in Windows 11
windows 11 network driveMapping network drive has many benefits in terms of speed and ease of access of files via network. It lets you access the hard drive over the whole network like it was the hard drive inside your PC case. In order to easily and quickly map a folder as a network drive follow the guide below.
  1. Open File Explorer
  2. Click on the three dots icon in the Toolbar
  3. Select Map Network Drive
  4. Click the Drive drop-down menu
  5. Select a driver letter that you wish to assign as a network drive
  6. In the folder field enter network device and share name (click on browse to see all devices on local network)
  7. Check the box beside Reconnect at sign-in if you wish to automatically connect to a network drive on Windows startup
  8. Check Connect Using Different Credentials if you wish to connect to a network drive using different credentials that one used to login into Windows.
  9. Click Finish
After finishing setting Windows 11 will try to connect to the network drive and if successful drive icon will appear inside File Explorer and the drive will open up to see its content. If for any reason it cannot connect try checking user credentials, cables, network adapters, etc.
Read More
Computer boots to the BIOS when you turn it on
A number of users reported lately that their Windows 10 PCs automatically boots into the BIOS whenever they start their computers. And when they tried to exit the BIOS and restart their computers, it still boots into the BIOS. If you are one of the users who experience the same problem, worry not for this post will walk you through what you can do to resolve the problem. Each time a Windows 10 computer boots, it goes through a lot of processes and one of them is where it checks the computer for any hardware issue such as hard drives, peripherals, as well as external devices. So if it finds some issue, the computer will halt the boot process and will boot into the BIOS. To fix this, there are several suggestions you can try. You have to check if you’ve pressed any key, especially the F2 or F12, or Del keys. You also have to check the peripherals and external devices in your computer or update the BIOS or reset it. For more information, make sure to follow each one of the options laid out below.

Option 1 – Try to check for any pressed key

The first thing you can do is to check for any pressed key. This might not make any sense but a pressed key can actually cause this problem. So you have to check if you have the F2 or F12 or Del buttons pressed since these are hardware keys that are usually set by the OEM to boot into the BIOS.

Option 2 – Try checking the physical device connections

You might also want to try checking if there are other devices that are connected to your PC. This is because the configuration of the BIOS or UEFI might be configured in a way that any external device connected to the computer has a higher boot priority compared to the hard disk.  And if it’s really the case, the externally attached disk might be the drive your computer is trying to boot into and not the hard disk. In such cases, Pen Drives, USB storage devices, CDs, DVDs, and so on, are included in this category of physical device connections.

Option 3 – Try to set a proper boot device

If the Boot Manager wasn’t able to locate a proper boot device, then it could be the reason why your computer boots into the BIOS when you turn it on. Thus, you have to check if there is an available proper boot device. You can usually find it under the Boot priority section. However, if you’re unable to locate your hard drive or SSD under the Boot device, then you have to change the hard drive but you have to check first if it is properly plugged in and that it works on other computers. If it works on other PCs, then the problem lies in the motherboard of your computer, and in that case, you have to consult its manufacturer.

Option 4 – Try to update the BIOS

Updating the BIOS can help you fix the issue but as you know, BIOS is a sensitive part of a computer. Even though it is a software component, the functioning of the hardware depends on it largely. Thus, you must be careful when modifying something in the BIOS. So if you don’t know much about it, it’s best if you skip on this option and try the other ones instead. However, if you are well-versed in navigating the BIOS, then follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “msinfo32” in the field and press Enter to open System Information.
  • From there, you should find a search field on the bottom where you have to search for the BIOS version and then press Enter.
  • After that, you should see the developer and version of the BIOS installed on your PC.
  • Go to your manufacturer’s website and then download the latest version of BIOS on your computer.
  • If you are using a laptop, make sure that you keep it plugged in until you have updated the BIOS.
  • Now double click on the downloaded file and install the new BIOS version on your computer.
  • Now restart your computer to apply the changes made.
Note: If updating the BIOS didn’t help, you might want to consider resetting it instead.

Option 5 – Try resetting the BIOS/UEFI configuration

You might also want to reset the BIOS configuration which will lead to arranging the boot configuration since it is intended by the manufacturer. Note that this will get rid of any blockage in the boot process. All you have to do is take out the CMOS battery for a couple of seconds and then put it back again. After that restart, your computer and will be booted directly into Windows. Resetting the BIOS would also get rid of any password set for BIOS and you need to change your CMOS battery in case it didn’t work.
Read More
Disable or Enable App Launch Tracking
The Windows 10 operating system utilizes a variety of measures in order to track your app launches so that it can boost both your start and search results. It can personalize the start menu based on the apps that you use the most on the Start menu as well as the search results. This way, the App Launch Tracking is definitely useful especially when you want to access your favorite and frequently used apps quickly in the Start menu and search results on your Windows 10 computer. On the other hand, Windows 10 provides users with the ability to control their privacy settings in order to protect the privacy of users. Windows 10 users can either opt to enable the app launch tracking to improve the start menu and search menu or opt to disable the app launch tracking in order to prevent the Windows operating system from tracking that you open if you really value your privacy that much. Whichever setting you prefer, you need to change the privacy control settings as well as make some tweaks in the Windows Registry in order to turn on or turn off the app launch tracking feature.

Option 1 – Turn off or turn on app launch tracking via Settings

  • Go to Settings and click on Privacy.
  • After that, toggle On the “Let Windows track app launches to improve Start and search results” option on the right side of the page under the General Settings to enable the app launch tracking feature.
  • And of course, if you wish to disable the app launch tracking feature, simply toggle Off the “Let Windows track app launches to improve Start and search results” option on the very same page under General Settings.
  • After that, close the Settings window.
Note: Keep in mind that when you disable the app launch tracking feature, the “Show most used app” setting will either be grayed out or labeled as “Disable” on your Windows 10 computer. Thus, if you want to keep viewing the most used apps, just re-enable the app launch tracking feature if you have disabled it.

Option 2 – Turn off or turn on app launch tracking via Windows Registry

Before you proceed, make sure to create a System Restore point
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and hit Enter or click OK to open the Registry Editor.
  • Next, navigate to the following path:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
  • After that, right-click on the Advanced folder and then click on New to create a new 32-bit DWORD value.
  • Name the newly created DWORD as “Start TrackProgs” and set its value to “1” to enable the app launch tracking feature.
  • If you want to disable the app launch feature, set “0” as the value instead of 1.
  • Now click OK and restart your computer.
Take note that you still have to create a 32-bit DWORD value even if you are using a 64-bit Windows computer.
Read More
Automatically restart apps when you sign back
If you wish to continue where you have left off when you signed out of Windows follow this guide and learn how to continue your work after signing in, restart apps in your Windows. You can set Windows 10 to Automatically save your restartable apps when you sign out and restart them after you sign in. Here’s how:
  1. Right-click on the Windows logo to open the secret menu
  2. Select Settings
  3. Click open Accounts
  4. From the left side, select Sign-in options
  5. Scroll down till you see Restart apps setting
  6. Toggle the Automatically save your restartable apps when you sign out and restart them after you sign in setting to On position
Read More
Make AI images on your local PC

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".

stable diffusion

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.

Hardware and software requirements

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:

  • A GPU with at least 4GB of VRAM
  • 10GB of hard disk space
  • Python and libraries (Miniconda3 installer will install everything you need)
  • The Stable Diffusion files
  • Git
  • Any OS (Windows, Linux, macOS)

Installing components

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.

GIT

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").

Miniconda3

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.

Stable Diffusion

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.

Running Stable Diffusion

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

Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status