Giter Club home page Giter Club logo

django_bgremoverml's Introduction

Hi there, I'm Farjaal Ahmad ๐Ÿ”ฅ

I made some things and did things just for fun. I can't live without the Internet besides oxygen and water, LMFAO. I'm a Full stack developer, Penetration Tester, Red Team, and CTF player.

  • ๐ŸŒฑ Just learning new things in Cybersecurity and doing experiments.
  • ๐ŸŒฑ Huge fan of Automation. Automation is a Key to Success.

farjaalahmad

farjaalahmad

farjaalahmad

Blogs posts

Connect with me:

farjaalahmad farjaalahmad @farjaalahmad

Languages and Tools:

bash bootstrap cplusplus css3 django docker git html5 linux mariadb mssql mysql nginx pandas postman python

Register to Digital Ocean below and you will also Get $200 Free for 2 months.

DigitalOcean Referral Badge


ย farjaalahmad

ย farjaalahmad

ย farjaalahmad

django_bgremoverml's People

Contributors

cnrblm avatar dependabot[bot] avatar farjaalahmad avatar luizoti avatar rbrtjns90 avatar rpraveenpai avatar walix4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django_bgremoverml's Issues

directory not found during installation

I wrote the solution in my pull request #30
When I run the setup script, it will exit with the following error

bash setup.sh
...
$ django_bgRemoverML/setup//download.py, not found!

The setup script adds an additional / to the directory for download.py. I modified the setup script and got it working on my laptop.
Check the pull request for the detailed changes.

Multi user problem : RuntimeError: can't start new thread

If there are multiple users using the site, the process crashes and resumes with

Exception happened during processing of request from ('xxx.xxx.xxx.xxx', 13787)
Traceback (most recent call last):
File "/usr/lib64/python3.6/socketserver.py", line 320, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib64/python3.6/socketserver.py", line 669, in process_request
t.start()
File "/usr/lib64/python3.6/threading.py", line 846, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

The XXX.XXX.XXX.XXX is the IP address of the user.

Google Colab notebook

My laptop has not very high performance. Do you have an example notebook to run your code on google colab?
Thank you

IT IS SHUTTING DOWN

When I open 127.0.0.1, it displays the input form page, but after we submit an image, Django automatically shuts down and webpage shows - "This site can't be reached". BTW, the same code is working in my another PC.

PLEASE HELP

select gpu?

i managed to run your project on my win10 laptop which has two gpus,
but the question is how should i specify using my second gpu for ml ? currently it seems like it's using cpu and takes too long(25 seconds for a 310x453 pixels picture).

+thanks for your awesome project ,ive been searching for this for about a year...

When uploading an image, I'm getting this error "FileNotFoundError at /" from apache2 server

When trying to upload an image in apache 2 server localhost (http://127.0.0.1:8000). It's returning an error:

What steps should I follow to make it work? ( I already followed README.md instructions and run setup.sh)

but when i give python3 manage.py runserver by using terminal its working properly.

but from apache2 configuration the given error comes again and again
save

After done the configuration in apache2 server everything is working fine but pre trained model not found error

I checked the error log its given internal server error /

SAVE_20210812_204042

Requirement Installation issue

Hi,

I am trying to install your project, but it seems there are some problem with the dependency version.

python3 -m pip install -r requirements.txt command gives me the below error.

The conflict is caused by:
The user requested numpy==1.19.0
gluoncv 0.7.0 depends on numpy
h5py 2.10.0 depends on numpy>=1.7
imageio 2.9.0 depends on numpy
keras-preprocessing 1.1.2 depends on numpy>=1.9.1
matplotlib 3.2.2 depends on numpy>=1.11
mxnet 1.6.0 depends on numpy<2.0.0 and >1.16.0
opencv-python 4.3.0.36 depends on numpy>=1.17.3
opt-einsum 3.2.1 depends on numpy>=1.7
pywavelets 1.1.1 depends on numpy>=1.13.3
scikit-image 0.17.2 depends on numpy>=1.15.1
scipy 1.4.1 depends on numpy>=1.13.3
tensorboard 2.2.2 depends on numpy>=1.12.0
tensorflow 2.2.1 depends on numpy<1.19.0 and >=1.16.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

Any Suggestion, I am using ubuntu server 18.04 and python 3.8.0

pip requirements.txt issue

I wrote the solution and needed changes in my pull request
#28 I wasn't sure if the pull request was notified, so I decided to add put in a issue.

I ran into issues with while trying to run through step 3 of the installation.

python3 -m pip install -r requirements.txt

I am using a conda environment with python 3.8.8 on Fedora Linux. The following is an example of a pip error output.

ERROR: Cannot install -r requirements.txt (line 41) and urllib3==1.25.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.25.0
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

There's more in the pull request, but the above is a example of the errors I got. I modified the requirements.txt file and got it working on my laptop.

Cannot install (again)

I am trying (for a second time) to get this software to work. When running python3 -m pip install -r requirements.txt a lot of stuff is installed, but it finally fails with these messages:

ERROR: Cannot install requests==2.24.0 and urllib3==1.26.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.5
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

I am not very good in Python... any ideas on how to fix these installation issues?

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.