Open Carmenliang opened 3 years ago
Same question here. How to generate sine wave.
"Our approach describes each object instance using an expectation of a limited number of sine waves with frequencies and phases adjusted to particular object sizes and densities."
Hi! I will try to find the code but the idea is simple:
In train_CVPPP.ipynb: sins = [[-24.22295570373535, 0.0, 0.4452361464500427], [-14.779047012329102, 0.0, 1.2561423778533936], [-16.399198532104492, 0.0, -0.3734317719936371], [18.362571716308594, 0.0, 0.7659217715263367], [-0.6603534817695618, 0.0, 0.24005144834518433], [-33.7341423034668, 0.0, -0.4350433051586151], [0.0, 4.286965370178223, 0.8109257817268372], [0.0, -19.908288955688477, 0.614355206489563], [0.0, 22.987812042236328, 0.28104516863822937], [0.0, 7.108828067779541, 0.4827950894832611], [0.0, 23.66850471496582, 0.21264752745628357], [0.0, -22.332250595092773, 1.0007625818252563]]
Is it initialized randomly?