w-plus-adapter icon indicating copy to clipboard operation
w-plus-adapter copied to clipboard

inference editing stage

Open gaoyixuan111 opened this issue 1 year ago • 1 comments

Hello! Thank you very much for your excellent work. As a newcomer, I don't quite understand which script file to run during the inference editing stage. How should I control the direction of attribute editing? Also, my email is [email protected].

gaoyixuan111 avatar Apr 19 '24 02:04 gaoyixuan111

Hello! Thank you very much for your excellent work. As a newcomer, I don't quite understand which script file to run during the inference editing stage. How should I control the direction of attribute editing? Also, my email is [email protected].

Hi, you can directly run the test_demo.ipynb using jupyter. If you are not familiar with jupyter, you can copy all the code of test_demo.ipynb into a '*.py' file, and replace the last code 'display( )' with grid.save('result.png') As for controling the direction, you can just adjust the direction following this https://github.com/csxmli2016/w-plus-adapter/issues/2#issuecomment-1904082119 You can control the direction scale by adjusting the parameter direction_length

csxmli2016 avatar Apr 19 '24 02:04 csxmli2016