Más información - Docs Oficiales
- Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
- Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
""" | |
In this script, we demonstrate how to use DINOBot to do one-shot imitation learning. | |
You first need to install the following repo and its requirements: https://github.com/ShirAmir/dino-vit-features. | |
You can then run this file inside that repo. | |
There are a few setup-dependent functions you need to implement, like getting an RGBD observation from the camera | |
or moving the robot, that you will find on top of this file. | |
""" | |
import torch | |
import numpy as np |
Más información - Docs Oficiales
npm i -D typescript @types/node
var socket; | |
var fcastUrl; | |
fetch('https://fastcast.semfs.engsvc.go.com/public/websockethost') | |
.then( | |
function(response) { | |
if (response.status !== 200) { | |
console.log('Looks like there was a problem. Status Code: ' + response.status); | |
return; | |
} |
[ | |
{ | |
"id": "1", | |
"title": "Big Buck Bunny", | |
"thumbnailUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Big_Buck_Bunny_thumbnail_vlc.png/1200px-Big_Buck_Bunny_thumbnail_vlc.png", | |
"duration": "8:18", | |
"uploadTime": "May 9, 2011", | |
"views": "24,969,123", | |
"author": "Vlc Media Player", | |
"videoUrl": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4", |
Open up browser console, for Chrome, hit F12 and copy-paste and enter this | |
$("a").filter(function(index){return $(this).text()==="unsave"}).click();setTimeout(function(){location.reload();},500); | |
Repeat until all items are unsaved. |
/*** MIT LICENSE | |
Copyright (c) 2022 torcado | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |