Skip to content

Fixed the requirements.#19

Open
AISpaceXDragon wants to merge 3 commits intoAutoNUE:masterfrom
AISpaceXDragon:master
Open

Fixed the requirements.#19
AISpaceXDragon wants to merge 3 commits intoAutoNUE:masterfrom
AISpaceXDragon:master

Conversation

@AISpaceXDragon
Copy link

No description provided.

AISpaceXDragon and others added 3 commits April 1, 2024 16:56
ls.py,json2instanceImg.py,json2labelImg.py regarding the creation of the labels for the dataset.The changes that were made are:
1. The removal of the part of code related to the PIL package( try and except block for the import of PILLOW_VERSION from PIL)
2. The line of code "results = list(tqdm(pool.imap(process_folder, files), total=len(files)))" was modified to "results = list(tqdm(pool.imap(partial(process_folder, args=args), files), total=len(files)))"
3. The function process_folder was modified to accept the argument args for the purpose of identifying the args.id_type that was passed in the function,which was causing the error "NoneType object has no attribute 'id_type'"  when the function was called.
4. The line "sys.path.append("/Users/srimanthdhondy/Programs/public-code/helpers/")" was added to the file json2instanceImg,json2labelImg to import the necessary packages from the helpers folder.
   NOTE:Ensure to change the path to the helpers folder to the path in your system,while executing the code i.e., replace the path "/Users/srimanthdhondy/Programs/" with the path to the helpers folder in your system.
NOTE: The changes were made to the files to ensure that the code runs without any errors and the labels are created successfully for the dataset.Refer the README.md file for the instructions to run the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant