Skip to content

Instantly share code, notes, and snippets.

View FlorinAndrei's full-sized avatar

Florin Andrei FlorinAndrei

View GitHub Profile
@FlorinAndrei
FlorinAndrei / truncate.sh
Last active February 20, 2024 01:29
truncate github history
# create orphan branch
git checkout --orphan rebuild
# add all files to orphan branch
git add *
git commit -m "rebuild"
# delete old main branch
git branch -D main
# rename new branch to main
git branch -m main
git push -f origin main
@FlorinAndrei
FlorinAndrei / error.txt
Created December 27, 2023 21:31
ray error
2023-12-27 13:26:43,487 ERROR worker.py:405 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
2023-12-27 13:26:43,558 ERROR worker.py:405 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
2023-12-27 13:26:43,644 ERROR worker.py:405 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
2023-12-27 13:26:43,721 ERROR worker.py:405 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
(bundle_reservation_check_func pid=137883) Traceback (most recent call last):
(bundle_reservation_chec
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[7], line 1
----> 1 sns.pairplot(_.dropna())
File ~\AppData\Roaming\Python\Python311\site-packages\seaborn\axisgrid.py:2144, in pairplot(data, hue, hue_order, palette, vars, x_vars, y_vars, kind, diag_kind, markers, height, aspect, corner, dropna, plot_kws, diag_kws, grid_kws, size)
2142 diag_kws.setdefault("legend", False)
2143 if diag_kind == "hist":
-> 2144 grid.map_diag(histplot, **diag_kws)
2145 elif diag_kind == "kde":
Visual Studio Code (1.76.2, ssh-remote, desktop)
Jupyter Extension Version: 2023.2.1200692131.
Python Extension Version: 2023.4.1.
Workspace folder /home/florin/git/segmentation-peak4
User belongs to experiment group 'jupyterEnhancedDataViewer'
User belongs to experiment group 'jupyterTest'
debug 15:18:30.199: Updating cache with Python kernels
, Added =
, Updated =
, Removed =
2to3==1.0
absl-py==1.2.0
addict==2.4.0
aicrowd-cli==0.1.15
aiohttp==3.8.1
aiohttp-retry==2.8.3
aiosignal==1.2.0
albumentations==1.2.1
alembic==1.8.1
altair==4.2.0
@FlorinAndrei
FlorinAndrei / app.py
Created February 14, 2023 01:57
mean_dice
import evaluate
from evaluate.utils import launch_gradio_widget
module = evaluate.load("mean_dice")
launch_gradio_widget(module)
@FlorinAndrei
FlorinAndrei / gist:0f844c5d8b78a5b0ebfe5e50f838e163
Created August 11, 2021 21:54
nvidia gpu operator deployment #4
========== NVIDIA Software Installer ==========
Starting installation of NVIDIA driver version 460.73.01 for Linux kernel version 3.10.0-1160.25.1.el7.x86_64
Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...
Checking NVIDIA driver packages...
Found NVIDIA driver package nvidia-modules-3.10.0-builtin
Installing NVIDIA driver kernel modules...
@FlorinAndrei
FlorinAndrei / gist:ae62e884a655eda6ebfc8c654df51dd7
Created August 11, 2021 21:53
nvidia gpu operator deployment #3
========== NVIDIA Software Installer ==========
Starting installation of NVIDIA driver version 460.73.01 for Linux kernel version 3.10.0-1160.36.2.el7.x86_64
Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...
Checking NVIDIA driver packages...
Updating the package cache...
Resolving Linux kernel version...
@FlorinAndrei
FlorinAndrei / gist:68dec93920a0b81cd96ba5a9a94de780
Created August 11, 2021 21:35
nvidia gpu operator deployment #1
========== NVIDIA Software Installer ==========
Starting installation of NVIDIA driver version 470.57.02 for Linux kernel version 3.10.0-1160.36.2.el7.x86_64
Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...
Checking NVIDIA driver packages...
Updating the package cache...
Resolving Linux kernel version...
@FlorinAndrei
FlorinAndrei / gist:3a8a31fa89f97e2a2dee4a7f31b3f37b
Created August 11, 2021 21:33
nvidia gpu operator deployment #2
========== NVIDIA Software Installer ==========
Starting installation of NVIDIA driver version 470.57.02 for Linux kernel version 3.10.0-1160.25.1.el7.x86_64
Stopping NVIDIA persistence daemon...
Unloading NVIDIA driver kernel modules...
Unmounting NVIDIA driver rootfs...
Checking NVIDIA driver packages...
Updating the package cache...
Resolving Linux kernel version...