Skip to content

Commit

Permalink
Delete unnecessary files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Learner209 committed Dec 16, 2023
1 parent 4fee8f9 commit 77b924e
Show file tree
Hide file tree
Showing 12 changed files with 263 additions and 366 deletions.
Binary file added lavis/examples/merlion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 152 additions & 0 deletions lavis/examples/teaser.ipynb

Large diffs are not rendered by default.

49 changes: 0 additions & 49 deletions pysaliency/.travis.yml

This file was deleted.

49 changes: 0 additions & 49 deletions pysaliency/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions pysaliency/LICENSE.md

This file was deleted.

10 changes: 0 additions & 10 deletions pysaliency/MANIFEST.in

This file was deleted.

17 changes: 0 additions & 17 deletions pysaliency/Makefile

This file was deleted.

90 changes: 0 additions & 90 deletions pysaliency/download_all_datasets.py

This file was deleted.

18 changes: 11 additions & 7 deletions pysaliency/notebooks/exp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,15 @@
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-12-16 16:29:35.983694: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-11.7/lib64:/usr/lib/nvidia\n",
"2023-12-16 16:29:35.983714: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.\n"
"ename": "ModuleNotFoundError",
"evalue": "No module named 'blipsaliency.datasets'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb Cell 9\u001b[0m line \u001b[0;36m3\n\u001b[1;32m <a href='vscode-notebook-cell://ssh-remote%2Brobot01/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0'>1</a>\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mtorch\u001b[39;00m\n\u001b[1;32m <a href='vscode-notebook-cell://ssh-remote%2Brobot01/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=1'>2</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mPIL\u001b[39;00m \u001b[39mimport\u001b[39;00m Image\n\u001b[0;32m----> <a href='vscode-notebook-cell://ssh-remote%2Brobot01/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mmodels\u001b[39;00m \u001b[39mimport\u001b[39;00m load_model_and_preprocess\n\u001b[1;32m <a href='vscode-notebook-cell://ssh-remote%2Brobot01/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=3'>4</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mprocessors\u001b[39;00m \u001b[39mimport\u001b[39;00m load_processor\n\u001b[1;32m <a href='vscode-notebook-cell://ssh-remote%2Brobot01/mnt/homes/minghao/ImageProcessing/Assignment2/BASELINE/BASELINE/pysaliency/notebooks/exp.ipynb#X11sdnNjb2RlLXJlbW90ZQ%3D%3D?line=4'>5</a>\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mmatplotlib\u001b[39;00m \u001b[39mimport\u001b[39;00m pyplot \u001b[39mas\u001b[39;00m plt\n",
"File \u001b[0;32m~/ImageProcessing/Assignment2/BASELINE/BASELINE/blipsaliency/blipsaliency/__init__.py:15\u001b[0m\n\u001b[1;32m 11\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39momegaconf\u001b[39;00m \u001b[39mimport\u001b[39;00m OmegaConf\n\u001b[1;32m 13\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mcommon\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mregistry\u001b[39;00m \u001b[39mimport\u001b[39;00m registry\n\u001b[0;32m---> 15\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mdatasets\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mbuilders\u001b[39;00m \u001b[39mimport\u001b[39;00m \u001b[39m*\u001b[39m\n\u001b[1;32m 16\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mmodels\u001b[39;00m \u001b[39mimport\u001b[39;00m \u001b[39m*\u001b[39m\n\u001b[1;32m 17\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mblipsaliency\u001b[39;00m\u001b[39m.\u001b[39;00m\u001b[39mprocessors\u001b[39;00m \u001b[39mimport\u001b[39;00m \u001b[39m*\u001b[39m\n",
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'blipsaliency.datasets'"
]
}
],
Expand Down Expand Up @@ -346,7 +350,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1500,7 +1504,7 @@
"results_df = pd.DataFrame(columns=columns)\n",
"\n",
"\n",
"for model_name in model_zoos[0:5]:\n",
"for model_name in model_zoos[5:]:\n",
"\tprint(f\"------------------------ Model: {model_name} -----------------------------------\")\n",
"\tmodel: pysaliency.SaliencyMapModel\n",
"\t# model_location = \"../scripts/models/\"\n",
Expand Down
Loading

0 comments on commit 77b924e

Please sign in to comment.