Skip to content
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

Output is 1/2 points of Input? #6

Open
hansoogithub opened this issue Nov 21, 2023 · 1 comment
Open

Output is 1/2 points of Input? #6

hansoogithub opened this issue Nov 21, 2023 · 1 comment

Comments

@hansoogithub
Copy link

i ran this command
python main.py --transfer_attack_method ifgm_ours

I would like visualize the before and after the results of the point cloud attack,
inside the class function

def run(self, points, target):
# i added a code to save the input, after the adversarial attack, save the output

but i am noticing the number of points of the output reduced to 1/2 of the input

how can i get it the number of output points to be the same as the number of input points?

this picture show the input on the left and output on the right
vis

@shikiw
Copy link
Owner

shikiw commented Nov 21, 2023

Hi,

For visualization, you can refer to #1
You can use Line 81 to save 3d coordinates, or use Line 82&83 to save coordinates along with sensitive scores.
It helps you to save the point cloud data as .txt file, where each line corresponds to one point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants