There is a strange issue on my server.
When I use unzip to decompress modelnet40_norms_resampled.zip-which contain some txt files with 6 digits per line separated by commas, I always encounter the problem of one or more txt files being formatted incorrectly after decompression, as shown in Figure 1.
The left side is the file with the wrong format that I extracted on the server, and the right side is the file with the correct format that I extracted on my own computer.
This is an incorrect file format:
-0.159800,-0.338100,0.200000,0.000000,-0.712100,0.702100
-0.159800,0.258000,0.542600,0.000072,0.999100,0.041310
0..006755,0.000000
-0.92300,1.000000,-0.006755,-0.000000
0.053320,0.627200,-0.293900,-0.951400,0.136500,0.276100
0.076950,-0.338100,0.200000,0.000000,-0.712100,0.702100
0.425900,-0.098630,0.246100,1.000000,0.000173,-0.000000
0.013830,0.258000,0.542600,0.000026,0.999100,0.041420
This is the correct file format:
-0.159800,-0.338100,0.200000,0.000000,-0.712100,0.702100
-0.159800,0.258000,0.542600,0.000072,0.999100,0.041310
0.425700,-0.347100,0.392300,1.000000,-0.006755,-0.000000
0.053320,0.627200,-0.293900,-0.951400,0.136500,0.276100
0.076950,-0.338100,0.200000,0.000000,-0.712100,0.702100
0.425900,-0.098630,0.246100,1.000000,0.000173,-0.000000
0.013830,0.258000,0.542600,0.000026,0.999100,0.041420
There is a formatting error starting from the third line.
I can be sure that the files in modelnet40_norms_resampled.zip
are all correct, as I have run this dataset on another machine.
I can also guarantee that there will be no issues with uploading modelnet40_norms_resampled.zip
to the server. I compared the md5 of the two, as shown in Figure 2. The md5 of the file uploaded to the server is on the left, and the md5 of the file on my own computer is on the right.
MD5 on the server:
$ md5sum modelnet40_normal_resampled.zip
85e938e94c8236d2de52241707c1bbbd modelnet40_normal_resampled.zip
MD5 on my computer:
D:DownloadCompressed>certutil -hashfile modelnet40_normal_resampled.zip md5
MD5 的 modelnet40_normal_resampled.zip 哈希:
85e938e94c8236d2de52241707c1bbbd
CertUtil: -hashfile 命令成功完成。
Figure 1
Figure 2
Here is my server information:
- Processor: Intel (R) Core (TM) i5-10500 CPU @ 3.10GHz
- Operating System: Ubuntu 20.04.2 LTS
- Solid state drive model: HGST HUS726T4TALE6L4
- Unzip version: UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
I don’t know what caused this, and I look forward to a solution.
incipe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1