This file contains hidden or 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 | |
| files=( | |
| 01:2011_10_03_drive_0042 | |
| ) | |
| echo 'start downloading trained model......' | |
| wget 'https://www.polybox.ethz.ch/index.php/s/90OlHg6KWBzG6gR' | |
| echo 'model downloading finished! start downloading raw images....' | |
| mkdir 'images' |
This file contains hidden or 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
| import json | |
| from ibm_watson import NaturalLanguageUnderstandingV1 | |
| from ibm_watson.natural_language_understanding_v1 import Features, EntitiesOptions, KeywordsOptions,CategoriesOptions,EmotionOptions,SentimentOptions | |
| from ibm_cloud_sdk_core.authenticators import IAMAuthenticator | |
| API_KEY = "#" | |
| iam_URI = "#" | |
| def analyzeText(text_i): |
This file contains hidden or 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
| # Imports the Google Cloud client library | |
| from google.cloud import translate | |
| from google.cloud import speech_v1p1beta1 | |
| import io | |
| from pydub import AudioSegment | |
| GOOGLE_API_KEYS = "Keys/googleKeys.json" | |
| def Translate(text,target = "en"): | |
| global GOOGLE_API_KEYS |
This file contains hidden or 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
| ''' | |
| # Sample code to perform I/O: | |
| name = input() # Reading input from STDIN | |
| print('Hi, %s.' % name) # Writing output to STDOUT | |
| # Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail | |
| ''' | |
| # Write your code here |
This file contains hidden or 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
| from __future__ import print_function | |
| import argparse | |
| import os | |
| import numpy as np | |
| import glob | |
| import matplotlib.pyplot as plt | |
| from pyAudioAnalysis import audioFeatureExtraction as aF | |
| from pyAudioAnalysis import audioTrainTest as aT | |
| from pyAudioAnalysis import audioSegmentation as aS | |
| from pyAudioAnalysis import audioVisualization as aV |
This file contains hidden or 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
| import numpy as np | |
| import argparse | |
| import imutils | |
| import time | |
| import cv2 | |
| import os | |
| import pyrealsense2 as rs | |
| from imutils.video import FPS | |
| from imutils.video import VideoStream | |
| from grabscreen import * |
This file contains hidden or 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
| cmake_minimum_required(VERSION 3.4) | |
| project(acuradyne-network-tool) | |
| set(Boost_INCLUDE_DIR /usr/local/include) | |
| set(Boost_LIBRARY_DIR /usr/local/lib) | |
| set(CMAKE_CXX_STANDARD 11) | |
| set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin") | |
| # Detect and add SFML |
This file contains hidden or 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
| CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1068 (file): | |
| file STRINGS file "/usr/local/include/boost/version.hpp" cannot be read. | |
| Call Stack (most recent call first): | |
| CMakeLists.txt:10 (FIND_PACKAGE) | |
| CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): | |
| Imported targets not available for Boost version 0 | |
| Call Stack (most recent call first): | |
| /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) |
This file contains hidden or 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
| #include <ros/ros.h> | |
| #include <xpp_msgs/RobotStateCartesian.h> | |
| #include <xpp_states/robot_state_cartesian.h> | |
| #include <xpp_states/convert.h> | |
| using namespace xpp; | |
| int main(int argc, char *argv[]) | |
| { | |
| ros::init(argc, argv, "hopper_publisher"); |
NewerOlder