This is a program that finds MoTe2 point vacancy defects using pytorch-based deep learning.
Also, it can be used without a separate GPU power. (If you have enough CPU power)
Through this program, you can quickly analyze your point defects and modify the deep learning results to complete better results.
This program was tested for stability in Python 3.9.0 version. Therefore, we recommend using version 3.9.0.
-
Git clone or download this repository.
-
utilize requirements.txt to install the required libraries.
pip install -r requirements.txt
-
Unzip CNN-1 and CNN-2 and place the same files in the same(default) directory.
-
Go to the current directory in the anaconda prompt window and enter the code below:
python dist/GUI_CPU.py
-
Click “Load image” to load the STEM image you want to analyze.

-
The basic gray color in the analyzed image is perfect, and the colors are differentiated for each defect.

-
When you click on the desired unit cell image, the corresponding unit cell appears in the “crop image” window on the right. (In this example, the unit cell indicated by the red arrow was clicked)

-
You can perform intensity profiling on the crop unit cell image. After marking the two areas Te and Mo, you can use the slider on the right to specify the area. *Caution You need to take Te (left point) first.
If so, the green intensity graph below is drawn.
-
Designate a class worth comparing among the reference simulation defect classes and perform intensity profiling by comparing it to the crop unit cell image. (In this case, select VMo

-
After profiling an arbitrary crop unit cell image, you can modify the results of deep learning analysis. Below, the unit cell class was previously perfect, but it will change when you specify a different defect class and click “Label insert” above.

-
When all analysis is complete, click the “Save” button. Then, the image below is created in the save folder in that directory.

