-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I've solved some of the problems,
-
For example, your requirement file does not cover the package scikit-video, so no matching distribution found for SKvideo is displayed:Import scikit-video: PIP install scikit-video is required
-
In addition, I also appear the following error:
Traceback (most recent cali last):
File "gui.py",line 1013,in
main()
File "gui.py",line 944,in main
names = names.split(",")
AttributeError: 'NoneType' object has no attribute 'split'
-
And sometimes the following error occurs:
LOADING NEXT VIDEO
Traceback (most recent call last):
File "gui.py" , line 1013,in
main()
File "gui.py" . line 976,in main
masks = load_mask(video_path)
with open(video_path +"SegResults.pkl","rb") as handle:
FileNotFoundError : [Errno 2] No such file or directory: " /segResults.pkl'
-
In addition, we find that the merged. Json format you use is different from the JSON file format VGG uses for image and video segmentation and annotation. We don't know how to do your JSON file and video segmentation, because we want to make our own data set, thank you。
This is yours:
{"_via_settings": {"ui": {"annotation_editor_height": 25, "annotation_editor_fontsize": 0.8, "leftsidebar_width": 23, "image_grid": {"img_height": 80, "rshape_fill": "none", "rshape_fill_opacity": 0.3, "rshape_stroke": "yellow", "rshape_stroke_width": 2, "show_region_shape": true, "show_image_policy": "all"}, "image": {"region_label": "via_region_id", "region_color": "via_default_region_color", "region_label_font": "10px Sans", "on_image_annotation_editor_placement": "NEAR_REGION"}}, "core": {"buffer_size": 18, "filepath": {}, "default_filepath": ""}, "project": {"name": "via_project_31May2021_13h29m"}}, "_via_img_metadata": {"vlcsnap-2021-05-24-22h05m59s689.png1169380": {"filename": "vlcsnap-2021-05-24-22h05m59s689.png", "size": 1169380, "regions": [{"shape_attributes": {"name": "polyline", "all_points_x": [69, 68, 60, 75, 98, 131, 164, 206, 256, 310, 310, 247, 203, 171, 171, 176, 172, 159, 140, 133, 123, 124, 116, 106, 88, 80, 70], "all_points_y": [83, 128, 151, 156, 227, 267, 280, 323, 342, 349, 346, 330, 308, 272, 242, 237, 219, 214, 187, 144, 136, 123, 121, 99, 82, 73, 80]}, "region_attributes": {"mouse": {"mouse": true}}}, {"shape_attributes": {"name": "polyline", "all_points_x": [247, 256, 260, 277, 304, 330, 363, 419, 467, 508, 510, 487, 404, 369, 367, 371, 367, 364, 354, 338, 326, 299, 293, 268, 250, 247], "all_points_y": [115, 139, 162, 168, 217, 244, 255, 295, 324, 343, 336, 325, 273, 248, 229, 215, 186, 164, 154, 156, 134, 129, 116, 109, 101, 111]}, "region_attributes": {"mouse": {"mouse": true}}}, {"shape_attributes": {"name": "polyline", "all_points_x": [436, 439, 432, 442, 446, 462, 483, 512, 550, 594, 651, 713, 714, 660, 604, 551, 548, 565, 556, 546, 522, 503, 488, 477, 466, 456, 444, 437], "all_points_y": [576, 613, 622, 637, 664, 680, 715, 731, 740, 768, 773, 761, 754, 761, 758, 732, 714, 702, 692, 678, 660, 637, 610, 591, 581, 566, 565, 575]}, "region_attributes": {"mouse": {"mouse": true}}},
And this is mine:
{"project":{"pid":"VIA_PROJECT_ID","rev":"VIA_PROJECT_REV_ID","rev_timestamp":"VIA_PROJECT_REV_TIMESTAMP","pname":"Unnamed VIA Project","creator":"VGG Image Annotator (http://www.robots.ox.ac.uk/~vgg/software/via)","created":1631693860281,"vid_list":["1","2"]},"config":{"file":{"loc_prefix":{"1":"","2":"","3":"","4":""}},"ui":{"file_content_align":"center","file_metadata_editor_visible":true,"spatial_metadata_editor_visible":false,"spatial_region_label_attribute_id":"","gtimeline_visible_row_count":"4"}},"attribute":{"1":{"aname":"mouse","anchor_id":"FILE1_Z0_XY1","type":4,"desc":"","options":{"0":"sad","1":"time","2":"mouse"},"default_option_id":""},"2":{"aname":"sad","anchor_id":"FILE1_Z0_XY1","type":3,"desc":"","options":{"0":"animal","1":"env"},"default_option_id":""},"3":{"aname":"describe","anchor_id":"FILE1_Z0_XY1","type":1,"desc":"","options":{"0":""},"default_option_id":""},"4":{"aname":"time","anchor_id":"","type":1,"desc":"","options":{},"default_option_id":""}},"file":{"1":{"fid":"1","fname":"vlcsnap-2019-07-05-16h09m02s697.png","type":2,"loc":1,"src":""},"2":{"fid":"2","fname":"vlcsnap-2019-07-05-16h09m11s787.png","type":2,"loc":1,"src":""}},"metadata":{"1_mIPF58od":{"vid":"1","flg":0,"z":[],"xy":[2,541.611,110.861,69.393,55.853],"av":{"1":"2","2":"0","3":"raw"}},"2_bCVkpaEJ":{"vid":"2","flg":0,"z":[],"xy":[2,278.422,238.647,48.237,45.699],"av":{"1":"2","2":"0","3":"raw\n"}}},"view":{"1":{"fid_list":["1"]},"2":{"fid_list":["2"]}}}
{"project":{"pid":"VIA_PROJECT_ID","rev":"VIA_PROJECT_REV_ID","rev_timestamp":"VIA_PROJECT_REV_TIMESTAMP","pname":"Unnamed VIA Project","creator":"VGG Image Annotator (http://www.robots.ox.ac.uk/~vgg/software/via)","created":1631693860281,"vid_list":["1","2"]},"config":{"file":{"loc_prefix":{"1":"","2":"","3":"","4":""}},"ui":{"file_content_align":"center","file_metadata_editor_visible":true,"spatial_metadata_editor_visible":false,"spatial_region_label_attribute_id":"","gtimeline_visible_row_count":"4"}},"attribute":{"1":{"aname":"mouse","anchor_id":"FILE1_Z0_XY1","type":4,"desc":"","options":{"0":"sad","1":"time","2":"mouse"},"default_option_id":""},"2":{"aname":"sad","anchor_id":"FILE1_Z0_XY1","type":3,"desc":"","options":{"0":"animal","1":"env"},"default_option_id":""},"3":{"aname":"describe","anchor_id":"FILE1_Z0_XY1","type":1,"desc":"","options":{"0":""},"default_option_id":""},"4":{"aname":"time","anchor_id":"","type":1,"desc":"","options":{},"default_option_id":""}},"file":{"1":{"fid":"1","fname":"vlcsnap-2019-07-05-16h09m02s697.png","type":2,"loc":1,"src":""},"2":{"fid":"2","fname":"vlcsnap-2019-07-05-16h09m11s787.png","type":2,"loc":1,"src":""}},"metadata":{"1_mIPF58od":{"vid":"1","flg":0,"z":[],"xy":[2,541.611,110.861,69.393,55.853],"av":{"1":"2","2":"0","3":"raw"}},"2_bCVkpaEJ":{"vid":"2","flg":0,"z":[],"xy":[2,278.422,238.647,48.237,45.699],"av":{"1":"2","2":"0","3":"raw\n"}}},"view":{"1":{"fid_list":["1"]},"2":{"fid_list":["2"]}}}