-
|
Hi everyone, I am new to coding and am trying to finetune the prebuilt tree model of DeepForest. And images like: During hyperparameter tuning:, I get this output: Which is not supposed to happen, so the model probably is not finetuning at all (validation metrics, and loss are zero)? However, the final output is still: But I don't know how trustworthy this is and where it comes from. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
Hi everyone, Does anyone know the problem (and solution)? (here's my script: https://colab.research.google.com/drive/1kA-70HjYzYArdoyNWCnU1u9-ldAwL73v?usp=sharing) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting, let's take this nice and slow. Way before training, i'm worried about how the data was read in. Can you put the annotations file here, atleast one row of it? Let's make sure it can be read by deepforest.utilities.read_file. Then lets run the As a service to the DeepForest open source community can you please suggest 2 ways in which the docs could have better helped you, so that the next user can learn faster.
Thank you. |
Beta Was this translation helpful? Give feedback.
-
Without the code in front of me i'll need to make a guess, but first asking what the evaluation score is, you ran so few epochs that it didn't trigger manually, looks like is 20, you can change that to lower, but also can call to get a test evaluation score, that will help us understand what if any issue, or if that print statement means anything. |
Beta Was this translation helpful? Give feedback.
-
|
Dear Ben, I believe I’ve identified the source of the issue. It appears that several of the tree bounding box coordinates extended beyond the boundaries of their respective images. After removing those specific rows from the dataset, the model ran without errors. Below is the output of the successful run. Regarding your earlier question: the documentation has been incredibly helpful—especially the Colab training tutorial, which was very clear and thorough. I was able to get quite far with very little prior experience, so thank you for making those resources available. Million trees: As for my dataset: it consists of 3,409 tree bounding boxes on PNG images, each sized 640×640 pixels at an approximate resolution of 0.094 meters per pixel. While the tiles and bounding boxes are not georeferenced, the filenames do include the coordinates of the upper-left corner of each tile. If this format aligns with the goals of the MillionTrees dataset, I’d be happy to share. Thanks again for your support and for building such a useful tool! |
Beta Was this translation helpful? Give feedback.



Without the code in front of me i'll need to make a guess, but first asking what the evaluation score is, you ran so few epochs that it didn't trigger manually, looks like
DeepForest/src/deepforest/deepforest_config.yml
Line 60 in 1acab8b
is 20, you can change that to lower, but also can call
to get a test evaluation score, that will help us understand what if any issue, or if that print statem…