lululxvi / deep-learning-for-indentation

Extraction of mechanical properties of materials through deep learning from instrumented indentation
Apache License 2.0
57 stars 28 forks source link

replicating the results - infinite loop #12

Open Matthias2357 opened 2 years ago

Matthias2357 commented 2 years ago

Hello! First of all, thank you for publishing the code and the data for this paper.

There is an issue using "nn.py". If I run the code without choosing anything in "main()", it works. But if i uncomment anything in "main()" my PC is caught in an infinite loop with always the same output in the Spyder console, but unfortunately I don't know why. Maybe because the packages have been updated since publishing the code. Do you know the package versions you used? I am very grateful if you could please have a look at the attached screenshots and possibly offer a solution.

In one of the screenshots I marked a line in the error message. Maybe thats part of the problem.

file_runs_if_nothing_uncommented Infinite_loop .

lululxvi commented 2 years ago

From the second figure, I only see an error, but not the infinite loop as you mentioned.

Matthias2357 commented 2 years ago

I meant to say with infinite loop that this error message is generated over and over again. It doesn't stop.

Matthias2357 commented 2 years ago

Do you know which versions of DeepXDE and Tensorflow you used for this paper. Then I will use a IDE with that exact versions of the packages.

lululxvi commented 2 years ago

See https://github.com/lululxvi/deep-learning-for-indentation#code for the version.

Matthias2357 commented 2 years ago

Thank you! Now after changing from version 1.1.3 to 1.1.2, it works.