Month: July 2024
How to fix Quick_books Data Migration Failed Issue After Windows Updates?
Experiencing data migration issues in Quick_Books after a Windows update can be frustrating. Here’s a comprehensive guide to troubleshoot and resolve the problem:
1. Restart Your Computer
Action: Restarting your computer can often resolve temporary issues caused by recent updates.
2. Run Quick_Books as Administrator
Action: Right-click on the Quick_Books icon and select “Run as administrator.” This can help bypass any permission issues causing the migration failure.
3. Check for Quick_Books Updates
Action: Ensure Quick_Books is updated to the latest version:Steps:Open Quick_Books.Go to “Help” > “Update Quick_Books Desktop.”Click “Update Now” and “Get Updates.”Note: Install any available updates and restart Quick_Books.
4. Use Quick_Books Tool Hub
Download: Get the Quick_Books Tool Hub from the Intuit website.Steps:Open the Tool Hub.Go to the “Company File Issues” tab.Select “Run Quick_Books File Doctor” and follow the on-screen instructions.
5. Run Quick_Books Install Diagnostic Tool
Steps:Open Quick_Books Tool Hub.Go to the “Installation Issues” tab.Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.
6. Check Windows Updates
Action: Ensure your Windows operating system is fully updated:Steps:Go to “Settings” > “Update & Security” > “Windows Update.”Click “Check for updates” and install any pending updates.Note: Restart your computer after installing updates.
7. Check Quick_Books Permissions
Action: Ensure you have the necessary permissions to access and modify Quick_Books files:Steps:Right-click on the Quick_Books Desktop icon and select “Properties.”Go to the “Security” tab and ensure that your user account has full control.
8. Temporarily Disable Antivirus Software
Action: Antivirus software can sometimes interfere with Quick_Books operations:Steps:Temporarily disable your antivirus software.Try running the data migration again.Note: Remember to enable your antivirus software after testing.
9. Create a New Windows Admin User
Action: A corrupted user account can cause issues:Steps:Go to “Settings” > “Accounts” > “Family & other users.”Click “Add someone else to this PC.”Follow the prompts to create a new user with admin rights.Log in with the new user account and try the migration again.
10. Verify and Rebuild Data
Action: Use Quick_Books built-in tools to verify and rebuild your company file:Steps:Open Quick_Books.Go to “File” > “Utilities” > “Verify Data.”If Quick_Books detects an issue, go to “File” > “Utilities” > “Rebuild Data.”
11. Check the File Path
Action: Ensure that the file path is not too long or contains special characters:Steps:Move the Quick_Books company file to a shorter path, such as C:Quick_Books.
12. Perform a Clean Install of Quick_Books
Uninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.
13. Restore a Backup
Action: If the migration issue persists, restore a backup of your company file:Steps:Open Quick_Books.Go to “File” > “Open or Restore Company.”Select “Restore a backup copy” and follow the prompts to restore your data.
14. Contact Quick_Books Support
Action: If none of the above steps resolve the issue, contact Quick_Books support for further assistance.Support Number: Call for professional help.
By following these steps, you should be able to resolve the Quick_Books data migration failed issue after Windows updates. If the problem continues, seeking help from Quick_Books support can provide additional guidance and solutions.
Experiencing data migration issues in Quick_Books after a Windows update can be frustrating. Here’s a comprehensive guide to troubleshoot and resolve the problem:1. Restart Your ComputerAction: Restarting your computer can often resolve temporary issues caused by recent updates.2. Run Quick_Books as AdministratorAction: Right-click on the Quick_Books icon and select “Run as administrator.” This can help bypass any permission issues causing the migration failure.3. Check for Quick_Books UpdatesAction: Ensure Quick_Books is updated to the latest version:Steps:Open Quick_Books.Go to “Help” > “Update Quick_Books Desktop.”Click “Update Now” and “Get Updates.”Note: Install any available updates and restart Quick_Books.4. Use Quick_Books Tool HubDownload: Get the Quick_Books Tool Hub from the Intuit website.Steps:Open the Tool Hub.Go to the “Company File Issues” tab.Select “Run Quick_Books File Doctor” and follow the on-screen instructions.5. Run Quick_Books Install Diagnostic ToolSteps:Open Quick_Books Tool Hub.Go to the “Installation Issues” tab.Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.6. Check Windows UpdatesAction: Ensure your Windows operating system is fully updated:Steps:Go to “Settings” > “Update & Security” > “Windows Update.”Click “Check for updates” and install any pending updates.Note: Restart your computer after installing updates.7. Check Quick_Books PermissionsAction: Ensure you have the necessary permissions to access and modify Quick_Books files:Steps:Right-click on the Quick_Books Desktop icon and select “Properties.”Go to the “Security” tab and ensure that your user account has full control.8. Temporarily Disable Antivirus SoftwareAction: Antivirus software can sometimes interfere with Quick_Books operations:Steps:Temporarily disable your antivirus software.Try running the data migration again.Note: Remember to enable your antivirus software after testing.9. Create a New Windows Admin UserAction: A corrupted user account can cause issues:Steps:Go to “Settings” > “Accounts” > “Family & other users.”Click “Add someone else to this PC.”Follow the prompts to create a new user with admin rights.Log in with the new user account and try the migration again.10. Verify and Rebuild DataAction: Use Quick_Books built-in tools to verify and rebuild your company file:Steps:Open Quick_Books.Go to “File” > “Utilities” > “Verify Data.”If Quick_Books detects an issue, go to “File” > “Utilities” > “Rebuild Data.”11. Check the File PathAction: Ensure that the file path is not too long or contains special characters:Steps:Move the Quick_Books company file to a shorter path, such as C:Quick_Books.12. Perform a Clean Install of Quick_BooksUninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.13. Restore a BackupAction: If the migration issue persists, restore a backup of your company file:Steps:Open Quick_Books.Go to “File” > “Open or Restore Company.”Select “Restore a backup copy” and follow the prompts to restore your data.14. Contact Quick_Books SupportAction: If none of the above steps resolve the issue, contact Quick_Books support for further assistance.Support Number: Call for professional help.By following these steps, you should be able to resolve the Quick_Books data migration failed issue after Windows updates. If the problem continues, seeking help from Quick_Books support can provide additional guidance and solutions. Read More
Moved Windows folders still appear in the Users folder
I just moved a few folders from my C:UsersSteve folder to a folder on my D: drive. I did this using the Location tab on the properties of each folder. The folders moved without issues. I expect to see that the moved folders will appear at their new location and be gone from the old location.
The folders that I moved were Pictures, Music, Videos, Downloads, Documents and 3D Objects.
If I select my Personal Folder from the icon at the bottom of the Start menu, I see what I expect. If I use Explorer to go to C:UsersSteve I also see what I expect.
If I select “Steve” from the quick links menu on the left side of Explorer, the folders that I moved are still there. The Location tab on each of the icons properties does show the location on D:, but I don’t expect to see all these files/folders from multiple locations gathered together.
Why is this happening? Is it normal? How do I distinguish “C:UsersSteve” from “Steve Norton” in the Explorer? Where does “Steve Norton” exist on the computer?
I just moved a few folders from my C:UsersSteve folder to a folder on my D: drive. I did this using the Location tab on the properties of each folder. The folders moved without issues. I expect to see that the moved folders will appear at their new location and be gone from the old location. The folders that I moved were Pictures, Music, Videos, Downloads, Documents and 3D Objects.If I select my Personal Folder from the icon at the bottom of the Start menu, I see what I expect. If I use Explorer to go to C:UsersSteve I also see what I expect. If I select “Steve” from the quick links menu on the left side of Explorer, the folders that I moved are still there. The Location tab on each of the icons properties does show the location on D:, but I don’t expect to see all these files/folders from multiple locations gathered together. Why is this happening? Is it normal? How do I distinguish “C:UsersSteve” from “Steve Norton” in the Explorer? Where does “Steve Norton” exist on the computer? Read More
Deploying GPT-4o AI Chat app on Azure via Azure AI Services – a step-by-step guide
Deploying GPT-4o AI Chat web app on Azure via Azure AI services – a step-by-step guide.
Hello everyone, welcome to my latest blog post!
My name is Suzaril Shah and I am a Gold Microsoft Learn Student Ambassador and a Microsoft Certified Trainer from Malaysia.
I am excited to share the guide to deploy a GPT-4o AI Chat Web App on Azure via Azure AI Services.
Introduction to Azure AI services
Azure AI Services is an advanced suite of tools and services on Microsoft Azure designed to help businesses create, deploy, and scale AI solutions. It includes a variety of pre-trained models for tasks such as natural language processing, computer vision, and decision-making. These models, such as GPT-4 for text generation and DALL-E for image generation, offer state-of-the-art capabilities that can be customized and fine-tuned to meet specific business needs. Azure AI Services is built on Microsoft’s reliable and scalable cloud infrastructure, ensuring high performance, security, and seamless integration with existing workflows and applications.
To follow the guide for deploying a GPT-4o AI Chat app on Azure, you need the following requirements:
Requirements:
Microsoft Azure Account and Subscription. If you don’t already have one, you can sign up for an Azure free account. For Students, you can use the free Azure for Students offer which doesn’t require a credit card only your school email.
Filled up the Azure OpenAI registration form
Domain name (optional)
Step 1: Getting Access to the Azure AI Service.
To get access to Azure OpenAI services, you will need to fill up the registration form indicating the use for the Azure OpenAI platform. Once your access to Azure OpenAI is approved you will receive an email similar to the screenshot below:
You can now access the Azure AI Service from Azure portal. Simply search and click the “Azure AI Service” keyword on the Azure portal search bar.
Step 2: Create Azure AI Services on Azure
You can create the Azure AI Services by clicking on the “+ Create” button on the Azure AI Services overview page. Fill up the details required to create the Azure AI Services > Click on “Review + create” > “Create” button to deploy the Azure AI Services on Azure.
When the deployment is completed, click on “Go to resource” > “Go to Azure AI Studio” > Sign in to your Azure account to access the Azure AI Studio.
Deploying models on Azure AI Service
To create a chat playground (or use any of the Azure AI services), one must create at least one model deployments on Azure AI Studio. Since we are deploying an AI Chat App, we can use the GPT (Generative Pre-training Transformer) models available on Azure AI Studio.
Using deep learning algorithms, these models—which include GPT-3, GPT-3.5, GPT-4 and their latest iteration, GPT-4o – process and produce text that sounds human. Their ability to forecast and produce consecutive text depending on previous input, therefore mimicking a conversational partner like a human, has earned them a nickname: “chat completions“.
The term “chat completions” emphasises how useful the models are for finishing textual exchanges, modelling conversational dynamics, and producing answers that are quite similar to human output. Development of AI-driven chatbots, content creation tools, and programming helpers depends critically on this feature. Azure AI services enable developers and businesses to build advanced, AI-enhanced applications that push the limits of natural language processing and human-computer interaction by using the predictive potential of these models.
There are a lot more AI models in Azure AI studio, which includes:
Dall-E models – Generative AI used to generate Images/Pictures from user text input.
GPT/completion models – Generative AI used for chat completions, predicts and generates text to continue a given prompt, learning from vast datasets to produce relevant and coherent content
Embeddings models – Generative AI used to generate numerical representations (embeddings) of text, capturing its semantic meaning in a way that allows for the comparison and analysis of text data.
The list of models are accessible when you click the Model Catalog sub-tab on the left of the navigation menu on Azure AI studio:
Step 3: Creating Model deployment on Azure AI Services
Click on the “Deployments” sub-tab under the “Shared resources” tab on the navigation menu on the Azure AI Studio > “Create Deployment” and select a GPT model from the model catalogue.
GPT-4 on Azure is the latest advancement in natural language processing from OpenAI, offering significant improvements in accuracy, coherence, and versatility over previous models. This model can handle a wide range of tasks, from generating human-like text and understanding complex queries to summarizing documents and creating creative content.
GPT-4o supports multimodal capabilities, enabling it to handle both text and image inputs. This latest model, currently available in preview, allows users to integrate natural language processing with visual data, creating a richer and more interactive AI experience. This functionality opens up a wide array of use cases, such as analyzing images, generating descriptive text, and even integrating audio capabilities in the future.
Select GPT-4o models and click on the “Confirm” button and fill up the deployment details for the GPT-4o models > “Deploy” to finalize the deployment details.
Note: Selecting the Global Standard deployment type will allow you to leverage Azure’s global infrastructure to dynamically route traffic to the data center with best availability for each request. Global standard will provide the highest default quota for new models and eliminates the need to load balance across multiple resources.
Chat Playground on Azure AI Services.
Users can test and discover the possibilities of sophisticated language models such as GPT-4 through the Chat Playground on Azure AI Services. Developers, researchers, and business users can better grasp how these AI models can be used for a variety of tasks, including automated answers, content production, and customer care, with the aid of this intuitive interface.
With the Chat Playground, users may interact with the model directly by entering text questions and receiving real-time responses. It is simple to evaluate and adjust the model’s behaviour in accordance with particular needs thanks to this interactive arrangement. To access Chat Playground on Azure AI services, select the “Chat” sub-tab under the “Playgrounds” tab on the navigation menu on the left > Select the Model Deployed earlier.
The Chat Playground settings can significantly influence the behavior and performance of your Chat App. Here’s an overview of the key settings you can configure:
System Message: Start by defining your model’s purpose with the system message. This message shapes the model’s behavior and core functionality. To ensure specificity, include source data and examples of ideal responses. This helps the model understand its role and generate more accurate and contextually appropriate outputs.
Add Your Data (Preview): Enhance your model’s understanding and responsiveness by uploading or connecting your own data. Providing additional context and relevant information enables the model to generate more precise and informative responses. This feature is currently in preview, and you can learn more about how to connect your data.
Parameters: Fine-tune your model’s behavior with various parameters. Adjust the temperature to influence the creativity of the responses—the higher the temperature, the more creative and diverse the outputs. You can also set the maximum number of response tokens to control the length of the responses, ensuring they are concise and relevant.
Step 4: Deploy the Chat Playground on Azure via App Service Plan.
To deploy the AI Chat playground, click on the “Deploy to a web app” button on the top of the chat playground section and fill up the deployment details > “Deploy” to finalize the deployment.
Note: Enabling the chat history option will add additional charge (on top of the Azure App service plan) to your Azure subscription since all historical chats will be stored in the Cosmos DB database.
To view the deployment status for the web app, click on the “Deployments” sub-tab on the left-side of the Navigation menu on Azure AI services > “App Deployments” tab.
You can access the AI Chat web app by clicking on the deployment name once the Deployment status shows “Succeeded”. Sign in to your Azure account, click on the “Consent on behalf of your organisation” checkbox > “Accept”.
You should now be able to access the Chat Playground web app.
Step 5: Assign the AI Chat web app to a custom domain. (Optional)
You can also assign a custom domain for the AI chat web app to make it more accessible, and easy to remember to your end users, as compared to using endpoints like: https://gpt4-shah.azurewebsites.net/ . Go back to the Deployment page on Azure AI Studio and Click on “Azure Portal” under the “Manage” category.
Under the Properties tab, you should be able to see the “Domains” category. Click on the “Add custom domain” hyperlink to assign a domain to the web app > “Add custom domain”
Under the “Add custom domain” configuration page, make sure to select the “All other domain services”, if you have purchased domains from external TLD registrars. Enter your domain/sub-domain into the “Domain” field. In this case, I am going to assign the “gpt4.suzarilshah.uk” domain and verify the domain using the CNAME record type.
Add the DNS records on your DNS host so Azure can verify that you own the domain and can start pointing the web app’s traffic to the domain/subdomain.
After the DNS records are successfully added on the DNS Host, click on the “Validate”> “Add” button on Azure. Validation can take up to 72 hours to allow the DNS records to be completely propagated across the internet.
Step 6: Configure the AI Chat Web App Redirect URL (only required if you configure custom domain)
To enable authentication using Microsoft Entra ID (formerly Azure Active Directory) for a web app with a custom domain in Azure, you need to configure the Redirect URI (or URL) in the Microsoft Entra ID settings to match the custom domain of your web app. This ensures that the authentication process redirects users back to the correct URL after they sign in.
Navigate to the Microsoft Entra ID on the Azure Portal > Enterprise Applications > [YOUR_APP_NAME] > Under the “Manage” tab, click on the “Authentication” sub-tab on the left side of Azure Portal navigation menu. Click on the “Add URI” hyperlink and add a new Redirect URL using the following format:
https://[custom subdomain/domain]/.auth/login/aad/callback
Review the configuration and click on “Save” to save the configurations. Now you should be able to authenticate and access the web app from the custom domain you have configured just now.
Conclusions
Businesses wishing to take use of cutting-edge natural language processing capabilities can achieve a stable and scalable solution by deploying a GPT-4o AI Chat app on Azure using Azure AI Services. You can easily set up and launch a cutting-edge AI chat application that works with your current workflows and infrastructure by following the instructions provided in this article. Azure AI Services offers a range of pre-trained models that can be tailored to fit specific needs, from text production to image creation and beyond, in addition to a dependable and secure platform.
This guide covers every step required to deploy your GPT-4o model, set up the required resources, configure custom domains, and enable authentication using Azure AI Services. You can test and improve your AI model even more with the Chat Playground, making sure it satisfies your business needs and produces excellent, human-like interactions.
Through the use of Azure AI Services and the most recent developments in AI models, such as GPT-4o, enterprises can expand the frontiers of natural language processing and human-computer interaction. Azure offers a comprehensive and scalable platform to realise your vision for AI-driven applications, be it chatbots for customer support, content creation tools, or anything else.
Microsoft Tech Community – Latest Blogs –Read More
Generative AI for Beginners – Full Videos Series Released!
If you are a developer interested in learning more about Generative AI, “Generative AI for Beginners” is the perfect course for you. With 18 new video lessons, this open source Github repo covers everything from basic concepts to advanced techniques for building Generative AI applications. Each lesson includes both written and short video lessons, making it easy to follow along and learn at your own pace.
The course is designed for developers of all skill levels, but is especially helpful for those who are new to the field. It covers a wide range of topics, including how to create popular application types such as text generation, chat applications, and image generation. You can take the course in order or start and stop and focus on the lessons that interest you most.
One of the great things about this course is that it’s open source, which means you can make a pull request if you see an opportunity to improve it. Our Microsoft AI Discord community is also very active, with a channel where learners can discuss and learn more about building Generative AI applications.
You can meet other learner from the course in the Azure AI Discord where we host community roundtables to help further discuss and learn about building GenAI applications.
Here is a complete lesson list:
Introduction to Generative AI and LLMs
Exploring and comparing different LLMs
Using Generative AI Responsibly
Understanding Prompt Engineering Fundamentals
Building Text Generation Applications
Building Search Apps Vector Databases
Building Image Generation Applications
Building Low Code AI Applications
Integrating External Applications with Function Calling
Designing UX for AI Applications
Securing Your Generative AI Applications
The Generative AI Application Lifecycle
Retrieval Augmented Generation (RAG) and Vector Databases
Open Source Models and Hugging Face
The course is open source so feel free to make a pull request if you see an opportunity to make any improvements! “Generative AI for Beginners” is the perfect course for developers who want to learn more about this exciting field. With its comprehensive lessons and open source approach, it’s sure to be a valuable resource for anyone looking to get started with Generative AI.
Microsoft Tech Community – Latest Blogs –Read More
Getting error while using .m files in MATLAB function block in simulink.
Hello,
I am currently working on creating a custom RMS block within MATLAB’s Simulink environment.
My goal is to replicate the functionality of the standard RMS block using a MATLAB function.
I have developed an .m file (attached) that calculates the RMS value. However, I am encountering difficulties in implementing this code within the Simulink Function block.
Could anyone assist me in resolving this issue?
thank you
-Madhusudan reddyHello,
I am currently working on creating a custom RMS block within MATLAB’s Simulink environment.
My goal is to replicate the functionality of the standard RMS block using a MATLAB function.
I have developed an .m file (attached) that calculates the RMS value. However, I am encountering difficulties in implementing this code within the Simulink Function block.
Could anyone assist me in resolving this issue?
thank you
-Madhusudan reddy Hello,
I am currently working on creating a custom RMS block within MATLAB’s Simulink environment.
My goal is to replicate the functionality of the standard RMS block using a MATLAB function.
I have developed an .m file (attached) that calculates the RMS value. However, I am encountering difficulties in implementing this code within the Simulink Function block.
Could anyone assist me in resolving this issue?
thank you
-Madhusudan reddy matlab, hdl, rms, matlab function, ni fpga MATLAB Answers — New Questions
3-factor anova
Hello,
I would like to ask how to perform 3-factor anova (2-level noise, 3-level device, 9-level activity) on ECG signal data as well how to prepare related charts?Hello,
I would like to ask how to perform 3-factor anova (2-level noise, 3-level device, 9-level activity) on ECG signal data as well how to prepare related charts? Hello,
I would like to ask how to perform 3-factor anova (2-level noise, 3-level device, 9-level activity) on ECG signal data as well how to prepare related charts? anova MATLAB Answers — New Questions
when i package app and simulink file,why have this error
function startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failurefunction startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failure function startupFcn(app)
start_simulink
end
% Button pushed function: Button
function ButtonPushed(app, event)
%创建模型输入
simInp = Simulink.SimulationInput(‘untitled’);
simInp = simInp.setVariable(‘a’,app.EditField.Value);
simInp = simulink.compiler.configureForDeployment(simInp);
%执行并取出结果
simOut = sim(simInp);
b=simOut.b;
app.EditField_2.Value=b;
end
this is my code in app,and the package error is
Preparing Runtime…
mcc -o app1 -W ‘WinMain:app1,version=1.0’ -T link:exe -d C:UsersadminDesktop322newapp1for_testing -v C:UsersadminDesktop322newapp1.mlapp -a C:UsersadminDesktop322newtest.m -a C:UsersadminDesktop322newuntitled.slx -r D:matlab2023toolboxcompilerpackagingResourcesdefault_icon.ico
Compiler version: 8.6 (R2023a)
Analyzing file dependencies.
Unable to build Simulink Rapid Accelerator target.
mcc failure appdesigner, simulink MATLAB Answers — New Questions
Extract features from training images (Matlab – Computer Vision)
Hello. Thanks for reading my question. Sorry if it’s an easy question but I’m new in Matlab and Computer Vision. I’m trying to extract features from training images. I need to use histogram of color, histogram of gradient, SIFT-like features and compare their performance. I’m lost and have spent days to find a good way to use. How would you extract features in this example? I have put %Start and %End where I need to do that.
A written code would be greatly appreciated.
% Step-1: Load training and test data using imageSet.
imageDir = fullfile(‘./data’);
% imageSet recursively scans the directory tree containing the images.
flowerImageSet = imageSet(imageDir, ‘recursive’);
%% step-2: Partition the data set into a training set and a test set.
tmparr=randperm(80);
arrTrainID=tmparr(1:50); %training ID;
arrTestID=tmparr(51:end);% testing ID;
%% Step-3: Train the classifier using features extracted from the training set.
% Step 3.1 Extract features from training images
trainingFeatures = [];
trainingLabels = [];
featureSize =128;
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTrainID);
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTrainID(i)));
%START
features(i, 🙂 = rand(1,featureSize);
%END
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
trainingFeatures = [trainingFeatures; features];
trainingLabels = [trainingLabels; labels ];
end
%%
% Step 3.2, train a classifier using the extracted features.
classifier = fitcecoc(trainingFeatures, trainingLabels);
%% Step 4: Evaluate the Flower Classifier
testFeatures=[];
testLabels=[];
% Step 4.1: Loop over the testing images and extract features from each image.
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTestID); %
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTestID(i)));
%Start
features(i, 🙂 = rand(1,featureSize);
%End
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
testFeatures = [testFeatures; features];
testLabels = [testLabels; labels ];
end
% Step 4.2: Make class predictions using the test features.
predictedLabels = predict(classifier, testFeatures);
% Step 4.3: Tabulate the results using a confusion matrix.
confMat = confusionmat(testLabels, predictedLabels);
% Step 4.4: calculate accuracy
fprintf(‘accuracy=%f’,sum(diag(confMat))/sum(confMat(:)));Hello. Thanks for reading my question. Sorry if it’s an easy question but I’m new in Matlab and Computer Vision. I’m trying to extract features from training images. I need to use histogram of color, histogram of gradient, SIFT-like features and compare their performance. I’m lost and have spent days to find a good way to use. How would you extract features in this example? I have put %Start and %End where I need to do that.
A written code would be greatly appreciated.
% Step-1: Load training and test data using imageSet.
imageDir = fullfile(‘./data’);
% imageSet recursively scans the directory tree containing the images.
flowerImageSet = imageSet(imageDir, ‘recursive’);
%% step-2: Partition the data set into a training set and a test set.
tmparr=randperm(80);
arrTrainID=tmparr(1:50); %training ID;
arrTestID=tmparr(51:end);% testing ID;
%% Step-3: Train the classifier using features extracted from the training set.
% Step 3.1 Extract features from training images
trainingFeatures = [];
trainingLabels = [];
featureSize =128;
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTrainID);
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTrainID(i)));
%START
features(i, 🙂 = rand(1,featureSize);
%END
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
trainingFeatures = [trainingFeatures; features];
trainingLabels = [trainingLabels; labels ];
end
%%
% Step 3.2, train a classifier using the extracted features.
classifier = fitcecoc(trainingFeatures, trainingLabels);
%% Step 4: Evaluate the Flower Classifier
testFeatures=[];
testLabels=[];
% Step 4.1: Loop over the testing images and extract features from each image.
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTestID); %
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTestID(i)));
%Start
features(i, 🙂 = rand(1,featureSize);
%End
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
testFeatures = [testFeatures; features];
testLabels = [testLabels; labels ];
end
% Step 4.2: Make class predictions using the test features.
predictedLabels = predict(classifier, testFeatures);
% Step 4.3: Tabulate the results using a confusion matrix.
confMat = confusionmat(testLabels, predictedLabels);
% Step 4.4: calculate accuracy
fprintf(‘accuracy=%f’,sum(diag(confMat))/sum(confMat(:))); Hello. Thanks for reading my question. Sorry if it’s an easy question but I’m new in Matlab and Computer Vision. I’m trying to extract features from training images. I need to use histogram of color, histogram of gradient, SIFT-like features and compare their performance. I’m lost and have spent days to find a good way to use. How would you extract features in this example? I have put %Start and %End where I need to do that.
A written code would be greatly appreciated.
% Step-1: Load training and test data using imageSet.
imageDir = fullfile(‘./data’);
% imageSet recursively scans the directory tree containing the images.
flowerImageSet = imageSet(imageDir, ‘recursive’);
%% step-2: Partition the data set into a training set and a test set.
tmparr=randperm(80);
arrTrainID=tmparr(1:50); %training ID;
arrTestID=tmparr(51:end);% testing ID;
%% Step-3: Train the classifier using features extracted from the training set.
% Step 3.1 Extract features from training images
trainingFeatures = [];
trainingLabels = [];
featureSize =128;
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTrainID);
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTrainID(i)));
%START
features(i, 🙂 = rand(1,featureSize);
%END
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
trainingFeatures = [trainingFeatures; features];
trainingLabels = [trainingLabels; labels ];
end
%%
% Step 3.2, train a classifier using the extracted features.
classifier = fitcecoc(trainingFeatures, trainingLabels);
%% Step 4: Evaluate the Flower Classifier
testFeatures=[];
testLabels=[];
% Step 4.1: Loop over the testing images and extract features from each image.
for flower = 1:numel(flowerImageSet)
numImages = numel(arrTestID); %
features = zeros(numImages, featureSize);
for i = 1:numImages
img = rgb2gray(read(flowerImageSet(flower), arrTestID(i)));
%Start
features(i, 🙂 = rand(1,featureSize);
%End
end
% Use the imageSet Description as the training labels.
labels = repmat(flowerImageSet(flower).Description, numImages, 1);
testFeatures = [testFeatures; features];
testLabels = [testLabels; labels ];
end
% Step 4.2: Make class predictions using the test features.
predictedLabels = predict(classifier, testFeatures);
% Step 4.3: Tabulate the results using a confusion matrix.
confMat = confusionmat(testLabels, predictedLabels);
% Step 4.4: calculate accuracy
fprintf(‘accuracy=%f’,sum(diag(confMat))/sum(confMat(:))); computer vision, computer science MATLAB Answers — New Questions
Data format for batch inferencing of finetuned phi-3 model
I created a batch endpoint and deployed the model there. I created a job and provided the data that I formatted in the manner shown in the second image. I simple passed the whole prompt as a string in a single column dataframe which I converted into csv before writing it in a .csv file.
The data format (.csv) that I am using for inferencing produces the error : “each data point should be a conversation array” when running the batch scoring job. All the documentations provided online deal with image data so I am unable to figure out the format for my data. I am trying to create a job from the “Create job” button under the batch endpoint. I am using Azure ML platform and I have fine-tuned a phi-3-mini-4k-instruct model using the “eurlex” data available on huggingface. The training process required a jsonl format for the training data. However, while trying the run the batch inference, the data assets are only stored in csv,png etc. formats.The training data looked something like the first image. I converted this into jsonl format. I created a batch endpoint and deployed the model there. I created a job and provided the data that I formatted in the manner shown in the second image. I simple passed the whole prompt as a string in a single column dataframe which I converted into csv before writing it in a .csv file. I have also tried making a dataframe with 3 columns – system,assistant,user but it doesn’t work either. Read More
How to Fix Quick_books Keeps Crashing windows 11 after update?
Experiencing crashes in Quick_Books on Windows 11 after an update can be frustrating. Here are several steps you can take to troubleshoot and fix this issue:
1. Restart Your Computer
Action: Sometimes, a simple restart can resolve software conflicts. Reboot your computer and try opening Quick_Books again.
2. Run Quick_Books as Administrator
Action: Right-click on the Quick_Books icon and select “Run as administrator.” This can help bypass any permission issues causing the crashes.
3. Update Quick_Books to the Latest Version
Action: Open Quick_Books and go to the Help menu.Steps: Select “Update Quick_Books Desktop,” then “Update Now,” and click “Get Updates.”Note: After the update, restart Quick_Books and check if the issue persists.
4. Disable Antivirus/Firewall Temporarily
Action: Temporarily disable your antivirus or firewall software to check if they are causing the issue.Note: Remember to enable them again after testing.
5. Use Quick_Books Tool Hub
Download: Get the Quick_Books Tool Hub from the Intuit website.Steps: Open the Tool Hub and go to the “Program Problems” tab, then select “Quick Fix my Program.”Note: This tool can resolve common issues that may cause Quick_Books to crash.
6. Run Quick_Books Install Diagnostic Tool
Action: Within the Quick_Books Tool Hub, go to the “Installation Issues” tab.Steps: Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.Note: This process may take some time to complete.
7. Check for Windows Updates
Action: Ensure your Windows 11 is up to date.Steps: Go to “Settings” > “Update & Security” > “Windows Update,” and click “Check for updates.”Note: Install any pending updates and restart your computer.
8. Rename/Delete QBWUSER.ini File
Action: Renaming or deleting the QBWUSER.ini file can help resolve corrupt file issues.Steps: Navigate to the folder containing the QBWUSER.ini file (usually in the AppData directory).Note: Rename it to QBWUSER.ini.old or delete it. This will reset your Quick_Books settings, so you’ll need to reconfigure them.
9. Repair Quick_Books Installation
Action: Repairing the Quick_Books installation can fix corrupt files.Steps: Go to “Control Panel” > “Programs and Features,” select Quick_Books, and click “Repair.”Note: Follow the on-screen instructions to complete the repair process.
10. Adjust User Account Control Settings
Action: Modify User Account Control (UAC) settings to prevent interference.Steps: Go to “Control Panel” > “User Accounts” > “Change User Account Control settings,” and move the slider to “Never notify.”Note: Restart your computer after making changes.
11. Check for Conflicting Programs
Action: Some programs may conflict with Quick_Books.Steps: Perform a clean boot by disabling all non-Microsoft services.Note: Enable services one by one to identify the conflicting program.
12. Perform a Clean Install of Quick_Books
Uninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.
13. Contact Quick_Books Support
Action: If the issue persists, contact Quick_Books support for further assistance.Support Number: Call for expert help.
By following these steps, you should be able to resolve the issue of Quick_Books crashing on Windows 11 after an update. If the problem continues, it may be best to seek professional assistance from Quick_Books support.
Experiencing crashes in Quick_Books on Windows 11 after an update can be frustrating. Here are several steps you can take to troubleshoot and fix this issue: 1. Restart Your ComputerAction: Sometimes, a simple restart can resolve software conflicts. Reboot your computer and try opening Quick_Books again.2. Run Quick_Books as AdministratorAction: Right-click on the Quick_Books icon and select “Run as administrator.” This can help bypass any permission issues causing the crashes.3. Update Quick_Books to the Latest VersionAction: Open Quick_Books and go to the Help menu.Steps: Select “Update Quick_Books Desktop,” then “Update Now,” and click “Get Updates.”Note: After the update, restart Quick_Books and check if the issue persists.4. Disable Antivirus/Firewall TemporarilyAction: Temporarily disable your antivirus or firewall software to check if they are causing the issue.Note: Remember to enable them again after testing.5. Use Quick_Books Tool HubDownload: Get the Quick_Books Tool Hub from the Intuit website.Steps: Open the Tool Hub and go to the “Program Problems” tab, then select “Quick Fix my Program.”Note: This tool can resolve common issues that may cause Quick_Books to crash.6. Run Quick_Books Install Diagnostic ToolAction: Within the Quick_Books Tool Hub, go to the “Installation Issues” tab.Steps: Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.Note: This process may take some time to complete.7. Check for Windows UpdatesAction: Ensure your Windows 11 is up to date.Steps: Go to “Settings” > “Update & Security” > “Windows Update,” and click “Check for updates.”Note: Install any pending updates and restart your computer.8. Rename/Delete QBWUSER.ini FileAction: Renaming or deleting the QBWUSER.ini file can help resolve corrupt file issues.Steps: Navigate to the folder containing the QBWUSER.ini file (usually in the AppData directory).Note: Rename it to QBWUSER.ini.old or delete it. This will reset your Quick_Books settings, so you’ll need to reconfigure them.9. Repair Quick_Books InstallationAction: Repairing the Quick_Books installation can fix corrupt files.Steps: Go to “Control Panel” > “Programs and Features,” select Quick_Books, and click “Repair.”Note: Follow the on-screen instructions to complete the repair process.10. Adjust User Account Control SettingsAction: Modify User Account Control (UAC) settings to prevent interference.Steps: Go to “Control Panel” > “User Accounts” > “Change User Account Control settings,” and move the slider to “Never notify.”Note: Restart your computer after making changes.11. Check for Conflicting ProgramsAction: Some programs may conflict with Quick_Books.Steps: Perform a clean boot by disabling all non-Microsoft services.Note: Enable services one by one to identify the conflicting program.12. Perform a Clean Install of Quick_BooksUninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.13. Contact Quick_Books SupportAction: If the issue persists, contact Quick_Books support for further assistance.Support Number: Call for expert help.By following these steps, you should be able to resolve the issue of Quick_Books crashing on Windows 11 after an update. If the problem continues, it may be best to seek professional assistance from Quick_Books support. Read More
How fix Quick_books Unrecoverable Error when opening company file?
An Unrecoverable Error in Quick_Books typically indicates a critical issue that prevents the application from functioning correctly. Here’s a comprehensive guide to troubleshoot and resolve this error when opening a company file:
1. Identify Error Code
Action: Note the error codes displayed in the Unrecoverable Error message. This information can help in further troubleshooting.
2. Restart Your Computer
Action: Restarting your computer can sometimes resolve temporary issues causing the error.
3. Suppress Quick_Books Desktop
Action: To bypass opening the company file automatically:Steps:Press and hold the Ctrl key.Double-click the Quick_Books Desktop icon while holding the Ctrl key.Hold the Ctrl key until you see the “No Company Open” window.
4. Open a Sample Company File
Action: Check if the issue is specific to your company file:Steps:In the “No Company Open” window, click on “Open a Sample File.”Select any sample company file.Note: If the sample file opens without issues, the problem is likely with your company file.
5. Run Quick_Books File Doctor
Download: Get the Quick_Books Tool Hub from the Intuit website.Steps:Open the Quick_Books Tool Hub.Go to the “Company File Issues” tab.Select “Run Quick_Books File Doctor” and follow the on-screen instructions.
6. Copy the Company File to a Different Location
Action: Moving the company file can sometimes resolve issues related to file location:Steps:Copy the company file (with .QBW extension) to a different folder.Try opening the file from the new location.
7. Rename the .ND and .TLG Files
Action: These files can sometimes become corrupt:Steps:Locate the .ND and .TLG files in the folder where your company file is saved.Rename these files by adding .OLD at the end (e.g., CompanyName.qbw.nd.OLD).Note: Quick_Books will recreate these files the next time you open the company file.
8. Run Quick_Books Install Diagnostic Tool
Steps:Open Quick_Books Tool Hub.Go to the “Installation Issues” tab.Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.
9. Update Quick_Books Desktop
Action: Ensure Quick_Books is updated to the latest release:Steps:Open Quick_Books.Go to “Help” > “Update Quick_Books Desktop.”Click “Update Now” and “Get Updates.”
10. Create a New Windows Admin User
Action: A corrupted user account can cause issues:Steps:Go to “Settings” > “Accounts” > “Family & other users.”Click “Add someone else to this PC.”Follow the prompts to create a new user with admin rights.Log in with the new user account and try opening Quick_Books.
11. Verify and Rebuild Data
Action: Use Quick_Books built-in tools to verify and rebuild your company file:Steps:Go to “File” > “Utilities” > “Verify Data.”If Quick_Books detects an issue, go to “File” > “Utilities” > “Rebuild Data.”
12. Perform a Clean Install of Quick_Books
Uninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.
13. Check Quick_Books Permissions
Action: Ensure you have the correct permissions to access the company file:Steps:Right-click on the Quick_Books Desktop icon and select “Properties.”Go to the “Security” tab and ensure that your user account has full control.
14. Temporarily Disable Antivirus Software
Action: Sometimes antivirus software can interfere with Quick_Books:Steps:Temporarily disable your antivirus software and try opening Quick_Books again.Note: Remember to enable your antivirus software after testing.
An Unrecoverable Error in Quick_Books typically indicates a critical issue that prevents the application from functioning correctly. Here’s a comprehensive guide to troubleshoot and resolve this error when opening a company file:1. Identify Error CodeAction: Note the error codes displayed in the Unrecoverable Error message. This information can help in further troubleshooting.2. Restart Your ComputerAction: Restarting your computer can sometimes resolve temporary issues causing the error.3. Suppress Quick_Books DesktopAction: To bypass opening the company file automatically:Steps:Press and hold the Ctrl key.Double-click the Quick_Books Desktop icon while holding the Ctrl key.Hold the Ctrl key until you see the “No Company Open” window.4. Open a Sample Company FileAction: Check if the issue is specific to your company file:Steps:In the “No Company Open” window, click on “Open a Sample File.”Select any sample company file.Note: If the sample file opens without issues, the problem is likely with your company file.5. Run Quick_Books File DoctorDownload: Get the Quick_Books Tool Hub from the Intuit website.Steps:Open the Quick_Books Tool Hub.Go to the “Company File Issues” tab.Select “Run Quick_Books File Doctor” and follow the on-screen instructions.6. Copy the Company File to a Different LocationAction: Moving the company file can sometimes resolve issues related to file location:Steps:Copy the company file (with .QBW extension) to a different folder.Try opening the file from the new location.7. Rename the .ND and .TLG FilesAction: These files can sometimes become corrupt:Steps:Locate the .ND and .TLG files in the folder where your company file is saved.Rename these files by adding .OLD at the end (e.g., CompanyName.qbw.nd.OLD).Note: Quick_Books will recreate these files the next time you open the company file.8. Run Quick_Books Install Diagnostic ToolSteps:Open Quick_Books Tool Hub.Go to the “Installation Issues” tab.Select “Quick_Books Install Diagnostic Tool” and let it run to fix any installation-related issues.9. Update Quick_Books DesktopAction: Ensure Quick_Books is updated to the latest release:Steps:Open Quick_Books.Go to “Help” > “Update Quick_Books Desktop.”Click “Update Now” and “Get Updates.”10. Create a New Windows Admin UserAction: A corrupted user account can cause issues:Steps:Go to “Settings” > “Accounts” > “Family & other users.”Click “Add someone else to this PC.”Follow the prompts to create a new user with admin rights.Log in with the new user account and try opening Quick_Books.11. Verify and Rebuild DataAction: Use Quick_Books built-in tools to verify and rebuild your company file:Steps:Go to “File” > “Utilities” > “Verify Data.”If Quick_Books detects an issue, go to “File” > “Utilities” > “Rebuild Data.”12. Perform a Clean Install of Quick_BooksUninstall: Go to “Control Panel” > “Programs and Features,” and uninstall Quick_Books.Use Clean Install Tool: Download and use the Quick_Books Clean Install Tool from the Quick_Books Tool Hub.Reinstall: Reinstall Quick_Books using the original installation files or CD.13. Check Quick_Books PermissionsAction: Ensure you have the correct permissions to access the company file:Steps:Right-click on the Quick_Books Desktop icon and select “Properties.”Go to the “Security” tab and ensure that your user account has full control.14. Temporarily Disable Antivirus SoftwareAction: Sometimes antivirus software can interfere with Quick_Books:Steps:Temporarily disable your antivirus software and try opening Quick_Books again.Note: Remember to enable your antivirus software after testing. Read More
Could someone please explain something to me?
I have quit Onedrive for some time now, as I don’t need a ‘Backup’ I do my own regular Image backup to an External HDD.
But I notice that when you expand the Onedrive file (see attached photo) you seem to see that you have a duplicate of everything you have in your computer’s ‘Documents’ and ‘Pictures folders’. Is Onedrive storing a complete second copy of Documents and Pictures etc. using up double the space on your computer’s hard drive?
I have quit Onedrive for some time now, as I don’t need a ‘Backup’ I do my own regular Image backup to an External HDD.But I notice that when you expand the Onedrive file (see attached photo) you seem to see that you have a duplicate of everything you have in your computer’s ‘Documents’ and ‘Pictures folders’. Is Onedrive storing a complete second copy of Documents and Pictures etc. using up double the space on your computer’s hard drive? Read More
Command vs. Powershell
I think I mucked up some a setting related to Command/Powershell. Now if I run Command from the Start icon, I get a Command window – but if I pin it to the task bar, the next time I open from there, I get Powershell! How do I fix it so I get a Command box when I open it from the task bar – I already have a Powershell icon there.
I think I mucked up some a setting related to Command/Powershell. Now if I run Command from the Start icon, I get a Command window – but if I pin it to the task bar, the next time I open from there, I get Powershell! How do I fix it so I get a Command box when I open it from the task bar – I already have a Powershell icon there. Read More
File Explorer Stops Responding (23H2)
Hi everyone,
I have noticed recently on both my laptop and desktop that file explorer randomly stops responding and I have to close the instance and re-open.
Is anyone else experiencing the same?
Hi everyone,I have noticed recently on both my laptop and desktop that file explorer randomly stops responding and I have to close the instance and re-open. Is anyone else experiencing the same? Read More
Shutdown/restart screen is missing
Hello, my OS stopped to show shutdown/restart screen phase text (Restarting…/Shutting down…), there’s just blank black screen.
Since the system restarts/shuts down it may be a cosmetic issue but also can indicate something deeper is broken, so I’d prefer to have it fixed.
There’s no error messages or unusual behaviour otherwise, I’m having 23H2 updated to Moment 5 recently. Can I get some ideas what gone wrong?
Hello, my OS stopped to show shutdown/restart screen phase text (Restarting…/Shutting down…), there’s just blank black screen.Since the system restarts/shuts down it may be a cosmetic issue but also can indicate something deeper is broken, so I’d prefer to have it fixed.There’s no error messages or unusual behaviour otherwise, I’m having 23H2 updated to Moment 5 recently. Can I get some ideas what gone wrong? Read More
How to Automatically detect MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows) toolchain in code generation setting ?
Hi ,
I have set setting for the toolchain "Automatically locate an installed toolchain" so it is selecting MINGW64 | gmake (64-bit windows). Instead of this i want it should detect "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)" automatically. I have already installed Microsoft visual c++ 2015-2019 redistributable (x64). check the attached image.
Note: I do not wanted to change " "Automatically locate an installed toolchain", it should detect automatically "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)"
Please help on this topic.Hi ,
I have set setting for the toolchain "Automatically locate an installed toolchain" so it is selecting MINGW64 | gmake (64-bit windows). Instead of this i want it should detect "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)" automatically. I have already installed Microsoft visual c++ 2015-2019 redistributable (x64). check the attached image.
Note: I do not wanted to change " "Automatically locate an installed toolchain", it should detect automatically "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)"
Please help on this topic. Hi ,
I have set setting for the toolchain "Automatically locate an installed toolchain" so it is selecting MINGW64 | gmake (64-bit windows). Instead of this i want it should detect "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)" automatically. I have already installed Microsoft visual c++ 2015-2019 redistributable (x64). check the attached image.
Note: I do not wanted to change " "Automatically locate an installed toolchain", it should detect automatically "MicrosoftVisual C++ 2019 v16.0 | nmake (64-bit Windows)"
Please help on this topic. embedded coder, simulink MATLAB Answers — New Questions
I am working on a simulation in Simscape involving a three-phase rectifier fed by a three-phase synchronous machine (alternator with round rotor).
I have successfully modeled both components, but I am facing a significant issue. When I replace the three-phase voltage source with the alternator, the input voltage to the three-phase rectifier becomes nearly zero, despite the alternator producing a stable three-phase voltage.
Here are the details of my setup:
Rectifier Configuration:
Using a Universal Bridge block in Simulink and a Converter (Three-Phase) block in Simscape.
Parameters for Universal Bridge:
Number of bridge arms: 3
Snubber resistance Rs: 1e5 Ohms
Snubber capacitance Cs: inf
Power electronic device: IGBT / Diodes
Ron: 1e-3 Ohms
Forward voltages [Device Vf(V), Diode Vfd(V)]: [0 0]
Parameters for Converter (Three-Phase):
Forward voltage, Vf: 0.00000001 V
On-state resistance: 0.001 Ohm
Off-state conductance: 1e-6 1/Ohm
Threshold voltage, Vth: 0.1 V
Integral protection diode: Diode with no dynamics
Forward voltage: 0.00000001 V
On resistance: 0.001 Ohm
Off conductance: 1e-5 1/Ohm
Snubber: RC snubber
Snubber capacitance: 1e-7 F
Snubber resistance: 1e5 Ohms
Alternator Parameters:
Three-phase synchronous machine with a round rotor.
Proper initialization and verified output: stable three-phase voltage and current.
Simulation Settings:
Solver: ode23t
Proper machine initialization.
Problem Description:
The output of the alternator is a good three-phase voltage and current when checked independently.
When the alternator is connected to the rectifier, the input voltage to the rectifier is distorted and significantly diminished.
No connection issues were found, and the simulation settings were adjusted, including changing the solver to ode23t, but the problem persists.
Questions:
What could be causing the input voltage to the rectifier to be nearly zero when using the three-phase synchronous machine as the source?
Are there specific snubber values or configurations that could resolve this issue?
Could there be any interaction or parameter mismatch between the alternator and the rectifier that I need to address?
What are the best practices for setting snubber parameters in such a setup?
Any insights or suggestions to resolve this issue would be greatly appreciated. Thank you for your help!I have successfully modeled both components, but I am facing a significant issue. When I replace the three-phase voltage source with the alternator, the input voltage to the three-phase rectifier becomes nearly zero, despite the alternator producing a stable three-phase voltage.
Here are the details of my setup:
Rectifier Configuration:
Using a Universal Bridge block in Simulink and a Converter (Three-Phase) block in Simscape.
Parameters for Universal Bridge:
Number of bridge arms: 3
Snubber resistance Rs: 1e5 Ohms
Snubber capacitance Cs: inf
Power electronic device: IGBT / Diodes
Ron: 1e-3 Ohms
Forward voltages [Device Vf(V), Diode Vfd(V)]: [0 0]
Parameters for Converter (Three-Phase):
Forward voltage, Vf: 0.00000001 V
On-state resistance: 0.001 Ohm
Off-state conductance: 1e-6 1/Ohm
Threshold voltage, Vth: 0.1 V
Integral protection diode: Diode with no dynamics
Forward voltage: 0.00000001 V
On resistance: 0.001 Ohm
Off conductance: 1e-5 1/Ohm
Snubber: RC snubber
Snubber capacitance: 1e-7 F
Snubber resistance: 1e5 Ohms
Alternator Parameters:
Three-phase synchronous machine with a round rotor.
Proper initialization and verified output: stable three-phase voltage and current.
Simulation Settings:
Solver: ode23t
Proper machine initialization.
Problem Description:
The output of the alternator is a good three-phase voltage and current when checked independently.
When the alternator is connected to the rectifier, the input voltage to the rectifier is distorted and significantly diminished.
No connection issues were found, and the simulation settings were adjusted, including changing the solver to ode23t, but the problem persists.
Questions:
What could be causing the input voltage to the rectifier to be nearly zero when using the three-phase synchronous machine as the source?
Are there specific snubber values or configurations that could resolve this issue?
Could there be any interaction or parameter mismatch between the alternator and the rectifier that I need to address?
What are the best practices for setting snubber parameters in such a setup?
Any insights or suggestions to resolve this issue would be greatly appreciated. Thank you for your help! I have successfully modeled both components, but I am facing a significant issue. When I replace the three-phase voltage source with the alternator, the input voltage to the three-phase rectifier becomes nearly zero, despite the alternator producing a stable three-phase voltage.
Here are the details of my setup:
Rectifier Configuration:
Using a Universal Bridge block in Simulink and a Converter (Three-Phase) block in Simscape.
Parameters for Universal Bridge:
Number of bridge arms: 3
Snubber resistance Rs: 1e5 Ohms
Snubber capacitance Cs: inf
Power electronic device: IGBT / Diodes
Ron: 1e-3 Ohms
Forward voltages [Device Vf(V), Diode Vfd(V)]: [0 0]
Parameters for Converter (Three-Phase):
Forward voltage, Vf: 0.00000001 V
On-state resistance: 0.001 Ohm
Off-state conductance: 1e-6 1/Ohm
Threshold voltage, Vth: 0.1 V
Integral protection diode: Diode with no dynamics
Forward voltage: 0.00000001 V
On resistance: 0.001 Ohm
Off conductance: 1e-5 1/Ohm
Snubber: RC snubber
Snubber capacitance: 1e-7 F
Snubber resistance: 1e5 Ohms
Alternator Parameters:
Three-phase synchronous machine with a round rotor.
Proper initialization and verified output: stable three-phase voltage and current.
Simulation Settings:
Solver: ode23t
Proper machine initialization.
Problem Description:
The output of the alternator is a good three-phase voltage and current when checked independently.
When the alternator is connected to the rectifier, the input voltage to the rectifier is distorted and significantly diminished.
No connection issues were found, and the simulation settings were adjusted, including changing the solver to ode23t, but the problem persists.
Questions:
What could be causing the input voltage to the rectifier to be nearly zero when using the three-phase synchronous machine as the source?
Are there specific snubber values or configurations that could resolve this issue?
Could there be any interaction or parameter mismatch between the alternator and the rectifier that I need to address?
What are the best practices for setting snubber parameters in such a setup?
Any insights or suggestions to resolve this issue would be greatly appreciated. Thank you for your help! i want to solve the problem please MATLAB Answers — New Questions
Different number of classes in training and testing data
Hello Everyone!
I am trying to develop a classifier for classification of different human activities i.e., standing, walking, sitting, laying in bed etc.
I have total of 6 classes in my dataset (concatenated all activities) and training multiple classifiers and also implementing K-fold cross validation during training.
I split my data into train and test set, train my classifier and then test my classifier and accuracies are pretty good (almost 95%). (I wont go into details of segmentation, feature extraction etc.)
The problem that I am facing right now is testing my classifier with completely new data. The following are some notable things about the new test data:
1) The new test data has 5 classes instead of 6.
2) The new test has continuous activities e.g., a person performing all 5 activities in quick succession without any break. Whereas, during training data, each activity was seprately recorded and then I concatenated all activities.
3) The accuracy that I am getting is around 70% (pretty bad) and also most of the misclassifications are being thrown into the class that is not in the new testing set e.g., class 6 is not present in new test set but when I check predictions, the classifier is saying (for major portion of activities) that it belongs to class 6.
I cannot reduce the number of classes in my training set because when I implement this in real-time, the subjects will perform all the 6 activities but ofcourse not all together and one by one e.g., in real-time, the subject will perform activity 1 (the classifier will classify it as 1) then activity 2 (the classifier will classify it as 2) and so on.
Can you people help me understand, which parameters I should observe to improve the accuracy of my classifier for the new test data? Because 70% is not acceptable to me. And any suggestions on the mistakes that you have seen here and can correct me and tell me the right path.
Thank you so much :)Hello Everyone!
I am trying to develop a classifier for classification of different human activities i.e., standing, walking, sitting, laying in bed etc.
I have total of 6 classes in my dataset (concatenated all activities) and training multiple classifiers and also implementing K-fold cross validation during training.
I split my data into train and test set, train my classifier and then test my classifier and accuracies are pretty good (almost 95%). (I wont go into details of segmentation, feature extraction etc.)
The problem that I am facing right now is testing my classifier with completely new data. The following are some notable things about the new test data:
1) The new test data has 5 classes instead of 6.
2) The new test has continuous activities e.g., a person performing all 5 activities in quick succession without any break. Whereas, during training data, each activity was seprately recorded and then I concatenated all activities.
3) The accuracy that I am getting is around 70% (pretty bad) and also most of the misclassifications are being thrown into the class that is not in the new testing set e.g., class 6 is not present in new test set but when I check predictions, the classifier is saying (for major portion of activities) that it belongs to class 6.
I cannot reduce the number of classes in my training set because when I implement this in real-time, the subjects will perform all the 6 activities but ofcourse not all together and one by one e.g., in real-time, the subject will perform activity 1 (the classifier will classify it as 1) then activity 2 (the classifier will classify it as 2) and so on.
Can you people help me understand, which parameters I should observe to improve the accuracy of my classifier for the new test data? Because 70% is not acceptable to me. And any suggestions on the mistakes that you have seen here and can correct me and tell me the right path.
Thank you so much 🙂 Hello Everyone!
I am trying to develop a classifier for classification of different human activities i.e., standing, walking, sitting, laying in bed etc.
I have total of 6 classes in my dataset (concatenated all activities) and training multiple classifiers and also implementing K-fold cross validation during training.
I split my data into train and test set, train my classifier and then test my classifier and accuracies are pretty good (almost 95%). (I wont go into details of segmentation, feature extraction etc.)
The problem that I am facing right now is testing my classifier with completely new data. The following are some notable things about the new test data:
1) The new test data has 5 classes instead of 6.
2) The new test has continuous activities e.g., a person performing all 5 activities in quick succession without any break. Whereas, during training data, each activity was seprately recorded and then I concatenated all activities.
3) The accuracy that I am getting is around 70% (pretty bad) and also most of the misclassifications are being thrown into the class that is not in the new testing set e.g., class 6 is not present in new test set but when I check predictions, the classifier is saying (for major portion of activities) that it belongs to class 6.
I cannot reduce the number of classes in my training set because when I implement this in real-time, the subjects will perform all the 6 activities but ofcourse not all together and one by one e.g., in real-time, the subject will perform activity 1 (the classifier will classify it as 1) then activity 2 (the classifier will classify it as 2) and so on.
Can you people help me understand, which parameters I should observe to improve the accuracy of my classifier for the new test data? Because 70% is not acceptable to me. And any suggestions on the mistakes that you have seen here and can correct me and tell me the right path.
Thank you so much 🙂 machine learning, activity recognition, training and testing classes, improve accuracy for real time MATLAB Answers — New Questions