Giter Site home page Giter Site logo

fiecup / ia-clasificador-imagenes Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 23.67 MB

Un código simple :coffee: para un :bar_chart: Clasificador de imágenes en Python utilizando Inteligencia Artificial.

License: MIT License

Python 100.00%
inteligencia-artificial project python3 opencv clasificacion machine-learning-algorithms machine-learning university-project

ia-clasificador-imagenes's Introduction

ia-clasificador-imagenes

Un código simple ☕ para un 📊 Clasificador de imágenes en Python utilizando Inteligencia Artificial.

  1. Crea una entorno virtual de Python versión 3+.
virtualenv -p python3 env     # Creas entorno virtual con Python3+.
source env/bin/activate       # Activar entorno virtual.
deactivate                    # Para salir del entorno virtual (EJECUTAR SOLO SI YA NO LO VAS A USAR).
  1. Ejecuta el archivo requirements.txt , esto instalara las librerias necesarias del proyecto.
pip3 install -r requirements.txt
  1. Ejecuta primeramente el entrenar.py, para que puedar entrenar la red neuronal y crear el modelo.
python3 entrenar.py
  1. Ahora, ejecuta el predecir.py, para que puedar decirte si la imagen se encuentra o no. En el código de predecir.py la función predict('nombre-imagen'), en nombre-imagen reemplazar por una imagen cualquiera para probar el modelo.
python3 predecir.py

Al final deberia lanzar el resultado.

Si te gustaria colaborar, sería fantástico ✌️

ia-clasificador-imagenes's People

Contributors

harryalvarado28 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ia-clasificador-imagenes's Issues

ModuleNotFoundError: No module named 'tensorflow.python.keras.preprocessing'

Hermano siempre obtengo este error, es que en tu requirements.txt no dejaste las versiones de las librerias que usaste y a dia de hoy no se cuales son

I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-06-06 16:22:56.935580: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
  File "/home/noe/clonados/ia-clasificador-imagenes/entrenar.py", line 3, in <module>
    from tensorflow.python.keras.preprocessing.image import ImageDataGenerator
ModuleNotFoundError: No module named 'tensorflow.python.keras.preprocessing'

al instalarlo pip me baja las librerias recientes, seguro el modulo expiro

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.