Size of exe becoming large

27 views
Skip to first unread message

Tushar Wagh

unread,
Oct 4, 2021, 4:00:39 PM10/4/21
to PyInstaller
Hello,
Thank you very much for your work for pyinstaller.
I am using pyinstaller for my script. The size of the dist folder is very large thus becoming non-reliable for use. Please guide me, so that I can make a smaller exe.

In my script, I am importing the following modules.
import numpy as np
from numpy.linalg import norm
import pickle
import os
import random
import time
import math
import tensorflow
from tensorflow.keras.preprocessing import image
from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
from tensorflow.keras.applications.mobilenet import MobileNet
import cv2
import glob
import pickle
from scipy.spatial.distance import cosine
from pathlib import Path
from annoy import AnnoyIndex
import json

Tushar Wagh

unread,
Oct 5, 2021, 6:09:26 AM10/5/21
to PyInstaller
it's getting up to 3.5 GB.
--
Best Regards,
Tushar Wagh
Data Science Engineer
BioEnable Technologies Pvt. Ltd
   
Reply all
Reply to author
Forward
0 new messages