in labelimg, reopening the app resets classes.txt [closed] - labelimg

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
I have a folder containing 1000 photos. And I tagged 100 photos with labelimg. In three classes: "car", "motorcycle" and "truck". But every time I open the labelimg, the previous tags are deleted from "classes.txt" and there is only the new tag that I created. And when I open the previous tagged photos in the labelimg, it gives list index out of range error and then labelimg will closed.
the error:
label = self.classes[int(class_index)]
IndexError: list index out of range
How can I have previous classes each time?
Thank you for your help🌺

You have to give the paths for the images folder and classes.txt
If you have build from source:
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
If you have pip installed labelImg:
labelImg [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
where:
[IMAGE_PATH] is the path to your images folder
[PRE-DEFINED CLASS FILE] is the path to the folder that has your predefined classes.txt and the annotation txt files
Example: labelImg C:\Users\LENOVO\Downloads\images C:\Users\LENOVO\Downloads\Labels\classes.txt

You can use Label Studio, it is much better than labelImg
Install the packege:
pip install -U label-studio
Lunch it!
label-studio

Related

Can't open json files in vscode directly form File Explorer? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Can't even open ps1 files in vscode from File Explorer. With both (json and ps1) I get a tone with no message that I can find. Everything opens fine if I open directly from the "open file" menu item in vscode. I don't think it was like this before installing PowerShell.
It sounds like a permission error or a bad installation of vscode.
I recommend you reinstall vscode & make sure to check all these 4 boxes in this image below, we will see how it goes after.

How can i make my custom command available to all user in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have written a custom command under user 'krishna' on my laptop, and now i want it to be available for other all user without redefining to each user. For now, i have defined the command in /home/krishna/.bashrc As this file exist under user krishna and work only for krishna. is there any way i can defile it globally for all users?
You can define the command in the /etc/bashrc or /etc/bash.bashrc file (which one depends on your distribution). One of these should exist on your machine.
Commands you define in your local /home/[USER]/.bashrc are only available for [USER].
Commands or aliase defined in /etc/bashrc are available for all useres

Viewing Two (or Multiple folders) in MATLAB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Is it possible to have two "Current Folder" windows open in MATLAB?
I have two folders a long way away from one another in the folder tree and need to keep files in the same place as the are referred to by other software.
I should add that I am in the process of importing specific files from each one and cannot do all of one folder at once.
Short answer: no. You need to use commands like cd to change from one folder to another for importing files, or add both folders to your MATLAB path using addpath. The latter has the advantage of referring to any file in these folders without having to specify in which folder they are located.

Change The Initials of Comments made in Microsoft Word [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How to Change The Initials of Comments made in Microsoft Word?
I tried the following and it is only changing the new comments and existing comments are unable to be changed.
Options --> Initial Name --> Changed --> Saved --> Restart Docx
I referred this link https://superuser.com/questions/208153/renaming-the-initials-in-word-comments and used the macro option and code provided. It worked :)
Sub ChangeInitialsAndAuthor()
For Each MyComment In ActiveDocument.Comments
If MyComment.Initial = "old" Then MyComment.Initial = "new"
Next
End Sub
How to use the macro
Open your Word file and press ALT+F11 to open the VBA editor
Insert a new module and copy & paste the code above
Change old to your old initials and new to your new initials
Run the macro with F5 from the editor or ALT+F8 from word
There is no automatic way to do this. You have do it manually.
http://office.microsoft.com/en-in/word-help/change-the-author-name-for-review-comments-HA010036415.aspx

Searching event log to find out when a program was uninstalled [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to find out when a program was uninstalled on a Win2k machine by searching through the event log. Which log should I search and are there any good keywords to search on to tag the uninstall event?
In case the program was uninstalled using Microsoft Installer you will find events from source "MsiInstaller".
I think that no other installer write events to Event Log (maybe Install Shield does). Maybe there will be some custom .log files from 3rd party un/installer.
You can try what Jozef Izso suggests. As a last resort, sometimes when you uninstall a program, the directory it was in is left behind in 'Program Files'. The directory will have a modified date that should reflect when any of the contents last changed. This will probably indicate when it was uninstalled.