Page 2 of 2

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Mon Jan 20, 2025 5:15 pm
by amyCC
I am so sorry that you've run into additional problems with this notebook. I've checked, and I get the same error with 2D that you do. I have flagged this problem for our team so that the scientist who wrote the code can provide an update. (I know you are having issues with steps following that, too. I can't tell until we get 2D working, but I've noted that you have problems with 4, 5, and 7, too.)

I'll provide an update as soon as possible.

Amy

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Mon Jan 20, 2025 5:19 pm
by Mrusia
Thank you for your help!

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Mon Jan 20, 2025 5:21 pm
by amyCC
You had no trouble with cell 3?
But then had an error with 4 and 5?

Just confirming. I want to make sure I know which blocks you've run into an error running.

Amy
Science Buddies

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Mon Jan 20, 2025 7:24 pm
by Mrusia
Yes, I had absolutely no problems with code block 3 at all. Code blocks 2d,4,5,6, and 7 don’t work. If possible, can this problem be fixed by tomorrow? It is okay if they cannot fix it by then.

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Jan 21, 2025 12:44 pm
by amyCC
Hi! There was a problem detected today, and the code on the site has been updated. With the correction in place, the notebook runs properly.

The update fixes the error I was getting in 2D. (Your error isn't exactly the same, but you will need to run the updated notebook and see.)

A few things in advance:
1) You will need to download the .zip file in Step 2 of the project and copy the .ipynb file to your google drive. (Rename or delete the other version you were using. You need to use the new file instead.) [[Project https://www.sciencebuddies.org/science- ... tification ]]
2) Before opening the notebook -- delete all other files in the folder except for the data folder (which contains your subfolders of graphics) and the .ipynb file.
3) Because you ran through other blocks, like 3, other folders were created. They need to be removed just to ensure that everything runs from scratch as you start over with running it.
4) Also make sure you remove the my_model.keras (if you see it). Depending on how many blocks you ran, you may or may not see that in your files. If it's there, delete it.
5) You will be back to just your data folder (with the subfolders of images) and the notebook file.
6) Doubleclick the notebook file (tick_identification.ipynb) to open it in colab.

Keep in mind that anytime you reopen the notebook, you will need to run through the blocks before the one you are ready to work on, including the block to remount the Google drive. This is also true if the runtime disconnects (it will time out, and you need to rerun the blocks). (The UnidentifiedImageError error you showed before suggests that your runtime might have disconnected.)

One way to do this is to go to the block you are ready to work on and then choose Runtime / Run Before.

That will process the previous blocks. Wait for those to finish (approving the Google mounting, if prompted), and then run your next block.

If you run into a problem, let me know.

Amy
Science Buddies

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Jan 21, 2025 8:41 pm
by Mrusia
Thank you so much for helping me out for this project! It works and I thank you and your team for helping me! (In fact, I'm sooo interested in this project, that I came up with a different variable: mosquitoes!) Thanks again! (Also, quick question: what does it mean if the recall score was 1? Does it mean 100%?)

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 10:43 am
by amyCC
Great! I'm really glad to hear that you were able to run your notebook with no issues after grabbing the updated code. I'm even more glad to hear that you enjoyed this process and might look at doing something similar as an extension! I would love to hear how that goes.

Was your tick project for a school science project? Science fair? What grade are you in?

If you are interested in answering a few questions (by email) about your project, let me know. We sometimes highlight student projects in stories that are posted on our site.

As for the "recall" value.... there is extensive discussion of the metrics starting in step 4 in the project. Recall is explained in step 6. According to the project author, 1 does represent 100%. (So 0 is 0%, 0.2 is 20%, and so on...)


Amy
Science Buddies

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 1:36 pm
by Mrusia
Yes! I would love to! Who do I email it to, if I did email you about this?

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 3:14 pm
by Mrusia
I did this for the science fair. Is it okay if I email you after the science fair? (After March 11th, 2025)

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 3:57 pm
by amyCC
Hi - Great! I will reach out to you after the science fair. (I will email you to follow up with questions. The story wouldn't be about your results, but more about what led you to this project, whether this was your first time working with a project like this, and so on.)

Good luck finishing up the project for the science fair.

Amy
Science Buddies

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 4:19 pm
by Mrusia
Thank you!

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 5:14 pm
by Mrusia
Hey- I don't want to disturb you, but I have yet another question.

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 7:02 pm
by Mrusia
Hi! I hope you are can help, but it seems like there is another tensor false error in the code.

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Wed Jan 22, 2025 7:47 pm
by Mrusia
Nevermind- I fixed it!

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Feb 18, 2025 2:39 pm
by Mrusia
Hi again! I need help on part of my code for the science fair. This isn't the tick code--it's something else, but it's really got me crazy. I've probably been stuck on this problem for about an hour now, so I hope you can help!

BTW: Every other code block before this works.

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Feb 18, 2025 2:47 pm
by Mrusia
I'm sorry for any confusion, but there is another problem with another block that I just ran again. Here is what is happening:

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Feb 18, 2025 3:35 pm
by Mrusia
I am so sorry, again. I just fixed the problem.

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Tue Feb 18, 2025 3:47 pm
by amyCC
Just confirming that I saw your messages, and it sounds like you resolved the issues on your own, which is great. I hope things go well with the science fair.

Amy

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Fri Mar 21, 2025 3:14 pm
by amyCC
Hi - I hope the science fair went well! I am just leaving a note here to confirm that I sent you email last week about answering some questions for a story. If you didn't receive it, let me know.

Thanks!

Amy
Science Buddies

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Fri Mar 28, 2025 5:18 pm
by Mrusia
Hi amycc!
I did receive your email, but would it be possible to answer these questions after Thursday of next week?

Thanks!

Re: Use Machine Learning to Identify Lyme Disease-Transmitting Ticks

Posted: Sun Mar 30, 2025 12:48 am
by amyCC
Of course!
I look forward to hearing from you.

Amy