-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use the topologyLayer to classify MNIST dataset #20
Comments
Hi @changshuowang, the code that ran these experiments hasn't been ported to the repository yet. We hope to do this soon. In the mean time, the features we used are described in section 3.3 of https://arxiv.org/abs/1905.12200, which should allow you to run your own experiment. We'll keep this issue open until we have examples added. |
OK ! Thank you for your reply and Looking forward to seeing your work as soon as possible. |
@changshuowang for three-channel images, you would need to know what sort of filtration you would like to use. One option might be treating it as a 3d image with a levelset filtration, but there's an issue with interpretability here. Another might be to process to a single-channel 2d image through a grayscale map (you can make this differentiable! e.g. 1x1 convolution + sigmoid) and then using LevelSetLayer2D. Or you could do each channel separately and combine features, or focus on one channel, or use multiple differentiable grayscale maps. This will all be dependent on what you'd like to capture using persistent homology. |
@bnels Thank you for reply. |
Hi @bnels, I am also interested in section 3.3 topological attacks, about the directional sweeps. Does it mean that we simply change the pixel values considering their corresponding image coordinates ? Also, I am wondering if the directional sweeps can also be used for 2D point cloud to extract directional features? Thanks in advance. |
Hi @changshuowang @bruel-gabrielsson This research looks very interesting for vision based applications. |
Hello, the paper mentions using the topologyLayer to classify MNIST dataset. Where can I find this part of the code?
The text was updated successfully, but these errors were encountered: