Closed bestplanetarian closed 3 months ago
Hi @bestplanetarian:
Thanks for your comments, sorry these I m on a trip
No, No change are made to segmentation Gym
The model actually train, for the segformer, it only train 20 epochs, getting 50% mean iou on test dataset and 76% overall accuracy on test dataset. Train dataset contains 144 images and test dataset contains 48 images, single channel
I found a solution which suggests me to change the tf,transpose in the 'train_model', but it does not work
Here are 10 images and corresponding masks + configuration file
https://drive.google.com/drive/folders/16SALyvJ0NgDptXyLrBCoo2OowXSUNn_D?usp=drive_link
Hi @bestplanetarian I can take a look at this for you. I just tried to download you files from g-drive, but no access - please could you make this folder accessible? And I will try again.
One concern I have is your OS, which is now 6+ years old. The other concern is that you are using python 3.8. We recommend 3.10 - see https://github.com/Doodleverse/segmentation_gym?tab=readme-ov-file#windows
https://drive.google.com/drive/folders/16SALyvJ0NgDptXyLrBCoo2OowXSUNn_D?usp=sharing. I think that this one will work.
I have some trouble installing dependency of segmentation gym under environment 3.10, which is why I use python 3.8
One concern I have is your OS, which is now 6+ years old. The other concern is that you are using python 3.8. We recommend 3.10 - see https://github.com/Doodleverse/segmentation_gym?tab=readme-ov-file#windows
https://drive.google.com/drive/folders/16SALyvJ0NgDptXyLrBCoo2OowXSUNn_D?usp=sharing. I think that this one will work.
I have some trouble installing dependency of segmentation gym under environment 3.10, which is why I use python 3.8
Hi @bestplanetarian - i am able to train this model using the data you provide. I am not exactly sure why this error occurs, but it does not prevent training. I am not able to debug your model further to help improve model performance. Because the model trains, I am going to close the issue right now...
As for improved performance for a specific dataset, we can't help with that - it is beyond the scope of what we do here as an issue.. My suggestion is to first look closely at the training data and your config file, then maybe play around with the hyperparameters in your config file if the data looks ok... But I would definitely start by really inspecting the training data and the labels.... When i look at examples that are printed during 'make_dataset`, the colors and shapes of the labels look a bit strange... I will attach a few below..
Describe the bug When I train the segformer model, this error occurs, the program is still running but the error occurs for each epoch, I try to change the tf.transpose but this does not solve the problem, I m using python 3.8. How can I solve it