repo stringlengths 1 152 ⌀ | file stringlengths 15 205 | code stringlengths 0 41.6M | file_length int64 0 41.6M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 90
values |
|---|---|---|---|---|---|---|
la3dm | la3dm-master/include/bgklvoctomap/bgklvinference.h | #ifndef LA3DM_BGKLV_H
#define LA3DM_BGKLV_H
namespace la3dm {
/*
* @brief Bayesian Generalized Kernel Inference on Bernoulli distribution
* @param dim dimension of data (2, 3, etc.)
* @param T data type (float, double, etc.)
* @ref Nonparametric Bayesian inference on multivariate exponential fami... | 6,530 | 36.97093 | 180 | h |
la3dm | la3dm-master/include/bgklvoctomap/bgklvoctomap.h | #ifndef LA3DM_BGKLV_OCTOMAP_H
#define LA3DM_BGKLV_OCTOMAP_H
#include <unordered_map>
#include <vector>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include "rtree.h"
#include "bgklvblock.h"
#include "bgklvoctree_node.h"
#include "point6f.h"
namespace la3dm {
/// PCL PointCloud types as input
ty... | 16,075 | 40.43299 | 140 | h |
la3dm | la3dm-master/include/bgklvoctomap/bgklvoctree.h | #ifndef LA3DM_BGKLV_OCTREE_H
#define LA3DM_BGKLV_OCTREE_H
#include <stack>
#include <vector>
#include "point3f.h"
#include "bgklvoctree_node.h"
namespace la3dm {
/// Hash key to index OcTree nodes given depth and the index in that layer.
typedef int OcTreeHashKey;
/// Convert from node to hask key.
... | 5,281 | 31.604938 | 98 | h |
la3dm | la3dm-master/include/bgklvoctomap/bgklvoctree_node.h | #ifndef LA3DM_BGKLV_OCCUPANCY_H
#define LA3DM_BGKLV_OCCUPANCY_H
#include <iostream>
#include <fstream>
#include <cmath>
namespace la3dm {
/// Occupancy state: before pruning: FREE, OCCUPIED, UNKNOWN, UNCERTAIN; after pruning: PRUNED
enum class State : char {
FREE, OCCUPIED, UNKNOWN, UNCERTAIN, PRUNED... | 3,010 | 28.811881 | 117 | h |
la3dm | la3dm-master/include/bgkoctomap/bgkblock.h | #ifndef LA3DM_BGK_BLOCK_H
#define LA3DM_BGK_BLOCK_H
#include <unordered_map>
#include <array>
#include "point3f.h"
#include "bgkoctree_node.h"
#include "bgkoctree.h"
namespace la3dm {
/// Hask key to index Block given block's center.
typedef int64_t BlockHashKey;
/// Initialize Look-Up Table
std::un... | 3,709 | 32.727273 | 131 | h |
la3dm | la3dm-master/include/bgkoctomap/bgkinference.h | #ifndef LA3DM_BGK_H
#define LA3DM_BGK_H
namespace la3dm {
/*
* @brief Bayesian Generalized Kernel Inference on Bernoulli distribution
* @param dim dimension of data (2, 3, etc.)
* @param T data type (float, double, etc.)
* @ref Nonparametric Bayesian inference on multivariate exponential families... | 5,140 | 35.460993 | 101 | h |
la3dm | la3dm-master/include/bgkoctomap/bgkoctomap.h | #ifndef LA3DM_BGK_OCTOMAP_H
#define LA3DM_BGK_OCTOMAP_H
#include <unordered_map>
#include <vector>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include "rtree.h"
#include "bgkblock.h"
#include "bgkoctree_node.h"
namespace la3dm {
/// PCL PointCloud types as input
typedef pcl::PointXYZ PCLPointT... | 15,848 | 40.273438 | 125 | h |
la3dm | la3dm-master/include/bgkoctomap/bgkoctree.h | #ifndef LA3DM_BGK_OCTREE_H
#define LA3DM_BGK_OCTREE_H
#include <stack>
#include <vector>
#include "point3f.h"
#include "bgkoctree_node.h"
namespace la3dm {
/// Hash key to index OcTree nodes given depth and the index in that layer.
typedef int OcTreeHashKey;
/// Convert from node to hask key.
OcTree... | 5,276 | 31.574074 | 98 | h |
la3dm | la3dm-master/include/bgkoctomap/bgkoctree_node.h | #ifndef LA3DM_BGK_OCCUPANCY_H
#define LA3DM_BGK_OCCUPANCY_H
#include <iostream>
#include <fstream>
namespace la3dm {
/// Occupancy state: before pruning: FREE, OCCUPIED, UNKNOWN; after pruning: PRUNED
enum class State : char {
FREE, OCCUPIED, UNKNOWN, PRUNED
};
/*
* @brief Inference oup... | 2,946 | 29.071429 | 117 | h |
la3dm | la3dm-master/include/common/markerarray_pub.h | #include <pcl_ros/point_cloud.h>
#include <geometry_msgs/Point.h>
#include <visualization_msgs/MarkerArray.h>
#include <visualization_msgs/Marker.h>
#include <std_msgs/ColorRGBA.h>
#include <cmath>
#include <string>
namespace la3dm {
std_msgs::ColorRGBA heightMapColor(double h) {
std_msgs::ColorRGBA... | 5,869 | 29.572917 | 123 | h |
la3dm | la3dm-master/include/common/point3f.h | #ifndef LA3DM_VECTOR3_H
#define LA3DM_VECTOR3_H
#include <iostream>
#include <math.h>
namespace la3dm {
/*!
* \brief This class represents a three-dimensional vector
*
* The three-dimensional vector can be used to represent a
* translation in three-dimensional space or to represent the
*... | 7,471 | 25.974729 | 114 | h |
la3dm | la3dm-master/include/common/point6f.h | #ifndef LA3DM_VECTOR6_H
#define LA3DM_VECTOR6_H
#include <iostream>
#include <math.h>
#include "point3f.h"
namespace la3dm {
/*!
* \brief This class represents a six-dimensional vector
*
* We use the six-dimensional vector to represent the start
* and end points of a line segment
*/
... | 9,678 | 26.188202 | 137 | h |
la3dm | la3dm-master/include/common/rtree.h | #ifndef RTREE_H
#define RTREE_H
// NOTE This file compiles under MSVC 6 SP5 and MSVC .Net 2003 it may not work on other compilers without modification.
// NOTE These next few lines may be win32 specific, you may need to modify them to compile on other platform
#include <stdio.h>
#include <math.h>
#include <assert.h>
... | 44,357 | 26.671865 | 136 | h |
la3dm | la3dm-master/include/gpoctomap/gpblock.h | #ifndef LA3DM_GP_BLOCK_H
#define LA3DM_GP_BLOCK_H
#include <unordered_map>
#include <array>
#include "point3f.h"
#include "gpoctree_node.h"
#include "gpoctree.h"
namespace la3dm {
/// Hask key to index Block given block's center.
typedef int64_t BlockHashKey;
/// Initialize Look-Up Table
std::unorde... | 3,704 | 32.378378 | 131 | h |
la3dm | la3dm-master/include/gpoctomap/gpoctomap.h | #ifndef LA3DM_GP_OCTOMAP_H
#define LA3DM_GP_OCTOMAP_H
#include <unordered_map>
#include <vector>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include "rtree.h"
#include "gpblock.h"
#include "gpoctree_node.h"
namespace la3dm {
/// PCL PointCloud types as input
typedef pcl::PointXYZ PCLPointType;
... | 15,859 | 40.957672 | 125 | h |
la3dm | la3dm-master/include/gpoctomap/gpoctree.h | #ifndef LA3DM_GP_OCTREE_H
#define LA3DM_GP_OCTREE_H
#include <stack>
#include <vector>
#include "point3f.h"
#include "gpoctree_node.h"
namespace la3dm {
/// Hash key to index OcTree nodes given depth and the index in that layer.
typedef int OcTreeHashKey;
/// Convert from node to hask key.
OcTreeHas... | 5,274 | 31.561728 | 98 | h |
la3dm | la3dm-master/include/gpoctomap/gpoctree_node.h | #ifndef LA3DM_GP_OCCUPANCY_H
#define LA3DM_GP_OCCUPANCY_H
#include <iostream>
#include <fstream>
namespace la3dm {
/// Occupancy state: before pruning: FREE, OCCUPIED, UNKNOWN; after pruning: PRUNED
enum class State : char {
FREE, OCCUPIED, UNKNOWN, PRUNED
};
/*
* @brief GP regression o... | 3,150 | 30.51 | 107 | h |
la3dm | la3dm-master/include/gpoctomap/gpregressor.h | #ifndef LA3DM_GP_REGRESSOR_H
#define LA3DM_GP_REGRESSOR_H
#include <Eigen/Dense>
#include <vector>
namespace la3dm {
/*
* @brief A Simple Gaussian Process Regressor
* @param dim dimension of data (2, 3, etc.)
* @param T data type (float, double, etc.)
*/
template<int dim, typename T>
... | 5,931 | 33.894118 | 100 | h |
la3dm | la3dm-master/src/bgkloctomap/bgklblock.cpp | #include "bgklblock.h"
#include <queue>
#include <algorithm>
namespace la3dm {
std::unordered_map<OcTreeHashKey, point3f> init_key_loc_map(float resolution, unsigned short max_depth) {
std::unordered_map<OcTreeHashKey, point3f> key_loc_map;
std::queue<point3f> center_q;
center_q.push(poin... | 6,731 | 41.075 | 109 | cpp |
la3dm | la3dm-master/src/bgkloctomap/bgkloctomap.cpp | #include <algorithm>
#include <ros/ros.h>
#include <pcl/filters/voxel_grid.h>
#include "bgkloctomap.h"
#include "bgklinference.h"
using std::vector;
// #define DEBUG true;
#ifdef DEBUG
#include <iostream>
#define Debug_Msg(msg) {\
std::cout << "Debug: " << msg << std::endl; }
#endif
namespace la3dm {
BGKLOct... | 18,619 | 36.24 | 172 | cpp |
la3dm | la3dm-master/src/bgkloctomap/bgkloctomap_server.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include <pcl_ros/transforms.h>
#include <pcl/filters/voxel_grid.h>
#include "markerarray_pub.h"
#include "bgkloctomap.h"
tf::TransformListener *listener;
std::string frame_id("/map");
la3dm::BGKLOctoMap *map;
la3dm::MarkerArrayPub *m_pub_occ, *m_pub_free;
/... | 7,550 | 35.302885 | 177 | cpp |
la3dm | la3dm-master/src/bgkloctomap/bgkloctomap_static_node.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include "bgkloctomap.h"
#include "markerarray_pub.h"
void load_pcd(std::string filename, la3dm::point3f &origin, la3dm::PCLPointCloud &cloud) {
pcl::PCLPointCloud2 cloud2;
Eigen::Vector4f _origin;
Eigen::Quaternionf orientaion;
pcl::io::loadPC... | 6,720 | 38.304094 | 128 | cpp |
la3dm | la3dm-master/src/bgkloctomap/bgkloctree.cpp | #include "bgkloctree.h"
#include <cmath>
namespace la3dm {
unsigned short OcTree::max_depth = 0;
OcTreeHashKey node_to_hash_key(unsigned short depth, unsigned short index) {
return (depth << 16) + index;
}
void hash_key_to_node(OcTreeHashKey key, unsigned short &depth, unsigned short &index... | 4,955 | 30.769231 | 119 | cpp |
la3dm | la3dm-master/src/bgkloctomap/bgkloctree_node.cpp | #include "bgkloctree_node.h"
#include <cmath>
namespace la3dm {
/// Default static values
float Occupancy::sf2 = 1.0f;
float Occupancy::ell = 1.0f;
float Occupancy::free_thresh = 0.3f;
float Occupancy::occupied_thresh = 0.7f;
float Occupancy::var_thresh = 1000.0f;
float Occupancy::prior_A ... | 2,123 | 32.714286 | 117 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvblock.cpp | #include "bgklvblock.h"
#include <queue>
#include <algorithm>
namespace la3dm {
std::unordered_map<OcTreeHashKey, point3f> init_key_loc_map(float resolution, unsigned short max_depth) {
std::unordered_map<OcTreeHashKey, point3f> key_loc_map;
std::queue<point3f> center_q;
center_q.push(poi... | 6,757 | 40.975155 | 109 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvoctomap.cpp | #include <algorithm>
#include <pcl/filters/voxel_grid.h>
#include "bgklvoctomap.h"
#include "bgklvinference.h"
#include <iostream>
using std::vector;
//#define DEBUG true;
#ifdef DEBUG
#include <iostream>
#define Debug_Msg(msg) {\
std::cout << "Debug: " << msg << std::endl; }
#endif
namespace la3dm {
BGKLVOc... | 21,314 | 35.877163 | 174 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvoctomap_server.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include <pcl_ros/transforms.h>
#include <pcl/filters/voxel_grid.h>
#include "markerarray_pub.h"
#include "bgklvoctomap.h"
tf::TransformListener *listener;
std::string frame_id("/map");
la3dm::BGKLVOctoMap *map;
la3dm::MarkerArrayPub *m_pub_occ, *m_pub_free;
... | 7,312 | 35.383085 | 177 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvoctomap_static_node.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include "bgklvoctomap.h"
#include "markerarray_pub.h"
void load_pcd(std::string filename, la3dm::point3f &origin, la3dm::PCLPointCloud &cloud) {
pcl::PCLPointCloud2 cloud2;
Eigen::Vector4f _origin;
Eigen::Quaternionf orientaion;
pcl::io::loadP... | 5,932 | 38.291391 | 145 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvoctree.cpp | #include "bgklvoctree.h"
#include <cmath>
namespace la3dm {
unsigned short OcTree::max_depth = 0;
OcTreeHashKey node_to_hash_key(unsigned short depth, unsigned long index) {
return (depth << 28) + index;
}
void hash_key_to_node(OcTreeHashKey key, unsigned short &depth, unsigned long &index)... | 4,951 | 30.74359 | 119 | cpp |
la3dm | la3dm-master/src/bgklvoctomap/bgklvoctree_node.cpp | #include "bgklvoctree_node.h"
#include <cmath>
namespace la3dm {
/// Default static values
float Occupancy::sf2 = 1.0f;
float Occupancy::ell = 1.0f;
float Occupancy::free_thresh = 0.3f;
float Occupancy::occupied_thresh = 0.7f;
float Occupancy::var_thresh = 1000.0f;
float Occupancy::prior_A... | 2,939 | 29.625 | 117 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkblock.cpp | #include "bgkblock.h"
#include <queue>
#include <algorithm>
namespace la3dm {
std::unordered_map<OcTreeHashKey, point3f> init_key_loc_map(float resolution, unsigned short max_depth) {
std::unordered_map<OcTreeHashKey, point3f> key_loc_map;
std::queue<point3f> center_q;
center_q.push(point... | 6,730 | 41.06875 | 109 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkoctomap.cpp | #include <algorithm>
#include <pcl/filters/voxel_grid.h>
#include "bgkoctomap.h"
#include "bgkinference.h"
using std::vector;
// #define DEBUG true;
#ifdef DEBUG
#include <iostream>
#define Debug_Msg(msg) {\
std::cout << "Debug: " << msg << std::endl; }
#endif
namespace la3dm {
BGKOctoMap::BGKOctoMap() : BGK... | 20,391 | 34.464348 | 130 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkoctomap_server.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include <pcl_ros/transforms.h>
#include <pcl/filters/voxel_grid.h>
#include "markerarray_pub.h"
#include "bgkoctomap.h"
tf::TransformListener *listener;
std::string frame_id("/map");
la3dm::BGKOctoMap *map;
la3dm::MarkerArrayPub *m_pub_occ, *m_pub_free;
//s... | 7,546 | 35.283654 | 177 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkoctomap_static_node.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include "bgkoctomap.h"
#include "markerarray_pub.h"
void load_pcd(std::string filename, la3dm::point3f &origin, la3dm::PCLPointCloud &cloud) {
pcl::PCLPointCloud2 cloud2;
Eigen::Vector4f _origin;
Eigen::Quaternionf orientaion;
pcl::io::loadPCD... | 5,703 | 38.611111 | 128 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkoctree.cpp | #include "bgkoctree.h"
#include <cmath>
namespace la3dm {
unsigned short OcTree::max_depth = 0;
OcTreeHashKey node_to_hash_key(unsigned short depth, unsigned short index) {
return (depth << 16) + index;
}
void hash_key_to_node(OcTreeHashKey key, unsigned short &depth, unsigned short &index)... | 4,954 | 30.762821 | 119 | cpp |
la3dm | la3dm-master/src/bgkoctomap/bgkoctree_node.cpp | #include "bgkoctree_node.h"
#include <cmath>
namespace la3dm {
/// Default static values
float Occupancy::sf2 = 1.0f;
float Occupancy::ell = 1.0f;
float Occupancy::free_thresh = 0.3f;
float Occupancy::occupied_thresh = 0.7f;
float Occupancy::var_thresh = 1000.0f;
float Occupancy::prior_A =... | 2,122 | 32.698413 | 117 | cpp |
la3dm | la3dm-master/src/common/point3f.cpp | #include "point3f.h"
#include <cassert>
#include <math.h>
#include <string.h>
namespace la3dm {
Vector3 &Vector3::rotate_IP(double roll, double pitch, double yaw) {
double x, y, z;
// pitch (around y)
x = (*this)(0);
z = (*this)(2);
(*this)(0) = (float) (z * sin(pitch) + x ... | 2,011 | 25.473684 | 74 | cpp |
la3dm | la3dm-master/src/common/point6f.cpp | #include "point6f.h"
#include <cassert>
#include <math.h>
#include <string.h>
namespace la3dm {
// Vector3 &Vector3::rotate_IP(double roll, double pitch, double yaw) {
// double x, y, z;
// // pitch (around y)
// x = (*this)(0);
// z = (*this)(2);
// (*this)(0) = (float) (z... | 2,122 | 26.934211 | 128 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpblock.cpp | #include "gpblock.h"
#include <queue>
#include <algorithm>
namespace la3dm {
std::unordered_map<OcTreeHashKey, point3f> init_key_loc_map(float resolution, unsigned short max_depth) {
std::unordered_map<OcTreeHashKey, point3f> key_loc_map;
std::queue<point3f> center_q;
center_q.push(point3f... | 6,729 | 41.0625 | 109 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpoctomap.cpp | #include <algorithm>
#include <pcl/filters/voxel_grid.h>
#include "gpoctomap.h"
#include "gpregressor.h"
#include <iostream>
using std::vector;
//#define DEBUG true;
#ifdef DEBUG
#include <iostream>
#define Debug_Msg(msg) {\
std::cout << "Debug: " << msg << std::endl; }
#endif
namespace la3dm {
GPOctoMap::GP... | 19,736 | 33.994681 | 130 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpoctomap_server.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include <pcl_ros/transforms.h>
#include <pcl/filters/voxel_grid.h>
#include "markerarray_pub.h"
#include "gpoctomap.h"
tf::TransformListener *listener;
std::string frame_id("/map");
la3dm::GPOctoMap *map;
la3dm::MarkerArrayPub *m_pub_occ, *m_pub_free;
tf::V... | 7,686 | 35.43128 | 177 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpoctomap_static_node.cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include "gpoctomap.h"
#include "markerarray_pub.h"
void load_pcd(std::string filename, la3dm::point3f &origin, la3dm::PCLPointCloud &cloud) {
pcl::PCLPointCloud2 cloud2;
Eigen::Vector4f _origin;
Eigen::Quaternionf orientaion;
pcl::io::loadPCDF... | 5,814 | 38.828767 | 133 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpoctree.cpp | #include "gpoctree.h"
#include <cmath>
namespace la3dm {
unsigned short OcTree::max_depth = 0;
OcTreeHashKey node_to_hash_key(unsigned short depth, unsigned short index) {
return (depth << 16) + index;
}
void hash_key_to_node(OcTreeHashKey key, unsigned short &depth, unsigned short &index) {... | 4,952 | 30.954839 | 119 | cpp |
la3dm | la3dm-master/src/gpoctomap/gpoctree_node.cpp | #include "gpoctree_node.h"
#include "gpregressor.h"
#include <cmath>
namespace la3dm {
/// Default static values
float Occupancy::sf2 = 1.0f;
float Occupancy::ell = 1.0f;
float Occupancy::noise = 0.01f;
float Occupancy::l = 100.f;
float Occupancy::max_ivar = 1000.0f;
float Occupancy::min_i... | 2,517 | 35.492754 | 117 | cpp |
null | CARL-main/carl/envs/rna/data/download_and_build_rfam_learn.sh | #!/usr/bin/env bash
# So far RNA has been tested only on linux systems
mkdir -p data/rfam_learn/{raw,test,train,validation}
cd data/
wget https://www.dropbox.com/s/cfhnkzdx4ciy7zf/rfam_learn.tar.gz?dl=1 -O rfam_learn.tar.gz
tar xf rfam_learn.tar.gz
rm -f rfam_learn.tar.gz | 274 | 29.555556 | 90 | sh |
null | CARL-main/carl/envs/rna/data/download_and_build_rfam_taneda.sh | # So far RNA has been tested only on linux systems
cd data/
mkdir rfam_taneda
cd rfam_taneda
wget rna.eit.hirosaki-u.ac.jp/modena/v0028/linux/modena.dataset.tar.gz
tar -xf modena.dataset.tar.gz
rm -f modena.dataset.tar.gz
rm -rf ct_version
i=1
while [[ i -le 30 ]]; do
if [ $i == 23 ]; then
:
elif [[ $i ... | 510 | 16.62069 | 70 | sh |
null | CARL-main/carl/envs/rna/data/secondaries_to_single_files.sh | # So far RNA has been tested only on linux systems
DATAPATH=$1
SECONDARY_FILE=$2
NUM_SECONDARIES=$(cat $SECONDARY_FILE | wc -l )
i=1;
while [[ i -le $NUM_SECONDARIES ]];
do awk "NR==$i{print;exit}" $SECONDARY_FILE > $DATAPATH/$i.rna;
let i=$i+1;
done
Footer
| 262 | 19.230769 | 64 | sh |
null | CARL-main/docs/themes/smac/docs-navbar.html | <div class="container-xl">
<div id="navbar-start">
{% for navbar_item in theme_navbar_start %}
{% include navbar_item %}
{% endfor %}
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" ... | 995 | 30.125 | 203 | html |
null | CARL-main/docs/themes/smac/docs-sidebar.html | 0 | 0 | 0 | html | |
null | CARL-main/docs/themes/smac/footer.html | <footer class="footer mt-5 mt-md-0">
<div class="container">
{% for footer_item in theme_footer_items %}
<div class="footer-item">
{% include footer_item %}
</div>
{% endfor %}
</div>
</footer> | 219 | 23.444444 | 47 | html |
null | CARL-main/docs/themes/smac/gc.html | <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ _('Site') }} <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc">{{ toctree(maxdepth=10) }}</ul>
</li> | 200 | 49.25 | 102 | html |
null | CARL-main/docs/themes/smac/icon-links.html | {%- macro icon_link_nav_item(url, icon, name) -%}
{%- if url | length > 2 %}
<li class="nav-item">
<a class="nav-link" href="{{ url }}" rel="noopener" target="_blank" title="{{ _(name) }}">
<span><i class="{{ icon }}"></i></span>
<label class="sr-only">{{ _(name) }}</label>
... | 1,062 | 45.217391 | 100 | html |
null | CARL-main/docs/themes/smac/layout.html | {%- extends "basic/layout.html" %}
{%- import "static/webpack-macros.html" as _webpack with context %}
{%- block css %}
{{ _webpack.head_pre_bootstrap() }}
{{ _webpack.head_pre_icons() }}
{% block fonts %}
{{ _webpack.head_pre_fonts() }}
{% endblock %}
{{- css() }}
{{ _webpack.head_js_pre... | 3,409 | 31.169811 | 114 | html |
null | CARL-main/docs/themes/smac/search-field.html | <form class="bd-search align-items-center" action="{{ pathto('search') }}" method="get"
style="width: 100%;">
<i class="icon fas fa-search"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="{{ _(theme_search_bar_text) }}" aria-label="{{ theme_search_bar_text }}" autocomplete="of... | 334 | 46.857143 | 177 | html |
null | CARL-main/docs/themes/smac/title.html | <h4 class="mt-0 mb-0">{{ project }}</h4>
<div class="mb-3">v{{ version }}</div> | 79 | 39 | 40 | html |
null | CARL-main/docs/themes/smac/static/webpack-macros.html | <!-- these macros are generated by "yarn build:production". do not edit by hand. -->
{% macro head_pre_icons() %}
<link rel="stylesheet"
href="{{ pathto('_static/vendor/fontawesome/5.13.0/css/all.min.css', 1) }}">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="{{ pathto('_static/vendor/fo... | 1,094 | 42.8 | 106 | html |
null | CARL-main/docs/themes/smac/templates/copyright.html | <p class="copyright">
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br>
{%- else %}
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}<br>
{%- endif %}
</p> | 310 | 43.428571 | 139 | html |
null | CARL-main/docs/themes/smac/templates/edit-this-page.html | {% if sourcename is defined and theme_use_edit_page_button==true and page_source_suffix %}
{% set src = sourcename.split('.') %}
<div class="tocsection editthispage">
<a href="{{ get_edit_url() }}">
<i class="fas fa-pencil-alt"></i> {{ _("Edit this page") }}
</a>
</div>
{% endif %}
| 299 | 32.333333 | 90 | html |
null | CARL-main/docs/themes/smac/templates/last-updated.html | <p class="last-updated">
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br>
</p> | 122 | 40 | 92 | html |
null | CARL-main/docs/themes/smac/templates/navbar-icon-links.html | {%- block icon_links -%}
{%- include "icon-links.html" with context -%}
{%- endblock %} | 87 | 28.333333 | 46 | html |
null | CARL-main/docs/themes/smac/templates/navbar-logo.html | {% if logo %}
{% if not theme_logo_link %}
<a class="navbar-brand" href="{{ pathto(master_doc) }}">
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="logo">
</a>
{% elif theme_logo_link[:4] == 'http' %}
<a class="navbar-brand" href="{{ theme_logo_link }}">
<img src="{{ pathto('_static/' + logo, 1) }}"... | 639 | 32.684211 | 72 | html |
null | CARL-main/docs/themes/smac/templates/navbar-nav.html | <ul id="navbar-main-elements" class="navbar-nav">
{{ generate_nav_html("navbar", maxdepth=1, collapse=True, includehidden=True, titles_only=True) }}
{% for external_link in theme_external_links %}
<li class="nav-item">
<a class="nav-link nav-external" href="{{ external_link.url }}">{{ _(external_lin... | 407 | 50 | 143 | html |
null | CARL-main/docs/themes/smac/templates/page-toc.html | {% set page_toc = generate_toc_html() %}
{%- if page_toc | length >= 1 %}
<div class="tocsection onthispage pt-5 pb-3">
<i class="fas fa-list"></i> {{ _("On this page") }}
</div>
{%- endif %}
<nav id="bd-toc-nav">
{{ page_toc }}
</nav> | 245 | 21.363636 | 55 | html |
null | CARL-main/docs/themes/smac/templates/prev-next.html | <!-- Previous / next buttons -->
<div class='prev-next-area'>
{%- if prev %}
<a class='left-prev' id="prev-link" href="{{ prev.link|e }}" title="{{ _('previous') }} {{ _('page') }}">
<i class="fas fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">{{ _("p... | 821 | 38.142857 | 109 | html |
null | CARL-main/docs/themes/smac/templates/sidebar-ethical-ads.html | {% if READTHEDOCS %}
<div
id="ethical-ad-placement"
class="flat"
data-ea-publisher="readthedocs"
data-ea-type="readthedocs-sidebar"
data-ea-manual="true"
></div>
{% endif %}
| 184 | 17.5 | 36 | html |
null | CARL-main/docs/themes/smac/templates/sidebar-nav-bs.html | <nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}">
<div class="bd-toc-item active">
{{ generate_nav_html("sidebar",
maxdepth=theme_navigation_depth|int,
collapse=theme_collapse_navigation|tobool,
includehidden=... | 388 | 37.9 | 79 | html |
null | CARL-main/docs/themes/smac/templates/sphinx-version.html | <p class="sphinx-version">
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a>
{{ sphinx_version }}. Template is modified version of <a
href="https://pydata-sphinx-theme.readthedocs.io">PyData Sphinx Theme</a>. {% endtrans %}<br>
</p> | 283 | 55.8 | 100 | html |
GNOT | GNOT-master/gnot_exp.sh | ### an example for training Naiver-Stokes equation on irregular domains
python train.py --gpu 0 --dataset ns2d --use-normalizer unit --normalize_x unit --component all --comment rel2 --loss-name rel2 --epochs 500 --batch-size 4 --model-name CGPT --optimizer AdamW --weight-decay 0.00005 --lr 0.001 --lr-method cycle ... | 402 | 133.333333 | 329 | sh |
null | coax-main/doc/versions.html | <style>
.version.matrix {
width: 100%;
}
.version.options {
column-fill: balance;
column-gap: 0;
text-align: center;
}
.version.title {
width: 25%;
padding: 10px 10px 10px 0px;
}
.version.option {
background: #E3E3E3;
padding: 10px 5px 10px 5px;
margin: 0px 1px;
}
.version.option:hover {
color: #FFF... | 4,720 | 29.458065 | 170 | html |
null | coax-main/doc/examples/atari/run_all.sh | #!/bin/bash
trap "kill 0" EXIT
gio trash -f ./data
for f in $(ls ./*.py); do
python3 $f &
done
wait
| 107 | 8.818182 | 25 | sh |
null | coax-main/doc/examples/cartpole/run_all.sh | #!/bin/bash
trap "kill 0" EXIT
gio trash -f ./data
for f in $(ls ./*.py); do
JAX_PLATFORM_NAME=cpu python3 $f &
done
wait
| 129 | 10.818182 | 38 | sh |
null | coax-main/doc/examples/dmc/run_all.sh | #!/bin/bash
trap "kill 0" EXIT
gio trash -f ./data
for f in $(ls ./*.py); do
JAX_PLATFORM_NAME=cpu python3 $f &
done
wait
| 129 | 10.818182 | 38 | sh |
null | coax-main/doc/examples/frozen_lake/run_all.sh | #!/bin/bash
trap "kill 0" EXIT
gio trash -f ./data
for f in $(ls ./*.py); do
JAX_PLATFORM_NAME=cpu python3 $f &
done
wait
| 129 | 10.818182 | 38 | sh |
null | coax-main/doc/examples/pendulum/run_all.sh | #!/bin/bash
trap "kill 0" EXIT
gio trash -f ./data
for f in $(ls ./*.py); do
JAX_PLATFORM_NAME=cpu python3 $f &
done
wait
| 129 | 10.818182 | 38 | sh |
null | hspo-ontology-main/docs/ontology-specification/406.html | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head>
<body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource could not be found on this server.</p>
Available variants:<ul><li><a href="index-en.html">html</a></li><li><a href="ontolog... | 493 | 48.4 | 242 | html |
null | hspo-ontology-main/docs/ontology-specification/index.html | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="resources/primer.css" media="screen" /> <link rel="stylesheet" href="resources/rec.css" media="screen" /> <link rel="stylesheet" href="resources/extra.css" media="screen" /> <link r... | 397,618 | 43.701405 | 694 | html |
null | hspo-ontology-main/docs/ontology-specification/webvowl/index.html | <!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="author" content="Vincent Link, Steffen Lohmann, Eduard Marbach, Stefan Negru, Vitalis Wiens" />
<meta name="keywords" content="webvowl, vowl, visual notation, web ontology language, owl, rdf, ontology visualization, ontologies,... | 35,533 | 67.998058 | 1,383 | html |
null | hspo-ontology-main/kg-embedding/gnn-models/mimic/run_experiments.sh | #!/bin/bash
############################################################
# Help #
############################################################
Help()
{
# Display Help
echo "Description of parameters."
echo
echo "Example: run_experiments.sh -d 0 -s 'lm' -a... | 3,271 | 36.181818 | 393 | sh |
null | hspo-ontology-main/kg-embedding/transformation/mimic/run_graph_processing.sh | #!/bin/bash
############################################################
# Help #
############################################################
Help()
{
# Display Help
echo "Description of parameters."
echo
echo "Example: run_graph_processing.sh -g 1 -f 1 ... | 5,503 | 38.314286 | 328 | sh |
IID_representation_learning | IID_representation_learning-master/restyle/models/stylegan2/op/fused_bias_act.cpp | #include <torch/extension.h>
torch::Tensor fused_bias_act_op(const torch::Tensor& input, const torch::Tensor& bias, const torch::Tensor& refer,
int act, int grad, float alpha, float scale);
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) TORCH_CHECK(... | 826 | 38.380952 | 114 | cpp |
IID_representation_learning | IID_representation_learning-master/restyle/models/stylegan2/op/upfirdn2d.cpp | #include <torch/extension.h>
torch::Tensor upfirdn2d_op(const torch::Tensor& input, const torch::Tensor& kernel,
int up_x, int up_y, int down_x, int down_y,
int pad_x0, int pad_x1, int pad_y0, int pad_y1);
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #... | 966 | 41.043478 | 99 | cpp |
mmdetection | mmdetection-master/.circleci/scripts/get_mmcv_var.sh | #!/bin/bash
TORCH=$1
CUDA=$2
# 10.2 -> cu102
MMCV_CUDA="cu`echo ${CUDA} | tr -d '.'`"
# MMCV only provides pre-compiled packages for torch 1.x.0
# which works for any subversions of torch 1.x.
# We force the torch version to be 1.x.0 to ease package searching
# and avoid unnecessary rebuild during MMCV's installatio... | 574 | 27.75 | 66 | sh |
mmdetection | mmdetection-master/.dev_scripts/linter.sh | yapf -r -i mmdet/ configs/ tests/ tools/
isort -rc mmdet/ configs/ tests/ tools/
flake8 .
| 90 | 21.75 | 40 | sh |
mmdetection | mmdetection-master/.dev_scripts/test_benchmark.sh | PARTITION=$1
CHECKPOINT_DIR=$2
echo 'configs/atss/atss_r50_fpn_1x_coco.py' &
GPUS=8 GPUS_PER_NODE=8 CPUS_PER_TASK=2 tools/slurm_test.sh $PARTITION atss_r50_fpn_1x_coco configs/atss/atss_r50_fpn_1x_coco.py $CHECKPOINT_DIR/atss_r50_fpn_1x_coco_20200209-985f7bd0.pth --work-dir tools/batch_test/atss_r50_fpn_1x_coco --ev... | 23,366 | 193.725 | 467 | sh |
mmdetection | mmdetection-master/.dev_scripts/train_benchmark.sh | echo 'configs/atss/atss_r50_fpn_1x_coco.py' &
GPUS=8 GPUS_PER_NODE=8 CPUS_PER_TASK=2 ./tools/slurm_train.sh openmmlab atss_r50_fpn_1x_coco configs/atss/atss_r50_fpn_1x_coco.py ./tools/work_dir/atss_r50_fpn_1x_coco --cfg-options checkpoint_config.max_keep_ckpts=1 >/dev/null &
echo 'configs/autoassign/autoassign_r50_fp... | 22,182 | 163.318519 | 336 | sh |
mmdetection | mmdetection-master/docker/serve/entrypoint.sh | #!/bin/bash
set -e
if [[ "$1" = "serve" ]]; then
shift 1
torchserve --start --ts-config /home/model-server/config.properties
else
eval "$@"
fi
# prevent docker exit
tail -f /dev/null
| 197 | 14.230769 | 71 | sh |
mmdetection | mmdetection-master/tools/dist_test.sh | #!/usr/bin/env bash
CONFIG=$1
CHECKPOINT=$2
GPUS=$3
NNODES=${NNODES:-1}
NODE_RANK=${NODE_RANK:-0}
PORT=${PORT:-29500}
MASTER_ADDR=${MASTER_ADDR:-"127.0.0.1"}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch \
--nnodes=$NNODES \
--node_rank=$NODE_RANK \
--master_addr=$MASTER_A... | 479 | 19.869565 | 43 | sh |
mmdetection | mmdetection-master/tools/dist_train.sh | #!/usr/bin/env bash
CONFIG=$1
GPUS=$2
NNODES=${NNODES:-1}
NODE_RANK=${NODE_RANK:-0}
PORT=${PORT:-29500}
MASTER_ADDR=${MASTER_ADDR:-"127.0.0.1"}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python -m torch.distributed.launch \
--nnodes=$NNODES \
--node_rank=$NODE_RANK \
--master_addr=$MASTER_ADDR \
--np... | 457 | 20.809524 | 43 | sh |
mmdetection | mmdetection-master/tools/slurm_test.sh | #!/usr/bin/env bash
set -x
PARTITION=$1
JOB_NAME=$2
CONFIG=$3
CHECKPOINT=$4
GPUS=${GPUS:-8}
GPUS_PER_NODE=${GPUS_PER_NODE:-8}
CPUS_PER_TASK=${CPUS_PER_TASK:-5}
PY_ARGS=${@:5}
SRUN_ARGS=${SRUN_ARGS:-""}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
srun -p ${PARTITION} \
--job-name=${JOB_NAME} \
--gres=gpu:${GP... | 566 | 21.68 | 81 | sh |
mmdetection | mmdetection-master/tools/slurm_train.sh | #!/usr/bin/env bash
set -x
PARTITION=$1
JOB_NAME=$2
CONFIG=$3
WORK_DIR=$4
GPUS=${GPUS:-8}
GPUS_PER_NODE=${GPUS_PER_NODE:-8}
CPUS_PER_TASK=${CPUS_PER_TASK:-5}
SRUN_ARGS=${SRUN_ARGS:-""}
PY_ARGS=${@:5}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
srun -p ${PARTITION} \
--job-name=${JOB_NAME} \
--gres=gpu:${GPUS... | 574 | 22 | 91 | sh |
null | AICP-main/veins/src/veins/modules/analogueModel/BreakpointPathlossModel.cc | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 2,571 | 36.823529 | 118 | cc |
null | AICP-main/veins/src/veins/modules/analogueModel/BreakpointPathlossModel.h | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 3,259 | 29.185185 | 171 | h |
null | AICP-main/veins/src/veins/modules/analogueModel/NakagamiFading.cc | //
// Copyright (C) 2015 David Eckhoff <david.eckhoff@fau.de>
// Christoph Sommer <sommer@ccs-labs.org>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// This program is free software; you can redistribute it and/or modify
// it ... | 2,554 | 34.486111 | 97 | cc |
null | AICP-main/veins/src/veins/modules/analogueModel/NakagamiFading.h | //
// Copyright (C) 2015 David Eckhoff <david.eckhoff@fau.de>
// Christoph Sommer <sommer@ccs-labs.org>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// This program is free software; you can redistribute it and/or modify
// it ... | 1,992 | 27.471429 | 113 | h |
null | AICP-main/veins/src/veins/modules/analogueModel/PERModel.cc | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 1,665 | 36.863636 | 101 | cc |
null | AICP-main/veins/src/veins/modules/analogueModel/PERModel.h | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 1,911 | 30.344262 | 118 | h |
null | AICP-main/veins/src/veins/modules/analogueModel/SimpleObstacleShadowing.cc | //
// Copyright (C) 2006-2018 Christoph Sommer <sommer@ccs-labs.org>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as p... | 1,759 | 34.918367 | 145 | cc |
null | AICP-main/veins/src/veins/modules/analogueModel/SimpleObstacleShadowing.h | //
// Copyright (C) 2006-2018 Christoph Sommer <sommer@ccs-labs.org>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as p... | 2,635 | 30.380952 | 125 | h |
null | AICP-main/veins/src/veins/modules/analogueModel/SimplePathlossModel.cc | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 2,254 | 37.220339 | 121 | cc |
null | AICP-main/veins/src/veins/modules/analogueModel/SimplePathlossModel.h | //
// Copyright (C) 2007 Technische Universitaet Berlin (TUB), Germany, Telecommunication Networks Group
// Copyright (C) 2007 Technische Universiteit Delft (TUD), Netherlands
// Copyright (C) 2007 Universitaet Paderborn (UPB), Germany
//
// Documentation for these modules is at http://veins.car2x.org/
//
// SPDX-Licen... | 3,213 | 30.821782 | 101 | h |