mauriceqch / pcc_geo_cnn

Learning Convolutional Transforms for Point Cloud Geometry Compression
MIT License
46 stars 12 forks source link

./evaluate_compression #10

Open yansir-X opened 4 years ago

yansir-X commented 4 years ago

Hi Mr.Quach, sorry to bother you again. :) For the following command in Fusing MPEG results: _./evaluate_compression -i ~/data/datasets/msft -o ~/data/datasets/cwi-pcl-codec/msft_9 -q 1 -b 9 -g 1 --intra_frame_quality_csv ~/data/datasets/cwi-pcl-codec/msft_9_intra.csv --predictive_quality_csv ~/data/datasets/cwi-pcl-codec/msft9pred.csv

__./evaluate_compression is not regular .py file? What does it do? It's not a command, right? How should I run this(do I have to run this if i want to plot the result)? I have read through https://github.com/mauriceqch/cwi-pcl-codec but still don't know how to do it. Especially I don't understand ~/data/datasets/. What does ~ do?

Is the _Fusing MPEG result_s is necessary precursor to Merging evaluation results? (ps. I have installed pcl)

Best Regards and thanks for your kindness.

mauriceqch commented 4 years ago

Hi Mr.Quach, sorry to bother you again. :) For the following command in Fusing MPEG results: _./evaluate_compression -i ~/data/datasets/msft -o ~/data/datasets/cwi-pcl-codec/msft_9 -q 1 -b 9 -g 1 --intra_frame_quality_csv ~/data/datasets/cwi-pcl-codec/msft_9_intra.csv --predictive_quality_csv ~/data/datasets/cwi-pcl-codec/msft9pred.csv

__./evaluate_compression is not regular .py file? What does it do? It's not a command, right?

It's not a .py file, It is an executable compiled from the source code in cwi-pcl-codec.

How should I run this(do I have to run this if i want to plot the result)?

It is necessary to run this only if you want to compare your results with PCL. For example, you could plot the results of the deep model with

python plot_results.py ../figs/rd -i ../eval/eval_64_fused.csv -t Proposed

I have read through https://github.com/mauriceqch/cwi-pcl-codec but still don't know how to do it. Especially I don't understand ~/data/datasets/. What does ~ do?

The tilde ~ is a symbol for your home directory. For example, in my case the path ~/data/datasets is equivalent to /home/quachmau/data/datasets.

Is the _Fusing MPEG result_s is necessary precursor to Merging evaluation results? (ps. I have installed pcl)

Only if you want to compare against the PCL codec.

Best Regards and thanks for your kindness.

yansir-X commented 4 years ago

Hi, I have questions regarding these bolded files:

./evaluate_compression -i ~/data/datasets/msft -o ~/data/datasets/cwi-pcl-codec/msft_9 -q 1 -b 9 -g 1 --intra_frame_quality_csv ~/data/datasets/cwi-pcl-codec/msft_9_intra.csv --predictive_quality_csv ~/data/datasets/cwi-pcl-codec/msft9_pred.csv

In your example previous step, you have: Example with original, compressed and decompressed datasets: python eval.py ../data/ModelNetply "*/.ply" ../data/msft_dec_256new ../../geo_dist/build/pc_error --decompressed_suffix .bin.ply --compressed_dir ../data/msft_bin_256new --compressed_suffix .bin --output_file ../eval/eval_256.csv

Example with only original and decompressed datasets: python eval.py ../data/ModelNetply "*/.ply.bin.ply" ../data/msft_dec_256new ../../geo_dist/build/pc_error --output_file ../eval/eval_mpeg_256.csv

So my questions:

  1. msft must be the file with .ply files. But what does these msft_9_intra.csv and msft9_pred.csv each represent, with the example above(eval/eval_256.csv, eval_mpeg_256.csv*)?

  2. under what path should I execute ./evaluate_compression -i ~/data/datasets/...? I compiled ./evaluate_compression (I downloaded your cwi-pcl-codec, and then: cd ./source; mkdir build; cd build; cmake ..), and tried several files, but i got: -bash: ./evaluate_compression: No such file or directory

Best Regards