Coder Social home page Coder Social logo

low-resolution's Introduction

Grid Search Workflow

Low-resolution image classification

Project structure

(root)
|-- README.md: project instructions
|
|-- application: contains the application code for server and sites
|   |-- frontend: contains the frontend code for the client/admin site
|   |   |-- client: contains the frontend code for the client site (react)
|   |   \-- admin: contains the frontend code for the admin site (react)
|   |
|   \-- server: contains the backend code for the server (django)
|       |-- djangoserver: contains the django project
|       |-- database: contains django app for database model
|       \-- api: contains django app for api endpoints
|
|-- Data
|   |-- cargo
|   |-- Container
|   |-- Fishing vessel
|   |-- fishing vessels or small ships
|   |-- Island.zip
|   \-- Tanker.zip
|
|-- model-backend
|   |-- model
|   |   |-- cnn.py
|   |   |-- common.py
|   |   |-- edsr.py
|   |   |-- prep_model.py
|   |   |-- srgan.py
|   |   |-- utils.py
|   |   \-- __init__.py
|   |
|   |-- model.pkl
|   |-- research1-ensemble.ipynb
|   |-- research1.ipynb
|   \-- research2.ipynb
|

Installation instructions

See aaplication/server/README.md for installation instructions.

low-resolution's People

Contributors

devasy23 avatar dbavisi avatar deep-2209 avatar

Watchers

James Cloos avatar Ruchira Gahlaut avatar  avatar

Forkers

devasy23

low-resolution's Issues

Errors encountered when training SRGAN Model

I am encountering several errors when trying to train the SRGAN model using my dataset. Here are the errors that I am facing:

  1. ValueError: Exception encountered when calling layer "model_23" " f"(type Functional). Input 0 of layer "model_22" is incompatible with the layer: expected shape=(None, 96, 96, 3), found shape=(16, 384, 384, 3)

This error occurs when I try to train the SRGAN model using a batch of low-resolution images that are of the wrong size. The SRGAN model expects input images of shape (None, 96, 96, 3), but I am passing images of shape (16, 384, 384, 3).

  1. AttributeError: 'NoneType' object has no attribute 'dtype'

This error occurs when I try to load my dataset using the load_data function from the tensorflow.keras.datasets module. The error message suggests that the function is returning a NoneType object instead of a tuple of numpy arrays.

  1. TypeError: 'NoneType' object is not subscriptable

This error occurs when I try to split my dataset into training and validation sets using the train_test_split function from the sklearn.model_selection module. The error message suggests that the function is returning a NoneType object instead of a tuple of numpy arrays.

I have tried several solutions to these errors, including resizing the low-resolution images to the appropriate size, using a different dataset loading function, and using a different splitting function. However, none of these solutions have worked.

I would appreciate any help in resolving these errors so that I can successfully train the SRGAN model on my dataset. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.