Open codefortheplanet opened 1 year ago
Hi, it seems some bugs with onedrive. I provide another google drive link here.
Hi, Thanks for the link. The annotation file in google drive looks corrupt and is incomplete. Could you try to zip it before uploading? Thank you!
sorry I updated it again: https://drive.google.com/file/d/1F2ClhTH5vZNlYvAqQhFQ3TVAbfbYp02y/view?usp=sharing
Thanks for reuploading. However, the new file is still not working. Here is the print out message and this is exactly what happened for your previous version. The JSON string is incomplete.
Traceback (most recent call last):
File "tools/train_net.py", line 161, in
@lkeab Could you zip the file first and then upload it again! Thank you very much!
I followed the process.sh in README.md to make a bilayer mask annotation and it worked for me.
$ python -m detectron2.data.datasets.process_dataset datasets/coco/annotations/instances_train2017.json datasets/coco/train2017 coco_ 2017_train
$ mv ann.json datasets/coco/annotations/instances_train2017_bcnet.json
@lkeab Could you zip the file first and then upload it again! Thank you very much!
Hi, I am suffering the same problem, have you solved it?
sorry I updated it again: https://drive.google.com/file/d/1F2ClhTH5vZNlYvAqQhFQ3TVAbfbYp02y/view?usp=sharing
Hi, I've done the two steps as https://github.com/lkeab/BCNet/issues/132#issuecomment-1627887055, but I still suffer the same problem as https://github.com/lkeab/BCNet/issues/132#issuecomment-1591824509, and then I checked the tail content of the file downloaded from the url you provided:https://github.com/lkeab/BCNet/issues/132#issuecomment-1585516102, I found there is something wrong with the json file. I use the following code to check the content:
file_path = r"path to\instances_train_2017_transform_slight_correct.json"
if __name__ == '__main__':
with open(file_path) as f:
print(f.read()[-100:])
the output is:
.54, 112.44, 624.54, 123.11, 624.54, 129.52, 625.97, 129.52, 634.51, 131.65, 640.0, 139.48, 640.0, 1
It seems that it lacks a '}' or the content is incomplete. So could you please update the file and provide the url again? Thank you!
Hello, the link to the "converted mask annotation" is not working. Could you update the link or is there another way I can download it? Thank you.