ARM-software / ML-zoo

Apache License 2.0
191 stars 51 forks source link

Cannot checkout the repo due to invalid path #48

Open arvcode opened 2 years ago

arvcode commented 2 years ago

Hi All , It appears that we cannot clone the repo https://github.com/ARM-software/ML-zoo.git

$ git clone https://github.com/ARM-software/ML-zoo.git Cloning into 'ML-zoo'... remote: Enumerating objects: 1320, done. remote: Counting objects: 100% (66/66), done. remote: Compressing objects: 100% (44/44), done. remote: Total 1320 (delta 27), reused 22 (delta 22), pack-reused 1254 Receiving objects: 100% (1320/1320), 413.77 KiB | 721.00 KiB/s, done. Resolving deltas: 100% (480/480), done. error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:1/0.npy' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

The path that git checks is models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:1/

But the actual path seems to be, /models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_input/normalized_input_image_tensor/

git checkout master

error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:1/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:2/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:3/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_int8/testing_output/TFLite_Detection_PostProcess:01/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_int8/testing_output/TFLite_Detection_PostProcess:02/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_int8/testing_output/TFLite_Detection_PostProcess:03/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_int8/testing_output/TFLite_Detection_PostProcess:04/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_uint8/testing_output/TFLite_Detection_PostProcess:1/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_uint8/testing_output/TFLite_Detection_PostProcess:2/0.npy' error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_uint8/testing_output/TFLite_Detection_PostProcess:3/0.npy'

Thanks,

BmanClark commented 2 years ago

As per your post on the community forum (but adding here as well for others to see) There is an error due to non-Windows compatible paths (works fine on OSX/Linux). The team are fixing the repo to have Windows compatible paths and will get back when they have fixed the problem.

arvcode commented 1 year ago

As per your post on the community forum (but adding here as well for others to see) There is an error due to non-Windows compatible paths (works fine on OSX/Linux). The team are fixing the repo to have Windows compatible paths and will get back when they have fixed the problem.

Though it works in Linux, The issue still exists in Windows.

$ git clone https://github.com/ARM-software/ML-zoo.git Cloning into 'ML-zoo'... remote: Enumerating objects: 1345, done. remote: Counting objects: 100% (91/91), done. remote: Compressing objects: 100% (67/67), done. remote: Total 1345 (delta 28), reused 45 (delta 24), pack-reused 1254 Receiving objects: 100% (1345/1345), 62.53 MiB | 6.60 MiB/s, done. Resolving deltas: 100% (481/481), done. error: invalid path 'models/object_detection/ssd_mobilenet_v1/tflite_fp32/testing_output/TFLite_Detection_PostProcess:1/0.npy' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'