pb-gcn icon indicating copy to clipboard operation
pb-gcn copied to clipboard

ValueError

Open yanhan13944047669 opened this issue 3 years ago • 0 comments

Hello, thank you for your work. When I tried to train the dataset while running the program, the following error occurred:

Traceback (most recent call last): File "D:/UserData/yanhan/RE-ID CO/pbgcn/pb-gcn-master/pb-gcn-master/run.py", line 366, in part=part File "D:\UserData\yanhan\RE-ID CO\pbgcn\pb-gcn-master\pb-gcn-master\utils\nturgbd\prepare_ntu.py", line 74, in gendata os.path.join(data_path, s), max_body=max_body, num_joint=num_joint) File "D:\UserData\yanhan\RE-ID CO\pbgcn\pb-gcn-master\pb-gcn-master\utils\nturgbd\read_skeleton.py", line 43, in read_xyz seq_info = read_skeleton(file) File "D:\UserData\yanhan\RE-ID CO\pbgcn\pb-gcn-master\pb-gcn-master\utils\nturgbd\read_skeleton.py", line 7, in read_skeleton skeleton_sequence['numFrame'] = int(f.readline()) ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0

I suspect there is a problem with the dataset. Is the file structure of the dataset as follows? --nturgb+d_skeletons --S001C001P001R001A001.skeleton --S001C001P001R001A002.skeleton --S001C001P001R001A003.skeleton ......

I hope my problem can be solved,thanks.

yanhan13944047669 avatar Nov 25 '21 14:11 yanhan13944047669