-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing files #1
Comments
You need to build the utils to get access to that function. C++ code lives here: https://github.com/mitmul/ssai-cnn/blob/master/utils/src/transform.cpp#L100 |
Thank you for your reply. Sent from my iPhone On Jul 21, 2016, at 1:29 AM, Robin Kraft <[email protected]mailto:[email protected]> wrote: You need to build the utilshttps://github.com/mitmul/ssai-cnn#build-utils to get access to that function. C++ code lives here: https://github.com/mitmul/ssai-cnn/blob/master/utils/src/transform.cpp#L100 — |
Two more questions?
Rgs, From: Robin Kraft [email protected] You need to build the utilshttps://github.com/mitmul/ssai-cnn#build-utils to get access to that function. C++ code lives here: https://github.com/mitmul/ssai-cnn/blob/master/utils/src/transform.cpp#L100 You are receiving this because you authored the thread. |
Hi guys, |
Also couldn't use the pre-trained model to predict. |
Thank you for reporting it, you guys. I'll investigate it later. Sorry for inconvenience. |
@SarahwXU Could you explain the problem more in detail? |
@mitmul, I'm having the same issue as @SarahwXU; for the model (MnihCNN_multi.py), using the pre-trained weights (MnihCNN_multi_2016-01-20_06-22-02/epoch-400.model), the output is merely a 1433x1433x3 array of zeroes. I've put a single image file (22828930_15.tiff) into test_sat_dir, and the other arguments in predict.py are as follows:
Are you able to advise why the model is not giving any meaningful results? Thanks! |
All the values in the model output are exactly zeros? Could you give me some statistics of the output values? |
@mitmul, yup, all the values in the output are exactly zeroes (displayed as 0.); tried to multiply by 255 as well but to no avail. In addition, ran max() on the output and it confirms that all the values in the output are zeroes. Is it that another set of weights should be used? You seem to have provided other weight files (e.g. MnihCNN_multi_2016-01-20_06-22-02_1.372101/epoch-400.model) besides MnihCNN_multi_2016-01-20_06-22-02/epoch-400.model; do they mean something? |
OK, I actually almost forgot what my scripts are doing cause like so long time has passed after I ran my scripts last time. Well, could you provide the command you ran? I'd like to reproduce the problem first. Thanks. |
@mitmul, no worries, haha; the command I used for prediction was as per what you stated in readme.md: python scripts/predict.py For the model argument, I used "models/MnihCNN_multi.py" instead of "results/MnihCNN_multi_2016-02-03_03-34-58/MnihCNN_multi.py" as I couldn't find the "results" folder you were referring to. Similarly, for the param argument, I used "epoch-400.model" (downloaded from MnihCNN_multi_2016-01-20_06-22-0) as I couldn't find the "results/MnihCNN_multi_2016-02-03_03-34-58" folder you stated in readme.md. I also set the gpu argument to -1 as I currently don't have a GPU. |
Have found the issue; the canvas which is worked on by tile_patches() is not being output into get_predict() and hence, the canvas created in get_predict() remains blank - have modified the way the multiprocessing is done to output the canvas; pls see the fork here: (https://github.com/polars05/ssai-cnn/commit/faaa66fc9f5730dddcb1f7613b837143fa250de0) |
batch_transform is missing in utils file?
The text was updated successfully, but these errors were encountered: