I have the following directory structure in python.
├── mel2samp.py
├── tacotron2
│ ├── layers.py
In mel2samp.py I want to import TacotronSTFT
from tacatron2.layers using these lines of code
import sys
sys.path.insert(0, 'tacotron2')
from tacotron2.layers import TacotronSTFT
But it throws an error
ImportError: No module named tacotron2.layers
.