Skip to content

Commit 5c1a066

Browse files
committed
Fix build issues(hopefully for the last time)
1 parent e473860 commit 5c1a066

File tree

4 files changed

+37
-41
lines changed

4 files changed

+37
-41
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ cython_debug/
142142
test/
143143

144144
.idea/
145+
.vscode/
145146

146-
checkpoints/
147+
checkpoints/

README.md

+33-32
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ architectures. That is where QuickAI came in. It allows for easy experimentation
1818

1919
### Dependencies:
2020

21-
Tensorflow, PyTorch, Sklearn, Matplotlib, Numpy, and Hugging Face Transformers. You should install TensorFlow and PyTorch following the instructions from their respective websites.
21+
Tensorflow, PyTorch, Sklearn, Matplotlib, Numpy, and Hugging Face Transformers. You should install TensorFlow and PyTorch following the instructions from their respective websites.
2222

2323
### Why you should use QuickAI
2424

@@ -30,50 +30,51 @@ all of these steps happens automatically with just 1-2 lines of code.
3030
### The following models are currently supported:
3131

3232
1. #### Image Classification
33-
* EfficientNet B0-B7
34-
* VGG16
35-
* VGG19
36-
* DenseNet121
37-
* DenseNet169
38-
* DenseNet201
39-
* Inception ResNet V2
40-
* Inception V3
41-
* MobileNet
42-
* MobileNet V2
43-
* MobileNet V3 Small & Large
44-
* ResNet 101
45-
* ResNet 101 V2
46-
* ResNet 152
47-
* ResNet 152 V2
48-
* ResNet 50
49-
* ResNet 50 V2
50-
* Xception
33+
- EfficientNet B0-B7
34+
- VGG16
35+
- VGG19
36+
- DenseNet121
37+
- DenseNet169
38+
- DenseNet201
39+
- Inception ResNet V2
40+
- Inception V3
41+
- MobileNet
42+
- MobileNet V2
43+
- MobileNet V3 Small & Large
44+
- ResNet 101
45+
- ResNet 101 V2
46+
- ResNet 152
47+
- ResNet 152 V2
48+
- ResNet 50
49+
- ResNet 50 V2
50+
- Xception
5151
2. #### Natural Language Processing
52-
* GPT-NEO 125M(Generation, Inference)
53-
* GPT-NEO 350M(Generation, Inference)
54-
* GPT-NEO 1.3B(Generation, Inference)
55-
* GPT-NEO 2.7B(Generation, Inference)
56-
* Distill BERT Cased(Q&A, Inference and Fine Tuning)
57-
* Distill BERT Uncased(Named Entity Recognition, Inference)
58-
* Distil BART (Summarization, Inference)
59-
* Distill BERT Uncased(Sentiment Analysis & Text/Token Classification, Inference and Fine Tuning)
52+
53+
- GPT-NEO 125M(Generation, Inference)
54+
- GPT-NEO 350M(Generation, Inference)
55+
- GPT-NEO 1.3B(Generation, Inference)
56+
- GPT-NEO 2.7B(Generation, Inference)
57+
- Distill BERT Cased(Q&A, Inference and Fine Tuning)
58+
- Distill BERT Uncased(Named Entity Recognition, Inference)
59+
- Distil BART (Summarization, Inference)
60+
- Distill BERT Uncased(Sentiment Analysis & Text/Token Classification, Inference and Fine Tuning)
6061

6162
3. #### Object Detection
62-
* YOLOV4
63-
* YOLOV4 Tiny
63+
- YOLOV4
64+
- YOLOV4 Tiny
6465

6566
### Installation
6667

6768
`pip install quickAI`
6869

6970
### How to use
7071

71-
Please see the examples folder for details. For the YOLOV4, you can download weights from [here](https://github.com/geekjr/quickai/releases/download/1.3.0/checkpoints.zip)
72+
Please see the examples folder for details. For the YOLOV4, you can download weights from [here](https://github.com/geekjr/quickai/releases/download/1.3.0/checkpoints.zip). Full documentation is in the wiki section of the repo.
7273

7374
### Issues/Questions
7475

75-
If you encounter any bugs, please open a new issue so they can be corrected. If you have general questions, please use the discussion section.
76-
76+
If you encounter any bugs, please open a new issue so they can be corrected. If you have general questions, please use the discussion section.
7777

7878
### Credits
79+
7980
Most of the code for the YOLO implementation was taken from "The AI Guy's" [tensorflow-yolov4-tflite](https://github.com/theAIGuysCode/tensorflow-yolov4-tflite) repo. Without this, the YOLO implementation would not be possible. Thank you!

quickai/yolo/detect.py

-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
from .utils import *
1717

1818

19-
physical_devices = tf.config.experimental.list_physical_devices('GPU')
20-
if len(physical_devices) > 0:
21-
tf.config.experimental.set_memory_growth(physical_devices[0], True)
22-
23-
24-
2519
class YOLOV4:
2620
"""
2721
Method yolov4_detect is default

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="quickai", # Replace with your own username
8-
version="1.3.6",
8+
version="1.3.7",
99
author="geekjr",
1010
author_email="[email protected]",
1111
description="QuickAI is a Python library that makes it extremely easy to experiment with state-of-the-art "
@@ -21,7 +21,7 @@
2121
"License :: OSI Approved :: MIT License",
2222
"Operating System :: OS Independent",
2323
],
24-
packages=setuptools.find_packages(),
24+
packages=["quickai/"],
2525
python_requires=">=3.6",
2626
install_requires=[
2727
'scikit-learn',

0 commit comments

Comments
 (0)