|
98 | 98 | "# ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.\n",
|
99 | 99 | "# This is fine and can be ignored\n",
|
100 | 100 | "\n",
|
101 |
| - "!pip install -e ." |
| 101 | + "!pip install -e .\n", |
| 102 | + "\n", |
| 103 | + "# fiftyone patch for ubuntu 22.04, which colab runs as of 07/2023\n", |
| 104 | + "!pip install fiftyone-db-ubuntu2204" |
102 | 105 | ]
|
103 | 106 | },
|
104 | 107 | {
|
|
841 | 844 | " labeled_mp4_file=labeled_mp4_file,\n",
|
842 | 845 | " trainer=trainer,\n",
|
843 | 846 | " model=model,\n",
|
844 |
| - " gpu_id=cfg.training.gpu_id,\n", |
845 | 847 | " data_module=data_module_pred,\n",
|
846 | 848 | " save_heatmaps=cfg.eval.get(\"predict_vids_after_training_save_heatmaps\", False),\n",
|
847 | 849 | " )\n",
|
|
981 | 983 | "# Launch the FiftyOne UI\n",
|
982 | 984 | "# - Select the dataset you just built (e.g., `lightning-pose-demo`) on the top left dropdown menu.\n",
|
983 | 985 | "# - If you receive a 403 error, be sure to enable all cookies for this site in your browser\n",
|
| 986 | + "# - You may need to wait up to a minute for the UI to appear\n", |
984 | 987 | "fo.launch_app()"
|
985 | 988 | ]
|
986 | 989 | },
|
|
1024 | 1027 | "model_names = get_model_folders_vis(model_folders)\n",
|
1025 | 1028 | "\n",
|
1026 | 1029 | "# get prediction files for each model\n",
|
1027 |
| - "prediction_files = update_vid_metric_files_list(video=\"test_vid\", model_preds_folder=model_folders)\n", |
| 1030 | + "prediction_files = update_vid_metric_files_list(video=\"test_vid\", model_preds_folders=model_folders)\n", |
1028 | 1031 | "\n",
|
1029 | 1032 | "# load data\n",
|
1030 | 1033 | "dframes_metrics = defaultdict(dict)\n",
|
|
0 commit comments