Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training on synthetic data #11

Closed
ChrisZeThird opened this issue Jun 9, 2023 · 8 comments
Closed

Training on synthetic data #11

ChrisZeThird opened this issue Jun 9, 2023 · 8 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@ChrisZeThird
Copy link
Member

Resampling dataset and reducing network size did not work. Last way to solve the issue could be to train on synthetic data and test on experimental one.

@ChrisZeThird ChrisZeThird added enhancement New feature or request help wanted Extra attention is needed labels Jun 9, 2023
@ChrisZeThird ChrisZeThird added this to the Testing network milestone Jun 9, 2023
@ChrisZeThird ChrisZeThird self-assigned this Jun 9, 2023
@ChrisZeThird
Copy link
Member Author

Several synthetic model used

Old models generated at the beginning of the internship were used as well as more recent one. But results are underwhelming.

image
image
image

@ChrisZeThird
Copy link
Member Author

Changed model in the main branch, currently the best MSE is 0.0008 and RMSE 0.03, for training on synthetic lines.

image

@ChrisZeThird
Copy link
Member Author

Still have the same problem though:

image

@ChrisZeThird
Copy link
Member Author

There is no problem with the synthetic data. They are correctly predicted.

image

@ChrisZeThird ChrisZeThird added the bug Something isn't working label Jun 9, 2023
@ChrisZeThird
Copy link
Member Author

Even LeakyReLU does not help. It does a great job on synthetic lines but doesn't change the outcomes on experimental data.

image

@ChrisZeThird ChrisZeThird pinned this issue Jun 9, 2023
@ChrisZeThird
Copy link
Member Author

Using derivative

I still have the same issue but this method is promising. The synthetic data might be too different to get any result at all.

image

@ChrisZeThird
Copy link
Member Author

The issue is in the prediction. I've debugged the script and saw angles_test_prediction = model(tensor_patches) containing the same value, despite the model being correctly defined.

The Dx diagrams are much closer to the synthetic figures than the regular ones, but the network predicts the same value over and over again. There is no issue in how the angles are calculated, nor how they are displayed on the plot (no print being the same type of error). It comes directly from the prediction.

Either something in the diagrams tricks the network (meaning there is in every diagrams one line with 151° angle) or prediction is not performed properly.

@ChrisZeThird
Copy link
Member Author

Training on synthetic data is the right idea, however it won't be perform properly with a simply feed forward. Additionally, adding Gaussian noise can help generate data closer to the experimental diagrams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant