This project is a simulation program for an online inventory management model
-
To switch to the path of the file, you can use the
cd
command in the terminal. For example, if the download path of the file is~/desktop/online_inventory
, you can run the commandcd ~/desktop/online_inventory
in the terminal to switch to that directory. -
If you’re using a PC, you can create a virtual environment named
env_online
and install the required dependencies using the commandconda create –name env_online –file requirements/requirements.txt
. However, if you’re using a Mac with an M1 processor, you’ll need to run the commandconda create –name env_online –file requirements/requirements_m1_mac.txt
instead. -
Once the virtual environment is created, you can activate it using the command
conda activate env_online
. -
Finally, you can run the
main.py
file using the commandpython main.py
while the virtual environment is activated. -
If you don’t have Conda installed on your computer, you can refer to the instructions on how to intsall Miniforge.
-
If you prefer not to download and install any development environment on your computer, there is an alternative option available. You can access the main.ipynb file, which will allow you to view and edit the file without the need for additional package.
-
To run the program, please click on the
Open In Colab
button. This will enable you to access and execute the code. -
Due to the small size of the model, utilizing a GPU will result in slower processing compared to using only a CPU. However, it should be noted that Colab's CPU performance is relatively low, resulting in slow program execution.