Hello,
I am doing a litter detection AI project that requires using Google Colab. I have done all the steps accordingly and I am currently on step no.4 and it states to simply run the code block it has provided me. But every time I try to run it it gives me an error message. I would appreciate if you could help guide me through this issue as soon as possible.
Thank You,
Saira
Moderator note: https://www.sciencebuddies.org/science- ... _detection
AI for Litter Detection
Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators
-
CarissaP
- Student Expert
- Posts: 46
- Joined: Mon Jan 06, 2025 4:21 pm
- Occupation: Student
Re: AI for Litter Detection
Hello,
I also encountered an error in the second block under importing libraries. I was able to correct this error by adding a new code block above and running the code:
It seems that the error was caused because PyTorch was incompatible with the current python version. Let me know if this works!
Carissa
I also encountered an error in the second block under importing libraries. I was able to correct this error by adding a new code block above and running the code:
Code: Select all
!pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu118Carissa
-
traceyngo12255
- Expert
- Posts: 2
- Joined: Tue Jan 21, 2025 12:29 pm
- Occupation: Science Buddies Staff
- Project Question: -
- Project Due Date: -
- Project Status: Not applicable
Re: AI for Litter Detection
Hi!
Can you share a screenshot of the error you are encountering?
Can you share a screenshot of the error you are encountering?
-
CarissaP
- Student Expert
- Posts: 46
- Joined: Mon Jan 06, 2025 4:21 pm
- Occupation: Student
Re: AI for Litter Detection
Hello,
I believe that the error has been corrected in the file on the project page. Are you encountering a similar error?
Carissa
I believe that the error has been corrected in the file on the project page. Are you encountering a similar error?
Carissa

