gan3sh500 / test-issues-repo Goto Github PK
View Code? Open in Web Editor NEWMaking some issue formats.
Making some issue formats.
What if the issue has multiple code blocks? Without the specification of language used? and comments inside the code? Like this?
import SampleClass obj = SampleClass()
Now with multiple code quotes
import SampleClass obj1 = SampleClass()
Python can be specified now
import SampleClass
obj2 = SampleClass()
obj2 += (3/2) - 5 > 6 ? 1<2 : 5
obj2 = obj2 ^ 4 ** 2
a = [ 1, 2 ]
some_string = "@%$
obj2 = obj2 & obj2 | ~obj2
# Add a single line comment
Oh no, There's a comment now
import SampleClass
'''This could be a comment'''
obj3 = SampleClass()
import pytorch_lightning as pl
from pl_bolts.models.self_supervised import SwAV
from pl_bolts.datamodules import STL10DataModule
from pl_bolts.models.self_supervised.swav.transforms import (
SwAVTrainDataTransform, SwAVEvalDataTransform
)
from pl_bolts.transforms.dataset_normalizations import stl10_normalization
# data
batch_size = 128
dm = STL10DataModule(data_dir='.', batch_size=batch_size)
dm.train_dataloader = dm.train_dataloader_mixed
dm.val_dataloader = dm.val_dataloader_mixed
dm.train_transforms = SwAVTrainDataTransform(
normalize=stl10_normalization()
)
dm.val_transforms = SwAVEvalDataTransform(
normalize=stl10_normalization()
)
# model
model = SwAV(
gpus=-1,
num_samples=dm.num_unlabeled_samples,
dataset='stl10',
batch_size=batch_size
)
# fit
trainer = pl.Trainer(precision=16)
trainer.fit(model)
Add some functionality.
sample = SampleClass()
sample.do_something()
This class fails to init.
sample = SampleClass()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.