Stephen
|
76c79266c7
COmmented out the reza unet sections.
|
3 years ago |
Stephen
|
a470d5c239
Added reza azad's unet file. It doesn't work yet though. It expects inputs of only int32 but my net works on float64.
|
3 years ago |
Stephen
|
ad00dbd741
Added the reza azad unet for later testing. Need to change its input size. Currently it takes only grascale images as input at size 256x256.
|
3 years ago |
Stephen
|
f5c20f6a41
Found bug in standard unet. 16 was in place of a variable.
|
3 years ago |
Stephen
|
88bbedfd7c
Switched to jaccard accuracy score for the monitor. Also saved originals with the output images.
|
3 years ago |
Stephen
|
8d24d9184b
Added some printing if statements to clean things up. Added some metrics to the model.
|
3 years ago |
Stephen
|
116af0efce
This version makes the correctly predicted white pixels get a red mask image saved to file. Good results start at 3 epochs in terms of redness.
|
3 years ago |
Stephen
|
ad4a3d2608
I made a hack to fix the boundary box sizes. The PILLOW function image.paste(im, sizewhatever) seems to be bugged? Or maybe my pictures are strange in some way. To be clear, occasionally image.getbbox() returns something other than (0, 0, width, height), (width, height) come from image.size.
|
3 years ago |
Stephen
|
a63b55f1ef
Currently getting a weird error where the image.getbbox() function returns a different size than image.size; BUT ONLY FOR INVERTED IMAGES!
|
3 years ago |
Stephen
|
551469d2d8
Ok, the Autoinit thing was messing things up. Working again.
|
3 years ago |
Stephen
|
e87dda9966
Something is very wrong. The program no longer creates good outputs.
|
3 years ago |
Stephen
|
06e0d9860f
Commented out autoinit for now. About to start going ham on this code.
|
3 years ago |
Stephen
|
a52787b597
Added note to remind myself to change the background setting after I fix the foreground/background issue.
|
3 years ago |
Stephen
|
81189b7f7a
Updated TODO.
|
3 years ago |
Stephen
|
61611d84f4
Updated TODO list.
|
3 years ago |
Stephen
|
c33ab62fac
Added the AutoInit thingy. Tested to see it work. Must do tests to see what effect it has.
|
3 years ago |
Stephen
|
007429a02e
Implemented a function to create a mask of the prediction with the truth-- Areas in both are shown. Also, I discovered that my model is technically finding the background instead of the foreground. It shouldn't matter much technically, but it explains some of the weird issues I've been having.
|
3 years ago |
Stephen
|
80e5619d56
Remembered to use the clever way of multiplication elementwise.
|
3 years ago |
Stephen
|
dabe7d428f
Created mask function to output a mask of the whole predicted images.
|
3 years ago |
Stephen
|
d6745445cf
update todo
|
3 years ago |
Stephen
|
2952a1b013
Added jaccard and dice accuracy score calculations for the predicted full sized images.
|
3 years ago |
Stephen
|
2398085d44
Found the error. There was a high in the wide loop. line 595. lol. This version works to produce binarized images of any size!
|
3 years ago |
Stephen
|
1a9fe5c301
Ok, this one is making the right looking output but maybe in the wrong order. testing.
|
3 years ago |
Stephen
|
cbdf311d6c
Found a way that is outputing the right-ish size using slicing. Almost got it. Testing this change on 596 now.
|
3 years ago |
Stephen
|
aa36014a2b
I found that on line 234, I accidentally put NUM_SQUARES instead of the size of the squares. So all my previous methods to image output may have worked fine...
|
3 years ago |
Stephen
|
2c9a151757
My outputs are long images containing all the squares. They are not put into rows correctly; just one big column.
|
3 years ago |
Stephen
|
652421dd32
Looks like the images are not actually stitched back together yet. I see that the first one is shape 16,64,64,1 so it must still be in squares.
|
3 years ago |
Stephen
|
43aae200fb
As of now this "works". It no longer crashes with a ton of weird errors. But the output of the whole image predict is just the original image.
|
3 years ago |
Stephen
|
bb39871212
Added making a copy of the conda environment. Added another graph output. Removed many print statements and old comments.
|
3 years ago |
Stephen
|
9df433369f
Added a conda cheat sheet. Created a TODO list. Made a .yml of my environment.
|
3 years ago |