Row 65760
Content Data
This page contains data entry 65760 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
Hi all!
As the title says, I'm seeking some advice to assist with a YOLOv5 Object Detection project. Essentially, I'm using Colab to train a YOLOv5 object detection model to identify objects. To improve accuracy in training, I'm trying to implement a CBAM module, however no matter what I do it throws a "ModuleNotFoundError" or, most recently, I'm getting this error: "importing CBAM module: attempted relative import with no known parent package."
Currently, I have it set up so that all of my YOLOv5 files are in a local zip file, which I then upload to Colab and unzip in a code module. Similarly, my dataset is in a local zip file which I unzip in the code. Both are directories. For the CBAM file, I wrote it in the notes app and saved as a .py file, using standard CBAM code, and placed it in the YOLOv5 models directory. All are zipped together.
I have tried every fix I can think of, including:
* Ensuring I have installed all of the correct yolov5 dependencies using the requirements.txt file * Double checking the cbam(.)py file is in the correct place * Appending the yolov5 directory to python path * Using absolute imports * Restarting the runtime (lol)
I've only been programming for just on a year now, so I'm afraid I may have missed something obvious, I'd really appreciate any thoughts anyone has. Please let me know if I am missing out any important information! Thanks :)
| Field | Value |
|---|---|
| text | Hi all! As the title says, I'm seeking some advice to assist with a YOLOv5 Object Detection project. Essentially, I'm using Colab to train a YOLOv5 object detection model to identify objects. To improve accuracy in training, I'm trying to implement a CBAM module, however no matter what I do it throws a "ModuleNotFoundError" or, most recently, I'm getting this error: "importing CBAM module: attempted relative import with no known parent package." Currently, I have it set up so that all of my… |
| label | r/deeplearning |
| dataType | post |
| communityName | r/deeplearning |
| datetime | 2024-05-23 |
| username_encoded | Z0FBQUFBQm5Lak1jSERFWWMzYUhwQVZueGVMeGF4bnU5UUh0LVlzQ1J0Vlk3MWMwTWFOQUkzTldRVm9RY0FvOFd2RUpxY2NNTmJUYnpJMVRHODBMZXlJRlUta05rbWZCcXc9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9zRDE3anVkcEZLT3VCOHlnQVBnSlBHaHF2VmN4LU5CazN2UmdIVkZqWU9aYlg5S3g1cE4tOEhIN2s1R3o5bFNkMTVaS1duLU81MkxyZFYtUmUxa3g1SHlWWUExdUFUSE5MbUJJVW5kRkk5WksycUw2dFBabURocFcyVFM5TmhfWjhhWEYzQkVsOWhldlVKWmdFUXpBa1d1MnA3Q0p2RW95eldsZUd6dWdTVU1RPQ== |
Raw Record
{
"text": "Hi all! \n\n As the title says, I'm seeking some advice to assist with a YOLOv5 Object Detection project. Essentially, I'm using Colab to train a YOLOv5 object detection model to identify objects. To improve accuracy in training, I'm trying to implement a CBAM module, however no matter what I do it throws a \"ModuleNotFoundError\" or, most recently, I'm getting this error: \"importing CBAM module: attempted relative import with no known parent package.\" \n\nCurrently, I have it set up so that all of my YOLOv5 files are in a local zip file, which I then upload to Colab and unzip in a code module. Similarly, my dataset is in a local zip file which I unzip in the code. Both are directories. For the CBAM file, I wrote it in the notes app and saved as a .py file, using standard CBAM code, and placed it in the YOLOv5 models directory. All are zipped together. \n\nI have tried every fix I can think of, including:\n\n* Ensuring I have installed all of the correct yolov5 dependencies using the requirements.txt file\n* Double checking the cbam(.)py file is in the correct place\n* Appending the yolov5 directory to python path\n* Using absolute imports \n* Restarting the runtime (lol)\n\nI've only been programming for just on a year now, so I'm afraid I may have missed something obvious, I'd really appreciate any thoughts anyone has. Please let me know if I am missing out any important information! Thanks :) ",
"label": "r/deeplearning",
"dataType": "post",
"communityName": "r/deeplearning",
"datetime": "2024-05-23",
"username_encoded": "Z0FBQUFBQm5Lak1jSERFWWMzYUhwQVZueGVMeGF4bnU5UUh0LVlzQ1J0Vlk3MWMwTWFOQUkzTldRVm9RY0FvOFd2RUpxY2NNTmJUYnpJMVRHODBMZXlJRlUta05rbWZCcXc9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9zRDE3anVkcEZLT3VCOHlnQVBnSlBHaHF2VmN4LU5CazN2UmdIVkZqWU9aYlg5S3g1cE4tOEhIN2s1R3o5bFNkMTVaS1duLU81MkxyZFYtUmUxa3g1SHlWWUExdUFUSE5MbUJJVW5kRkk5WksycUw2dFBabURocFcyVFM5TmhfWjhhWEYzQkVsOWhldlVKWmdFUXpBa1d1MnA3Q0p2RW95eldsZUd6dWdTVU1RPQ=="
}
Entry Information
- Entry ID: 65760
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000