blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
8c493b3b902d8c5c8649aa834b9f7377e1634f04
6f0c909c03acf36d95de464e7a4c641c0a72cc02
/posts/admin.py
067dcfcf9a5cd068952998b11352b1a184b4e584
[]
no_license
megmotion/blogAPI
1ce6d2c601bdcd46a83f451abdabaa3f04c68b76
8c03456bf97faa3d2e203c09ce792d224b218a75
refs/heads/master
2020-06-07T01:15:11.183579
2019-06-20T09:32:50
2019-06-20T09:32:50
192,890,271
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
from django.contrib import admin # Register your models here. from .models import Post class PostModelAdmin(admin.ModelAdmin): list_display = ["title", "updated", "timestamp"] list_display_links = ["updated"] list_filter = ["updated", "timestamp"] search_fields = ["title", "content"] class Meta: model = Post ...
[ "33497517+megmotion@users.noreply.github.com" ]
33497517+megmotion@users.noreply.github.com
f578f54eb57daea2afc209b5784d155d2a3c8c9d
72d84fb9ec820366f4288dc5b73356e2a4ffc6b1
/blog/migrations/0002_auto_20190513_1958.py
d8a2abcff84a17ab034c50de2d73d715e8785af5
[]
no_license
dhdlrlgns2/for_likelion_homework
7feb90d7a0948909685ff5883da00f44c499613e
e20eebdab16641427e71a12736f40af4c42de1ad
refs/heads/master
2020-05-29T20:17:55.496038
2019-06-23T15:48:44
2019-06-23T15:48:44
189,348,868
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 2.2.1 on 2019-05-13 10:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AlterField( model_name='blog', name='pub_date', ...
[ "noreply@github.com" ]
dhdlrlgns2.noreply@github.com
91789c9a50d2e6f08e98847c3d29a52ccbe8eceb
7e14687d6b6dede3f2b7522f8ab76b6b1421ad8f
/languages/python/oso/oso/oso.py
340d6113aaa0f3ad3762a1055ae5b97150ef5bf0
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Guara92/oso
dc7a32088b7913c8532f6912e148944ac55f449a
6144d7b6576c43e5e67ba395bf6d5c9011169c81
refs/heads/main
2023-09-05T06:35:47.789806
2021-11-10T22:32:19
2021-11-10T22:32:19
323,928,450
0
0
Apache-2.0
2020-12-23T14:50:01
2020-12-23T14:50:00
null
UTF-8
Python
false
false
11,919
py
"""Core oso functionality""" __version__ = "0.23.0" import os from typing import List, Any, Set from polar import Polar, Variable, exceptions, Expression, Pattern from polar.data_filtering import serialize_types, filter_data from .exceptions import NotFoundError, ForbiddenError class Oso(Polar): """The central...
[ "noreply@github.com" ]
Guara92.noreply@github.com
6837a110186f4fb2664c43c120f74e30cf077c61
11805f3f0ca426ae21b754526578fe6b69c9fd52
/emotion-analysis-3-master/lstm/lstm_train.py
ac0c671efb7673e61672f71b54b72bec25da9bdf
[]
no_license
chensheng1/NLP_emotion
106838156224cfc1ab9491df908d92bfdfac2915
f43760e7493aa4d360dd0c4d0bca8ba100614612
refs/heads/master
2023-03-22T15:54:16.107975
2021-03-08T15:00:46
2021-03-08T15:00:46
345,604,118
1
0
null
null
null
null
UTF-8
Python
false
false
14,147
py
#! /bin/env python # -*- coding: utf-8 -*- """ 训练网络,并保存模型,其中LSTM的实现采用Python中的keras库 """ import pandas as pd import numpy as np import jieba import multiprocessing import keras from gensim.models.word2vec import Word2Vec from gensim.corpora.dictionary import Dictionary from keras.preprocessing import sequence from s...
[ "544740618@qq.com" ]
544740618@qq.com
a4ebd9e3c1f068eac50049151d4e7cc6d8927ee0
23c6c6e2a12f70dd8d691a8e368573b05e01f8f2
/assignment16.py
8cd31c41b177cbab6d058a43a98d48a27e4d2681
[]
no_license
dhimanviney/document
de492e56d86d5a16c23e3ea0abe1a17497538d23
09fdc5dc057287af674754f5ef16c8bef7ead536
refs/heads/master
2020-03-26T08:40:56.846381
2018-09-08T15:29:03
2018-09-08T15:29:03
144,715,108
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# Question 1 import pymongo as p a = p.MongoClient() db = a['Students'] # Question 2 r_name = [] r_marks = [] records = {} l1 = [] for i in range(10): name = input('Enter name: ') marks = int(input('Enter marks: ')) r_name.append(name) r_marks.append(marks) for i in range(10): records = {'Name':...
[ "dhimanviney986@gmail.com" ]
dhimanviney986@gmail.com
76f27c8be1adfdb1c87ec7b6ea6a83f25747c13d
9d201f069307f52a8a04189d4d4a008a5657a36d
/apps/query_tmc/apps.py
fcc9b96c978c40317e3b0d2386c1bc1e5b46f7aa
[]
no_license
Jonamaita/TMC-APP
80354dc7007e1e8a26894bc4f75e5d63739d43d7
9fb69ac0dfad054f5c8efcfd9309d9dd63d78cdd
refs/heads/master
2022-11-13T03:58:42.572823
2020-06-30T18:11:01
2020-06-30T18:11:01
275,246,366
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class QueryTmcConfig(AppConfig): name = 'query_tmc'
[ "jonamaita@gmail.com" ]
jonamaita@gmail.com
ff7a02d396c8295f41a2f4b2123da3a190de656a
04bd8db6bcae3ec33c5ab3e040e62d36f3b1e647
/Cat-recognizer.py
87d3729b7b54d13c5df078324e5ff9aceb7432f3
[]
no_license
ayushbendwal/Mywebsite
42981aac87cbdeb20cbdd36aabed183464b54876
af67d6d823ec5f9c80a57555f1de519ccff8a1d0
refs/heads/main
2022-12-25T15:20:21.250307
2020-10-15T14:28:46
2020-10-15T14:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,348
py
# importing dependencies import numpy as np import random import h5py from skimage.transform import resize import matplotlib.pyplot as plt import matplotlib.image as mpimg from PIL import Image from scipy import ndimage # Data Preprocessing START HERE # Splitting Datasets into train/test train_dataset ...
[ "noreply@github.com" ]
ayushbendwal.noreply@github.com
7f8dd0c1b904348786bfc7bbbe22b97f5da239b6
751335ddd0235a1c44d828d3a6ddda1ef0978d43
/pcwg/core/power_curve.py
29c5cf73e8618e3191c56e7e2d942aebc5057b14
[ "MIT" ]
permissive
lcameron05/PCWG
4569b7c3fb158dd5a85903974d3d5b6a2eb974fe
8ae8ea7d644aa5bec0d1651101d83d8f17994f4b
refs/heads/master
2020-04-30T10:11:56.950988
2018-06-29T17:04:59
2018-06-29T17:04:59
29,296,891
0
0
MIT
2018-06-29T17:05:00
2015-01-15T12:41:08
Python
UTF-8
Python
false
false
4,415
py
from ..core.status import Status from turbine import PowerCurve class PowerCurveCalculator(object): def __init__(self, data_frame, cut_in_wind_speed cut_out_wind_speed, rated_power, wind_speed_column, wind_speed_bin_column, turbulence_column, power_column, ...
[ "peter.stuart@gmail.com" ]
peter.stuart@gmail.com
39fd5781c172d7c39966c2f8e8ac762b9ae943b6
6b64338c3453d896310a381929fdf61cd846bbb7
/biaobei-pretrain/tacotron/utils/symbols.py
f1e84a10e8d9e07c6bc1ba5b035ec7a4a17c205e
[]
no_license
Tubbz-alt/Taco_Collection
b0e9234ca8309300783b6a258adb0255d3119f93
fb30bab5231c5c22ff03184f428aa43a0700d47d
refs/heads/master
2022-02-28T21:41:15.275047
2019-09-23T14:45:54
2019-09-23T14:45:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
''' Defines the set of symbols used in text input to the model. The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DATA.md for details. ''' import os import glob AUTO_DETECT_SYMBOLS=True train_text_...
[ "ascyx1218@163.com" ]
ascyx1218@163.com
517b4f44e9a5ecd0459bd2a8bfd874c5a56b3ec2
f1e6afa8c562cf544e0152f18ccea709867f61d8
/bomberman_old_versions/agent_code/mr_bombastic_v4/train.py
d1d6e76986bed7a31ea5fb4fb221ccfe260292ea
[]
no_license
Dschobby/bomberman_agent_mr_bombastic
8e250467320b46a0873c89b2eea75d64f82c20dc
debd4fe55ea2b38099ea206f6ab8f1441ccee5b4
refs/heads/main
2023-04-01T17:14:32.409085
2021-03-28T10:30:20
2021-03-28T10:30:20
352,287,252
0
0
null
null
null
null
UTF-8
Python
false
false
9,396
py
import pickle import random from collections import namedtuple, deque from typing import List import events as e from .callbacks import state_to_features from .callbacks import crates_positions import numpy as np # This is only an example! Transition = namedtuple('Transition', ('state', 'acti...
[ "noreply@github.com" ]
Dschobby.noreply@github.com
b3d6b5d093ad2b6d91232e7018a503b54c028c46
e1faf332197eef7c57d63d562b42d2cb227f0f1a
/zolo/base.py
ca4421ff76cf2e12a3e8bb966fcf15848765e781
[ "MIT" ]
permissive
firefirer1983/zolo
29ae6cfa5568a28d2a0b53a51054edf784a03ce0
889409b491363eb54c2997e01333b77bc81e0c89
refs/heads/main
2023-07-15T04:52:56.039301
2021-08-31T14:17:48
2021-08-31T14:17:48
347,134,578
4
0
null
null
null
null
UTF-8
Python
false
false
13,002
py
from abc import ABC, abstractmethod from datetime import datetime from typing import List, Iterable, ItemsView, Union, Type, Callable, Dict import logging from zolo.consts import BLOCKING_ORDER_TIMEOUT from .dtypes import Timer, Message from .hub import evt_hub from .utils import create_timer, create_filter from .dty...
[ "fyman.zhang@gmail.com" ]
fyman.zhang@gmail.com
cf37da3f5b81520ea9ba19cc258a0363291042d6
89bcfc45d70a3ca3f0f1878bebd71aa76d9dc5e2
/scrapy_demo/sina_news/sina_news/middlewares.py
819f2c24c10afaf9fbaced6ef0f1b0f49ec5c423
[]
no_license
lichao20000/python_spider
dfa95311ab375804e0de4a31ad1e4cb29b60c45b
81f3377ad6df57ca877463192387933c99d4aff0
refs/heads/master
2022-02-16T20:59:40.711810
2019-09-10T03:13:07
2019-09-10T03:13:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class SinaNewsSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy...
[ "64174469@qq.com" ]
64174469@qq.com
fb623f2eafae9212c5a7ac1edffeef935021e939
c32eccb938bf0cf5c4ff5506c1bcf4293d8f2abd
/parsing/general.py
d7cb6f066946aed0400ce5e0e8ebf59251f1d606
[]
no_license
JimmyRowland/smc_course_list
48526a397e26fc02b0ae2e44a94c0ff0717c23d7
af96d3995b3fcb90f2b8ee4a36097c6921301213
refs/heads/master
2020-07-04T12:10:56.913902
2019-03-16T07:12:15
2019-03-16T07:12:15
74,069,100
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
import os # Each website is a separate project (folder) def create_project_dir(directory): if not os.path.exists(directory): print('Creating directory ' + directory) os.makedirs(directory) # Create queue and crawled files (if not created) def create_data_files(project_name, file_name): creat...
[ "tian_yu@student.smc.edu" ]
tian_yu@student.smc.edu
e1ee11936044cee591fa34caea14fe7c48692724
a990bd26d3a69d1ea6699c85efa2cea99452c3df
/pytriplets/pythagoreanTriplets.py
9800357dc2720a809abc7bcffed191203f31baa3
[]
no_license
abecus/DS-and-Algorithms
5f1a948a085465ae165090ec957a9d5307ce729d
3259e8183382265a27cf8c91e37d0086175a5703
refs/heads/master
2022-05-05T07:07:08.194243
2022-04-05T16:23:39
2022-04-05T16:23:39
193,111,610
11
6
null
2020-11-18T16:19:18
2019-06-21T14:27:25
Python
UTF-8
Python
false
false
2,315
py
from math import ceil, sqrt def EratosthenesSieve(N:int)-> list: ''' Calculating SPF (Smallest Prime Factor) for every number till N. Time Complexity : O(NloglogN) ''' N+=1 # stores smallest prime factor for every number spf = [*range(N)] # separately marking spf for every even...
[ "insaaone@gmail.com" ]
insaaone@gmail.com
e0818c603f0f67866324c07a67eee8358ccc7b21
ee1f7d01c12306b478de2c3bedcf6763a1617e93
/outpassIT/forms.py
8aaf5af128b8f1069d50c56a40d9d2d4af100c25
[]
no_license
chandreshmark41/College-Maintenance-System
e044c64ae4b63d76b790e753d9b0f98c621d9d69
c85016ef894fd0e3658695b8470f89ff65eb9d6c
refs/heads/master
2022-12-13T23:47:52.384201
2020-08-30T13:16:54
2020-08-30T13:16:54
288,236,873
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
from django import forms class IToutpass(forms.Form): year = (('none','select'), ('1', 'first'), ('2', 'second'), ('3', 'third'), ('4', 'final')) it_name = forms.CharField(max_length=30, label='Name') it_rollnumber = forms.CharField(max_length=10, label='Roll Number') it_year = forms.ChoiceField(ch...
[ "noreply@github.com" ]
chandreshmark41.noreply@github.com
ad5b3b455fb3fcc45810517db7aa134918454af3
1692e29c7c57e630d5ea216cf663c2ed122f4e73
/gym_vizdoom/envs/exploration_train_game.py
472579ef53995ca10fab60881909c86547432b49
[ "MIT" ]
permissive
philipjball/gym-vizdoom
e96c15d71f6c02120e86d293334bc563ebcb4b56
f098f297aeff79875c59861478c54e7727588bf7
refs/heads/master
2022-07-24T01:28:39.717138
2018-12-14T14:08:46
2018-12-14T14:08:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
from gym_vizdoom.envs.navigation_train_game import NavigationTrainGame from gym_vizdoom.envs.constants import MAX_STEP_EXPLORATION class ExplorationTrainGame(NavigationTrainGame): def is_done(self): return (self.game.is_episode_finished() or self.step_counter >= MAX_STEP_EXPLORATION)
[ "nsavinov@cvg-desktop-15.inf.ethz.ch" ]
nsavinov@cvg-desktop-15.inf.ethz.ch
fa4d110c886bb968a900ac260fb99f3c6975b977
a81cba0b7419e4f6af015f1c5a449ecc3be91dcd
/train_dqn.py
d017b87e40d690143d88897e3c1ce37bce0f5de0
[]
no_license
sepy97/sokoban
81087a162133be8a2588bb26d1a1f07e2f14a047
09eba748958225d1b47cc2bbfba9a480239541ba
refs/heads/main
2023-02-02T13:58:53.454538
2020-12-18T03:55:53
2020-12-18T03:55:53
309,802,834
1
0
null
null
null
null
UTF-8
Python
false
false
10,374
py
import sys from typing import Optional, Tuple from argparse import ArgumentParser import numpy as np import torch from torch import optim from tqdm import tqdm from qlearning import DQNNetwork, TransitionCollector, Parameters, OutputManager, dqn_target, SokobanEnvironment from torch_spread import NetworkManager, Pla...
[ "Alexanders101@gmail.com" ]
Alexanders101@gmail.com
9d3d24b465ffb8dc9148555c52358627c3f4e05b
3551f1150dee2772b1949a199250e4960a71989e
/focusgrouplogs/web.py
0391b7ec78d6461332a0c6ec9d81af8e275f140c
[ "MIT" ]
permissive
ccpgames/focusgrouplogs-frontend
868f4398fb5e965f3a27f66bbba46086dc6906c6
42bd2bac04bbdc49d87ed9218f6b32a1d239c1ee
refs/heads/master
2021-01-17T06:38:04.869762
2018-05-08T18:02:28
2018-05-08T18:02:28
50,437,131
0
2
null
null
null
null
UTF-8
Python
false
false
2,456
py
"""Web routes for focusgrouplogs.""" import os import sys import traceback from flask import render_template from flask import Response from focusgrouplogs import app from focusgrouplogs import cache from focusgrouplogs import FOCUS_GROUPS from focusgrouplogs.datastore import all_content from focusgrouplogs.datastor...
[ "github@talsma.ca" ]
github@talsma.ca
4ce7e9375fb540a78e89c6052c9ac31834889e7a
90f2cbe1c940a20dcc893837b6033a51d3233931
/python 进阶/面向对象5.py
e0cdc5256497aaf75db084c7e20d655c6faec438
[]
no_license
MaxNcu/Learn_Python
71501f38f6442f3ff2a1de1ff685b8975e50af20
5a1c6edf353ed7447b2ffd4126ad7668d8c5a407
refs/heads/master
2022-01-15T18:56:04.814476
2019-07-20T03:02:02
2019-07-20T03:02:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
# -*- coding: utf-8 -*- # @Time : 2018/5/3 0003 17:27 # @Author : Langzi # @Blog : www.langzi.fun # @File : 面向对象5.py # @Software: PyCharm import sys import requests reload(sys) sys.setdefaultencoding('utf-8') class gg: url = 0 stat = 0 # 因为使用classmethod后会传入新的变量,所以一开始是需要自己先定义类变量 def __init__(se...
[ "982722261@qq.com" ]
982722261@qq.com
3a89051dbab78203415dc25b866072c7733505ce
166a52bb031c932aa6fed7c3d193b2977f2b4b2b
/my_backend/search.py
6121e26119381dd98c1b938b139ade7c0d2a8946
[]
no_license
harshita23sharma/Github-repo-search-engine
7fdfbdc75a61fdf30d71fa552105685a2d58db41
d84c34874630fcc9bbd27ff4943586cde9711ada
refs/heads/master
2021-01-16T17:49:28.307039
2017-08-16T05:59:07
2017-08-16T05:59:07
100,013,331
1
0
null
null
null
null
UTF-8
Python
false
false
2,805
py
import pymongo from pymongo import MongoClient import pandas as pd import nltk import numpy as np from nltk.corpus import stopwords from bs4 import BeautifulSoup import re import pprint import config_index # db = pymongo.MongoClient().config.INDEX_NAME # db = pymongo.MongoClient().test_bulk_ex client = MongoClient() d...
[ "harshita23sharma@gmail.com" ]
harshita23sharma@gmail.com
bd05fe8ee5681425180aafc81e278f0f69a44573
b6ab5c3c78d133fad0e0d2dacd470d587977860c
/util.py
bd81e88b3f4c2e633b4503aba1e3aeb8798b9693
[]
no_license
clem9281/treasure_hunt_utils
774e59f56d7aa09f287626fed7e127ebe0a25433
6df7639b2b7db84e2c2b7eca08e779c991ce6ea8
refs/heads/master
2022-12-10T09:47:59.297341
2020-02-11T18:58:11
2020-02-11T18:58:11
239,838,915
0
0
null
2022-12-08T03:36:25
2020-02-11T18:51:29
Python
UTF-8
Python
false
false
1,235
py
class Node: def __init__(self, value): self.value = value self.next = None def __str__(self): return f"{self.value}" def __repr__(self): return f"{self.value}" class Queue: def __init__(self): self.head = None self.tail = None self.size = 0 ...
[ "clem9281@gmail.com" ]
clem9281@gmail.com
e5247491ac864cac4f7bdf3853f69ed75b7cd5b9
1b52d46c64edc4aa0604644bdb9940f5dabf31cb
/external/views.py
3ba2eae442a8bd2dc08d393f58b73f3489b58010
[]
no_license
jackson0810/nsi
bd5d78202bb763d839c49c272bbc05fc06be801f
320244208cf8ae4fc009f369e934dcb895abccae
refs/heads/master
2021-07-03T08:08:34.212983
2017-01-07T20:10:19
2017-01-07T20:10:19
46,661,109
0
0
null
2021-06-10T19:30:07
2015-11-22T13:10:25
JavaScript
UTF-8
Python
false
false
3,308
py
from datetime import datetime from django.contrib.sites.shortcuts import get_current_site from django.shortcuts import render, redirect from django.contrib import messages from django.conf import settings from external.forms import ContactItemForm from shared.models import NewsItem, FunctionalCapability, ImageItem, C...
[ "derrick.jackson73@gmail.com" ]
derrick.jackson73@gmail.com
9aa0e51f81c8c1f477f696e204d80753a37ab23b
318021e0616fa87b59100e1785159b98a355d58a
/src/AIC2018_iamai/ReID/clustering.py
487a130ac2be452fbc4e1c7460ddeb38dd35a76e
[ "MIT", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "BSD-3-Clause" ]
permissive
gordonjun2/CenterTrack
9c5c92dada8cab3afbf10d875db1a9014f5a2dbc
358f94c36ef03b8ae7d15d8a48fbf70fff937e79
refs/heads/master
2021-05-24T18:53:52.120885
2020-05-22T10:31:58
2020-05-22T10:31:58
253,706,293
2
0
MIT
2020-04-07T06:27:10
2020-04-07T06:27:09
null
UTF-8
Python
false
false
2,711
py
import numpy as np import math import time from sklearn.cluster import MiniBatchKMeans, KMeans class Top_Down(object): def __init__(self,n_classes): self.subcls = math.ceil(math.sqrt(n_classes)) self.top_K = KMeans(n_clusters=self.subcls,n_init=10,max_iter=300,n_jobs=-1,verbose=0,init='random') ...
[ "gordonoh@yahoo.com.sg" ]
gordonoh@yahoo.com.sg
165877fef4819cb2279ba767229c479c1f17b7e2
a26c8bbd67c614354c72c3eade71981adea28eea
/src/main/resources/devops-as-code/add_ci_to_env.py
9f51d350a015afba8071c5eea1e0e26b41597529
[ "MIT" ]
permissive
xebialabs-community/xld-ansible-step-plugin
481e25350728f50cebcb5a15c64e8d388b2d16ed
c05eec5767214ed91f6e42819212bf0bc5d164b6
refs/heads/master
2021-06-16T01:56:12.030162
2021-02-08T12:19:36
2021-02-08T12:40:12
140,391,653
2
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
# # Copyright 2021 XEBIALABS # # 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, subli...
[ "bmoussaud@xebialabs.com" ]
bmoussaud@xebialabs.com
5894f3e988020c064705bd8504a2fafceab9bf2d
c06c725d8789667e990987b18cccff5fab5dc9bf
/game_mechanics.py
b7bf9443b9bdbc2e61791be5e10c7b240b584163
[]
no_license
PuppyX19/Connect-four
24510e0050013cd486092f4e0818c1e863a7af10
d8a7c2fd2903e4534b2eb5aa964c68f9e5de38ce
refs/heads/main
2023-05-26T13:00:40.979528
2021-06-08T20:20:32
2021-06-08T20:20:32
366,478,461
0
0
null
null
null
null
UTF-8
Python
false
false
4,824
py
"""Plik przechowujący klasę odpowiadającą za mechanikę gry.""" from players import computer_player from players import human_player from utils.constants import Basic from utils.constants import GameStatus from utils.constants import Style MAX_HITS = 41 class GameMechanics: """Klasę odpowiadająca za mechanikę gr...
[ "noreply@github.com" ]
PuppyX19.noreply@github.com
0168ffea972b52f80e79fad9a78b632af67c4f35
9f5e9b9da1b580c191b828cc9f4f462f12115fcb
/prototype2/mainApplication/Stylus.py
f9327105740cda24c2eb74491f825da1c4bdbfd2
[]
no_license
kong4580/6dofstylus
9e73b6638a0ef6030039b9f197a4978c812eabdd
cb3ca0ef553568e1568dae18bc0205fcd731d040
refs/heads/master
2023-01-20T15:52:15.191841
2020-11-30T08:02:19
2020-11-30T08:02:19
286,652,410
0
0
null
2020-11-30T07:58:55
2020-08-11T05:18:25
Python
UTF-8
Python
false
false
9,831
py
import numpy as np from math import sin, cos,pi from scipy.spatial.transform import Rotation as R class Stylus(): def __init__(self): self.h1 = 53.5 self.h2 = 80 self.l1 = 60 self.l2 = 56 self.dh = np.matrix([[0 ,self.h1, 0, pi/2], ...
[ "redkong4580@gmail.com" ]
redkong4580@gmail.com
fd1cc44729907b3f8258b453ff0f658c3de23498
bdf43b2426254c2cb9109ca1ade1109a2adae83f
/Flask/tempCodeRunnerFile.py
5126f14a9d65232d13f62f59fa65d9abecb43465
[]
no_license
shivamk2406/Mini-Project
cc205846d699c8a20873a0a627afb88e74256d78
0ce81b59fe01a3c8d801d5bda797456f21344abe
refs/heads/master
2023-06-19T20:59:56.173688
2021-07-20T11:49:24
2021-07-20T11:49:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import os # import time # from matplotlib.image import imsave # from srgan import generator # from common import resolve_single # from utils import load_image
[ "iamrealshivamskyler@gmail.com" ]
iamrealshivamskyler@gmail.com
febcc2abad1ae23013d445e126e55e6a80366012
9ab5fa10331d8eaa2665ab3ff342e4141a0b2a9f
/lab2_print1-14.py
9bab91485e660c56c70c1aac90fb35a65654d654
[]
no_license
AlyonaTiki/CSC127
4384f8daa6d7c029bae1ca315ebe90a41e4c44cb
6c23012658588c0d074b6a6303b99fec978aac90
refs/heads/master
2020-04-19T19:15:29.473305
2019-03-22T03:47:40
2019-03-22T03:47:40
168,384,019
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
#Alyona Karmazin #2/6/19 #this program prints 1-14 for i in range(0,15): print(i)
[ "31675522+AlyonaTiki@users.noreply.github.com" ]
31675522+AlyonaTiki@users.noreply.github.com
6fd4b9e2cc829a46067bf02cc9f3d4005b1fbba1
30637e20a3d71ce21ee6e5d047df7d96285ab968
/model-v3/evaluate.py
5c9a47ae9bb7a5d0ddec19ba2e3e48ded7049cfd
[]
no_license
Z769018860/AI-final-project
eada52aa12a828e98f408bb2496d2585e14e49bb
923b5d35ed7b882183045c8020928529aa1d126b
refs/heads/master
2020-04-15T03:02:48.821601
2019-01-21T17:09:36
2019-01-21T17:09:36
164,333,984
0
0
null
null
null
null
UTF-8
Python
false
false
4,179
py
# coding=utf8 from __future__ import print_function from copy import deepcopy import json ''' This script evaluate the result of triple matching. The evaluation metrics is defined as follows: There are ns sentences, with `n` manually annotated triples which we regard as ground truth. Some program predicted `n'` triples...
[ "769018860@qq.com" ]
769018860@qq.com
9d5c116670e57e518c30bc5967961c6a87ecc804
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/__init___parts/PlatformNotSupportedException.py
01352985b0163c59e7d7ded23ed6bdf1af466c25
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
1,210
py
class PlatformNotSupportedException(NotSupportedException,ISerializable,_Exception): """ The exception that is thrown when a feature does not run on a particular platform. PlatformNotSupportedException() PlatformNotSupportedException(message: str) PlatformNotSupportedException(message: str,inner: Exception) ...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
6691a8e2dd39e9c4777851027c0542667ad4b353
659821a59a2ba638c5957f2eefed8f92655486dc
/ModelServices/side_btn_service.py
5f03fba874181a0062ca9ef0f72a7e27e98ee8b6
[]
no_license
naveenreddysg/illustration
393a30edb7b8dd2d5fa31c7f1a7bb62c3323e316
4a4e9d6fe4595684300c098ffcee5d2370cc2f68
refs/heads/master
2022-12-13T15:23:21.985789
2018-05-23T08:13:52
2018-05-23T08:13:52
129,255,707
0
0
null
2022-12-08T00:58:50
2018-04-12T13:29:15
Python
UTF-8
Python
false
false
825
py
from DbConnections.Db import db from models.models import SideBtnModel from utilities import group class SideBtnService: model = SideBtnModel def __init__(self, start_date, end_date): self.start_date = start_date self.end_date = end_date def get_data(self): req_data = db.session...
[ "naveenreddy.sg@gmail.com" ]
naveenreddy.sg@gmail.com
f852fac9e6a96838dd00315f50b067ab55750dbd
3147716595f28ebb81516ec15e4f454358967b1e
/blogit/models.py
07e206423ef39238ea32b9a8c1632946afbe1bd0
[ "BSD-3-Clause" ]
permissive
selectnull/djangocms-blogit
04bef2b4ab3ad4c70f4ac39a4d88bc7ad4aa796b
599da6acd756c611d74219c7378e0a0771090bcd
refs/heads/master
2021-01-17T17:22:31.414023
2019-04-18T10:58:41
2019-04-18T10:58:41
39,001,497
0
0
null
2015-07-13T08:52:59
2015-07-13T08:52:59
null
UTF-8
Python
false
false
9,133
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from cms.models.fields import PlaceholderField from cms.utils.i18n import get_current_language from django.conf import settings from django.db import models from django.urls import reverse from django.utils import timezone from django.utils.encoding impor...
[ "dino.perovic@gmail.com" ]
dino.perovic@gmail.com
c07837b61cf81d4b0e3ff64b9a170131d1a71ab9
a54e07efe1d99c08adc26476870d1187fc6f9a98
/main.py
1d8247e68f99b5be5d93bdb9cd9537b2c90e574a
[]
no_license
jackalope17/number-converter
07b768aa6b956c40ad7b1279bc9a15365cb17a27
7ceb6199055fb2751244e2b0cc64ecdc7ac07c22
refs/heads/master
2023-01-22T09:38:22.248273
2020-12-02T17:08:54
2020-12-02T17:08:54
317,934,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
nd = 0 nb = 0 def decimalToBinary(nd): while True: try: nd = int(input('\nPlease enter the whole number you wish to convert to binary: ',)) return bin(nd).replace('0b','') break except: print('Please only enter whole numbers to be converted.') continue def binaryToDecimal(nb...
[ "kane.stripland@gmail.com" ]
kane.stripland@gmail.com
7c62641e69e5474f174e7f451b799644b70e2c93
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/intermitt.py
85759ce65aff2cf6852ec5b6f5d92a234f43ab13
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
295
py
ii = [('ProuWCM.py', 1), ('LeakWTI3.py', 2), ('PeckJNG.py', 7), ('ClarGE2.py', 4), ('KiddJAE.py', 1), ('LyelCPG.py', 4), ('SoutRD2.py', 1), ('BackGNE.py', 1), ('LeakWTI4.py', 2), ('LeakWTI.py', 2), ('WheeJPT.py', 1), ('FitzRNS4.py', 1), ('AinsWRR2.py', 1), ('MereHHB2.py', 2), ('ClarGE3.py', 2)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
4287da8a49bf1158ca40e7e1ea59381b3a4f26dd
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/magical-string/286608581.py
a40ef5d904e5cc169a0d044c1fefbec7c63a3043
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
858
py
# title: magical-string # detail: https://leetcode.com/submissions/detail/286608581/ # datetime: Tue Dec 17 18:06:50 2019 # runtime: 108 ms # memory: 27.3 MB class Solution: magical_string = [[1, 1], [2,1 ], [2, 1]] index = 2 def magicalString(self, n: int) -> int: i = self.index magical_st...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
7436add1fbe3da735dc316276876a10003fcacf6
3501193d2cbc4de26da37281f70a717f2d98eb83
/udemy/books_fbv/models.py
c0aaeda042b83bf2b84942a4d9554b2551e10d6c
[]
no_license
chili512/PythonStuff
de62b93bc41822beebdf4214aead39fd610b1626
5045f6a40a8fa6e1942e1cefe775520f87369987
refs/heads/master
2020-05-21T06:46:53.314865
2019-08-06T09:25:12
2019-08-06T09:25:12
58,793,167
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from django.db import models from django.core.urlresolvers import reverse class Book(models.Model): name = models.CharField(max_length=200) pages = models.IntegerField() def __unicode__(self): return self.name def get_absolute_url(self): return reverse('books_fbv:book_edit', kwargs={...
[ "chili@iinet.net.au" ]
chili@iinet.net.au
840a066e20581fe2e484222ac5c01c6df87a0ead
c7dd214e319f41d228960efbe248ceef44c23330
/imageviewer/image_viewer.py
290f1c5cd317b4b323ad03ad84e697fd94762982
[]
no_license
MUNE35H/Yolo-V3-Image-sorter-GUI
841d5a9635e9124a1930c54d3226ee8e2c0c6766
c5d81592597803b538ed8fbb00f87f2fdcb0c2a4
refs/heads/main
2023-03-18T02:56:47.356035
2021-02-25T05:35:15
2021-02-25T05:35:15
331,177,146
0
0
null
null
null
null
UTF-8
Python
false
false
10,566
py
import os import shutil import sys from PIL import Image, ImageTk from tkinter import Canvas, Tk, Label, LEFT, Frame, filedialog, messagebox from settings import DEFAULT_ACTION_NAMES, DEFAULT_ALLOWED_EXTENSIONS, DEFAULT_BACKGROUND_COLOR, SOURCE_DIRECTORY TOP_BUTTON_HEIGHT = 50 # for the buttons MARGIN_BOTTOM = 70 ...
[ "noreply@github.com" ]
MUNE35H.noreply@github.com
c29ef5ecfae56edb6fb1c74e285f7f380a16a358
1210011f2dd330e7db5f482064d91a756e16ccaf
/greeting_app/urls.py
a9fd1de099ca381b75ca5b821bf45e083a4226c2
[]
no_license
myramoon/Greeting_App_django
105aa0b4bdd949af5233afba401e1ee4deda8bc9
e9a5c74ea3e6289acb1a2d3edc4421ced2723a53
refs/heads/master
2023-01-20T12:52:49.972918
2020-12-01T06:55:15
2020-12-01T06:55:15
317,451,381
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
"""greeting_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "anamfazal94@gmail.com" ]
anamfazal94@gmail.com
a4421cb71c8142dcb0f560a59515b934328824c8
cc36aa666b28f46b8e90272f213d6690893447a2
/myapp/models.py
3bd83989988d3c273e0e2d5166b3e72ae2d680ac
[]
no_license
Ivanchyshyn/Django_project
1913938d21d2daa00309ce1847e85a50d08e7c93
813746a2b529dcaba2a35e1c85dcfdcd9a4b53a5
refs/heads/master
2020-04-27T20:54:19.788777
2019-03-17T18:25:11
2019-03-17T18:25:11
174,675,237
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
from django.db import models from django.urls import reverse class Product(models.Model): title = models.CharField(max_length=100) description = models.TextField(blank=True, null=True) price = models.DecimalField(decimal_places=2, max_digits=100) summary = models.TextField() def get_absolute_url(s...
[ "ivanchyshyn14@gmail.com" ]
ivanchyshyn14@gmail.com
34185c8c1188698dbf7a752952a53ea53fff5cee
fcd16c33d3568288cc7fb597aca496179a483759
/sock_merchant.py
0b77167cb02bc6b588c571ea958c9110d251525b
[]
no_license
Dheebhika/python_practice
b6ff352b68c3a3a622c75fd07f1e3829cc85c852
246072daa5c4a107588ba48dacfb0863b43ebb97
refs/heads/master
2020-05-02T19:47:45.516886
2019-03-28T09:28:35
2019-03-28T09:28:35
178,169,313
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
ar = [10, 10, 20, 20] result = 0 ar.sort() for i in range(0, 4): if ar[0] == ar[1]: ar.pop(0) ar.pop(1) # else: # ar.pop(i) # result += 1 print(result)
[ "admin@Intern5-MacBook-Pro.local" ]
admin@Intern5-MacBook-Pro.local
bfabf8db4c5b1d60870b61193f1de3c342559fe0
7bb42e1b0fc447e612267abcc3e0d84dbeba28a7
/scraping.py
dd5e237b8fc4ceb7ea9818f3090ddeadace0db02
[]
no_license
aeronut343/Mission-to-Mars
1499e6411dc795a121a3d427e3d5d74f8f9a684d
7fb46bdbb467020a861ce0c7762b2005109e8f3c
refs/heads/main
2023-08-05T05:47:03.898454
2021-09-16T22:20:05
2021-09-16T22:20:05
405,444,270
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
# Import Splinter and BeautifulSoup from splinter import Browser from bs4 import BeautifulSoup as soup from webdriver_manager.chrome import ChromeDriverManager import pandas as pd import datetime as dt def scrape_all(): # Initiate headless driver for deployment executable_path = {'executable_path': ChromeDriv...
[ "halex211@umn.edu" ]
halex211@umn.edu
9d3bf68e37e745d2e74045b9f133722190030ebd
7742cf057dcfbf8692cc1f462ffd679b2c396201
/deliver/ia369/iacomb.py
80e286907cd2f3fbbb333ce57404d805d5c9f6d5
[ "MIT" ]
permissive
mariecpereira/IA369Z
c8daf40401f42cdaad59b8658c81c11d1c96d209
f094c706db815f91cf61d1d501c2a9030b9b54d3
refs/heads/master
2021-08-23T13:07:17.432502
2017-12-05T01:17:32
2017-12-05T01:17:32
87,538,974
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- encoding: utf-8 -*- # Module iacomb from numpy import * def iacomb(s, delta, offset): s = asarray(s) if product(s.shape) == 1: g = zeros(s) g[offset::delta] = 1 elif s.size >= 2: g = zeros((s[0], s[1])) g[offset[0]::delta[0], offset[1]::delta[1]] = 1 if s.size =...
[ "noreply@github.com" ]
mariecpereira.noreply@github.com
0c2a8e2225a636a1c778cc23813b081284f9b3c5
dffc22f1e363172d91c72582f54edf088ca96ea8
/lib/ffmpeg/vppbase.py
4b49b69842ed9fdd3fbb8bca01a3d3fef7767102
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
FocusLuo/vaapi-fits-1
975d0eec398d91dcb904660b7cfda4c7b02fb01f
52dbc2decf68cf89cb3ed7a11fa7b86e6903e829
refs/heads/master
2023-07-26T07:49:59.857414
2023-05-09T23:25:00
2023-05-11T06:43:06
170,789,770
0
0
BSD-3-Clause
2019-02-15T02:29:44
2019-02-15T02:29:44
null
UTF-8
Python
false
false
3,902
py
### ### Copyright (C) 2022 Intel Corporation ### ### SPDX-License-Identifier: BSD-3-Clause ### import slash from ...lib.common import timefn, get_media, call, exe2os, filepath2os from ...lib.ffmpeg.util import have_ffmpeg, BaseFormatMapper from ...lib.mixin.vpp import VppMetricMixin from ...lib import metrics2 @sla...
[ "ullysses.a.eoff@intel.com" ]
ullysses.a.eoff@intel.com
b42cc3d3aa8869ed148dce8e8823c50e3469bb07
f139d386e736c4d59a134053641452997ca65e1e
/restapi/restapi/settings.py
e5c6f4d3f19409aa3026594ae257e935bfa1288f
[]
no_license
Akvilion/restaurants_api
4a7481d9aed6dab5dbe6c1f3105c2df86105da3e
5b952cdb279a9f0136ff6db2a73cf18b638f2182
refs/heads/main
2023-04-10T12:21:36.690348
2021-04-21T16:31:07
2021-04-21T16:31:07
359,878,976
0
0
null
null
null
null
UTF-8
Python
false
false
3,320
py
""" Django settings for restapi project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib i...
[ "ianko.andrii@gmail.com" ]
ianko.andrii@gmail.com
7bafee4b562b3ea3a9bc7a61db78cfd37ada3ea3
7b74696ff2ab729396cba6c203984fce5cd0ff83
/tradeaccounts/migrations/0049_auto_20200607_1333.py
46a52b8fab8cd24ab327a01dd31af3e81a8c975e
[ "MIT" ]
permissive
webclinic017/investtrack
e9e9a7a8caeecaceebcd79111c32b334c4e1c1d0
4aa204b608e99dfec3dd575e72b64a6002def3be
refs/heads/master
2023-06-18T12:57:32.417414
2021-07-10T14:26:53
2021-07-10T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 3.0.2 on 2020-06-07 05:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tradeaccounts', '0048_auto_20200607_1302'), ] operations = [ migrations.AlterField( model_name='tradeaccountsnapshot', ...
[ "jie.han@outlook.com" ]
jie.han@outlook.com
a092c2508f840fc790296b8270c38326eb8596b6
d7412bc0326157de6b21c810e3736ec051b4e31e
/heroku/app.py
d75423181f4d26b780ff526c8454087207f4fe84
[]
no_license
EniasVontas/Assignments
4c06a7277dd47d10dbcc65d256e2b1c1f7782361
9e1149e37985a8b307774da44f17e0d4c9b5e324
refs/heads/main
2023-07-09T15:14:31.482852
2021-08-18T19:01:27
2021-08-18T19:01:27
380,307,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
# -*- coding: utf-8 -*- """ Created on Sat Jul 3 13:06:33 2021 @author: Enias """ import numpy as np from flask import Flask, request, jsonify import pickle import pandas as pd app = Flask(__name__) #Initialize the flask App #model = pickle.load(open('model.pkl', 'rb')) @app.route('/', methods = ["G...
[ "noreply@github.com" ]
EniasVontas.noreply@github.com
3eeaa9104ebb73dab740e47a7ddbf9949beb7838
5005a9b58ab815f20d072208c41b6565924f4785
/ex13.py
a0c27c53a3f65f5d1a7e3e2bd92666ffe1017393
[]
no_license
Spuzzy/Python-Homework
48d78d9323f398e5d5faa44fba1f0f4e9906a144
f0c252474707780d2fa3e28bc963d7f163fd8dcb
refs/heads/master
2020-05-27T21:20:31.547001
2020-04-19T01:58:28
2020-04-19T01:58:28
83,664,394
0
1
null
null
null
null
UTF-8
Python
false
false
454
py
from sys import argv input1 = input("Give me the first var: ") input2 = input("Give me the second var: ") input3 = input("Give me the third var: ") script, var1, var2, var3 = argv print("The script is called:", script) print("Your first variable is: ", var1) print("Your first variable is: ", var2) print("Your third ...
[ "spuzzy.buzzy@gmail.com" ]
spuzzy.buzzy@gmail.com
730fd4d9ec2574b3ee5ec4a4b6f7490e1b36834c
e089f2598400d4115f9f1a91c48c7eef40e6d251
/vgg16_2.py
423a087f0d1ad03d149d1deda559efc8d94e0215
[]
no_license
cwarny/flower-teller
c261ef10077f0b65d96bdb0e28a3e013ef32cef5
36b4350e7257ac11d3e89cb594f047963c65b3ac
refs/heads/master
2021-01-21T15:49:39.393488
2017-06-26T02:13:47
2017-06-26T02:13:47
95,398,519
0
0
null
null
null
null
UTF-8
Python
false
false
3,280
py
import json import csv import numpy as np from numpy.random import random, permutation from scipy import misc, ndimage from scipy.ndimage.interpolation import zoom from matplotlib import pyplot as plt from PIL import Image from sklearn.preprocessing import OneHotEncoder import keras from keras import backend as K f...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
3d27b8603e7399f16a976fd41a6dda3461f31a61
a1cbe24cb8646e7af91a64d1fbfce4a4d7adce99
/teesta/config/desktop.py
0b643613f46c5abe037d298f362e72a3fa2b58c6
[ "MIT" ]
permissive
mbauskar/teesta
a4d32f8ec941be42f08d832ad922f092bf77b2b8
004bacefec97759e8abf525a58da2f4b17fb9448
refs/heads/master
2021-01-24T01:28:06.474339
2016-06-22T10:01:29
2016-06-22T10:01:29
61,936,561
1
0
null
2016-06-25T09:37:11
2016-06-25T09:37:11
null
UTF-8
Python
false
false
261
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "module_name": "Teesta", "color": "grey", "icon": "octicon octicon-file-directory", "type": "module", "label": _("Teesta") } ]
[ "mbauskar@gmail.com" ]
mbauskar@gmail.com
772d0b92703ee27d3689d89bd0c5ae2beb169ac7
684baa318c77c773cc6b7b3dafc69880ca708f6f
/ImageHashing/Mscoco.py
0c237d99c3111a8b8ee2bb1468484ea71e89fb30
[]
no_license
Lukangkang123/Deep-Unsupervised-Image-Hashing
9ba3c886e2954f576b0558a4aa36c08d1750a4cb
e77d957e88630a5648bc1e3040cc75c902e6c0c5
refs/heads/main
2023-06-18T05:17:20.015836
2021-07-19T13:52:14
2021-07-19T13:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,751
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Function from torchvision import transforms from torch.autograd import Variable import torchvision import numpy as np from PIL import Image import os import os.path from cal_map_mult import calculate_top_map, calculate_map, co...
[ "liyunqianggyn@outlook.com" ]
liyunqianggyn@outlook.com
2a3e4c862e8d1c38981f982b5ed30daa54dee650
2e390b052fdf46e28468451b04318da878303f16
/7.1.py
f5843281e232980eb7e3800302e99754bbb6c572
[]
no_license
kageus/Advent-of-Code-2020
7ff85eb8e45e2a7bb2a7e8822b6814ac8ec3bae5
42c512003b5de0b554de8782753ddb6c8ba107e0
refs/heads/master
2023-01-31T11:36:45.258732
2020-12-20T13:10:54
2020-12-20T13:10:54
317,547,994
1
0
null
null
null
null
UTF-8
Python
false
false
747
py
lines = open("./input/test_input_7.txt", 'r').read().split("\n") bags = {} # Build a dictionary for line in lines: bag = {} key, values = line.split(" contain ") key = key.split(" bags")[0] values = values.split(", ") for value in values: value = value.split(" bag")[0] quantity, des...
[ "kageus@gmail.com" ]
kageus@gmail.com
05149774fdf3b72b71d4c88485c727fa030bba64
156d6d18a8a39fe3a40006d0962b09b39324ec47
/tests/test_pyccata/test_command.py
37a673e541fbe8c48f64155ef2119c735d7591fc
[]
no_license
mproffitt/pyccata
3ad9b236bd8ca1f2a0e84457898c02ce57b9f9c4
80cbbab8ce271ade4ea9bbd79b29c0ddfb70a015
refs/heads/master
2020-03-10T12:21:50.182682
2017-11-11T06:00:09
2017-11-11T06:00:09
129,376,419
0
0
null
null
null
null
UTF-8
Python
false
false
8,955
py
import os from collections import namedtuple from unittest import TestCase from mock import patch from mock import PropertyMock from ddt import ddt, data, unpack from pyccata.core.configuration import Configuration from pyccata.core.managers.thread import ThreadManager from pyccata.core.command import ThreadableComman...
[ "martin.proffitt@hpe.com" ]
martin.proffitt@hpe.com
c5b0b2130d7636409217a9fcfdf4d367cba992e7
b22286aa1934a7261cdf13e1fe7911e489f3b545
/venv/lib/python3.7/sre_constants.py
bc383dc764c4aa29130a7b4db6d3c9df2e4d5284
[]
no_license
husainshaikh895/optimal_interview
0bf1a460a33db727710bbf494e606a4fcf57d3b5
23cee46b00f2bde92108d42c26bfeff68e12907f
refs/heads/master
2022-07-20T02:20:32.685449
2020-02-18T13:49:43
2020-02-18T13:49:43
234,763,622
0
0
null
2022-06-22T01:07:17
2020-01-18T16:33:28
Python
UTF-8
Python
false
false
64
py
/Users/husainshaikh/opt/anaconda3/lib/python3.7/sre_constants.py
[ "shaikhhusain895895@gmail.com" ]
shaikhhusain895895@gmail.com
39f32463a21861598485f362505b9546b514a12e
b53044cd4ca83c2390dbb3a6b3f0ee0629b92425
/venv/Scripts/easy_install-3.7-script.py
a9699b8abbec950458d01c833ea9df0685ecb363
[]
no_license
ande897b/FLoatLayoutTest
bd734f04a9ff9e4a823e8f680ac952dcc3e6eb16
e87d89df39882827e83c74afaf21a18fefe5cff3
refs/heads/master
2021-01-03T12:18:10.610672
2020-02-12T18:11:11
2020-02-12T18:11:11
240,081,665
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
#!C:\Users\Ander\PycharmProjects\FLoatLayoutTest\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scr...
[ "ande897b@edu.eal.dk" ]
ande897b@edu.eal.dk
456f8a27016afc6e1e5da8a314af1625002e861a
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4352/codes/1649_2445.py
c823fb8e8c5b6c16933c41968349e882bb866230
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
225
py
escala = (input("digite a escala: (C/F)")) valor = float(input("digite a temperatura: ")) formula1 = 5/9 * (valor - 32) formula2 = 9*valor/5 + 32 if escala == "F": print(round(formula1, 2)) else: print(round(formula2, 2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
1ba209054c0782d87286628966586b58f76b2eec
15855ce729e78fa0628d0e5a774b7fcaff7acc85
/pythonProject/Dictionary (Key value pair collections)/DictionaryDemo3.py
ec0c92f9d429a3b35decc30530fd050e28c1a186
[]
no_license
nikhil-shukla/GitDemo
d8c63aec6978aed251c0a4df3c5b4aacef702735
f060716815f9ba1025ce8fc525dd10e9ddc0b2dc
refs/heads/master
2023-07-08T22:48:26.439978
2021-08-16T13:25:18
2021-08-16T13:25:18
396,787,624
1
0
null
null
null
null
UTF-8
Python
false
false
238
py
#Syntax 2 - using dictonary constructor emp=dict(QA="nikhil",Dev="ak",qa="python",Qa="cpyhton") print(emp) #Syntax 3 - using dictonary constructor and passing values as tuples newemp=dict([(1,"Python"),(2,"Java"),(3,"JS")]) print(newemp)
[ "nikhilshukla912@gmail.com" ]
nikhilshukla912@gmail.com
45d4a1987cdb40bd9f9fdcc9710287907703ae27
6dedbbdfc5fc198df8b8c9d897b10a3ab3b81e36
/CIFAR/C100P6.0BottleneckDropoutPatched.py
464746c0303e7c7995b9515d98f037dc3f021a36
[ "MIT" ]
permissive
kice/SeqResNet
cf9247f71fa1b4a1b0baa2011caa72140120c69b
b9663b5835b1605c4a6bd79f0f5bbefa0a95e8b4
refs/heads/master
2020-05-05T08:17:21.952688
2019-10-16T04:59:22
2019-10-16T04:59:22
179,857,976
1
0
null
null
null
null
UTF-8
Python
false
false
9,558
py
import os import time import torch from torchvision import datasets, transforms from ModelBottleneckDropOutPatched import ResNetCIFAR import numpy as np import random np.random.seed(0) random.seed(0) torch.manual_seed(0) torch.cuda.manual_seed(0) torch.cuda.manual_seed_all(0) torch.backends.cudnn.deterministic = True ...
[ "wslikerqs@gmail.com" ]
wslikerqs@gmail.com
39b6e241cc453f12f775c56048ffd1a45a6d54dc
af545058a8f8f97abed75a4a8e2e8b50b4f2836b
/setup.py
fd87feac6ee8f6b9eab64e632be61730bf2723ca
[ "MIT" ]
permissive
ShawnKimble/kcryptotools
fadaa412e6f3c7530c1eb786982eb20a40fff197
aad42678016d176751129644bdef56dbcddaa462
refs/heads/master
2020-12-31T02:14:44.410696
2014-11-11T19:42:42
2014-11-11T19:42:42
27,442,565
1
1
null
null
null
null
UTF-8
Python
false
false
300
py
from distutils.core import setup setup(name='kcryptotools', version='0.0', description='Kay\'s Crypto Tools', author='Umpei Kay Kurokawa', author_email='umpeikurokawa@gmail.com', url='https://github.com/kaykurokawa/kcryptotools', packages=['kcryptotools'] )
[ "ukurokawa@pavement.(none)" ]
ukurokawa@pavement.(none)
c7cf0ea5b1dff6504eab6f21810859f77d8d77bf
adf675bb5402db2e8c9b24e88d2371eec1706f56
/database/OSS/__init__.py
5fb37e26f2282ba3f991370bd13c73666b27e8e3
[]
no_license
joswiatek/nlp-project-2
333e9482bcf8189dc2d8756ebdd9e7681156afce
3297777a5c0d6b85d57b0bbcafc929b72fa07d08
refs/heads/master
2023-05-12T02:54:46.832781
2019-09-09T05:36:12
2019-09-09T05:36:12
172,598,725
1
0
null
2023-05-01T20:32:19
2019-02-25T22:55:41
TSQL
UTF-8
Python
false
false
1,759
py
""" The main driver of the application. This file is called upon launch of the application. It sets up the blueprints of the various parts of the site, prepares the config file, sets up logging, converts all files to be ready for the web (like scss to css), hosts the server, and sets up general sitewide routes like t...
[ "brandonharrisoncode@gmail.com" ]
brandonharrisoncode@gmail.com
ad4a165dfc6950d2c638cdd134f1deeef8352d52
cde2f83809b89ae0b01a7b30b9caae83183d09a0
/correlation.py
9825fc5f79db4b3d456117cd1171a2f4a5337ad5
[]
no_license
airbaggie/judgmental_eye
264fa8f4aaec452f4acbf34dbb99d070408c2c22
67cb86e450133d253c74b07950a846bf2bb4f06f
refs/heads/master
2020-06-08T21:32:54.271881
2019-06-24T04:12:58
2019-06-24T04:12:58
193,310,214
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
from math import sqrt def pearson(pairs): """Return Pearson correlation for pairs. Using a set of pairwise ratings, produces a Pearson similarity rating. """ series_1 = [float(pair[0]) for pair in pairs] series_2 = [float(pair[1]) for pair in pairs] sum_1 = sum(series_1) sum_2 = sum(ser...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
11cc6fa6f4c17e2f5f9b3dc65637f997c165f409
f9d5d1d2ae0f586c6e3a2cd786f1b502936e0957
/examples/tensorflow/inference/east/code/data_util.py
7f60d09cc47b09777bcf809e449465263c21ca67
[ "Apache-2.0" ]
permissive
ucloud/uai-sdk
a2d427ba43f5c1384b5277a98f310d7b54e6e156
0ccaf0dd3495a5d0a459c061f31a0aa6aee2307a
refs/heads/master
2023-09-05T20:20:10.540474
2021-12-15T10:01:13
2021-12-15T10:01:13
89,311,508
38
28
Apache-2.0
2022-11-21T22:18:31
2017-04-25T03:06:07
Python
UTF-8
Python
false
false
4,280
py
''' this file is modified from keras implemention of data process multi-threading, see https://github.com/fchollet/keras/blob/master/keras/utils/data_utils.py ''' import time import numpy as np import threading import multiprocessing try: import queue except ImportError: import Queue as queue class GeneratorE...
[ "songxiang@songxiangdeMacBook-Pro.local" ]
songxiang@songxiangdeMacBook-Pro.local
653e51233beb25a27fbacb9af63ca363e5db0b88
66e262a0b1d51bb4ebd2fb960b055710de0568f2
/exercise14_1.py
f1804f7e08b0635d61756b421f2fceffac70d78a
[]
no_license
kiranmai524/python_tutorial
97fa96ce9f88b773928d4b51552a7b4b417bb921
7b44822bedf8c356f974705908d8f22725afd1e6
refs/heads/master
2021-03-12T23:43:21.678249
2012-05-07T07:30:05
2012-05-07T07:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
from sys import argv script,check1 , check2 = argv print "this is %s meant for checking. \n Are you %s from %s" %(script,check1,check2)
[ "Ram@Ram-VAIO.(none)" ]
Ram@Ram-VAIO.(none)
98952fb10cb1ca024f54f5d5c0ed1a7a188ee2fe
e70d8a72a793943418943cbb9ac9466338a62e68
/env/bin/jupyter
9d2f3a6e4c45876082d250a3642c0b2d736606e3
[]
no_license
smwitkowski/HHH-Roles
8209d690eaa5879224dd36d3aa784f6ee9ead866
b7d6fcb3896ed72b897feae1ee94ccf258f0b897
refs/heads/master
2022-10-28T05:21:48.790671
2019-06-01T23:58:42
2019-06-01T23:58:42
189,666,309
0
1
null
2022-10-22T08:38:30
2019-05-31T22:39:22
Jupyter Notebook
UTF-8
Python
false
false
281
#!/Users/user/Documents/Projects/python-virtual-environments/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_core.command import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "user@users-MBP.lan1" ]
user@users-MBP.lan1
0235d2d74cea99b568c3290179d49bebc8256fdc
94829120ea91ee9e8a9c364ae52c7b9f373656c1
/src/converters/rosbagConverter.py
79dedb35d5ade3db221e39a6f5976fd69d0c39ef
[]
no_license
asdewar/event_conversor
e27513ffda764459bc6ec65155a0e1d80d1e03a6
596fd63c9e4dc93684f551baf3f4f596ef84d83f
refs/heads/master
2023-07-11T10:07:33.744410
2021-07-12T14:11:48
2021-07-12T14:11:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
from src.utils.utils import combine, getNumProgress from src.format.bag.EventRosbag import Event as _Event from src.format.EventClass import Event from src.config.config import Config from src.ui.UI import UI import rosbag import rospy def rosbagToAbstract(input_file): UI().objectUI.showMessage("Starting to read ...
[ "acalderona01@gmail.com" ]
acalderona01@gmail.com
c9785cb018407216c693a97e4da6d2f252972802
688c581b1c01749b55a140c2adf47fe49d753fba
/context.py
effb04dc1dd1a687057a461f55f6ce684375d9b3
[]
no_license
SHERMANOUKO/randompythoncodes
c6ab9143a502507335a59444099429b0e3c04d22
6db95deec01e204a663f75a20859b549bb0df208
refs/heads/master
2020-09-18T20:31:30.410902
2019-12-11T08:00:33
2019-12-11T08:00:33
224,178,136
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
import os from contextlib import contextmanager class ManagedFile: """custom context manager to write to file""" def __init__(self, filename, mode): self.filename = filename self.mode = mode def __enter__(self): self.file = open(self.filename, self.mode) return self.fil...
[ "ouko.sherman@gmail.com" ]
ouko.sherman@gmail.com
77a8cbb0ab4ca0f3dcdc22b43343b07d3f3c7cfb
e0c7e860fad1875141ebe1a382bcd063075944c6
/paint.py
1fa85530093859d1bb2729790e29625c2d187ad3
[]
no_license
Papsmontes/Act1
a47c9e4c8846c98249abf2856acdb6444d631c29
32920fafafc1b9218fa5615deed07eae8ad37d68
refs/heads/master
2023-04-29T06:12:03.609627
2021-05-07T15:42:50
2021-05-07T15:42:50
365,277,362
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
"""Paint, for drawing shapes. Exercises 1. Add a color. 2. Complete circle. 3. Complete rectangle. 4. Complete triangle. 5. Add width parameter. """ from turtle import * from freegames import vector def line(start, end): "Draw line from start to end." up() goto(start.x, start.y) down() goto(e...
[ "a01424275@itesm.mx" ]
a01424275@itesm.mx
628eae0561be5dad283f41a184b1c89df422c8a0
e462ac112931ff289d8c1e0310efa26f2cc60405
/tests/test_api/test_extraction_api.py
db85e3b943c2c014ab99157b5a0c005abb45902b
[ "MIT" ]
permissive
PalmID/anteater
0a873dc348c8fc65cf29c895933dba9ca1acb5e1
54cd10a3fdee7ea69e0211717a55fd671b052d65
refs/heads/master
2023-02-07T18:45:04.935097
2019-01-18T15:17:17
2019-01-18T15:17:17
158,945,597
5
1
MIT
2023-02-02T04:40:23
2018-11-24T14:46:39
Python
UTF-8
Python
false
false
495
py
# Copyright (c) 2018 leosocy. All rights reserved. # Use of this source code is governed by a MIT-style license # that can be found in the LICENSE file. def test_create_palm_extraction_job(client): url = "/anteater/api/extraction/jobs" res = client.post(url, data={}) assert res.status_code == 400 asse...
[ "leosocy@gmail.com" ]
leosocy@gmail.com
56141ab1f36a5991fdb4b13da10601235ea38066
24298abd2af582ed31fb38ec4c68d36dd7bf8598
/estimate.py
a7dd4761aa713e8099d3c5270771902e5535e903
[]
no_license
csvetnicka/csvetnicka.github.io
a130c3f8098c0621f547abe84e8cce0a305874b7
32703c0955779928b8d728c7973d30d5340081c3
refs/heads/master
2020-06-13T20:22:37.320479
2016-12-04T20:39:16
2016-12-04T20:39:16
75,556,943
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
print(300 * 40 * 30 * 4 * 'a')
[ "ksandera@umich.edu" ]
ksandera@umich.edu
82396ee67f956b98de72435e594473346a7e1184
d64be58feb7262875e9f9f160b7cc699418b2e55
/IntroToMachineLearning/Abhi_ud120-projects/k_means/k_means_cluster.py
996ad381c50d5dd3ff17ad16a8cb8a0ed33c6599
[]
no_license
abhi0203/MachineLearning
6d52b55298305310c82a77d7b14500278dd6a7c5
4de95c2596a63c091bdd01e0a777438b345a2729
refs/heads/master
2021-09-20T17:21:50.571727
2018-08-13T02:58:53
2018-08-13T02:58:53
143,669,023
1
0
null
null
null
null
UTF-8
Python
false
false
2,814
py
#!/usr/bin/python """ Skeleton code for k-means clustering mini-project. """ import pickle import numpy import matplotlib.pyplot as plt import sys sys.path.append("../tools/") from feature_format import featureFormat, targetFeatureSplit def Draw(pred, features, poi, mark_poi=True, name="image.png", f1_nam...
[ "abhiram.vjti@gmail.com" ]
abhiram.vjti@gmail.com
8d8566234ea438d492afb7febfec544f5211e99a
e31c5eecfed4502e22c810e798003a40082c1279
/collab_app/models/profile.py
b0f8014e1dce8dfdda01aa008560123c152c54c1
[]
no_license
CollabSauce/collab-backend
96367dedce7d1b64d8921b74e5e22706384d4624
b8726c8ff43d8995415b7ac81b38bc6973943c50
refs/heads/master
2023-02-04T07:07:36.836601
2020-12-24T19:48:45
2020-12-24T19:48:45
290,001,519
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from django.conf import settings from django.db import models from collab_app.mixins.models import BaseModel class Profile(BaseModel): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
[ "cooperjbrandon@gmail.com" ]
cooperjbrandon@gmail.com
75ca7486648bdecf2f8c0a230e5a1429072c4711
04b7663dceeab120224ba391c941a6498097cf1d
/profe-08-09-2021-2.py
0862cbbd7c3c8ac466832247799e0a90c7f04451
[]
no_license
TeacherAndres/Teinco-electivaTecnologica
93217d58d95fdd6ddc027a40bc9957247ca5bf7e
5c8606f83ad32f22e295e6c8464eaba9e0aff1c5
refs/heads/master
2023-08-13T08:35:30.365866
2021-09-22T03:32:10
2021-09-22T03:32:10
402,059,881
0
1
null
null
null
null
UTF-8
Python
false
false
2,777
py
#Definir y crear diccionario (perro) perro = {'dueño': 'Federiko','raza':'canino','vacunas':['tosferina','rabia','cancha']} #Imprimir diccionario perro print(perro) #Imprimir valor por la llave print(perro['dueño']) #Imprimir valor por llave y pocision interna print(perro['vacunas']) print(perro['vacunas'][0]) print(pe...
[ "camilosama6@gmail.com" ]
camilosama6@gmail.com
e7b6cc2bcf1753ac1733d91128525009149d7115
fc9f070fcff2cee6d3acc7111c3c83c2c4652911
/blog/views.py
e464c8fbb592351c7ff248aff9831e1a4dafda7b
[]
no_license
hopgausi/Blog
26e5a8f6f95e18c39e0551832eb4fbd604141c87
43309c18e81d7ae3cb18be99fb7fd7aafa5d525f
refs/heads/master
2023-03-20T02:57:56.642381
2021-03-07T14:48:15
2021-03-07T14:48:15
289,376,271
0
0
null
null
null
null
UTF-8
Python
false
false
2,439
py
from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.contrib import messages from django.utils.text import slugify from django.views import generic from .model...
[ "jspyhack@gmail.com" ]
jspyhack@gmail.com
f44312a56f753dec7e321a13f2d402666c08d473
779af874adf1647461981b0c36530cf9924f5f01
/python3/dist-packages/plainbox/impl/exporter/text.py
c8889b30876cfff0a422e3a3d37debfa5f7bf396
[]
no_license
hitsuyo/Library_Python_3.5
8974b5de04cb7780b0a1a75da5cb5478873f08e7
374e3f9443e4d5cae862fd9d81db8b61030ae172
refs/heads/master
2022-11-05T23:46:47.188553
2018-01-04T19:29:05
2018-01-04T19:29:05
116,093,537
1
2
null
2022-10-26T03:07:06
2018-01-03T05:02:20
Python
UTF-8
Python
false
false
3,001
py
# This file is part of Checkbox. # # Copyright 2012 Canonical Ltd. # Written by: # Zygmunt Krynicki <zygmunt.krynicki@canonical.com> # # Checkbox is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3, # as published by the Free Software Foundation. #...
[ "nguyentansang3417@gmail.com" ]
nguyentansang3417@gmail.com
695e6a3453693a6839a8274d69b5d35e909f9015
a87f87e71d971bc8d6c205400052a47f8d957e5d
/psuedo_train.py
b0fd34acf099b173fe37b8a78a74967baf39f36e
[]
no_license
bcaitech1/p1-img-MaiHon
045eef675a92bb9b26532ff930f919fe3c6e6919
d17a925e301349e167327c5eab9d3b65f06d61a3
refs/heads/master
2023-04-08T10:22:25.803079
2021-04-19T12:22:12
2021-04-19T12:22:12
359,440,859
2
1
null
null
null
null
UTF-8
Python
false
false
3,604
py
import os import torch import random import argparse import numpy as np import pandas as pd import albumentations as A from tqdm import tqdm from src.models import * from src.configs.config import InferConfig from src.dataset import PseudoDataset import torch.nn.functional as F from torch.utils.data import DataLoader...
[ "mai.hong0924@gmail.com" ]
mai.hong0924@gmail.com
4f7b4debed8c09169aca4546cfce15ecead65567
3473f99b1832e261d1d98ef5a683aff2526b979f
/Binder/discussions/migrations/0016_notifications1.py
03b01b76fcad3d85b02eee1454d9d8d6e0c7ed4c
[ "MIT" ]
permissive
pavan71198/dashboard_IITG
ae8ac224de327d53f680dc76a07c0116ebd21d4a
28bc053eb5f8c81b1877796c7a2f960a7764dbb4
refs/heads/master
2020-03-24T01:30:36.010276
2018-03-07T09:56:35
2018-03-07T09:56:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# -*- coding: utf-8 -*- # Generated by Django 1.10a1 on 2016-07-07 12:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('discussions', '0015_auto_20160627_1450'), ] operations = [ migrations.Creat...
[ "er.mayank96@gmail.com" ]
er.mayank96@gmail.com
3d248b9822e566b434bc50291ba5c73e7f9d7aa3
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/aio/operations/_virtual_machine_run_commands_operations.py
ae68dd96f544a951679e1e4b41833dc0b708fe85
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
7,966
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
7dc433e6a444ecf139658897f4b616a313f2c5ee
050fc5ca698dfd7612dee42aa980fc7b5eee40a2
/tests/plugin/data/sw_kafka/test_kafka.py
30f9f02021b73bbc4f9a958cb224e19b9557fff7
[ "Apache-2.0" ]
permissive
apache/skywalking-python
8ac6ce06630c519f9984a45e74c1fcc88cf5b9d6
1a360228c63cd246dd4c5dd8e1f09bdd5556ad7d
refs/heads/master
2023-09-05T02:45:56.225937
2023-08-28T22:19:24
2023-08-28T22:19:24
261,456,329
178
122
Apache-2.0
2023-08-28T22:19:26
2020-05-05T12:13:49
Python
UTF-8
Python
false
false
1,352
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
apache.noreply@github.com
3dbad78ba483ba4a076743f3dc60241739f36cc7
dbf556a2085c45498f23d15a719b1a96b840ef8d
/Simple/LinkedListCycle.py
d8a483b4213f98ce897b4b124fba93cad96f2a4f
[]
no_license
FrancisFan98/Leetcode-
43cf46d88d8927848bf47a0a11aabdc1f9d8f628
a9b7e1e890417ae7352cc98bccddee27ce657b0f
refs/heads/master
2021-07-12T17:55:22.119661
2020-05-27T02:17:29
2020-05-27T02:17:29
142,628,815
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def hasCycle(self, head): """ :type head: ListNode :rtype: bool """ cur = head if head == None or hea...
[ "1125180016@qq.com" ]
1125180016@qq.com
8600e3c9ea89535253035fff93316cd1d4f2aaa2
e4384d6231d93171141b6e5023a31c01f3e2b5cc
/populate_rango.py
c592df4f8b332fe5b23210e19ea3cded5ef33816
[]
no_license
lumaen/tango_with_django_project
651a588dc1140c5005bf1976cce23c7af58663df
a56bbb9f1d317701cb42a4599cb3672b9b93b9d7
refs/heads/main
2023-03-02T16:12:20.961986
2021-02-05T14:44:58
2021-02-05T14:44:58
329,926,909
0
0
null
null
null
null
UTF-8
Python
false
false
2,612
py
# This script automatically populates the rango database import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tango_with_django_project.settings') import django django.setup() from rango.models import Category, Page # Actual method to populate the database def populate(): # Lists of d...
[ "2472780S@student.gla.ac.uk" ]
2472780S@student.gla.ac.uk
4dcda266d8a1504833b25c78716a5a608cb703b3
4c8228b9a5720e1159233d79f463645ffad2eb06
/notification/urls.py
b876c19f8a259655cf3ca99c0a0233734aae5c03
[]
no_license
prateek789/Device-Management
58e7eab68614eca3aea49228e6914828871e0bc6
0c33134ba0836624118ef3c3c21455f2c1b262ab
refs/heads/master
2021-01-20T02:42:04.694139
2017-04-27T09:05:33
2017-04-27T09:05:33
88,947,353
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from django.conf.urls import url from notification import views urlpatterns = [ url(r'^get-notification',views.get_notification,name='get-notification'), url(r'^desktop-notification',views.desktop_notification,name='desktop-notification'), url(r'^read-notification',views.read_notification,name='read-no...
[ "prateek.jain1@ideavate.com" ]
prateek.jain1@ideavate.com
a69501bb9f9d0f85d61b8e4912356da88c453e3b
2f2fb10563b48675e5eb81b146a2338cc19dc447
/nets/vgg.py
0cfacdebd317ed366c69eef94c74e6bec8845a7d
[ "MIT" ]
permissive
longzhen520/Tensor_Layer_for_Deep_Neural_Network_Compression
d18c2644c0ef7d78f7b4ce4006429c4ff1f1e1b7
2fe88a989501e4c1f5e17d05873efe6906f45c55
refs/heads/master
2023-01-15T08:07:26.950156
2020-11-26T15:26:50
2020-11-26T15:26:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn from torch.optim.lr_scheduler import StepLR import torchvision import torchvision.transforms as transforms from torchvision import models cfg = { 'VGG11': [64, 'M', 128, 'M', 2...
[ "yf2484@columbia.edu" ]
yf2484@columbia.edu
c1df6bee7a57594a891bdba1e1db902dc79666e4
c6c26afe18ad61c687ba57bd43d68858be2908a8
/tflite1-env/lib/python3.7/site-packages/pandas/tests/io/test_html.py
af2fcaf183913a58afdd15e0bba82f61b29f0e4e
[]
no_license
FurkanDemiray/PiAlarm
5eb6996a0bf22efa939fc034b4b618481b7a0ef6
ed0c20f26c2e23d4d94afaacce12ef85bc627c63
refs/heads/master
2022-12-02T18:08:57.460129
2020-08-21T18:50:44
2020-08-21T18:50:44
289,323,067
2
0
null
null
null
null
UTF-8
Python
false
false
34,424
py
from __future__ import print_function import os import re import threading from functools import partial import pytest import numpy as np from numpy.random import rand from pandas import (DataFrame, MultiIndex, read_csv, Timestamp, Index, date_range, Series) from pandas.compat import (map, zip,...
[ "furkan.demiray08@gmail.com" ]
furkan.demiray08@gmail.com
70c3c0d93eb896c3ee369ec5553227a67a88c379
d2a030f7a050a641fddd657e895651ee0310ae41
/givers/migrations/0005_auto_20210907_2029.py
171e7f8a50f139766839d1879f38085452c55ea8
[]
no_license
Shawen17/Giveawaynow
f052a1055a96f2d0a392aaf748adcafbec2a5135
92f3bc0b359a712776661348e239b492894b81a1
refs/heads/master
2023-09-05T00:28:59.237486
2021-10-24T21:12:37
2021-10-24T21:12:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
# Generated by Django 3.1.13 on 2021-09-07 19:29 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('givers', '0004_vendor_v...
[ "shawen022@yahoo.com" ]
shawen022@yahoo.com
4949fecd8736ec02cd382e73f6d52b49b11481e7
9249947c07f8addf64dd3d2a2f9f37d379f83921
/libs/paramiko/__init__.py
9e2ba013c33361a03c18e2ef64327289c8e2581b
[ "MIT" ]
permissive
operepo/ope
eb71aa763d157416009d7c3052ace11852660e0a
018c82af46845315795c67c36801e2a128f515d5
refs/heads/master
2023-08-08T15:05:28.592589
2023-07-25T00:22:24
2023-07-25T00:22:24
96,855,111
12
11
MIT
2023-03-03T15:10:34
2017-07-11T05:42:14
Perl
UTF-8
Python
false
false
3,922
py
# Copyright (C) 2003-2011 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
[ "rpulsipher@pencol.edu" ]
rpulsipher@pencol.edu
4bb323f332c4b4171eb8fc81e644fc306a720eff
e9bfbb32f8e682afae8505fb45e32571ad866080
/Drills/Drill-05/move_character_with_mouse.py
49a36e0695819c4f5386fd35730a7181f5c93e2f
[]
no_license
msbk427/2014182020-2DGP
4f0834bcb2320b56bff1e1eec8d2f24baa40a555
90bcaf0027d73d4c819d0d2399ac664f70081541
refs/heads/master
2020-08-05T23:00:51.053010
2019-12-02T03:18:38
2019-12-02T03:18:38
212,746,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
from pico2d import * KPU_WIDTH, KPU_HEIGHT = 1280, 1024 def handle_events(): global running global x, y global cx, cy events = get_events() for event in events: if event.type == SDL_QUIT: running = False elif event.type == SDL_MOUSEMOTION: x, y = event.x, K...
[ "msbk427@naver.com" ]
msbk427@naver.com
4d4a74d4003bc1e926a3fae3b93b30311cdc107c
0244e54a42231399e84b40ca8b5b70fb75f92e13
/crm/views.py
2f75f50e52fda92722603394dab4375ecf555591
[]
no_license
wkoonings/maverickfoodservicewillem
43371cd367d4b8d0d483aa4e70809cedeea2a431
f5605c4714a7a6d9cf937d9ee076e41f912c65e4
refs/heads/master
2022-11-30T02:22:02.485874
2019-11-17T03:06:08
2019-11-17T03:06:08
212,730,718
0
0
null
2022-11-22T02:40:42
2019-10-04T03:44:43
HTML
UTF-8
Python
false
false
7,429
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, get_object_or_404, redirect from .models import * from .forms import * from django.db.models import Sum from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status ...
[ "willem_koonings@hotmail.com" ]
willem_koonings@hotmail.com
19effaf2fd28cbfbcc5bf1197122f93d208d746b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-res/huaweicloudsdkres/v1/model/show_res_datasource_request.py
174e9c77405184d91a01ce3c43989fd6fba03d2b
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,956
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowResDatasourceRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
8c9fc38f1538d4919a49ff72447c1c932fc03db5
0c0ec63b2dc805be3affc7a5e501c2a23c8a16ac
/ml_process/stock/test.py
d58e5eb639df4fb2bfaafb6b8e3619b495e012c2
[]
no_license
choochootrain/newty2
4cb4cc1d9942729a3ca389cc6a35d1a769dafdb8
022b1eaedb87f290e23e7faf516d4bb2f42424c9
refs/heads/master
2021-01-22T06:44:16.840231
2013-05-17T20:48:21
2013-05-17T20:48:21
9,737,048
2
0
null
null
null
null
UTF-8
Python
false
false
90
py
f = open('AAPL.npy', 'r') import numpy x = numpy.load(f) print x print 'one_result', x[0]
[ "lu.cheng@berkeley.edu" ]
lu.cheng@berkeley.edu
ea826e75e6998d1dcfa8a8729f39b309e8af21ba
4a83e737212f0c5f83e13be33deeeec1a8a0f4f3
/posts/models.py
c1da3670d120cf3d154b3b10fc97e667b2374f0a
[]
no_license
4dragunov/praktikum_social_network
c83e6a9d1eea1d0980f315abdc6df3e68dbdcef3
c5a521df9bd5641ec2946edaf4fdc0922f32accb
refs/heads/master
2023-02-13T20:47:08.787317
2021-01-12T16:53:14
2021-01-12T16:53:14
288,222,320
3
6
null
null
null
null
UTF-8
Python
false
false
1,598
py
from django.contrib.auth import get_user_model from django.db import models User = get_user_model() class Group(models.Model): title = models.CharField(max_length=200) description = models.TextField() slug = models.SlugField(max_length=50, unique=True) def __str__(self): return self.title c...
[ "4dragunov@gmail.com" ]
4dragunov@gmail.com
3a6ccd4f7a0edffa6f93e9687c076417d0a1b0d7
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/__hooks__.py
85e30235b7cb2d5c0d2088433d93d3f9f0f6c835
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
479
py
RELOADER_ENABLED = False __enable_gc_callback = True import gc try: import _profile except: __enable_gc_callback = False def system_init(gameplay): import sims4.importer sims4.importer.enable() print('Server Startup') if __enable_gc_callback: gc.callbacks.append(_profile.notify...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
cb5b9d62e05d98b76c67688a3d75d3244e7b7adb
6436424c051740418a7f7fbf1d1c9eecbebd6076
/example/pull_data.py
4fc471b57683bfb5245e81c001231004df7e197d
[]
no_license
sweetaz/ClientSDK
d0cc4e0facb34af5de15d7f1e17ecc95bc49d44d
774793b0ddf660a6be9710c4d3ef81e59dd66236
refs/heads/master
2022-08-01T02:04:10.035693
2020-05-18T23:02:41
2020-05-18T23:02:41
267,210,826
0
0
null
2020-05-27T03:25:02
2020-05-27T03:25:01
null
UTF-8
Python
false
false
1,196
py
# pylint: disable=W0703 import sys from thematic_client_sdk import Auth, ThematicClient def main(): # get token and args from command line if len(sys.argv) < 3: print("Usage: "+sys.argv[0]+' <refresh_token> <survey_id> <result_id>') exit() refresh_token = sys.argv[1] survey_id = sys....
[ "nathan@getthematic.com" ]
nathan@getthematic.com
1f57a361859833b5623a103f29d1b18d051e101f
05bec8583ff39d864557ea5df51a6ec2d14ede03
/ms/accounts/migrations/0012_auto__add_field_myprofile_revenue__add_field_myprofile_balance.py
c0319c1d1e8ed753690eb13c4d497571ee22b0bb
[ "MIT" ]
permissive
joeyjy/ayi-django
7a0164a61b24393c4cf132bf1abc9cd6032baa68
de72f82a3754a56dc77c21501baa5809b6410057
refs/heads/master
2016-09-06T10:23:45.131049
2015-02-03T09:52:44
2015-02-03T09:52:44
21,931,383
1
0
null
null
null
null
UTF-8
Python
false
false
7,935
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'MyProfile.revenue' db.add_column(u'accounts_myprofile', '...
[ "joeyjy@outlook.com" ]
joeyjy@outlook.com
851ad067a6a1447415a84ba38c63afa33fab9098
ea0d8dc86b07c802769d74dc38d97154a79c1dcf
/window-introduction.py
c8b52caf7711f6339afae5e9ea31c75dda603f10
[]
no_license
aachellis/Spark-Join-Window_Introduction
a0d33934f23f7b11e5dcb70a1087adba58daed6a
cb237cbc152f2deec9ffe8d034550fea8d8e9e31
refs/heads/master
2022-12-08T21:03:34.607144
2020-08-04T03:27:59
2020-08-04T03:27:59
284,867,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
''' At its core, a window function calculates a return value for every input row of a table based on a group of rows, called the Frame. Every input row can have a unique frame associated with it. This characteristic of window functions makes them more powerful than other functions and allows users to express various d...
[ "noreply@github.com" ]
aachellis.noreply@github.com
3246ee08ccb18b69003effd0ef68bc968dc2dc72
6ea7ed159566fa290dbdf1524bba3ceec9c2da6a
/recipe_scraper/models.py
5355e123eec8721924911dc52c29f4f7a29d6b16
[]
no_license
jeffrey-hung/recipe-scraper
9215cc23275d64d9262a98a130269c01acf7b1ac
7b2073b70d5d7434501e8d84037da239087c902e
refs/heads/master
2022-11-25T18:14:38.889719
2019-11-29T06:46:33
2019-11-29T06:46:33
224,792,882
0
0
null
2022-11-22T04:51:46
2019-11-29T06:42:03
JavaScript
UTF-8
Python
false
false
1,694
py
from django.db import models from django.contrib.auth import get_user_model # Create your models here. class Ingredient(models.Model): name = models.CharField( max_length=200, primary_key=True, ) def __str__(self): return self.name class Recipe(models.Model): nam...
[ "noreply@github.com" ]
jeffrey-hung.noreply@github.com
f83d582584b1f3898d024e48b6fb7fe03a1db33f
fdab0c18eab28477d0980723c5ac5b4ba10c506f
/shelf/__init__.py
7a691c178c4a1e6817a33c9fb6cc581431763af4
[ "MIT" ]
permissive
MIT-Informatics/PreservationSimulation
58b53595841c39e1fe00a05241be43ed0bcf6430
38c6641a25108022ce8f225a352f566ad007b0f3
refs/heads/master
2021-08-25T10:35:46.066554
2021-08-24T20:17:13
2021-08-24T20:17:13
17,369,426
9
0
NOASSERTION
2021-03-20T02:55:37
2014-03-03T15:03:30
R
UTF-8
Python
false
false
30
py
# Nothing to say here, yet.
[ "landau@ricksoft.com" ]
landau@ricksoft.com
8434e794040a56ddfae1683df8ef406eb49ca681
ea43ceb244b86f73fd8cee09da3a4b3d86f4100d
/SeamCarvingReduceWidth.py
cec01c60fc8826e9f93a349c923461513e366781
[]
no_license
SrinidhiPalwayi/ps2
0cdf6786f4cfe1e7bc23e27e29e09fa66719409d
c8920888b9e83996da2865af01dbc9955dcaae77
refs/heads/master
2020-03-30T07:06:52.738058
2018-10-02T23:30:31
2018-10-02T23:30:31
150,916,170
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
from cumulative_minimum_energy_map import cumulative_minimum_energy_map from find_optimal_vertical_seam import find_optimal_vertical_seam from energy_image import energy_image from reduceWidth import reduceWidth import matplotlib.pylab as plt import numpy as np import scipy.misc image = 'inputSeamCarvingPrague.jpg' ...
[ "srinidhipalwayi@lawn-143-215-123-240.lawn.gatech.edu" ]
srinidhipalwayi@lawn-143-215-123-240.lawn.gatech.edu
78dfc7827343c4caa8b548bc7ae34fd16337a447
76326907ce2dc3407e81c29f450492266d8a36a4
/usuarios/forms.py
4dcbac355139f46a42c362607a10894a99c7c247
[]
no_license
embolatado/ffwapp
a193e2f0083fe728b61a4be4963bda9c9f998415
2533cb8474967994de00c2042a99da32fdd13eb6
refs/heads/main
2023-05-12T23:39:12.069268
2021-05-23T00:21:09
2021-05-23T00:21:09
365,068,940
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class UsuarioRegistroForm(UserCreationForm): email = forms.EmailField() class Meta: model = User fields = ['username', 'email', 'password1', 'password2']
[ "embolatado@gmail.com" ]
embolatado@gmail.com
6ddb8e3c2e4fe29b69b14ca4ef76e926ce5243b2
fd9dd0b4aea0f55e2b35529462bf5fa7bd4f9d33
/test.py
85cc06087dbb4615d77c4fd7382cdab9d535dd14
[]
no_license
mraines4/Python_wk1
833a48f6576cb2130c02516c69a537a1a4e0f158
88bb07b706a67254d795e616412b2baf70217e6c
refs/heads/master
2020-04-23T16:05:43.731860
2019-02-19T20:28:39
2019-02-19T20:28:39
171,286,541
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
user = input('type number ') if user.isdigit(): print('yes') else: print('no')
[ "mraines4@DC-MacBook-Air.T-mobile.com" ]
mraines4@DC-MacBook-Air.T-mobile.com
9f91ebdd34a36490f95c4dd170707f89b982530a
122280a785fe08f6f520ad510068c584bc216a79
/src/lr_schedulers.py
ba5bea2bf04ed1c6f8b8ce0b1378c0a024596807
[]
no_license
AniketGurav/forensic-writer-identification-and-writer-retrieval-using-a-vision-transformer
9824cc68854f8c4c5600e50272663e422d4ccc83
74421c74782cd03725f315f42b310e33afbda921
refs/heads/main
2023-09-04T22:48:02.753712
2021-11-14T13:12:01
2021-11-14T13:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
class WarmUpLR: """Learning rate warmup scheduler as used by [1] (implementation: [2]). The learning rate is warmed up by dividing the initial learning rate by (`num_epochs_warm_up` - i), where i is the current epoch (0 based indexing). After the learning rate was warmed up for `num_epochs_warm_up` epo...
[ "michael.koepf@tuwien.ac.at" ]
michael.koepf@tuwien.ac.at
f1ed979f7f03e65b62d9aaaf4f00cfeb7810bf4c
17b0e3401dd87d936a8d9f76f3415bef9760741f
/survey_app/choose-3/utils.py
ade77ccb1b252cebd418e3aa83da715a50e7fe25
[]
no_license
ahare63/categorical-to-latent
6d95d133e1305ef20947554847bfb1f8b0dafec5
18789af26e7e9f5d46feed663baeea3a1c4a5a55
refs/heads/master
2023-01-22T19:52:52.573417
2020-12-02T22:14:06
2020-12-02T22:14:06
302,120,024
1
0
null
null
null
null
UTF-8
Python
false
false
2,691
py
import glob import json # Go through all responses and condense results into single output def get_response_results(include_never=True): with open("results_template.json", 'r') as f: summary = json.load(f) # Iterate through each response files = glob.glob("./responses/*.json") for f in fil...
[ "adam.hare@zoomi.ai" ]
adam.hare@zoomi.ai