Skip to content
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

Can you provide pretrained model on imageNet? #27

Closed
Kyfafyd opened this issue Apr 3, 2020 · 4 comments
Closed

Can you provide pretrained model on imageNet? #27

Kyfafyd opened this issue Apr 3, 2020 · 4 comments

Comments

@Kyfafyd
Copy link

Kyfafyd commented Apr 3, 2020

Issue Template

Description

Please include a summary of the issue.
Please include the steps to reproduce.
List any additional libraries that are affected.

Steps to Reproduce

  1. First step
  2. Second step
  3. Third step

Expected behavior

A description of what you expected to happen.

Actual behavior

A description of what happens instead.

Environment

  • Build: [e.g. 3180 - type "About" in the Command Palette]
  • Operating system and version: [e.g. macOS 10.14, Windows 10, Ubuntu 18.04]
  • [Linux] Desktop Environment and/or Window Manager: [e.g. Gnome, LXDE, i3]
@zeeshannisar
Copy link

Dear @Kyfafyd if you are asking for Pre-trained models used for detecting and visualizing the COVID-19 you can refer to my GitHub Reposiotory where I used three different Pre-trained Networks (VGG16, VGG19, and DenseNet121) for COVID-19 identification for the same data provided by the authors of COVID-Net. I hope it would help you for what you are asking for.

@AasiaRehman
Copy link

What is this error about??
img = cv2.resize(img, INPUT_SIZE) # resize
cv2.error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite_1534379934306\work\modules\imgproc\src\resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function 'cv::r

@zeeshannisar
Copy link

zeeshannisar commented Apr 4, 2020

@AasiaRehman can you please share the complete code for which you are having an error? As per my understanding, your img array is empty and hence it's giving an error while resizing. For me, the best is to read and resize the image with the following line of code.

import tensorflow as tf
img = tf.keras.preprocessing.image.load_img(img_path, target_size=(width, height), color_mode='grayscale/rgb', interpolation='nearest')

@Kyfafyd
Copy link
Author

Kyfafyd commented Apr 8, 2020

@lindawangg Can you please provide the pretrained model on ImageNet?
Thanks a lod!

@Kyfafyd Kyfafyd closed this as completed Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants