RandLA-Net-pytorch icon indicating copy to clipboard operation
RandLA-Net-pytorch copied to clipboard

is there a issue in prepare_semantic3d.py?

Open jscksy opened this issue 2 years ago • 9 comments

when i run that code,in "points.append(np.loadtxt(line, dtype=np.float32))" the "line" is a point,it cause error: FileNotFoundError: -6.69267368 -0.29421055 1.16930819 -1515.0000 169 186 204

jscksy avatar Jan 07 '23 01:01 jscksy

and what the "1e10^5" means?

jscksy avatar Jan 07 '23 03:01 jscksy

sorry,but i want to know are u really finish the work with the dataset semanti3d?

jscksy avatar Jan 07 '23 07:01 jscksy

这个问题你解决了么? loadtxt 的那部分,我以为是我的文件路径不对

ZhuchaWenjiu avatar Mar 06 '23 03:03 ZhuchaWenjiu

Don't use this rope for semantic3d,it's really bad.

Avril-Dragon avatar Mar 06 '23 07:03 Avril-Dragon

Thank you

ZhuchaWenjiu avatar Mar 07 '23 01:03 ZhuchaWenjiu

when i run that code,in "points.append(np.loadtxt(line, dtype=np.float32))" the "line" is a point,it cause error: FileNotFoundError: -6.69267368 -0.29421055 1.16930819 -1515.0000 169 186 204

The np.loadtxt() function does not accept a single line as input. It is used to load data from a file, not from a specific line. If you want to append a single line of data to points, you can create a list from the line and then append it. Add this: line = line.strip().split() before this line: "points.append(np.loadtxt(line, dtype=np.float32))"

MonaHodaei avatar Jun 05 '23 16:06 MonaHodaei

Fk Fk Fk Fk Fk Fk Fk Fk Fk,it's full of bugs

Tyrol29 avatar Aug 31 '23 05:08 Tyrol29

set i_dont_have_a_lot_of_memory_ok = False and all solved

Tyrol29 avatar Aug 31 '23 06:08 Tyrol29

when i run that code,in "points.append(np.loadtxt(line, dtype=np.float32))" the "line" is a point,it cause error: FileNotFoundError: -6.69267368 -0.29421055 1.16930819 -1515.0000 169 186 204

The np.loadtxt() function does not accept a single line as input. It is used to load data from a file, not from a specific line. If you want to append a single line of data to points, you can create a list from the line and then append it. Add this: line = line.strip().split() before this line: "points.append(np.loadtxt(line, dtype=np.float32))"

thankssssss!

carpentary avatar Sep 24 '24 12:09 carpentary