Closed lethdat closed 3 years ago
Hi @lethdat . I pushed file with training code https://github.com/singnet/image-matching/blob/master/fem/train_fundus.py , it is basically the same code as in train_reinforce.py(training on ms coco). The difference is in image augmentation https://github.com/singnet/image-matching/blob/master/fem/fundus.py. Processing steps are random 1408x1408 crop of an image, resize to 256x256 px, random homography application together with random noise(see NoisyTransformWithResize and FundusTransformWithResize).
Code should hopefully work on any images, but please note that homography-related code expects square images. It is on my to do list, but i can fix it sooner if you need to run the code on non-cropped images. Please let me know if you encounter any issues.
I pushed conda environment file https://github.com/singnet/image-matching/blob/master/fem/environment.yml. Concerning your particular error: something must be wrong with the environment since init.py is in python3.8 env, not in python3.6
пн, 11 янв. 2021 г. в 03:39, lethdat notifications@github.com:
Dear @noskill https://github.com/noskill. I setup our environment for your code (Python 3.6) But it is not working: [image: image] https://user-images.githubusercontent.com/65285605/104139720-b6428000-53f0-11eb-9b9a-f924aacfd4ad.png I don't know where is "continuous" ? Is your code only support Python 2.7 ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/singnet/image-matching/issues/1#issuecomment-757573671, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTDOSNBDJUIXQU4IOTE5LSZJCFHANCNFSM4VZ4CTPQ .
"@" is matrix multiplication operation. It calls matmul method which is implemented in numpy and pytorch arrays. It is available since python version 3.5.
пн, 11 янв. 2021 г. в 11:01, lethdat notifications@github.com:
Traceback (most recent call last): File "train_fundus.py", line 8, in from fem.reinf_utils import threshold_nms, threshold_nms_dense File "/mnt/h/CNN-Projects/GoodPoint/image-matching/fem/reinf_utils.py", line 3, in from fem import util File "/mnt/h/CNN-Projects/GoodPoint/image-matching/fem/util.py", line 84 hom_coords = H @ [col_m, row_m, 1] ^ SyntaxError: invalid syntax
What is @ mean ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/singnet/image-matching/issues/1#issuecomment-757687452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTDOWRLKDFXMNPYF3TPITSZKV7FANCNFSM4VZ4CTPQ .
thank you for your support.
Can I get more information or manual about GoodPoint with FIRE dataset ? how do you fine-tuned ? I want to apply GoodPoint with my medical data