  In order to obtain a metasurface structure capable of filtering the light of
a specific wavelength in the visible band, traditional method usually traverses
the space consisting of possible designs, searching for a potentially
satisfying device by performing iterative calculations to solve Maxwell's
equations. In this paper, we propose a neural network that can complete an
inverse design process to solve the problem. Compared with the traditional
method, our method is much faster while competent of generating better devices
with the desired spectrum. One of the most significant advantages is that it
can handle a real spectrum as well as an artificial one. Besides, our method
encompasses a high degree of freedom to generate devices, ensuring their
generated spectra resemble desired ones and meeting the accuracy requirements
without losing practicability in the manufacturing process.
