textual_inversion
textual_inversion copied to clipboard
Many questions about the code inside the main.py
Hi thanks for releasing the nice work, I've read the paper and now I'm trying to understand the implementation.
Q1. Does anyone know why there are two lines of code that are exactly the same in line #745 and #747 in main.py? Is it related with the comments below? taking care of proper multiprocessing?
Q2. What is the difference between the data.prepare_data() (at the line #751)and data.setup() (at the line #752). I think data.setup() is enough.. Am I wrong?
I wish that someone who knows the answer (even if you are not author) replies this issue. I'm trying to append this issue as new questions come up. Thanks!
Joseph