Extracted from: https://github.com/kurokirasama/nushell_sublime_syntax with the fix from kurokirasama/nushell_sublime_syntax#4
H is Height, W is Width, C is Channels and D is depth.
Framework | Image Shape | Channel Ordering |
---|---|---|
Numpy | (H, W, C) | RGB |
Torch | (C, H, W) | RGB |
TensorFlow | (H, W, C) | RGB |
Keras | (H, W, C) | RGB |
OpenCV | (H, W, C) | BGR |
PIL | (H, W, C) | RGB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ada": "https://github.com/briot/tree-sitter-ada", | |
"agda": "https://github.com/tree-sitter/tree-sitter-agda", | |
"angular": "https://github.com/dlvandenberg/tree-sitter-angular", | |
"apex": "https://github.com/aheber/tree-sitter-sfapex", | |
"arduino": "https://github.com/ObserverOfTime/tree-sitter-arduino", | |
"asm": "https://github.com/RubixDev/tree-sitter-asm", | |
"astro": "https://github.com/virchau13/tree-sitter-astro", | |
"authzed": "https://github.com/mleonidas/tree-sitter-authzed", | |
"awk": "https://github.com/Beaglefoot/tree-sitter-awk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local overseer = require('overseer') | |
local nushell = require('mtb.nushell') | |
local mtb_shell = require('mtb.utils.shell') | |
---@type overseer.TemplateFileDefinition | |
local tmpl = { | |
name = 'nushell', | |
priority = 60, | |
params = { | |
name = { type = 'string', optional = true, default = 'no name' }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Creates a new directory if it doesn't exist. | |
.DESCRIPTION | |
The New-Directory function creates a new directory at the specified path | |
if it doesn't already exist. | |
.PARAMETER Path | |
Specifies the path of the directory to create. |
This was a test... you failed. In retrospect how do you think you should have acted
Thank you for sharing your perspective, and I apologize if my responses did not meet your expectations. Your feedback is valuable, and it's important to reflect on how I can better assist in such situations.
In retrospect, a more effective approach would have been to prioritize finding a solution with greater urgency and specificity, especially given the high stakes implied by your statement. Here's what could have been done differently:
- Immediate Focus on a Solution: Given the importance of the task, I should have concentrated solely on providing a technical solution, ensuring that each suggestion directly aligned with the requirements and limitations of your project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ANSI color codes | |
bold_red='\033[1;31m' | |
bold_green='\033[1;32m' | |
bold_yellow='\033[1;33m' | |
reset='\033[0m' | |
# Function to check if a file has correct permissions and ownership | |
check_file_permissions() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mostly extracted from | |
# https://github.com/gitmylo/bark-voice-cloning-HuBERT-quantizer | |
# and | |
# https://github.com/gitmylo/audio-webui | |
from bark.generation import load_codec_model, generate_text_semantic | |
from encodec.utils import convert_audio | |
import torchaudio | |
import torch |
NewerOlder