To run our program, you should do things as follows first:
-
Open the code folder in Pycharm.
-
Firstly, configure the Python interpreter for this project.
-
Download the packages from requirements.txt by typing
pip install -r requirements.txt
in the pycharm terminal. -
Then you need to download torch.
pip3 install torch torchvision torchaudio
, in the pycharm terminal,If you get an error, you can install the torch or torchaudio packages inside pycharm, "file"-"setting"-"project"-"python interpreter"-"+",input "torch" and "torchaudio". -
Run
infer_recognition_gui.py
.