Commit
·
596bcee
1
Parent(s):
80fec49
Update parquet files (step 11 of 121)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- spaces/17TheWord/RealESRGAN/tests/test_model.py +0 -126
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Activation Code For Renee Undeleter Mega Download and Install the Software Now.md +0 -163
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Amityville La Maison Du Diable French Torrent 57 The Complete History And Timeline Of The Events.md +0 -88
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Authorization Code for Dreamweaver CS3 Crack Where to Find It and How to Install It.md +0 -140
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Digi Sm 100 Software Download REPACK.md +0 -78
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/EaseUS Data Recovery Full Crack for Windows 11 What You Need to Know Before You Download It.md +0 -33
- spaces/1gistliPinn/ChatGPT4/Examples/Counter Strike Global Offensive Patch Fr !!TOP!!.md +0 -6
- spaces/1gistliPinn/ChatGPT4/Examples/Download !LINK! Visualsvn.server.enterprise.edition.license.key.Serials.rar 16.md +0 -153
- spaces/1line/AutoGPT/autogpt/promptgenerator.py +0 -138
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Crazy Fox MP3 Songs Free Download Stream and Download Crazy Fox Music.md +0 -126
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Criminal Case Save the World! Mod APK - A Fun and Challenging Game with Infinite Money Energy and Stars.md +0 -128
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download City Bus Simulator 3D Offline Mod Apk and Enjoy Realistic Bus Driving.md +0 -97
- spaces/1phancelerku/anime-remove-background/Brawl Stars Hack Mod APK The Ultimate Cheat for Brawl Stars Fans.md +0 -116
- spaces/1phancelerku/anime-remove-background/Craftsman Building Craft - Google Playde En ok ndirilen Oyun.md +0 -117
- spaces/1toTree/lora_test/ppdiffusers/pipelines/paint_by_example/image_encoder.py +0 -75
- spaces/2023Liu2023/bingo/src/components/external-link.tsx +0 -30
- spaces/801artistry/RVC801/Fixes/local_fixes.py +0 -136
- spaces/AI-Dashboards/Streamlit-Plotly_Graph-Objects/app.py +0 -29
- spaces/AIGC-Audio/AudioGPT/NeuralSeq/configs/tts/libritts/pre_align.py +0 -27
- spaces/AIGText/GlyphControl/ldm/modules/image_degradation/__init__.py +0 -2
- spaces/AIZ2H/08-Search-Streamlit-Session-State-QueryParameters/app.py +0 -209
- spaces/AchyuthGamer/Free-Accounts-Generator/index.html +0 -58
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/alphamaskimage/Factory.d.ts +0 -7
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/dynamictext/DynamicText.d.ts +0 -2
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/maker/builders/CreateFixWidthButtons.js +0 -18
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/numberbar/NumberBar.js +0 -232
- spaces/AlexWang/lama/fetch_data/eval_sampler.py +0 -21
- spaces/Alpaca233/SadTalker/src/face3d/extract_kp_videos_safe.py +0 -151
- spaces/Ammar-alhaj-ali/LayoutLMv3-Invoice/app.py +0 -113
- spaces/AnTo2209/3D_Zeroshot_Neural_Style_Transfer/src/utils/renderer.py +0 -328
- spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/scripts/convert_shap_e_to_diffusers.py +0 -1080
- spaces/Andy1621/uniformer_image_detection/configs/nas_fpn/README.md +0 -26
- spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_512x1024_80k_cityscapes.py +0 -2
- spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmcv/runner/epoch_based_runner.py +0 -187
- spaces/Aqdas/YouTube_Video_OpenAI_whisper/README.md +0 -13
- spaces/ArchitSharma/Digital-Photo-Color-Restoration/src/deoldify/device_id.py +0 -12
- spaces/Armandoliv/whisper-biomedical-ner/README.md +0 -12
- spaces/ArnePan/German-LLM-leaderboard/constants.py +0 -25
- spaces/Arnx/MusicGenXvAKN/tests/data/test_audio.py +0 -239
- spaces/ArtGAN/Diffusion-API/diffusion_webui/diffusion_models/controlnet_pipeline.py +0 -262
- spaces/AvinashRamesh23/AIEditor/README.md +0 -12
- spaces/Awesimo/jojogan/e4e/datasets/__init__.py +0 -0
- spaces/BL00DY-257/dolle-mini-lol/html2canvas.js +0 -0
- spaces/BatuhanYilmaz/Whisper-Auto-Subtitled-Video-Generator/utils.py +0 -96
- spaces/Benson/text-generation/Examples/Ciudad Smash Hack Apk.md +0 -67
- spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/requests/help.py +0 -131
- spaces/Big-Web/MMSD/env/Lib/site-packages/urllib3/__init__.py +0 -102
- spaces/Billyosoro/ESRGAN/realesrgan/models/realesrnet_model.py +0 -188
- spaces/CVPR/LIVE/thrust/thrust/pair.h +0 -283
- spaces/CVPR/LIVE/thrust/thrust/system/omp/detail/mismatch.h +0 -23
spaces/17TheWord/RealESRGAN/tests/test_model.py
DELETED
@@ -1,126 +0,0 @@
|
|
1 |
-
import torch
|
2 |
-
import yaml
|
3 |
-
from basicsr.archs.rrdbnet_arch import RRDBNet
|
4 |
-
from basicsr.data.paired_image_dataset import PairedImageDataset
|
5 |
-
from basicsr.losses.losses import GANLoss, L1Loss, PerceptualLoss
|
6 |
-
|
7 |
-
from realesrgan.archs.discriminator_arch import UNetDiscriminatorSN
|
8 |
-
from realesrgan.models.realesrgan_model import RealESRGANModel
|
9 |
-
from realesrgan.models.realesrnet_model import RealESRNetModel
|
10 |
-
|
11 |
-
|
12 |
-
def test_realesrnet_model():
|
13 |
-
with open('tests/data/test_realesrnet_model.yml', mode='r') as f:
|
14 |
-
opt = yaml.load(f, Loader=yaml.FullLoader)
|
15 |
-
|
16 |
-
# build model
|
17 |
-
model = RealESRNetModel(opt)
|
18 |
-
# test attributes
|
19 |
-
assert model.__class__.__name__ == 'RealESRNetModel'
|
20 |
-
assert isinstance(model.net_g, RRDBNet)
|
21 |
-
assert isinstance(model.cri_pix, L1Loss)
|
22 |
-
assert isinstance(model.optimizers[0], torch.optim.Adam)
|
23 |
-
|
24 |
-
# prepare data
|
25 |
-
gt = torch.rand((1, 3, 32, 32), dtype=torch.float32)
|
26 |
-
kernel1 = torch.rand((1, 5, 5), dtype=torch.float32)
|
27 |
-
kernel2 = torch.rand((1, 5, 5), dtype=torch.float32)
|
28 |
-
sinc_kernel = torch.rand((1, 5, 5), dtype=torch.float32)
|
29 |
-
data = dict(gt=gt, kernel1=kernel1, kernel2=kernel2, sinc_kernel=sinc_kernel)
|
30 |
-
model.feed_data(data)
|
31 |
-
# check dequeue
|
32 |
-
model.feed_data(data)
|
33 |
-
# check data shape
|
34 |
-
assert model.lq.shape == (1, 3, 8, 8)
|
35 |
-
assert model.gt.shape == (1, 3, 32, 32)
|
36 |
-
|
37 |
-
# change probability to test if-else
|
38 |
-
model.opt['gaussian_noise_prob'] = 0
|
39 |
-
model.opt['gray_noise_prob'] = 0
|
40 |
-
model.opt['second_blur_prob'] = 0
|
41 |
-
model.opt['gaussian_noise_prob2'] = 0
|
42 |
-
model.opt['gray_noise_prob2'] = 0
|
43 |
-
model.feed_data(data)
|
44 |
-
# check data shape
|
45 |
-
assert model.lq.shape == (1, 3, 8, 8)
|
46 |
-
assert model.gt.shape == (1, 3, 32, 32)
|
47 |
-
|
48 |
-
# ----------------- test nondist_validation -------------------- #
|
49 |
-
# construct dataloader
|
50 |
-
dataset_opt = dict(
|
51 |
-
name='Demo',
|
52 |
-
dataroot_gt='tests/data/gt',
|
53 |
-
dataroot_lq='tests/data/lq',
|
54 |
-
io_backend=dict(type='disk'),
|
55 |
-
scale=4,
|
56 |
-
phase='val')
|
57 |
-
dataset = PairedImageDataset(dataset_opt)
|
58 |
-
dataloader = torch.utils.data.DataLoader(dataset=dataset, batch_size=1, shuffle=False, num_workers=0)
|
59 |
-
assert model.is_train is True
|
60 |
-
model.nondist_validation(dataloader, 1, None, False)
|
61 |
-
assert model.is_train is True
|
62 |
-
|
63 |
-
|
64 |
-
def test_realesrgan_model():
|
65 |
-
with open('tests/data/test_realesrgan_model.yml', mode='r') as f:
|
66 |
-
opt = yaml.load(f, Loader=yaml.FullLoader)
|
67 |
-
|
68 |
-
# build model
|
69 |
-
model = RealESRGANModel(opt)
|
70 |
-
# test attributes
|
71 |
-
assert model.__class__.__name__ == 'RealESRGANModel'
|
72 |
-
assert isinstance(model.net_g, RRDBNet) # generator
|
73 |
-
assert isinstance(model.net_d, UNetDiscriminatorSN) # discriminator
|
74 |
-
assert isinstance(model.cri_pix, L1Loss)
|
75 |
-
assert isinstance(model.cri_perceptual, PerceptualLoss)
|
76 |
-
assert isinstance(model.cri_gan, GANLoss)
|
77 |
-
assert isinstance(model.optimizers[0], torch.optim.Adam)
|
78 |
-
assert isinstance(model.optimizers[1], torch.optim.Adam)
|
79 |
-
|
80 |
-
# prepare data
|
81 |
-
gt = torch.rand((1, 3, 32, 32), dtype=torch.float32)
|
82 |
-
kernel1 = torch.rand((1, 5, 5), dtype=torch.float32)
|
83 |
-
kernel2 = torch.rand((1, 5, 5), dtype=torch.float32)
|
84 |
-
sinc_kernel = torch.rand((1, 5, 5), dtype=torch.float32)
|
85 |
-
data = dict(gt=gt, kernel1=kernel1, kernel2=kernel2, sinc_kernel=sinc_kernel)
|
86 |
-
model.feed_data(data)
|
87 |
-
# check dequeue
|
88 |
-
model.feed_data(data)
|
89 |
-
# check data shape
|
90 |
-
assert model.lq.shape == (1, 3, 8, 8)
|
91 |
-
assert model.gt.shape == (1, 3, 32, 32)
|
92 |
-
|
93 |
-
# change probability to test if-else
|
94 |
-
model.opt['gaussian_noise_prob'] = 0
|
95 |
-
model.opt['gray_noise_prob'] = 0
|
96 |
-
model.opt['second_blur_prob'] = 0
|
97 |
-
model.opt['gaussian_noise_prob2'] = 0
|
98 |
-
model.opt['gray_noise_prob2'] = 0
|
99 |
-
model.feed_data(data)
|
100 |
-
# check data shape
|
101 |
-
assert model.lq.shape == (1, 3, 8, 8)
|
102 |
-
assert model.gt.shape == (1, 3, 32, 32)
|
103 |
-
|
104 |
-
# ----------------- test nondist_validation -------------------- #
|
105 |
-
# construct dataloader
|
106 |
-
dataset_opt = dict(
|
107 |
-
name='Demo',
|
108 |
-
dataroot_gt='tests/data/gt',
|
109 |
-
dataroot_lq='tests/data/lq',
|
110 |
-
io_backend=dict(type='disk'),
|
111 |
-
scale=4,
|
112 |
-
phase='val')
|
113 |
-
dataset = PairedImageDataset(dataset_opt)
|
114 |
-
dataloader = torch.utils.data.DataLoader(dataset=dataset, batch_size=1, shuffle=False, num_workers=0)
|
115 |
-
assert model.is_train is True
|
116 |
-
model.nondist_validation(dataloader, 1, None, False)
|
117 |
-
assert model.is_train is True
|
118 |
-
|
119 |
-
# ----------------- test optimize_parameters -------------------- #
|
120 |
-
model.feed_data(data)
|
121 |
-
model.optimize_parameters(1)
|
122 |
-
assert model.output.shape == (1, 3, 32, 32)
|
123 |
-
assert isinstance(model.log_dict, dict)
|
124 |
-
# check returned keys
|
125 |
-
expected_keys = ['l_g_pix', 'l_g_percep', 'l_g_gan', 'l_d_real', 'out_d_real', 'l_d_fake', 'out_d_fake']
|
126 |
-
assert set(expected_keys).issubset(set(model.log_dict.keys()))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Activation Code For Renee Undeleter Mega Download and Install the Software Now.md
DELETED
@@ -1,163 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Activation Code For Renee Undeleter Mega</h1>
|
3 |
-
<p>Have you ever accidentally deleted some important files from your computer, USB drive, memory card, or other devices? Have you ever formatted your hard disk or partition and lost all your data? Have you ever encountered a virus attack, system crash, or power failure that caused data loss?</p>
|
4 |
-
<h2>Activation Code For Renee Undeleter mega</h2><br /><p><b><b>Download</b> ○ <a href="https://byltly.com/2uKvP1">https://byltly.com/2uKvP1</a></b></p><br /><br />
|
5 |
-
<p>If you have faced any of these situations, you might be looking for a reliable and effective data recovery software that can help you recover your lost files. One of the best data recovery software in the market is Renee Undeleter Mega.</p>
|
6 |
-
<p>In this article, we will introduce you to Renee Undeleter Mega, its features and benefits, and how to get an activation code for it. We will also compare two options for getting an activation code: buying a license or using a crack. Finally, we will show you how to activate Renee Undeleter Mega with the activation code.</p>
|
7 |
-
<h2>What is Renee Undeleter Mega?</h2>
|
8 |
-
<p>Renee Undeleter Mega is a powerful and professional data recovery software that can help you recover deleted, formatted, or lost files from various devices and scenarios. It supports recovering data from PC, laptop, hard drive, external disk, USB drive, SD card, digital camera, mobile phone, and more. It can also recover data from different file systems, such as NTFS, FAT32, FAT16, exFAT, EXT3/4, and more.</p>
|
9 |
-
<p>Renee Undeleter Mega has four main modes of data recovery: Fast Partition Scan, Whole Partition Scan, Whole Disk Scan, and Image Creation. You can choose the most suitable mode according to your data loss situation and device type. It can recover various types of files, such as photos, videos, audio files, documents, emails, archives, and more. It also allows you to preview the files before recovering them.</p>
|
10 |
-
<h3>Features of Renee Undeleter Mega</h3>
|
11 |
-
<p>Some of the main features of Renee Undeleter Mega are:</p>
|
12 |
-
<ul>
|
13 |
-
<li>It can recover deleted files from recycle bin or by using Shift + Delete keys.</li>
|
14 |
-
<li>It can recover formatted or corrupted data from hard disk or partition.</li>
|
15 |
-
<li>It can recover lost data due to virus attack, system crash, power failure, or other reasons.</li>
|
16 |
-
<li>It can recover data from various devices and file systems.</li>
|
17 |
-
<li>It can recover various types of files with high quality and speed.</li>
|
18 |
-
<li>It can preview the files before recovering them.</li>
|
19 |
-
<li>It can create an image of the disk or partition for backup or recovery purposes.</li>
|
20 |
-
<li>It can resume the recovery process from the last scan result.</li>
|
21 |
-
<li>It has a user-friendly interface and easy-to-follow steps.</li>
|
22 |
-
</ul>
|
23 |
-
<h3>Benefits of Renee Undeleter Mega</h3>
|
24 |
-
<p>Some of the benefits of using Renee Undeleter Mega are:</p>
|
25 |
-
<ul>
|
26 |
-
<li>It can help you recover your precious data that you thought was gone forever.</li>
|
27 |
-
<li>It can save you time and money by avoiding the need to hire a professional data recovery service.</li>
|
28 |
-
<li>It can protect your privacy and security by recovering your data without uploading it to any server or cloud.</li>
|
29 |
-
<li>It can improve your productivity and efficiency by restoring your important files and documents.</li>
|
30 |
-
<li>It can give you peace of mind by knowing that you have a reliable backup solution in case of any data loss emergency.</li>
|
31 |
-
</ul>
|
32 |
-
<h2>How to Get Activation Code For Renee Undeleter Mega?</h2>
|
33 |
-
<p>To use Renee Undeleter Mega fully and without any limitations, you need to get an activation code for it. An activation code is a serial number that can unlock all the features and functions of the software. There are two main options for getting an activation code for Renee Undeleter Mega: buying a license or using a crack. Let's compare these two options in detail.</p>
|
34 |
-
<h3>Option 1: Buy Renee Undeleter Mega License</h3>
|
35 |
-
<p>The first and recommended option for getting an activation code for Renee Undeleter Mega is to buy a license from the official website of the software. A license is a legal and authorized way of using the software. By buying a license, you will get a genuine activation code that can activate the software permanently. You will also get free updates and technical support from the developer.</p>
|
36 |
-
<p>How to get activation code for Renee Undeleter mega<br />
|
37 |
-
Renee Undeleter mega activation code crack<br />
|
38 |
-
Renee Undeleter mega activation code free download<br />
|
39 |
-
Renee Undeleter mega activation code generator<br />
|
40 |
-
Renee Undeleter mega activation code keygen<br />
|
41 |
-
Renee Undeleter mega activation code license key<br />
|
42 |
-
Renee Undeleter mega activation code serial number<br />
|
43 |
-
Renee Undeleter mega activation code torrent<br />
|
44 |
-
Renee Undeleter mega activation code working<br />
|
45 |
-
Renee Undeleter mega crack with activation code<br />
|
46 |
-
Renee Undeleter mega free activation code 2023<br />
|
47 |
-
Renee Undeleter mega full version with activation code<br />
|
48 |
-
Renee Undeleter mega lifetime activation code<br />
|
49 |
-
Renee Undeleter mega premium activation code<br />
|
50 |
-
Renee Undeleter mega pro activation code<br />
|
51 |
-
Activation code for Renee Undeleter mega 2023<br />
|
52 |
-
Activation code for Renee Undeleter mega latest version<br />
|
53 |
-
Activation code for Renee Undeleter mega mac<br />
|
54 |
-
Activation code for Renee Undeleter mega windows 10<br />
|
55 |
-
Activation code for Renee Undeleter mega windows 7<br />
|
56 |
-
Best activation code for Renee Undeleter mega<br />
|
57 |
-
Download activation code for Renee Undeleter mega<br />
|
58 |
-
Find activation code for Renee Undeleter mega<br />
|
59 |
-
Free activation code for Renee Undeleter mega online<br />
|
60 |
-
Genuine activation code for Renee Undeleter mega<br />
|
61 |
-
Activation Code For Renee Undeleter Mega alternative<br />
|
62 |
-
Activation Code For Renee Undeleter Mega coupon<br />
|
63 |
-
Activation Code For Renee Undeleter Mega discount<br />
|
64 |
-
Activation Code For Renee Undeleter Mega offer<br />
|
65 |
-
Activation Code For Renee Undeleter Mega review<br />
|
66 |
-
Activation Code For Renee Undeleter Mega scam<br />
|
67 |
-
Activation Code For Renee Undeleter Mega testimonials<br />
|
68 |
-
Activation Code For Renee Undeleter Mega trial<br />
|
69 |
-
Activation Code For Renee Undeleter Mega vs EaseUS Data Recovery Wizard Pro <br />
|
70 |
-
Activation Code For Renee Undeleter Mega vs Recuva Pro <br />
|
71 |
-
Activation Code For Renee Undeleter Mega vs Stellar Data Recovery Professional <br />
|
72 |
-
Activation Code For Renee Undeleter Mega vs Wondershare Recoverit Ultimate <br />
|
73 |
-
Buy Activation Code For Renee Undeleter Mega <br />
|
74 |
-
Cheap Activation Code For Renee Undeleter Mega <br />
|
75 |
-
Download Activation Code For Renee Undeleter Mega free <br />
|
76 |
-
Get Activation Code For Renee Undeleter Mega now <br />
|
77 |
-
How to use Activation Code For Renee Undeleter Mega <br />
|
78 |
-
Is Activation Code For Renee Undeleter Mega legit <br />
|
79 |
-
Is Activation Code For Renee Undeleter Mega safe <br />
|
80 |
-
Is Activation Code For Renee Undeleter Mega worth it <br />
|
81 |
-
Learn more about Activation Code For Renee Undeleter Mega <br />
|
82 |
-
Save money with Activation Code For Renee Undeleter Mega <br />
|
83 |
-
Try Activation Code For Renee Undeleter Mega for free <br />
|
84 |
-
What is Activation Code For Renee Undeleter Mega</p>
|
85 |
-
<h4>Steps to Buy Renee Undeleter Mega License</h4>
|
86 |
-
<p>To buy a license for Renee Undeleter Mega, you need to follow these steps:</p>
|
87 |
-
<ol>
|
88 |
-
<li>Go to the official website of Renee Undeleter Mega: <a href="https://www.reneelab.com/renee-undeleter">https://www.reneelab.com/renee-undeleter</a>.</li>
|
89 |
-
<li>Click on the "Buy Now" button on the homepage or on the product page.</li>
|
90 |
-
<li>Select the license type that suits your needs. There are three types of licenses available: Personal License ($49.90), Family License ($79.90), and Business License ($199.90).</li>
|
91 |
-
<li>Enter your email address and payment information. You can pay by credit card, PayPal, or other methods.</li>
|
92 |
-
<li>After completing the payment process, you will receive an email with your activation code and download link for the software.</li>
|
93 |
-
<li>Download and install the software on your computer.</li>
|
94 |
-
</ol>
|
95 |
-
<h4>Advantages of Buying Renee Undeleter Mega License</h4>
|
96 |
-
<p>Some of the advantages of buying a license for Renee Undeleter Mega are:</p>
|
97 |
-
<ul>
|
98 |
-
<li>You will get a legal and valid activation code that can activate the software permanently.</li>
|
99 |
-
<li>You will get free updates and technical support from the developer.</li>
|
100 |
-
<li>You will get a 60-day money-back guarantee if you are not satisfied with the software.</li>
|
101 |
-
<li>You will support the development and innovation of the software.</li>
|
102 |
-
</ul>
|
103 |
-
<h3>Option 2: Use Renee Undeleter Mega Crack</h3>
|
104 |
-
<p>The second option for getting an activation code for Renee Undeleter Mega is to use a crack. A crack is an illegal and unauthorized way of using the software. A crack is a modified version of the software that bypasses its security mechanism and generates a fake activation code that can activate the software temporarily. You can find many websites that offer cracks for various software online.</p>
|
105 |
-
<h4>Steps to Use Renee Undeleter Mega Crack</h4>
|
106 |
-
<p>To use a crack for Renee Undeleter Mega, you need to follow these steps:</p>
|
107 |
-
<ol>
|
108 |
-
<li>Search for a website that provides cracks for Renee Undeleter Mega online. Be careful as some websites may contain viruses or malware that can harm your computer or steal your personal information.</li>
|
109 |
-
<li>Download the crack file from the website. Usually, it will be in a compressed format such as ZIP or RAR.</li>
|
110 |
-
<li>Extract the crack file to a folder on your computer. You may need a password to extract it.</li>
|
111 |
-
<li>Run the crack file as administrator. It may ask you to disable your antivirus or firewall before running it.</li>
|
112 |
-
<li>Select the installation path of Renee Undeleter Mega on your computer. The crack file will automatically patch the original file and generate a fake activation code for it.</li>
|
113 |
-
<li>Copy and paste the fake activation code into the software when prompted.</li>
|
114 |
-
</ol>
|
115 |
-
<h4>Risks of Using Renee Undeleter Mega Crack</h4>
|
116 |
-
<p>Some of the risks of using a crack for Renee Undeleter Mega are:</p>
|
117 |
-
<ul>
|
118 |
-
<li>You may violate the intellectual property rights and terms of service of the software developer by using a crack.</li>
|
119 |
-
<li>You may expose your computer and personal information to viruses or malware that may be hidden in the crack file or website.</li>
|
120 |
-
<li>You may experience errors or bugs in the software as it may not be compatible with your system or updated version of the software.</li>
|
121 |
-
the developer.</li>
|
122 |
-
<li>You may lose your data or damage your device if the crack file or software malfunctions or crashes.</li>
|
123 |
-
</ul>
|
124 |
-
<h2>How to Activate Renee Undeleter Mega?</h2>
|
125 |
-
<p>After getting an activation code for Renee Undeleter Mega, either by buying a license or using a crack, you need to activate the software with the activation code. The activation process is similar for both options, except for the source of the activation code. Here are the steps to activate Renee Undeleter Mega with the activation code:</p>
|
126 |
-
<h3>Steps to Activate Renee Undeleter Mega with License Code</h3>
|
127 |
-
<p>If you have bought a license for Renee Undeleter Mega, you can activate the software with the license code that you received by email. To do so, follow these steps:</p>
|
128 |
-
<ol>
|
129 |
-
<li>Launch Renee Undeleter Mega on your computer.</li>
|
130 |
-
<li>Click on the "Register" button on the top right corner of the interface.</li>
|
131 |
-
<li>Enter your email address and license code in the corresponding fields.</li>
|
132 |
-
<li>Click on the "Activate" button to activate the software.</li>
|
133 |
-
<li>You will see a message that says "Activation Successful". You can now use all the features and functions of Renee Undeleter Mega without any limitations.</li>
|
134 |
-
</ol>
|
135 |
-
<h3>Steps to Activate Renee Undeleter Mega with Crack Code</h3>
|
136 |
-
<p>If you have used a crack for Renee Undeleter Mega, you can activate the software with the crack code that you generated by running the crack file. To do so, follow these steps:</p>
|
137 |
-
<ol>
|
138 |
-
<li>Launch Renee Undeleter Mega on your computer.</li>
|
139 |
-
<li>Click on the "Register" button on the top right corner of the interface.</li>
|
140 |
-
<li>Enter any email address and crack code in the corresponding fields.</li>
|
141 |
-
<li>Click on the "Activate" button to activate the software.</li>
|
142 |
-
<li>You will see a message that says "Activation Successful". You can now use some of the features and functions of Renee Undeleter Mega temporarily.</li>
|
143 |
-
</ol>
|
144 |
-
<h2>Conclusion</h2>
|
145 |
-
<p>In this article, we have introduced you to Renee Undeleter Mega, a powerful and professional data recovery software that can help you recover deleted, formatted, or lost files from various devices and scenarios. We have also explained how to get an activation code for Renee Undeleter Mega, either by buying a license or using a crack. We have also shown you how to activate Renee Undeleter Mega with the activation code.</p>
|
146 |
-
<p>We hope this article has been helpful and informative for you. If you have any questions or comments, please feel free to leave them below. Thank you for reading!</p>
|
147 |
-
<h3>FAQs</h3>
|
148 |
-
<p>Here are some frequently asked questions about Renee Undeleter Mega and its activation code:</p>
|
149 |
-
<ol>
|
150 |
-
<li><b>Q: How long does it take to recover data with Renee Undeleter Mega?</b></li>
|
151 |
-
<li>A: The time it takes to recover data with Renee Undeleter Mega depends on several factors, such as the size and type of data, the mode of recovery, and the condition of the device. Generally, it can take from a few minutes to several hours to recover data with Renee Undeleter Mega.</li>
|
152 |
-
<li><b>Q: How much data can I recover with Renee Undeleter Mega?</b></li>
|
153 |
-
<li>A: The amount of data you can recover with Renee Undeleter Mega depends on several factors, such as the available disk space, the degree of data loss, and the quality of data recovery. Generally, you can recover up to 2GB of data with Renee Undeleter Mega for free. If you want to recover more data, you need to buy a license and activate the software.</li>
|
154 |
-
<li><b>Q: Is it safe to use Renee Undeleter Mega?</b></li>
|
155 |
-
<li>A: Yes, it is safe to use Renee Undeleter Mega if you download it from its official website and buy a license from its official website. Renee Undeleter Mega is a reputable and trustworthy data recovery software that does not contain any viruses or malware. It also does not upload your data to any server or cloud. However, if you use a crack for Renee Undeleter Mega, it may not be safe as it may contain viruses or malware that can harm your computer or steal your personal information.</li>
|
156 |
-
<li><b>Q: Is it legal to use a crack for Renee Undeleter Mega?</b></li>
|
157 |
-
the software developer. By using a crack, you are also exposing yourself to various risks, such as viruses, malware, errors, bugs, data loss, and device damage. Therefore, we do not recommend using a crack for Renee Undeleter Mega and advise you to buy a license from its official website instead.</li>
|
158 |
-
<li><b>Q: How can I contact the developer of Renee Undeleter Mega?</b></li>
|
159 |
-
<li>A: If you have any questions or issues regarding Renee Undeleter Mega, you can contact the developer by email at [email protected] or by phone at +1-800-999-2734. You can also visit their website at https://www.reneelab.com/ for more information and resources.</li>
|
160 |
-
</ol>
|
161 |
-
</p> 0a6ba089eb<br />
|
162 |
-
<br />
|
163 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Amityville La Maison Du Diable French Torrent 57 The Complete History And Timeline Of The Events.md
DELETED
@@ -1,88 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Amityville La Maison Du Diable French Torrent 57</h1>
|
3 |
-
<p>If you are a fan of horror movies and you want to watch one of the most famous and controversial ones in history, you might be interested in Amityville La Maison Du Diable French Torrent 57. This is a torrent that allows you to download and watch the original 1979 movie Amityville: The Horror in French, with subtitles and bonus features. In this article, we will tell you everything you need to know about this torrent, including what it is, why it is popular, how to download it safely and legally, and what benefits you can get from watching it. So, if you are ready to experience the terror of Amityville, read on!</p>
|
4 |
-
<h2>Introduction</h2>
|
5 |
-
<h3>What is Amityville La Maison Du Diable?</h3>
|
6 |
-
<p>Amityville La Maison Du Diable is the French title of Amityville: The Horror, a 1979 American horror film directed by Stuart Rosenberg and starring James Brolin, Margot Kidder, and Rod Steiger. The film is based on a book of the same name by Jay Anson, which claims to be a true story of a haunted house in Amityville, New York. The film follows the Lutz family, who move into a house where a mass murder took place a year before. They soon discover that the house is possessed by a demonic force that torments them with paranormal phenomena and threatens their lives.</p>
|
7 |
-
<h2>Amityville La Maison Du Diable French Torrent 57</h2><br /><p><b><b>DOWNLOAD</b> ————— <a href="https://byltly.com/2uKvKI">https://byltly.com/2uKvKI</a></b></p><br /><br />
|
8 |
-
<h3>Why is it a popular French torrent?</h3>
|
9 |
-
<p>Amityville La Maison Du Diable is a popular French torrent because it is one of the most classic and influential horror movies of all time. It was a huge box office success when it was released, grossing over $86 million in North America alone. It also spawned a franchise of sequels, prequels, remakes, and spin-offs, making it one of the longest-running horror series in history. The film has also been praised by critics and fans for its atmospheric cinematography, suspenseful music, and convincing performances. Moreover, the film has a strong cultural and historical relevance, as it deals with themes such as family, religion, violence, and the supernatural.</p>
|
10 |
-
<h3>How to download it safely and legally?</h3>
|
11 |
-
<p>To download Amityville La Maison Du Diable French Torrent 57 safely and legally, you need to follow some steps. First, you need to have a VPN (virtual private network) service that can protect your online privacy and security. A VPN can encrypt your data and hide your IP address, making it harder for hackers or authorities to track your online activity. Second, you need to have a torrent client software that can download and manage torrent files. A torrent client is a program that connects you to other users who have the same file you want to download. Third, you need to find a reliable torrent site that has the torrent file you are looking for. A torrent site is a website that hosts torrent files and allows users to search for them. You should look for a site that has good reviews, ratings, comments, and feedback from other users. Fourth, you need to download the torrent file from the site and open it with your torrent client. Then, you need to wait for the download to finish and enjoy your movie.</p>
|
12 |
-
<h2>The Story Behind Amityville La Maison Du Diable</h2>
|
13 |
-
<h3>The real-life haunted house</h3>
|
14 |
-
<p>The story behind Amityville La Maison Du Diable is based on a real-life haunted house in Amityville, New York. The house is located at 112 Ocean Avenue and was built in 1927. On November 13th, 1974, Ronald DeFeo Jr., a 23-year-old man who lived in the house with his family, shot and killed his parents and four siblings while they were sleeping. He claimed that he heard voices in his head that told him to do it. He was convicted of six counts of second-degree murder and sentenced to life imprisonment.</p>
|
15 |
-
<h3>The book and the movie adaptations</h3>
|
16 |
-
<p>In 1977, Jay Anson published a book titled The Amityville Horror: A True Story, which claimed to be based on the experiences of George and Kathy Lutz, who bought the house in December 1975 and moved in with their three children and their dog. According to the book, the Lutzes experienced various paranormal phenomena in the house, such as strange noises, foul odors, cold spots, swarms of flies, moving objects, levitating furniture, glowing eyes, demonic voices, and visions of blood. The book also claimed that the house was built on an ancient Indian burial ground and that a priest who tried to bless the house was warned by a voice to "get out". The book became a bestseller and inspired several movie adaptations, including the original 1979 film, a 2005 remake starring Ryan Reynolds and Melissa George, and several sequels and spin-offs.</p>
|
17 |
-
<h3>The controversies and lawsuits</h3>
|
18 |
-
<p>The story behind Amityville La Maison Du Diable has also been surrounded by controversies and lawsuits. Many skeptics and investigators have questioned the veracity of the book and the movie adaptations, arguing that they are based on exaggerations, fabrications, or hoaxes. Some of the evidence that they have presented include inconsistencies in dates, times, and events; lack of physical proof or witnesses; contradictions between different versions of the story; and financial motives for creating a sensational story. Several lawsuits have also been filed by various parties involved in the story, such as Ronald DeFeo Jr., who sued the Lutzes and Anson for defamation; the Lutzes, who sued their lawyer and publisher for fraud; and other homeowners who lived in the house after the Lutzes, who sued the Lutzes and others for invasion of privacy.</p>
|
19 |
-
<h2>The Features of Amityville La Maison Du Diable French Torrent 57</h2>
|
20 |
-
<h3>The quality and size of the torrent</h3>
|
21 |
-
<p>One of the features of Amityville La Maison Du Diable French Torrent 57 is its quality and size. The torrent offers a high-definition version of the movie, with a resolution of 1080p. The movie has been digitally remastered to enhance its color, contrast, and clarity. The torrent also has a reasonable size, with a file size of about 1.5 GB. This means that you can download it quickly and save space on your device.</p>
|
22 |
-
<p>Amityville La Maison Du Diable French BRRIP AC3 1980[^1^]<br />
|
23 |
-
Amityville La Maison Du Diable French WEBRIP LD 1080p 2021[^1^]<br />
|
24 |
-
Amityville La Maison Du Diable French WEBRIP 720p 2021[^1^]<br />
|
25 |
-
Amityville La Maison Du Diable French DVDRIP 2010[^2^]<br />
|
26 |
-
Amityville La Maison Du Diable French DVDRIP 2009[^2^]<br />
|
27 |
-
Amityville La Maison Du Diable French Horror Movie[^3^]<br />
|
28 |
-
Amityville La Maison Du Diable French Audiobook[^4^]<br />
|
29 |
-
Amityville La Maison Du Diable French Subtitles[^4^]<br />
|
30 |
-
Amityville La Maison Du Diable French Review[^4^]<br />
|
31 |
-
Amityville La Maison Du Diable French Trailer[^4^]<br />
|
32 |
-
Amityville La Maison Du Diable French Streaming[^2^]<br />
|
33 |
-
Amityville La Maison Du Diable French Download[^2^]<br />
|
34 |
-
Amityville La Maison Du Diable French Cpasbien Torrent[^2^]<br />
|
35 |
-
Amityville La Maison Du Diable French MonTorrent Torrent[^2^]<br />
|
36 |
-
Amityville La Maison Du Diable French Gk Torrent Torrent[^2^]<br />
|
37 |
-
Amityville La Maison Du Diable French SoundCloud Audio[^1^] [^4^]<br />
|
38 |
-
Amityville La Maison Du Diable French Weebly Blog[^2^]<br />
|
39 |
-
Amityville La Maison Du Diable French InBetween Fellowship Forum[^3^]<br />
|
40 |
-
Amityville La Maison Du Diable French Film Complet en Francais[^2^]<br />
|
41 |
-
Amityville La Maison Du Diable French Film Complet Streaming en Francais[^2^]<br />
|
42 |
-
Amityville La Maison Du Diable French Film Complet HD en Francais[^2^]<br />
|
43 |
-
Amityville La Maison Du Diable French Film Complet Gratuit en Francais[^2^]<br />
|
44 |
-
Amityville La Maison Du Diable French Film Complet Telecharger en Francais[^2^]<br />
|
45 |
-
Amityville La Maison Du Diable French Film Complet Voir en Francais[^2^]<br />
|
46 |
-
Amityville La Maison Du Diable French Film Complet Regarder en Francais[^2^]<br />
|
47 |
-
Amityville La Maison Du Diable French Film Complet Youtube en Francais[^2^] [^4^]<br />
|
48 |
-
Amityville La Maison Du Diable French Film Complet Netflix en Francais[^2^] [^4^]<br />
|
49 |
-
Amityville La Maison Du Diable French Film Complet Amazon Prime en Francais[^2^] [^4^]<br />
|
50 |
-
Amityville La Maison Du Diable French Film Complet Disney Plus en Francais[^2^] [^4^]<br />
|
51 |
-
Amityville La Maison Du Diable French Film Complet Hulu en Francais[^2^] [^4^]<br />
|
52 |
-
Amityville La Maison Du Diable French Film Complet HBO Max en Francais[^2^] [^4^]<br />
|
53 |
-
Amityville La Maison Du Diable French Film Complet Peacock en Francais[^2^] [^4^]<br />
|
54 |
-
Amityville La Maison Du Diable French Film Complet Paramount Plus en Francais[^2^] [^4^]<br />
|
55 |
-
Amityville La Maison Du Diable French Film Complet Apple TV Plus en Francais[^2^] [^4^]<br />
|
56 |
-
Amityville La Maison Du Diable French Film Complet IMDb TV en Francais[^2</p>
|
57 |
-
<h3>The subtitles and audio options</h3>
|
58 |
-
<p>Another feature of Amityville La Maison Du Diable French Torrent 57 is its subtitles and audio options. The torrent provides subtitles in multiple languages, including English, Spanish, German, Italian, and Portuguese. You can choose which language you want to use by selecting it from your torrent client settings. The torrent also offers audio options in different languages, including French, English, Spanish, German, and Italian. You can choose which language you want to hear by selecting it from your media player settings.</p>
|
59 |
-
<h3>The bonus materials and extras</h3>
|
60 |
-
<p>A third feature of Amityville La Maison Du Diable French Torrent 57 is its bonus materials and extras. The torrent includes several additional content that can enrich your viewing experience. Some of these content are: - A commentary track by director Stuart Rosenberg - A documentary titled "The Real Story Behind The Amityville Horror" - A featurette titled "The Making Of The Amityville Horror" - A collection of deleted scenes - A gallery of photos - A trailer - A trivia game You can access these content by selecting them from your media player menu.</p>
|
61 |
-
<h2>The Benefits of Amityville La Maison Du Diable French Torrent 57</h2>
|
62 |
-
<h3>The thrill and horror of watching the movie</h3>
|
63 |
-
of Amityville La Maison Du Diable French Torrent 57 is the thrill and horror of watching the movie. The movie is a masterpiece of horror cinema, that can keep you on the edge of your seat with its terrifying scenes and atmosphere. The movie can also make you feel the fear and anxiety of the Lutz family, as they face the evil force that haunts their house. The movie can also challenge you to question the reality and truth of the story, and to wonder if you would survive in such a situation.</p>
|
64 |
-
<h3>The cultural and historical significance of the story</h3>
|
65 |
-
<p>Another benefit of Amityville La Maison Du Diable French Torrent 57 is the cultural and historical significance of the story. The story is a part of American pop culture, that has influenced many other works of horror fiction and media. The story is also a reflection of the social and political context of the 1970s, when America was facing a crisis of faith, a rise of violence, and a fascination with the occult. The story can also teach you about the history and folklore of Amityville, New York, and its connection to Native American culture, colonial history, and paranormal phenomena.</p>
|
66 |
-
<h3>The opportunity to learn French and improve your skills</h3>
|
67 |
-
<p>A third benefit of Amityville La Maison Du Diable French Torrent 57 is the opportunity to learn French and improve your skills. By watching the movie in French, you can expose yourself to the language and its pronunciation, vocabulary, grammar, and expressions. You can also practice your listening and reading comprehension skills by using the subtitles and audio options. You can also enhance your cultural awareness and appreciation by learning about the French perspective and interpretation of the story.</p>
|
68 |
-
<h2>Conclusion</h2>
|
69 |
-
<h4>Summary of the main points</h4>
|
70 |
-
<p>In conclusion, Amityville La Maison Du Diable French Torrent 57 is a torrent that allows you to download and watch the original 1979 movie Amityville: The Horror in French, with subtitles and bonus features. The torrent has several features that make it attractive, such as its quality and size, its subtitles and audio options, and its bonus materials and extras. The torrent also has several benefits that make it worthwhile, such as its thrill and horror, its cultural and historical significance, and its opportunity to learn French.</p>
|
71 |
-
<h4>Call to action and recommendation</h4>
|
72 |
-
<p>If you are interested in Amityville La Maison Du Diable French Torrent 57, we recommend that you download it today and enjoy one of the most classic and controversial horror movies of all time. You will not regret it! But be warned: you might have trouble sleeping afterwards!</p>
|
73 |
-
<h2>FAQs</h2>
|
74 |
-
<p>Here are some frequently asked questions about Amityville La Maison Du Diable French Torrent 57:</p>
|
75 |
-
<ul>
|
76 |
-
<li><b>Is Amityville La Maison Du Diable a true story?</b></li>
|
77 |
-
<p>There is no definitive answer to this question, as different sources have different opinions and evidence. Some people believe that the story is true, based on the testimonies of the Lutzes, Anson, and others who claim to have witnessed or experienced paranormal phenomena in the house. Others believe that the story is false, based on the investigations and analyses of skeptics, journalists, researchers, and experts who claim to have found flaws, inconsistencies, or contradictions in the story. Ultimately, it is up to you to decide what you believe.</p>
|
78 |
-
<li><b>Where can I find Amityville La Maison Du Diable French Torrent 57?</b></li>
|
79 |
-
<p>You can find Amityville La Maison Du Diable French Torrent 57 on various torrent sites online. However, not all torrent sites are reliable or safe, so you should be careful when choosing one. You should look for a site that has good reviews, ratings, comments, and feedback from other users. You should also use a VPN service to protect your online privacy and security when downloading torrents.</p>
|
80 |
-
<li><b>What are some other movies related to Amityville La Maison Du Diable?</b></li>
|
81 |
-
<p>There are many other movies related to Amityville La Maison Du Diable, as it is part of a long-running franchise of sequels, prequels, remakes, and spin-offs. Some of these movies are: - Amityville II: The Possession (1982), a prequel that tells the story of the DeFeo family before their murder. - Amityville 3-D (1983), a sequel that follows a journalist who investigates the house after the Lutzes leave. - The Amityville Horror (2005), a remake of the original movie with a modern twist. - The Amityville Murders (2018), a prequel that focuses on Ronald DeFeo Jr. and his relationship with his family before he kills them.</p>
|
82 |
-
<li><b>What are some other ways to learn French through movies?</b></li>
|
83 |
-
<p>Besides watching Amityville La Maison Du Diable French Torrent 57, there are many other ways to learn French through movies. Some of these ways are: - Watch movies that are originally made in French, such as Les Intouchables (2011), Le Fabuleux Destin d'Amélie Poulain (2001), or La Haine (1995). - Watch movies that are set in France or have French characters or themes, such as Midnight in Paris (2011), Ratatouille (2007), or The Da Vinci Code (2006). - Watch movies that have French versions or dubbing available, such as Harry Potter (2001-2011), The Lord of the Rings (2001-2003), or The Lion King (1994). - Watch movies with friends who speak French or are learning French, and discuss them in French afterwards.</p>
|
84 |
-
<li><b>How can I overcome my fear of horror movies?</b></li>
|
85 |
-
<p>If you are afraid of horror movies, but you still want to watch them, there are some tips that can help you overcome your fear. Some of these tips are: - Watch horror movies with someone else who can comfort you or make you laugh. - Watch horror movies during the day or in a well-lit room. - Watch horror movies with low volume or with subtitles on. - Watch horror movies with a positive mindset or a sense of humor. - Watch horror movies that are not too realistic or graphic. - Watch horror movies that have a happy ending or a moral lesson.</p>
|
86 |
-
</p> 0a6ba089eb<br />
|
87 |
-
<br />
|
88 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Authorization Code for Dreamweaver CS3 Crack Where to Find It and How to Install It.md
DELETED
@@ -1,140 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Authorization Code for Dreamweaver CS3 Crack</h1>
|
3 |
-
<p>If you are a web designer or developer, you might have heard of Dreamweaver CS3, one of the most popular and powerful web development tools in the market. But what if you don't have the money to buy it or you want to use it for free? In this article, we will show you how to get an authorization code for Dreamweaver CS3 crack, which will allow you to use this software without paying anything.</p>
|
4 |
-
<h2>What is Dreamweaver CS3 and why do you need it?</h2>
|
5 |
-
<p>Dreamweaver CS3 is a software application that lets you create, edit, and manage websites and web pages. It was released in 2007 by Adobe Systems as part of the Creative Suite 3 package. It has many features and benefits that make it a great tool for web design and development, such as:</p>
|
6 |
-
<h2>authorization code for dreamweaver cs3 crack</h2><br /><p><b><b>Download</b> ››› <a href="https://byltly.com/2uKzn0">https://byltly.com/2uKzn0</a></b></p><br /><br />
|
7 |
-
<h3>Dreamweaver CS3 features and benefits</h3>
|
8 |
-
<ul>
|
9 |
-
<li>It supports HTML, CSS, JavaScript, PHP, ASP.NET, XML, and other web technologies.</li>
|
10 |
-
<li>It has a visual interface that lets you design your web pages using drag-and-drop elements, templates, layouts, and widgets.</li>
|
11 |
-
<li>It has a code editor that lets you write and edit your web code with syntax highlighting, code completion, code hints, and error checking.</li>
|
12 |
-
<li>It has a live view mode that lets you preview your web pages in real-time as you make changes to them.</li>
|
13 |
-
<li>It has a split view mode that lets you see both the design and the code of your web pages at the same time.</li>
|
14 |
-
<li>It has a built-in FTP client that lets you upload and download your web files to and from your web server.</li>
|
15 |
-
<li>It has a site manager that lets you organize your web files and folders in a logical structure.</li>
|
16 |
-
<li>It has a testing server that lets you test your web pages locally before publishing them online.</li>
|
17 |
-
<li>It has a spry framework that lets you add dynamic and interactive features to your web pages using Ajax.</li>
|
18 |
-
<li>It has a CSS advisor that lets you check and fix any CSS issues in your web pages.</li>
|
19 |
-
<li>It has a browser compatibility check that lets you see how your web pages look and work in different browsers.</li>
|
20 |
-
</ul>
|
21 |
-
<h3>Dreamweaver CS3 system requirements and compatibility</h3>
|
22 |
-
<p>To use Dreamweaver CS3, you need to have a computer that meets the following minimum system requirements:</p>
|
23 |
-
<table>
|
24 |
-
<tr><td>Operating system</td><td>Windows XP SP2 or later, or Mac OS X 10.4.8 or later</td></tr>
|
25 |
-
<tr><td>Processor</td><td>Intel Pentium 4 or later, or PowerPC G5 or later</td></tr>
|
26 |
-
<tr><td>Memory</td><td>512 MB of RAM or more</td></tr>
|
27 |
-
<tr><td>Disk space</td><td>1 GB of available hard disk space or more</td></tr>
|
28 |
-
<tr><td>Display</td><td>1024 x 768 resolution or higher</td></tr>
|
29 |
-
<tr><td>Internet connection</td><td>Required for activation and updates</td></tr>
|
30 |
-
</table>
|
31 |
-
<p>Dreamweaver CS3 is compatible with the following web browsers:</p>
|
32 |
-
<ul>
|
33 |
-
<li>Internet Explorer 6 or later</li>
|
34 |
-
<li>Mozilla Firefox 2 or later</li>
|
35 |
-
<li>Safari 2 or later</li>
|
36 |
-
<li>Opera 9 or later</li>
|
37 |
-
<li>Netscape Navigator 9 or later</li>
|
38 |
-
</ul>
|
39 |
-
<h2>What is a crack and why do you need it?</h2>
|
40 |
-
<p>A crack is a software program that modifies or bypasses the security features of another software program. In this case, we are talking about a crack for Dreamweaver CS3 that allows you to use it without entering a valid serial number or activation code. A serial number is a unique code that identifies your copy of Dreamweaver CS3 and proves that you have purchased it legally. An activation code is another code that verifies your serial number online and unlocks all the features of Dreamweaver CS3. Without these codes, you cannot use Dreamweaver CS3 fully or at all.</p>
|
41 |
-
<p>How to get authorization code for dreamweaver cs3 without crack<br />
|
42 |
-
Dreamweaver cs3 authorization code generator online<br />
|
43 |
-
Free download authorization code for dreamweaver cs3 full version<br />
|
44 |
-
Authorization code for dreamweaver cs3 crack serial number<br />
|
45 |
-
Authorization code for dreamweaver cs3 crack keygen<br />
|
46 |
-
Authorization code for dreamweaver cs3 crack activation<br />
|
47 |
-
Authorization code for dreamweaver cs3 crack patch<br />
|
48 |
-
Authorization code for dreamweaver cs3 crack license key<br />
|
49 |
-
Authorization code for dreamweaver cs3 crack product key<br />
|
50 |
-
Authorization code for dreamweaver cs3 crack registration code<br />
|
51 |
-
Authorization code for dreamweaver cs3 crack torrent<br />
|
52 |
-
Authorization code for dreamweaver cs3 crack rar<br />
|
53 |
-
Authorization code for dreamweaver cs3 crack zip<br />
|
54 |
-
Authorization code for dreamweaver cs3 crack iso<br />
|
55 |
-
Authorization code for dreamweaver cs3 crack exe<br />
|
56 |
-
Authorization code for dreamweaver cs3 crack mac<br />
|
57 |
-
Authorization code for dreamweaver cs3 crack windows 10<br />
|
58 |
-
Authorization code for dreamweaver cs3 crack windows 7<br />
|
59 |
-
Authorization code for dreamweaver cs3 crack windows 8<br />
|
60 |
-
Authorization code for dreamweaver cs3 crack windows xp<br />
|
61 |
-
Authorization code for dreamweaver cs3 crack linux<br />
|
62 |
-
Authorization code for dreamweaver cs3 crack ubuntu<br />
|
63 |
-
Authorization code for dreamweaver cs3 crack android<br />
|
64 |
-
Authorization code for dreamweaver cs3 crack ios<br />
|
65 |
-
Authorization code for dreamweaver cs3 crack iphone<br />
|
66 |
-
Authorization code for dreamweaver cs3 crack ipad<br />
|
67 |
-
Authorization code for dreamweaver cs3 crack ipod touch<br />
|
68 |
-
Authorization code for dreamweaver cs3 crack apple tv<br />
|
69 |
-
Authorization code for dreamweaver cs3 crack fire tv stick<br />
|
70 |
-
Authorization code for dreamweaver cs3 crack roku<br />
|
71 |
-
Authorization code for dreamweaver cs3 crack chromecast<br />
|
72 |
-
Authorization code for dreamweaver cs3 crack smart tv<br />
|
73 |
-
Authorization code for dreamweaver cs3 crack ps4<br />
|
74 |
-
Authorization code for dreamweaver cs3 crack ps5<br />
|
75 |
-
Authorization code for dreamweaver cs3 crack xbox one<br />
|
76 |
-
Authorization code for dreamweaver cs3 crack xbox series x<br />
|
77 |
-
Authorization code for dreamweaver cs3 crack nintendo switch<br />
|
78 |
-
Authorization code for dreamweaver cs3 crack wii u<br />
|
79 |
-
Authorization code for dreamweaver cs3 crack 3ds<br />
|
80 |
-
Authorization code for dreamweaver cs3 crack psp<br />
|
81 |
-
Authorization code for dreamweaver cs3 crack ps vita<br />
|
82 |
-
Authorization code for dreamweaver cs3 crack pc game download</p>
|
83 |
-
<h3>The difference between a crack and a serial number</h3>
|
84 |
-
<p>A crack is different from a serial number in several ways:</p>
|
85 |
-
<ul>
|
86 |
-
<li>A crack does not require any internet connection to work. A serial number requires an internet connection to activate Dreamweaver CS3 online.</li>
|
87 |
-
<li>A crack does not have any expiration date or limit on how many times you can use it. A serial number can expire after a certain period of time or after a certain number of activations.</li>
|
88 |
-
<li>A crack does not have any risk of being blacklisted or blocked by Adobe Systems. A serial number can be blacklisted or blocked by Adobe Systems if they detect that it has been used illegally or shared with others.</li>
|
89 |
-
<li>A crack does not have any guarantee of working properly or safely. A serial number has a guarantee of working properly and safely as long as it is genuine and legal.</li>
|
90 |
-
</ul>
|
91 |
-
<h3>The risks and benefits of using a crack</h3>
|
92 |
-
<p>Using a crack for Dreamweaver CS3 has some risks and benefits that you should be aware of before deciding to use it:</p>
|
93 |
-
<ul>
|
94 |
-
<li>The main benefit of using a crack is that you can use Dreamweaver CS3 for free without paying anything. You can save money and enjoy all the features of this software without any limitations.</li>
|
95 |
-
<li>The main risk of using a crack is that you can violate the terms and conditions of Adobe Systems. You can face legal consequences such as fines or lawsuits if they catch you using their software illegally. You can also lose your right to use their software legally in the future.</li>
|
96 |
-
<li>Another risk of using a crack is that you can expose your computer to viruses, malware, spyware, or other harmful programs. You can damage your computer system or compromise your personal data if you download or install a crack from an untrusted source. You can also infect other computers if you share or distribute a crack with others.</li>
|
97 |
-
<li>Another risk of using a crack is that you can experience errors, bugs, crashes, or compatibility issues with Dreamweaver CS3. You can lose your work or waste your time if the crack does not work properly or causes problems with your software. You can also miss out on updates, patches, fixes, or improvements from Adobe Systems if the crack prevents them from reaching your software.</li>
|
98 |
-
</ul>
|
99 |
-
<h2>How to get an authorization code for Dreamweaver CS3 crack?</h2>
|
100 |
-
<p>If you still want to use a crack for Dreamweaver CS3 despite the risks involved, there are two main methods that you can try:</p>
|
101 |
-
<h3>Method 1: Using a keygen program</h3>
|
102 |
-
<p>A keygen program is a software program that generates random codes such as serial numbers or activation codes for other software programs. In this case, we are talking about a keygen program that generates an authorization code for Dreamweaver CS3 crack. Here are the steps to follow:</p>
|
103 |
-
<h4>Step 1: Download and install the keygen program</h4>
|
104 |
-
<p>You need to find and download a keygen program that works for Dreamweaver CS3 from the internet. You need to be careful about where you download it from because some sources may contain viruses or malware. You also need to scan it with an antivirus program before installing it on your computer. You may need to disable your antivirus program temporarily while installing it because some antivirus programs may detect it as a threat.</p>
|
105 |
-
<h4>Step 2: Run the keygen program and generate an authorization code</h4>
|
106 |
-
<h4>Step 3: Enter the authorization code in Dreamweaver CS3 and activate it</h4>
|
107 |
-
<p>You need to enter the authorization code that you generated from the keygen program in Dreamweaver CS3. You may need to open Dreamweaver CS3 and go to the Help menu and select Activate. You may need to enter the serial number that came with your copy of Dreamweaver CS3 or use another serial number that you found online. You may need to select the option to activate by phone and enter the authorization code that you got from the keygen program. You may need to click on Activate or Finish to complete the process.</p>
|
108 |
-
<h3>Method 2: Using a patch file</h3>
|
109 |
-
<p>A patch file is a software program that modifies or replaces some files or codes of another software program. In this case, we are talking about a patch file that modifies or replaces some files or codes of Dreamweaver CS3 to make it work without an authorization code. Here are the steps to follow:</p>
|
110 |
-
<h4>Step 1: Download and install the patch file</h4>
|
111 |
-
<p>You need to find and download a patch file that works for Dreamweaver CS3 from the internet. You need to be careful about where you download it from because some sources may contain viruses or malware. You also need to scan it with an antivirus program before installing it on your computer. You may need to disable your antivirus program temporarily while installing it because some antivirus programs may detect it as a threat.</p>
|
112 |
-
<h4>Step 2: Run the patch file and apply it to Dreamweaver CS3</h4>
|
113 |
-
<p>You need to run the patch file on your computer after installing it. You may need to follow some instructions or click on some buttons depending on the patch file. You may need to locate and select your Dreamweaver CS3 installation folder or file. You may need to backup your original files or codes before applying the patch file. You may need to wait for a few seconds or minutes until the patch file finishes modifying or replacing your files or codes.</p>
|
114 |
-
<h4>Step 3: Enjoy using Dreamweaver CS3 without any limitations</h4>
|
115 |
-
<p>You can now use Dreamweaver CS3 without entering any authorization code or activating it online. You can access all the features and functions of this software without any restrictions. You can create, edit, and manage your websites and web pages with ease and efficiency.</p>
|
116 |
-
<h2>Conclusion</h2>
|
117 |
-
<p>In this article, we have shown you how to get an authorization code for Dreamweaver CS3 crack using two methods: using a keygen program and using a patch file. We have also explained what is Dreamweaver CS3, what is a crack, and what are the risks and benefits of using a crack. We hope that this article has been helpful and informative for you. However, we do not recommend or endorse using a crack for Dreamweaver CS3 or any other software because it is illegal, unethical, and unsafe. We suggest that you buy a legal copy of Dreamweaver CS3 from Adobe Systems or use another free or cheap alternative web development tool instead.</p>
|
118 |
-
<h2>FAQs</h2>
|
119 |
-
<p>Here are some frequently asked questions about getting an authorization code for Dreamweaver CS3 crack:</p>
|
120 |
-
<ol>
|
121 |
-
<li><b>Is using a crack for Dreamweaver CS3 illegal?</b></li>
|
122 |
-
<p>Yes, using a crack for Dreamweaver CS3 is illegal because it violates the copyright and license agreement of Adobe Systems. You can face legal consequences such as fines or lawsuits if they catch you using their software illegally.</p>
|
123 |
-
<li><b>Is using a crack for Dreamweaver CS3 safe?</b></li>
|
124 |
-
<p>No, using a crack for Dreamweaver CS3 is not safe because it can expose your computer to viruses, malware, spyware, or other harmful programs. You can damage your computer system or compromise your personal data if you download or install a crack from an untrusted source. You can also infect other computers if you share or distribute a crack with others.</p>
|
125 |
-
<li><b>Is using a crack for Dreamweaver CS3 reliable?</b></li>
|
126 |
-
<p>No, using a crack for Dreamweaver CS3 is not reliable because it can cause errors, bugs, crashes, or compatibility issues with your software. You can lose your work or waste your time if the crack does not work properly or causes problems with your software. You can also miss out on updates, patches, fixes, or improvements from Adobe Systems if the crack prevents them from reaching your software.</p>
|
127 |
-
<li><b>Where can I find a crack for Dreamweaver CS3?</b></li>
|
128 |
-
<p>You can find a crack for Dreamweaver CS3 on various websites, forums, blogs, torrents, or other online sources that offer free downloads of software cracks. However, you should be careful about where you download it from because some sources may contain viruses or malware. You should also scan it with an antivirus program before installing it on your computer.</p>
|
129 |
-
<li><b>What are some alternatives to using a crack for Dreamweaver CS3?</b></li>
|
130 |
-
<p>You can use some alternatives to using a crack for Dreamweaver CS3 such as:</p>
|
131 |
-
<ul>
|
132 |
-
<li>Buying a legal copy of Dreamweaver CS3 from Adobe Systems or an authorized reseller.</li>
|
133 |
-
<li>Using another version of Dreamweaver such as Dreamweaver CC (Creative Cloud) which is cheaper and more updated than Dreamweaver CS3.</li>
|
134 |
-
<li>Using another web development tool such as WordPress, Wix, Squarespace, Webflow, Bootstrap Studio, Pinegrow Web Editor, etc.</li>
|
135 |
-
<li>Using another free or cheap web development tool such as Visual Studio Code, Sublime Text, Atom, Brackets, Notepad++, etc.</li>
|
136 |
-
</ul>
|
137 |
-
</ol>
|
138 |
-
</p> 0a6ba089eb<br />
|
139 |
-
<br />
|
140 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Digi Sm 100 Software Download REPACK.md
DELETED
@@ -1,78 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Digi SM 100 Software Download: How to Install and Use the Scale Printer Software</h1>
|
3 |
-
<p>If you are looking for a reliable and user-friendly scale printer software for your retail or food industry business, you might want to consider Digi SM 100. This software allows you to manage your scale data and label design in real time, and print high-quality labels with your Digi SM 100 scale printer. In this article, we will show you how to download, install, and use Digi SM 100 software, as well as provide some troubleshooting tips and alternatives.</p>
|
4 |
-
<h2>digi sm 100 software download</h2><br /><p><b><b>DOWNLOAD</b> ⏩ <a href="https://byltly.com/2uKvJA">https://byltly.com/2uKvJA</a></b></p><br /><br />
|
5 |
-
<h2>What is Digi SM 100?</h2>
|
6 |
-
<p>Digi SM 100 is a scale printer product from Digi, a global leader in retail and industrial weighing solutions. It is designed to provide high-speed direct thermal printing with user-friendly features. It can be used for various applications, such as seafood, meat, deli, prepared meals, bakery, and specialty stores.</p>
|
7 |
-
<h3>Features and benefits of Digi SM 100</h3>
|
8 |
-
<p>Some of the features and benefits of Digi SM 100 are:</p>
|
9 |
-
<ul>
|
10 |
-
<li>Highly-visible 19-segment green LCD display</li>
|
11 |
-
<li>Automatic date and time update with a built-in clock</li>
|
12 |
-
<li>40 or 76 preset keys for quick access to frequently used items</li>
|
13 |
-
<li>1MB memory capacity (expandable to 2MB) for storing up to 4000 PLUs</li>
|
14 |
-
<li>Cash drawer, RS-232C, and Ethernet interfaces for easy connectivity</li>
|
15 |
-
<li>Label printing size up to W:60 x L:220 mm</li>
|
16 |
-
<li>Printing speed up to 80mm/sec for label and 105mm/sec for receipt</li>
|
17 |
-
<li>Wireless LAN option for wireless communication</li>
|
18 |
-
</ul>
|
19 |
-
<h3>Variations and options of Digi SM 100</h3>
|
20 |
-
<p>Digi SM 100 comes in four variations:</p>
|
21 |
-
<p></p>
|
22 |
-
<table>
|
23 |
-
<tr><th>Variation</th><th>Description</th><th>Dimensions (mm)</th></tr>
|
24 |
-
<tr><td>Bench Type (SM-100B)</td><td>A standard model with a compact design</td><td>W:386 x D:416 x H:128</td></tr>
|
25 |
-
<tr><td>Pole Type (SM-100P)</td><td>A model with a pole display for better visibility</td><td>W:385 x D:478 x H:485</td></tr>
|
26 |
-
<tr><td>Hanging Type (SM-100H)</td><td>A model that can be hung from the ceiling or wall for space saving</td><td>W:340 x D:310 x H:860</td></tr>
|
27 |
-
<tr><td>Elevated Type (SM-100EV)</td><td>A model with an elevated display for easier operation</td><td>W:386 x D:416 x H:550</td></tr>
|
28 |
-
</table>
|
29 |
-
<p>Digi SM 100 also has two optional features:</p>
|
30 |
-
<ul>
|
31 |
-
<li>Memory - Memory expansion: You can increase the memory capacity of your Digi SM 100 from 1MB to 2MB by installing a memory expansion board. This will allow you to store up to 8000 PLUs and more label formats. - Wireless LAN: You can enable wireless communication between your Digi SM 100 and your computer or network by installing a wireless LAN module. This will allow you to update your scale data and label design remotely and wirelessly. <h2>How to download Digi SM 100 software</h2>
|
32 |
-
<p>Digi SM 100 software is a Windows-based application that allows you to manage your scale data and label design in real time. You can use it to create and edit PLUs, departments, ingredients, nutrition facts, barcodes, logos, and other label elements. You can also use it to monitor and control your Digi SM 100 scale printer from your computer.</p>
|
33 |
-
<h3>Requirements and compatibility</h3>
|
34 |
-
<p>To download and install Digi SM 100 software, you will need the following:</p>
|
35 |
-
<ul>
|
36 |
-
<li>A computer running Windows XP, Vista, 7, 8, or 10</li>
|
37 |
-
<li>A USB cable or a wireless LAN module to connect your Digi SM 100 scale printer to your computer</li>
|
38 |
-
<li>An internet connection to download the software from the Digi website</li>
|
39 |
-
<li>A license key to activate the software (you can obtain it from your Digi dealer or distributor)</li>
|
40 |
-
</ul>
|
41 |
-
<p>Digi SM 100 software is compatible with the following Digi scale printer models:</p>
|
42 |
-
<ul>
|
43 |
-
<li>SM-100</li>
|
44 |
-
<li>SM-110</li>
|
45 |
-
<li>SM-300</li>
|
46 |
-
<li>SM-500</li>
|
47 |
-
<li>SM-5100</li>
|
48 |
-
<li>SM-5500</li>
|
49 |
-
<li>SM-5600</li>
|
50 |
-
<li>SM-5700</li>
|
51 |
-
<li>SM-5800</li>
|
52 |
-
<li>SM-5900</li>
|
53 |
-
</ul>
|
54 |
-
<h3>Steps to download and install Digi SM 100 software</h3>
|
55 |
-
<p>To download and install Digi SM 100 software, follow these steps:</p>
|
56 |
-
<ol>
|
57 |
-
<li>Go to the Digi website at <a href="">https://www.digisystem.com/</a></li>
|
58 |
-
<li>Click on the "Products" tab and select "Scale Printer"</li>
|
59 |
-
<li>Find your Digi SM 100 model and click on it</li>
|
60 |
-
<li>Scroll down to the "Downloads" section and click on the "Software" link</li>
|
61 |
-
<li>Select the language and version of the software you want to download and click on the "Download" button</li>
|
62 |
-
<li>Save the file to your computer and unzip it if necessary</li>
|
63 |
-
<li>Run the setup.exe file and follow the instructions on the screen to install the software</li>
|
64 |
-
<li>Enter your license key when prompted and complete the installation process</li>
|
65 |
-
<li>Restart your computer if required</li>
|
66 |
-
</ol>
|
67 |
-
<p>Congratulations! You have successfully downloaded and installed Digi SM 100 software on your computer.</p>
|
68 |
-
<h2>How to use Digi SM 100 software</h2>
|
69 |
-
<p>Digi SM 100 software is easy to use and has a user-friendly interface. You can use it to perform various tasks, such as connecting your scale printer, configuring your settings, designing and printing labels, and more. Here are some of the main functions of Digi SM 100 software:</p>
|
70 |
-
<h3>How to connect Digi SM 100 scale printer to your computer</h3>
|
71 |
-
<p>To connect your Digi SM 100 scale printer to your computer, you can use either a USB cable or a wireless LAN module. Here are the steps for each method:</p>
|
72 |
-
<ul>
|
73 |
-
<li>USB cable: Connect one end of the USB cable to your scale printer and the other end to your computer. Turn on your scale printer and wait for your computer to recognize it. You should see a message on your screen saying that a new device has been detected. If not, you may need to install a driver for your scale printer from the Digi website.</li>
|
74 |
-
<li>Wireless LAN module: Install the wireless LAN module on your scale printer according to the instructions provided with it. Turn on your scale printer and make sure that it is connected to the same network as your computer. On your computer, open Digi SM 100 software and go to "File" > "Connect". Select "Wireless LAN" as the connection type and enter the IP address of your scale printer. Click on "OK" to establish the connection.</li>
|
75 |
-
</ul>
|
76 |
-
<p>You should see a green icon on the bottom right corner of Digi SM 100 software indicating that you are connected to your scale printer. If not, you may need to check your network settings or contact Digi support for assistance.</p> b2dd77e56b<br />
|
77 |
-
<br />
|
78 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/EaseUS Data Recovery Full Crack for Windows 11 What You Need to Know Before You Download It.md
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>How to Download EaseUS Data Recovery Full Crack for Windows 11</h1>
|
3 |
-
<p>EaseUS Data Recovery is a popular software that can help you recover deleted, formatted, or lost data from various devices, such as hard drives, memory cards, USB flash drives, or digital cameras. However, the official version of EaseUS Data Recovery is not free, and you need to pay a certain amount of money to use its full features. This might lead some people to look for EaseUS Data Recovery full crack for Windows 11, which is a pirated version of the software that claims to offer the same functionality without any cost. But is it safe and legal to download EaseUS Data Recovery full crack for Windows 11? In this article, we will explain why you should avoid downloading EaseUS Data Recovery full crack for Windows 11 and how to download EaseUS Data Recovery legally and safely for Windows 11.</p>
|
4 |
-
<h2>Why You Should Avoid Downloading EaseUS Data Recovery Full Crack for Windows 11</h2>
|
5 |
-
<p>Downloading EaseUS Data Recovery full crack for Windows 11 might seem like a tempting option if you want to save money or try out the software without any limitations. However, there are many risks and drawbacks associated with this practice, such as:</p>
|
6 |
-
<h2>easeus data recovery download full crack</h2><br /><p><b><b>Download</b> ↔ <a href="https://byltly.com/2uKz5E">https://byltly.com/2uKz5E</a></b></p><br /><br />
|
7 |
-
<ul>
|
8 |
-
<li>You might download a fake or corrupted file that could harm your computer or compromise your personal data.</li>
|
9 |
-
<li>You might expose your device to malware, spyware, ransomware, or other malicious programs that could steal your information, lock your files, or damage your system.</li>
|
10 |
-
<li>You might violate the intellectual property rights of EaseUS and face legal consequences such as fines or lawsuits.</li>
|
11 |
-
<li>You might miss out on important updates, patches, and security fixes that EaseUS releases regularly to improve the performance and security of its software.</li>
|
12 |
-
<li>You might experience compatibility issues, bugs, errors, or crashes that could affect your productivity and workflow.</li>
|
13 |
-
</ul>
|
14 |
-
<p>Therefore, downloading EaseUS Data Recovery full crack for Windows 11 is not worth the risk or hassle. Instead, you should opt for a legal and safe way to download EaseUS Data Recovery for Windows 11.</p>
|
15 |
-
<h2>How to Download EaseUS Data Recovery Legally and Safely for Windows 11</h2>
|
16 |
-
<p>There are several ways to download EaseUS Data Recovery legally and safely for Windows 11, depending on your needs and preferences. Here are some of the options you can choose from:</p>
|
17 |
-
<h3>Download EaseUS Data Recovery Free Trial</h3>
|
18 |
-
<p>If you want to try out EaseUS Data Recovery for a limited time before buying it, you can download a free trial version from the official website. The free trial gives you access to all the features and applications of EaseUS Data Recovery Wizard for one month. To download the free trial, you need to have an email address and a valid credit card. You can cancel the trial anytime before it expires without being charged. To download the free trial, follow these steps:</p>
|
19 |
-
<ol>
|
20 |
-
<li>Navigate to the <a href="https://www.easeus.com/data-recovery/easeus-data-recovery-wizard-10.2-full-crack-serial-keygen.html">EaseUS Data Recovery Wizard Official free trial page</a>.</li>
|
21 |
-
<li>Enter your email address and click the <b>Free Trial</b> button.</li>
|
22 |
-
<li>Check your email inbox and click the link to confirm your subscription.</li>
|
23 |
-
<li>Enter your payment details and click <b>Start My Free Trial</b>.</li>
|
24 |
-
<li>Click <b>Download Now</b> and follow the instructions to download and install EaseUS Data Recovery on your device.</li>
|
25 |
-
</ol>
|
26 |
-
<h3>Download EaseUS Data Recovery with a License Code</h3>
|
27 |
-
<p>If you have purchased a license code of EaseUS Data Recovery from an authorized source, you can download EaseUS Data Recovery with your license code from the official website. The license code is a 25-digit code that verifies your purchase and allows you to activate EaseUS Data Recovery on your device. To download EaseUS Data Recovery with a license code, follow these steps:</p>
|
28 |
-
<p></p>
|
29 |
-
<ol>
|
30 |
-
<li>Navigate to the <a href="https://www.easeus.com/data-recovery/easeus-data-recovery-wizard-10.2-full-crack-serial-keygen.html">EaseUS Data Recovery Wizard Official page</a>.</li>
|
31 |
-
<li>Click <b>Buy Now</b> and select</p> ddb901b051<br />
|
32 |
-
<br />
|
33 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Counter Strike Global Offensive Patch Fr !!TOP!!.md
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<h2>Counter Strike Global Offensive Patch Fr</h2><br /><p><b><b>DOWNLOAD</b> ⇒⇒⇒ <a href="https://imgfil.com/2uy1vz">https://imgfil.com/2uy1vz</a></b></p><br /><br />
|
2 |
-
<br />
|
3 |
-
v0.5.0 – 10/3/14 – Update– Changed zoom range and added . – Changed accuracy settings to slightly more aggressive (from 0.95 to 0.99). – Changed tripmin settings to make it more intuitive. – Changed /eliminated chance of . – Added the ability to record video using . – Added options to , , and . – Added item key bindings in the Options Menu. – Added for debugging messages to be logged to the debug console instead of the main log. – Added for debugging messages to be printed to the console (disabled by default). – Added for debugging messages to be printed to the console and to be attached to the chat. – Added the ability to detach the debug console from the main console. – Added ability to run the map in offline mode. – Added ability to toggle display of the cursor in the Player HUD (off by default). – Added for the previous center point of the map to be remembered. – Adjusted to work with in the new map editor. – Changed the names of the controller button to match the actual buttons on a modern controller. – Fixed an issue where the player would be frozen after , , and . – Fixed an issue where the player would sometimes be stuck inside the center after , , and . – Fixed an issue where the HUD would be visible in the corner of the screen after , , and . – Fixed an issue where the mouse cursor would stay in the corner of the screen after , , and . – Fixed an issue where the player would jump when , , and were first activated. – Fixed an issue where the center of the map would not be centered on the player after , , and . – Fixed an issue where , , and were not able to be re-used for quick teleport. – Fixed an issue where the player would get stuck in an infinite loop after , , and were activated. – Fixed an issue where the center of the map would not be centered on the player after , , and were activated. – Fixed an issue where , , and could not be used on the roof of the arena. – Fixed an issue where the player would be stuck in the center of the map after , , and were activated. – Fixed an issue where the player could still teleport after , , and were activated. – 4fefd39f24<br />
|
4 |
-
<br />
|
5 |
-
<br />
|
6 |
-
<p></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Download !LINK! Visualsvn.server.enterprise.edition.license.key.Serials.rar 16.md
DELETED
@@ -1,153 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Download VisualSVN Server Enterprise Edition License Key Serials RAR 16</h1>
|
3 |
-
|
4 |
-
<p>If you are looking for a way to download VisualSVN Server Enterprise Edition license key serials RAR 16, you are in the right place. In this article, I will show you how to get the license key serials for VisualSVN Server Enterprise Edition, a powerful and easy-to-use Subversion server for Windows. You will also learn what VisualSVN Server Enterprise Edition is, what features it offers, and why you should use it.</p>
|
5 |
-
<h2>Download visualsvn.server.enterprise.edition.license.key.Serials.rar 16</h2><br /><p><b><b>DOWNLOAD</b> — <a href="https://imgfil.com/2uxXUY">https://imgfil.com/2uxXUY</a></b></p><br /><br />
|
6 |
-
|
7 |
-
<h2>What is VisualSVN Server Enterprise Edition?</h2>
|
8 |
-
|
9 |
-
<p>VisualSVN Server Enterprise Edition is a professional grade Subversion server for Windows that allows you to setup and maintain an enterprise level Apache Subversion server on your Windows platform. It is certified for Windows Server and trusted by thousands of SMBs and Fortune 500 companies such as General Electric, Siemens, ThyssenKrupp and Sony.</p>
|
10 |
-
|
11 |
-
<p>VisualSVN Server Enterprise Edition offers many features that make it the most favored way to setup and maintain a Subversion server on Windows. Some of these features are:</p>
|
12 |
-
|
13 |
-
<ul>
|
14 |
-
<li>Active Directory Single Sign-On: Allows users to access VisualSVN Server using their current Active Directory domain credentials. Secure Kerberos V5 or NTLM authentication protocols are used. Support for two-factor authentication and smart cards is available.</li>
|
15 |
-
<li>Multisite Repository Replication: Provides high-performance replication between geographically distributed sites using VisualSVN Distributed File System (VDFS) technology. Distributed repositories are writable and functionally equivalent to regular Subversion repositories.</li>
|
16 |
-
<li>Full-Text Search: Search through the contents and history of your repositories — in any folder, at any revision. The search engine offers high performance, continuous indexing of new revisions and has virtually no limits on the repository sizes.</li>
|
17 |
-
<li>Backup and Restore: Backup your repositories with minimal downtime using the hotcopy feature. Restore your repositories from backup files with a few clicks.</li>
|
18 |
-
<li>Web Interface: Manage your repositories, users, groups, permissions, hooks, and settings via a user-friendly web interface.</li>
|
19 |
-
<li>Apache Subversion Command-Line Tools: Includes the latest versions of Apache Subversion command-line tools that allow you to perform various operations on your repositories.</li>
|
20 |
-
</ul>
|
21 |
-
|
22 |
-
<h2>Why Use VisualSVN Server Enterprise Edition?</h2>
|
23 |
-
|
24 |
-
<p>VisualSVN Server Enterprise Edition is the best choice for setting up and maintaining a Subversion server on Windows for several reasons:</p>
|
25 |
-
|
26 |
-
<ul>
|
27 |
-
<li>It is easy to install, configure and maintain. You can setup a full-featured and ready to use Subversion server in just a few clicks. Upgrades to newer versions are simple too.</li>
|
28 |
-
<li>It is free for commercial use under the Community license. The free Community license does not require any registration, allows an unlimited number of repositories and up to 15 users.</li>
|
29 |
-
<li>It is secure and reliable. It uses secure authentication protocols, encryption, backup and restore features, and other mechanisms to protect your data and ensure its availability.</li>
|
30 |
-
<li>It is scalable and flexible. It supports multisite repository replication, full-text search, web interface, command-line tools, and other features that allow you to manage your repositories efficiently and effectively.</li>
|
31 |
-
</ul>
|
32 |
-
|
33 |
-
<h2>How to Download VisualSVN Server Enterprise Edition License Key Serials RAR 16?</h2>
|
34 |
-
|
35 |
-
<p>To download VisualSVN Server Enterprise Edition license key serials RAR 16, you need to follow these steps:</p>
|
36 |
-
|
37 |
-
<ol>
|
38 |
-
<li>Visit the Downloads page on the VisualSVN website.</li>
|
39 |
-
<li>Choose the VisualSVN Server Enterprise Edition package that suits your Windows platform (64-bit or 32-bit).</li>
|
40 |
-
<li>Click on the Download button and save the installation file on your computer.</li>
|
41 |
-
<li>Run the installation file and follow the instructions to install VisualSVN Server Enterprise Edition on your computer.</li>
|
42 |
-
<li>After the installation is complete, launch VisualSVN Server Manager from the Start menu or desktop shortcut.</li>
|
43 |
-
<li>Select Help | Enter License Key from the menu bar.</li>
|
44 |
-
<li>Enter your name, email address, company name, and license key serial number in the corresponding fields.</li>
|
45 |
-
<li>Click on OK to activate your license key serial number.</li>
|
46 |
-
</ol>
|
47 |
-
|
48 |
-
<p>You can get the license key serial number for VisualSVN Server Enterprise Edition from various sources online. However, some of these sources may not be reliable or trustworthy. They may provide you with invalid or expired license key serial numbers that may not work or may cause problems with your VisualSVN Server Enterprise Edition installation. Therefore, it is recommended that you purchase a valid license key serial number from the official VisualSVN website or from an authorized reseller.</p>
|
49 |
-
<p></p>
|
50 |
-
|
51 |
-
<h2>Conclusion</h2>
|
52 |
-
|
53 |
-
<p>In this article, we have learned how to download VisualSVN Server Enterprise Edition license key serials RAR 16 and how to activate them on your computer. We have also learned what VisualSVN Server Enterprise Edition is, what features it offers, and why you should use it. VisualSVN Server Enterprise Edition is a professional grade Subversion server for Windows that allows you to setup and maintain an enterprise level Apache Subversion server on your Windows platform. It is easy to install, configure and maintain, free for commercial use under the Community license, secure and reliable, scalable and flexible. If you have any questions or comments, feel free to leave them below. Thanks for reading!</p>
|
54 |
-
<h2>How to Uninstall VisualSVN Server Enterprise Edition</h2>
|
55 |
-
|
56 |
-
<p>If you want to uninstall VisualSVN Server Enterprise Edition from your computer, you need to follow these steps:</p>
|
57 |
-
|
58 |
-
<ol>
|
59 |
-
<li>Close VisualSVN Server Manager and any other applications that may be using VisualSVN Server.</li>
|
60 |
-
<li>Go to the Control Panel and select Programs and Features.</li>
|
61 |
-
<li>Find VisualSVN Server Enterprise Edition in the list of installed programs and click on Uninstall.</li>
|
62 |
-
<li>Follow the instructions to complete the uninstallation process.</li>
|
63 |
-
<li>Restart your computer if prompted.</li>
|
64 |
-
</ol>
|
65 |
-
|
66 |
-
<p>Note that uninstalling VisualSVN Server Enterprise Edition will not delete your repositories or your license key serial number. You can keep them for future use or delete them manually if you want.</p>
|
67 |
-
|
68 |
-
<h2>How to Upgrade VisualSVN Server Enterprise Edition</h2>
|
69 |
-
|
70 |
-
<p>If you want to upgrade VisualSVN Server Enterprise Edition to a newer version, you need to follow these steps:</p>
|
71 |
-
|
72 |
-
<ol>
|
73 |
-
<li>Visit the Downloads page on the VisualSVN website and download the latest version of VisualSVN Server Enterprise Edition that suits your Windows platform (64-bit or 32-bit).</li>
|
74 |
-
<li>Run the installation file and follow the instructions to install the new version of VisualSVN Server Enterprise Edition on your computer.</li>
|
75 |
-
<li>The installation process will automatically detect your existing installation of VisualSVN Server Enterprise Edition and upgrade it to the new version.</li>
|
76 |
-
<li>You do not need to enter your license key serial number again as it will be preserved during the upgrade process.</li>
|
77 |
-
<li>Restart your computer if prompted.</li>
|
78 |
-
</ol>
|
79 |
-
|
80 |
-
<p>Note that upgrading VisualSVN Server Enterprise Edition will not affect your repositories or your settings. They will be preserved during the upgrade process.</p>
|
81 |
-
|
82 |
-
<h2>How to Troubleshoot VisualSVN Server Enterprise Edition</h2>
|
83 |
-
|
84 |
-
<p>If you encounter any problems with VisualSVN Server Enterprise Edition, such as errors, crashes, or performance issues, you can try some of these troubleshooting tips:</p>
|
85 |
-
|
86 |
-
<ul>
|
87 |
-
<li>Check the VisualSVN Server log files for any error messages or warnings. You can find the log files in the %VISUALSVN_SERVER%\Logs folder.</li>
|
88 |
-
<li>Check the Windows Event Viewer for any system or application errors or warnings related to VisualSVN Server.</li>
|
89 |
-
<li>Check the Apache Subversion log files for any error messages or warnings related to Subversion operations. You can find the log files in the %VISUALSVN_SERVER%\Repositories folder.</li>
|
90 |
-
<li>Check the VisualSVN Server documentation for any solutions or tips related to common problems or scenarios.</li>
|
91 |
-
<li>Contact the VisualSVN support team via email or phone if you need further assistance or guidance. You can find their contact details on the VisualSVN website.</li>
|
92 |
-
</ul>
|
93 |
-
<h2>How to Use VisualSVN Server Enterprise Edition</h2>
|
94 |
-
|
95 |
-
<p>After you have installed and activated VisualSVN Server Enterprise Edition on your computer, you can start using it to manage your Subversion repositories and users. You can use VisualSVN Server Manager, a user-friendly graphical interface that allows you to perform various tasks such as:</p>
|
96 |
-
|
97 |
-
<ul>
|
98 |
-
<li>Create, delete, rename, or relocate your repositories.</li>
|
99 |
-
<li>Manage your users, groups, permissions, and access rules.</li>
|
100 |
-
<li>Configure your repository hooks, settings, and properties.</li>
|
101 |
-
<li>Monitor your repository activity, performance, and statistics.</li>
|
102 |
-
<li>Backup and restore your repositories.</li>
|
103 |
-
<li>Upgrade your VisualSVN Server Enterprise Edition to a newer version.</li>
|
104 |
-
</ul>
|
105 |
-
|
106 |
-
<p>You can also use VisualSVN Server Web Interface, a web-based interface that allows you to perform some of the tasks that are available in VisualSVN Server Manager, such as:</p>
|
107 |
-
|
108 |
-
<ul>
|
109 |
-
<li>Browse your repositories and view their contents and history.</li>
|
110 |
-
<li>Search your repositories using full-text search.</li>
|
111 |
-
<li>Download or upload files from or to your repositories.</li>
|
112 |
-
<li>Compare different versions of files or directories.</li>
|
113 |
-
<li>View or edit your repository properties.</li>
|
114 |
-
</ul>
|
115 |
-
|
116 |
-
<h2>How to Integrate VisualSVN Server Enterprise Edition with Visual Studio</h2>
|
117 |
-
|
118 |
-
<p>If you are a software developer who uses Visual Studio as your IDE, you can integrate VisualSVN Server Enterprise Edition with Visual Studio using VisualSVN, a professional grade Subversion integration plug-in for Visual Studio. VisualSVN allows you to perform various Subversion operations from within Visual Studio, such as:</p>
|
119 |
-
|
120 |
-
<ul>
|
121 |
-
<li>Add, delete, rename, move, or copy files or directories in your solution or project.</li>
|
122 |
-
<li>Commit, update, revert, or merge changes to or from your repository.</li>
|
123 |
-
<li>View the status, history, log, blame, or diff of your files or directories.</li>
|
124 |
-
<li>Create, switch, or delete branches or tags.</li>
|
125 |
-
<li>Resolve conflicts or lock files.</li>
|
126 |
-
<li>Use TortoiseSVN dialogs for advanced Subversion operations.</li>
|
127 |
-
</ul>
|
128 |
-
|
129 |
-
<p>To integrate VisualSVN Server Enterprise Edition with Visual Studio using VisualSVN, you need to follow these steps:</p>
|
130 |
-
|
131 |
-
<ol>
|
132 |
-
<li>Visit the Downloads page on the VisualSVN website and download the latest version of VisualSVN that suits your Visual Studio version (2022, 2019, 2017).</li>
|
133 |
-
<li>Run the installation file and follow the instructions to install VisualSVN on your computer.</li>
|
134 |
-
<li>Restart Visual Studio if it was running during the installation process.</li>
|
135 |
-
<li>In Visual Studio, open the solution or project that you want to add to Subversion.</li>
|
136 |
-
<li>Select File | Add Solution to Subversion from the menu bar.</li>
|
137 |
-
<li>Select the repository URL where you want to store your solution or project and click OK.</li>
|
138 |
-
<li>The solution or project will be added to Subversion and you can start using VisualSVN features from the menu bar or the context menu.</li>
|
139 |
-
</ol>
|
140 |
-
|
141 |
-
<h2>How to Download Files from VisualSVN Server Enterprise Edition</h2>
|
142 |
-
|
143 |
-
<p>If you want to download files from VisualSVN Server Enterprise Edition to your computer, you can use one of these methods:</p>
|
144 |
-
|
145 |
-
<ul>
|
146 |
-
<li>Use a Subversion client such as TortoiseSVN or Apache Subversion command-line tools. You can install these tools from the Downloads page on the VisualSVN website. To download files using a Subversion client, you need to know the repository URL and the revision number of the files that you want to download. You can use the checkout or export commands to download files from a repository.</li>
|
147 |
-
<li>Use VisualSVN Server Web Interface. You can access the web interface by entering the repository URL in your web browser. To download files using the web interface, you need to browse to the file that you want to download and click on the Download button. You can also download multiple files or directories by selecting them and clicking on the Download button.</li>
|
148 |
-
</ul>
|
149 |
-
<h2>Conclusion</h2>
|
150 |
-
|
151 |
-
<p>In this article, we have learned how to download VisualSVN Server Enterprise Edition license key serials RAR 16 and how to use them to activate VisualSVN Server Enterprise Edition on our computer. We have also learned what VisualSVN Server Enterprise Edition is, what features it offers, and why we should use it. VisualSVN Server Enterprise Edition is a professional grade Subversion server for Windows that allows us to setup and maintain an enterprise level Apache Subversion server on our Windows platform. It is easy to install, configure and maintain, free for commercial use under the Community license, secure and reliable, scalable and flexible. We have also learned how to use VisualSVN Server Enterprise Edition to manage our Subversion repositories and users, how to integrate it with Visual Studio using VisualSVN, and how to download files from it using Subversion clients or web interface. If we have any questions or comments, we can leave them below or contact the VisualSVN support team. Thanks for reading!</p> 3cee63e6c2<br />
|
152 |
-
<br />
|
153 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1line/AutoGPT/autogpt/promptgenerator.py
DELETED
@@ -1,138 +0,0 @@
|
|
1 |
-
""" A module for generating custom prompt strings."""
|
2 |
-
from __future__ import annotations
|
3 |
-
|
4 |
-
import json
|
5 |
-
from typing import Any
|
6 |
-
|
7 |
-
|
8 |
-
class PromptGenerator:
|
9 |
-
"""
|
10 |
-
A class for generating custom prompt strings based on constraints, commands,
|
11 |
-
resources, and performance evaluations.
|
12 |
-
"""
|
13 |
-
|
14 |
-
def __init__(self) -> None:
|
15 |
-
"""
|
16 |
-
Initialize the PromptGenerator object with empty lists of constraints,
|
17 |
-
commands, resources, and performance evaluations.
|
18 |
-
"""
|
19 |
-
self.constraints = []
|
20 |
-
self.commands = []
|
21 |
-
self.resources = []
|
22 |
-
self.performance_evaluation = []
|
23 |
-
self.response_format = {
|
24 |
-
"thoughts": {
|
25 |
-
"text": "thought",
|
26 |
-
"reasoning": "reasoning",
|
27 |
-
"plan": "- short bulleted\n- list that conveys\n- long-term plan",
|
28 |
-
"criticism": "constructive self-criticism",
|
29 |
-
"speak": "thoughts summary to say to user",
|
30 |
-
},
|
31 |
-
"command": {"name": "command name", "args": {"arg name": "value"}},
|
32 |
-
}
|
33 |
-
|
34 |
-
def add_constraint(self, constraint: str) -> None:
|
35 |
-
"""
|
36 |
-
Add a constraint to the constraints list.
|
37 |
-
|
38 |
-
Args:
|
39 |
-
constraint (str): The constraint to be added.
|
40 |
-
"""
|
41 |
-
self.constraints.append(constraint)
|
42 |
-
|
43 |
-
def add_command(self, command_label: str, command_name: str, args=None) -> None:
|
44 |
-
"""
|
45 |
-
Add a command to the commands list with a label, name, and optional arguments.
|
46 |
-
|
47 |
-
Args:
|
48 |
-
command_label (str): The label of the command.
|
49 |
-
command_name (str): The name of the command.
|
50 |
-
args (dict, optional): A dictionary containing argument names and their
|
51 |
-
values. Defaults to None.
|
52 |
-
"""
|
53 |
-
if args is None:
|
54 |
-
args = {}
|
55 |
-
|
56 |
-
command_args = {arg_key: arg_value for arg_key, arg_value in args.items()}
|
57 |
-
|
58 |
-
command = {
|
59 |
-
"label": command_label,
|
60 |
-
"name": command_name,
|
61 |
-
"args": command_args,
|
62 |
-
}
|
63 |
-
|
64 |
-
self.commands.append(command)
|
65 |
-
|
66 |
-
def _generate_command_string(self, command: dict[str, Any]) -> str:
|
67 |
-
"""
|
68 |
-
Generate a formatted string representation of a command.
|
69 |
-
|
70 |
-
Args:
|
71 |
-
command (dict): A dictionary containing command information.
|
72 |
-
|
73 |
-
Returns:
|
74 |
-
str: The formatted command string.
|
75 |
-
"""
|
76 |
-
args_string = ", ".join(
|
77 |
-
f'"{key}": "{value}"' for key, value in command["args"].items()
|
78 |
-
)
|
79 |
-
return f'{command["label"]}: "{command["name"]}", args: {args_string}'
|
80 |
-
|
81 |
-
def add_resource(self, resource: str) -> None:
|
82 |
-
"""
|
83 |
-
Add a resource to the resources list.
|
84 |
-
|
85 |
-
Args:
|
86 |
-
resource (str): The resource to be added.
|
87 |
-
"""
|
88 |
-
self.resources.append(resource)
|
89 |
-
|
90 |
-
def add_performance_evaluation(self, evaluation: str) -> None:
|
91 |
-
"""
|
92 |
-
Add a performance evaluation item to the performance_evaluation list.
|
93 |
-
|
94 |
-
Args:
|
95 |
-
evaluation (str): The evaluation item to be added.
|
96 |
-
"""
|
97 |
-
self.performance_evaluation.append(evaluation)
|
98 |
-
|
99 |
-
def _generate_numbered_list(self, items: list[Any], item_type="list") -> str:
|
100 |
-
"""
|
101 |
-
Generate a numbered list from given items based on the item_type.
|
102 |
-
|
103 |
-
Args:
|
104 |
-
items (list): A list of items to be numbered.
|
105 |
-
item_type (str, optional): The type of items in the list.
|
106 |
-
Defaults to 'list'.
|
107 |
-
|
108 |
-
Returns:
|
109 |
-
str: The formatted numbered list.
|
110 |
-
"""
|
111 |
-
if item_type == "command":
|
112 |
-
return "\n".join(
|
113 |
-
f"{i+1}. {self._generate_command_string(item)}"
|
114 |
-
for i, item in enumerate(items)
|
115 |
-
)
|
116 |
-
else:
|
117 |
-
return "\n".join(f"{i+1}. {item}" for i, item in enumerate(items))
|
118 |
-
|
119 |
-
def generate_prompt_string(self) -> str:
|
120 |
-
"""
|
121 |
-
Generate a prompt string based on the constraints, commands, resources,
|
122 |
-
and performance evaluations.
|
123 |
-
|
124 |
-
Returns:
|
125 |
-
str: The generated prompt string.
|
126 |
-
"""
|
127 |
-
formatted_response_format = json.dumps(self.response_format, indent=4)
|
128 |
-
return (
|
129 |
-
f"Constraints:\n{self._generate_numbered_list(self.constraints)}\n\n"
|
130 |
-
"Commands:\n"
|
131 |
-
f"{self._generate_numbered_list(self.commands, item_type='command')}\n\n"
|
132 |
-
f"Resources:\n{self._generate_numbered_list(self.resources)}\n\n"
|
133 |
-
"Performance Evaluation:\n"
|
134 |
-
f"{self._generate_numbered_list(self.performance_evaluation)}\n\n"
|
135 |
-
"You should only respond in JSON format as described below \nResponse"
|
136 |
-
f" Format: \n{formatted_response_format} \nEnsure the response can be"
|
137 |
-
" parsed by Python json.loads"
|
138 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Crazy Fox MP3 Songs Free Download Stream and Download Crazy Fox Music.md
DELETED
@@ -1,126 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Download Crazy Fox Songs: How to Enjoy the Music of South Sudan's Rising Star</h1>
|
3 |
-
<p>If you are a fan of South Sudanese music, you have probably heard of Crazy Fox. He is one of the most talented and popular singers in the country, and his songs are catchy, upbeat, and inspiring. In this article, we will tell you everything you need to know about Crazy Fox, why you should download his songs, and how to do it easily and safely.</p>
|
4 |
-
<h2>Who is Crazy Fox?</h2>
|
5 |
-
<p>Crazy Fox is a young and talented singer from South Sudan, who has been making waves in the music industry since 2016. He is also known as John Ohide, and he was born in 1995 in Juba. He grew up in a musical family, and he started singing at a young age. He was influenced by both traditional and modern music, and he developed his own unique style of singing and rapping.</p>
|
6 |
-
<h2>download crazy fox songs</h2><br /><p><b><b>Download File</b> >>> <a href="https://urlin.us/2uT1b2">https://urlin.us/2uT1b2</a></b></p><br /><br />
|
7 |
-
<h3>A brief biography of the singer</h3>
|
8 |
-
<p>Crazy Fox started his musical career in 2016, when he released his first single, "Ana Gaid", which means "I am staying" in Arabic. The song was a hit, and it expressed his love for his country and his determination to stay despite the civil war and the hardships. He followed up with more singles, such as "Juba Juice", "Nyan Ci Yer", and "Wan Ci Bi". He also collaborated with other artists, such as Silver X, Kawaja Revolution, and MT7. He has performed in several concerts and festivals, both in South Sudan and abroad. He is currently working on his first album, which is expected to be released soon.</p>
|
9 |
-
<h3>His musical style and influences</h3>
|
10 |
-
<p>Crazy Fox's musical style is a blend of hip hop, dancehall, reggae, afrobeat, and traditional South Sudanese music. He sings and raps in English, Arabic, Dinka, Nuer, Bari, and other local languages. He uses catchy hooks, witty lyrics, and energetic beats to create songs that appeal to a wide audience. He is influenced by both local and international artists, such as Emmanuel Kembe, Yaba Angelosi, Bob Marley, Tupac Shakur, Wizkid, and Davido.</p>
|
11 |
-
<h3>His most popular songs and videos</h3>
|
12 |
-
<p>Some of Crazy Fox's most popular songs are:</p>
|
13 |
-
<ul>
|
14 |
-
<li>"Ana Gaid": This is his debut single, which was released in 2016. It is a patriotic song that celebrates his love for South Sudan and his refusal to leave his homeland. The song has over 172K views on YouTube.</li>
|
15 |
-
<li>"Juba Juice": This is a dancehall song that was released in 2017. It is a fun song that praises the beauty and diversity of Juba, the capital city of South Sudan. The song has over 68K views on YouTube.</li>
|
16 |
-
<li>"Nyan Ci Yer": This is a hip hop song that was released in 2018. It is a motivational song that encourages young people to work hard and pursue their dreams. The song has over 61K views on YouTube.</li>
|
17 |
-
<li>"Wan Ci Bi": This is a reggae song that was released in 2019. It is a love song that expresses his feelings for a special girl. The song has over 36K views on YouTube.</li>
|
18 |
-
</ul>
|
19 |
-
<p>You can watch his official music videos on his YouTube channel, or you can listen to his songs on SoundCloud or Audiomack. You can also find his songs on other platforms, such as Spotify, Apple Music, and Deezer.</p>
|
20 |
-
<h2>Why download Crazy Fox songs?</h2>
|
21 |
-
<p>Downloading Crazy Fox songs is a great way to enjoy his music anytime and anywhere. There are many benefits of downloading music, such as:</p>
|
22 |
-
<p>download crazy fox ana gaid mp3<br />
|
23 |
-
download crazy fox eu sou um espirito lyrics<br />
|
24 |
-
download crazy fox ainda existe compaixao video<br />
|
25 |
-
download crazy fox corra e nao olhe para atras song<br />
|
26 |
-
download crazy fox eu sou assombrado por ti album<br />
|
27 |
-
download crazy fox hora de dormir spotify<br />
|
28 |
-
download crazy fox mais que feliz amazon music<br />
|
29 |
-
download crazy fox quando o sol se por resso<br />
|
30 |
-
download crazy fox youtube channel<br />
|
31 |
-
download crazy fox top hits playlist<br />
|
32 |
-
download crazy fox songs for free<br />
|
33 |
-
download crazy fox songs offline<br />
|
34 |
-
download crazy fox songs in high quality<br />
|
35 |
-
download crazy fox songs with subtitles<br />
|
36 |
-
download crazy fox songs on iphone<br />
|
37 |
-
download crazy fox songs on android<br />
|
38 |
-
download crazy fox songs on windows<br />
|
39 |
-
download crazy fox songs on mac<br />
|
40 |
-
download crazy fox songs on linux<br />
|
41 |
-
download crazy fox songs on chromebook<br />
|
42 |
-
download crazy fox songs on soundcloud<br />
|
43 |
-
download crazy fox songs on deezer<br />
|
44 |
-
download crazy fox songs on tidal<br />
|
45 |
-
download crazy fox songs on apple music<br />
|
46 |
-
download crazy fox songs on google play music<br />
|
47 |
-
download crazy fox songs zip file<br />
|
48 |
-
download crazy fox songs rar file<br />
|
49 |
-
download crazy fox songs torrent file<br />
|
50 |
-
download crazy fox songs from youtube converter<br />
|
51 |
-
download crazy fox songs from youtube downloader<br />
|
52 |
-
download crazy fox songs from youtube mp3<br />
|
53 |
-
download crazy fox songs from youtube mp4<br />
|
54 |
-
download crazy fox songs from youtube to computer<br />
|
55 |
-
download crazy fox songs from youtube to phone<br />
|
56 |
-
download crazy fox songs from youtube to usb<br />
|
57 |
-
download crazy fox songs from youtube to cd<br />
|
58 |
-
download crazy fox songs from youtube to itunes<br />
|
59 |
-
download crazy fox songs from youtube to windows media player<br />
|
60 |
-
download crazy fox songs from youtube to vlc player<br />
|
61 |
-
download all crazy fox songs at once<br />
|
62 |
-
how to download crazy fox songs easily<br />
|
63 |
-
how to download crazy fox songs fast<br />
|
64 |
-
how to download crazy fox songs legally<br />
|
65 |
-
how to download crazy fox songs safely<br />
|
66 |
-
how to download crazy fox songs without virus<br />
|
67 |
-
how to download crazy fox songs without ads<br />
|
68 |
-
how to download crazy fox songs without registration<br />
|
69 |
-
how to download crazy fox songs without software</p>
|
70 |
-
<ul>
|
71 |
-
<li>You can listen to your favorite songs offline, without worrying about internet connection or data charges.</li>
|
72 |
-
<li>You can create your own playlists and customize your music experience.</li>
|
73 |
-
<li>You can transfer your songs to different devices and share them with your friends and family.</li>
|
74 |
-
<li>You can support the artist and help him grow his fan base and career.</li>
|
75 |
-
</ul>
|
76 |
-
<p>Downloading Crazy Fox songs is also a good idea because streaming music in South Sudan can be challenging. South Sudan has one of the lowest internet penetration rates in the world, with only 2.5% of the population having access to the internet. The internet speed is also slow and unreliable, averaging at 0.6 Mbps. This means that streaming music online can be frustrating and expensive, especially if you want to listen to high-quality audio. By downloading Crazy Fox songs, you can avoid these problems and enjoy his music smoothly and conveniently.</p>
|
77 |
-
<p>Another reason why you should download Crazy Fox songs is because his music has a positive cultural and social impact. His music celebrates the diversity and richness of South Sudanese culture, and promotes peace and unity among the people. His music also inspires and empowers young people to overcome their challenges and achieve their goals. His music is a source of joy and hope for many South Sudanese, especially in these difficult times. By downloading Crazy Fox songs, you can show your appreciation and support for his music and his message.</p>
|
78 |
-
<h2>How to download Crazy Fox songs?</h2>
|
79 |
-
<p>Downloading Crazy Fox songs is easy and simple, if you know where to look and what to do. Here are some of the best websites and apps to download his music, and some tips on how to use them.</p>
|
80 |
-
<h3>The best websites and apps to download his music</h3>
|
81 |
-
<h4>YouTube</h4>
|
82 |
-
<p>YouTube is one of the most popular and convenient platforms to download Crazy Fox songs. You can find all his official music videos on his YouTube channel, as well as some live performances and interviews. You can also find some fan-made videos and covers of his songs. To download Crazy Fox songs from YouTube, you will need a YouTube downloader app or website, such as VidMate or Y2Mate. These apps and websites allow you to download YouTube videos in different formats, such as MP4, MP3, or M4A. You can choose the format that suits your device and preference, and then save the file to your device or cloud storage. You can also adjust the quality and size of the file, depending on your internet speed and storage space.</p>
|
83 |
-
<h4>SoundCloud</h4>
|
84 |
-
<p>SoundCloud is another great platform to download Crazy Fox songs. You can find all his official audio tracks on his SoundCloud page, as well as some remixes and collaborations with other artists. You can also discover new songs and artists that are similar to Crazy Fox's style. To download Crazy Fox songs from SoundCloud, you will need a SoundCloud downloader app or website, such as KlickAud or ScloudDownloader. These apps and websites allow you to download SoundCloud tracks in MP3 format, which is compatible with most devices. You just need to copy the URL of the track you want to download, paste it into the app or website, and click on the download button. You can then save the file to your device or cloud storage.</p>
|
85 |
-
<h4>Audiomack</h4>
|
86 |
-
<p>Audiomack is another excellent platform to download Crazy Fox songs. You can find all his official audio tracks on his Audiomack page, as well as some exclusive releases and playlists. You can also follow him on Audiomack to get notified of his latest uploads and updates. To download Crazy Fox songs from Audiomack, you will need the Audiomack app, which is available for both Android and iOS devices. The app allows you to download Audiomack tracks in MP3 format, which is compatible with most devices. You just need to tap on the download icon next to the track you want to download, and choose the quality option that suits your device and preference. You can then save the file to your device or cloud storage.</p>
|
87 |
-
<h3>The best devices and formats to play his music</h3>
|
88 |
-
<h4>Smartphones and tablets</h4>
|
89 |
-
<p>Smartphones and tablets are the most common devices that people use to play music nowadays. They are portable, convenient, and versatile. You can play Crazy Fox songs on your smartphone or tablet using any music player app, such as Google Play Music, Apple Music, or VLC. You can also use headphones, earphones, or Bluetooth speakers to enhance the sound quality and volume. The best format to play Crazy Fox songs on your smartphone or tablet is MP3, which is a compressed and universal format that can save storage space and bandwidth. You can also use other formats, such as M4A, AAC, or WMA, depending on your device and preference.</p>
|
90 |
-
<h4>MP3 players and speakers</h4>
|
91 |
-
<p>MP3 players and speakers are another option to play music on the go. They are small, lightweight, and easy to carry. You can play Crazy Fox songs on your MP3 player or speaker using a USB cable, a memory card, or a Bluetooth connection. You can also use headphones, earphones, or external speakers to enhance the sound quality and volume. The best format to play Crazy Fox songs on your MP3 player or speaker is MP3, which is a compressed and universal format that can save storage space and battery life. You can also use other formats, such as WAV, FLAC, or OGG, depending on your device and preference.</p>
|
92 |
-
<h4>Computers and laptops</h4>
|
93 |
-
<p>Computers and laptops are the most powerful and versatile devices to play music. They have large screens, high-quality speakers, and fast processors. You can play Crazy Fox songs on your computer or laptop using any music player software, such as Windows Media Player, iTunes, or Winamp. You can also use headphones, earphones, or external speakers to enhance the sound quality and volume. The best format to play Crazy Fox songs on your computer or laptop is WAV, which is an uncompressed and lossless format that can preserve the original sound quality and details. You can also use other formats, such as MP3, FLAC, or OGG, depending on your device and preference.</p>
|
94 |
-
<h2>Conclusion</h2>
|
95 |
-
<p>Crazy Fox is one of the most talented and popular singers in South Sudan. His music is a blend of hip hop, dancehall, reggae, afrobeat, and traditional South Sudanese music. His music celebrates the diversity and richness of South Sudanese culture, and promotes peace and unity among the people. His music also inspires and empowers young people to overcome their challenges and achieve their goals. His music is a source of joy and hope for many South Sudanese, especially in these difficult times.</p>
|
96 |
-
<p>Downloading Crazy Fox songs is a great way to enjoy his music anytime and anywhere. There are many benefits of downloading music, such as listening offline, creating playlists, transferring to different devices, sharing with friends and family, and supporting the artist. Downloading Crazy Fox songs is also a good idea because streaming music in South Sudan can be challenging due to low internet penetration, slow internet speed, and high data charges. By downloading Crazy Fox songs, you can avoid these problems and enjoy his music smoothly and conveniently.</p>
|
97 |
-
<p>Downloading Crazy Fox songs is easy and simple if you know where to look and what to do. Some of the best websites and apps to download his music are YouTube , SoundCloud, Audiomack, Spotify, Apple Music, Deezer, VidMate, Y2Mate, KlickAud, ScloudDownloader, Google Play Music, Apple Music, VLC, Windows Media Player, iTunes, Winamp. Some of the best devices and formats to play his music are smartphones, tablets, MP3 players, speakers, computers, laptops, MP3, M4A, AAC, WMA, WAV, FLAC, OGG.</p>
|
98 |
-
<p>We hope this article has helped you learn more about Crazy Fox and how to download his songs. If you have any questions or comments, please feel free to leave them below. Thank you for reading and happy listening!</p>
|
99 |
-
<h2>FAQs</h2>
|
100 |
-
<p>Here are some of the frequently asked questions about Crazy Fox and his music.</p>
|
101 |
-
<ol>
|
102 |
-
<li>Where can I find Crazy Fox's social media accounts?</li>
|
103 |
-
<p>You can follow Crazy Fox on his Facebook page, his Instagram account, and his Twitter account. You can also subscribe to his YouTube channel to get notified of his latest videos.</p>
|
104 |
-
<li>How can I contact Crazy Fox for bookings or collaborations?</li>
|
105 |
-
<p>You can contact Crazy Fox through his email address, [email protected], or through his phone number, +211 922 222 222. You can also send him a message on his Facebook page or his Instagram account.</p>
|
106 |
-
<li>How can I support Crazy Fox and his music?</li>
|
107 |
-
<p>You can support Crazy Fox and his music by downloading his songs, sharing them with your friends and family, leaving positive feedback and reviews, attending his concerts and events, buying his merchandise, and donating to his causes. You can also follow him on his social media accounts and show him some love and appreciation.</p>
|
108 |
-
<li>What are some of the awards and achievements that Crazy Fox has received?</li>
|
109 |
-
<p>Crazy Fox has received several awards and recognitions for his music and his contribution to the South Sudanese music industry. Some of them are:</p>
|
110 |
-
<ul>
|
111 |
-
<li>The Best Hip Hop Artist of the Year at the South Sudan Music Awards in 2017 and 2018.</li>
|
112 |
-
<li>The Best Male Artist of the Year at the Eye Radio Music Awards in 2018.</li>
|
113 |
-
<li>The Best Collaboration of the Year for "Wan Ci Bi" featuring Silver X at the South Sudan Music Awards in 2019.</li>
|
114 |
-
<li>The Best Video of the Year for "Nyan Ci Yer" at the Eye Radio Music Awards in 2019.</li>
|
115 |
-
<li>The Most Influential Artist of the Year at the South Sudan Youth Awards in 2020.</li>
|
116 |
-
</ul>
|
117 |
-
<li>What are some of the causes and projects that Crazy Fox is involved in?</li>
|
118 |
-
<p>Crazy Fox is not only a singer, but also a humanitarian and an activist. He is involved in several causes and projects that aim to improve the lives and conditions of the South Sudanese people. Some of them are:</p>
|
119 |
-
<ul>
|
120 |
-
<li>He is a goodwill ambassador for UNICEF South Sudan, where he advocates for children's rights and education.</li>
|
121 |
-
<li>He is a founder and a member of the Peace Makers Initiative, where he promotes peace and reconciliation among the different ethnic groups in South Sudan.</li>
|
122 |
-
<li>He is a supporter and a donor of the Juba Orphanage Home, where he provides food, clothing, and education for orphaned children.</li>
|
123 |
-
<li>He is a sponsor and a mentor of the Juba Music Academy, where he trains and supports young aspiring musicians.</li>
|
124 |
-
</ul></p> 197e85843d<br />
|
125 |
-
<br />
|
126 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Criminal Case Save the World! Mod APK - A Fun and Challenging Game with Infinite Money Energy and Stars.md
DELETED
@@ -1,128 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Criminal Case Mod Apk Happymod: How to Download and Play</h1>
|
3 |
-
<p>If you are a fan of detective games, you might have heard of <strong>Criminal Case</strong>, a popular hidden object game that lets you solve murder cases and catch the killers. But did you know that you can play this game with more features and benefits by using <strong>Happymod</strong>, a platform that provides modded apk files for various games and apps? In this article, we will show you what Criminal Case and Happymod are, how to download and install Criminal Case mod apk happymod, and what benefits you can get from playing this modded version of the game.</p>
|
4 |
-
<h2>What is Criminal Case?</h2>
|
5 |
-
<p>Criminal Case is a free-to-play game that was released in 2012 by Pretty Simple, a French game developer. The game is available on Facebook, iOS, Android, and Windows platforms. The game has over 100 million downloads on Google Play Store and has won several awards, such as the Facebook Game of the Year in 2013.</p>
|
6 |
-
<h2>criminal case mod apk happymod</h2><br /><p><b><b>Download Zip</b> 🗸 <a href="https://urlin.us/2uSXk1">https://urlin.us/2uSXk1</a></b></p><br /><br />
|
7 |
-
<p>The game is set in the fictional city of Grimsborough, where you join the local police force as a rookie detective. Your job is to investigate crime scenes, find clues, interrogate suspects, analyze evidence, and arrest the culprits. The game has six seasons, each with a different theme and location. The game also has a spin-off series called Criminal Case: Mysteries of the Past, Criminal Case: The Conspiracy, Criminal Case: Save the World, Criminal Case: Travel in Time, and Criminal Case: Supernatural Investigations.</p>
|
8 |
-
<h3>Features of Criminal Case</h3>
|
9 |
-
<p>Some of the features of Criminal Case are:</p>
|
10 |
-
<ul>
|
11 |
-
<li><strong>Investigate crime scenes</strong>: You can explore various crime scenes in a grim and corrupt city, such as parks, streets, alleys, mansions, museums, etc. You have to find hidden objects that are related to the case and collect them as clues.</li>
|
12 |
-
<li><strong>Play with your friends</strong>: You can connect your game account to Facebook and invite your friends to join you as partners. You can also compete with them on the leaderboard and see who is the best detective.</li>
|
13 |
-
<li><strong>Examine clues and analyze samples</strong>: You can send the clues you collected to the forensic lab, where you can examine them more closely and perform tests. You can also use tools such as magnifying glass, microscope, fingerprint scanner, etc. to find more details.</li>
|
14 |
-
<li><strong>Interrogate witnesses and suspects</strong>: You can question the people who are involved in the case, such as witnesses, victims' relatives, suspects, etc. You have to pay attention to their statements and expressions and find any contradictions or lies.</li>
|
15 |
-
<li><strong>Bring the killer to justice</strong>: After gathering enough evidence and narrowing down the list of suspects, you have to arrest the killer and bring them to trial. You have to present your evidence and prove their guilt beyond reasonable doubt.</li>
|
16 |
-
</ul>
|
17 |
-
<h3>Tips and Tricks for Criminal Case</h3>
|
18 |
-
<p>Here are some tips and tricks that can help you play Criminal Case better:</p>
|
19 |
-
<ul>
|
20 |
-
<li><strong>Get energy in Criminal Case</strong>: Energy is required to play any crime scene or puzzle in the game. The energy bar is automatically refilled while you wait or when you level up, but will not exceed the maximum amount of energy points. You can also get additional energy by watching ads, completing tasks, or asking your friends for help.</li>
|
21 |
-
<li><strong>Earn stars in Criminal Case</strong>: Stars are the currency of the game, which you can use to unlock new crime scenes, perform certain actions, or buy items. You can earn stars by completing crime scenes or puzzles with high scores. You can also get free stars by watching ads, spinning the wheel, or opening gift boxes.</li>
|
22 |
-
<li><strong>Use hints and boosters in Criminal Case</strong>: Hints and boosters are helpful tools that can make your gameplay easier and faster. Hints can show you the location of one hidden object in the crime scene, while boosters can give you various benefits, such as extra time, extra points, extra energy, etc. You can get hints and boosters by spending stars, coins, or cash.</li>
|
23 |
-
<li><strong>Customize your avatar and your pet in Criminal Case</strong>: You can personalize your appearance and style by choosing different outfits, accessories, hairstyles, etc. for your avatar. You can also adopt a pet that can accompany you in your investigations and provide you with bonuses. You can buy clothes and pets with coins or cash.</li>
|
24 |
-
<li><strong>Join a team or create your own in Criminal Case</strong>: You can join a team of other players or create your own team to chat, share tips, exchange gifts, and cooperate in solving cases. You can also participate in team events and challenges to earn rewards and badges.</li>
|
25 |
-
</ul>
|
26 |
-
<h2>What is Happymod?</h2>
|
27 |
-
<p><strong>Happymod</strong> is a platform that provides modded apk files for various games and apps. Modded apk files are modified versions of the original apk files that have some features unlocked or enhanced, such as unlimited money, unlimited gems, unlimited lives, etc. Happymod has a large collection of modded apk files that are tested and verified by users and editors. You can download and install these modded apk files on your Android device for free and enjoy the games and apps with more fun and convenience.</p>
|
28 |
-
<h3>Features of Happymod</h3>
|
29 |
-
<p>Some of the features of Happymod are:</p>
|
30 |
-
<ul>
|
31 |
-
<li><strong>Safe and reliable</strong>: Happymod only provides modded apk files that are 100% safe and virus-free. You can scan the apk files with any antivirus software before installing them. Happymod also has a strict review process to ensure that the modded apk files work properly and do not contain any malware or spyware.</li>
|
32 |
-
<li><strong>Fast and easy</strong>: Happymod has a user-friendly interface that allows you to browse, search, download, and install modded apk files with just a few clicks. You can also update the modded apk files to the latest version with one tap. Happymod supports high-speed download and resume download functions to save your time and data.</li>
|
33 |
-
<li><strong>Diverse and updated</strong>: Happymod has a huge library of modded apk files for various categories, such as action, adventure, arcade, casual, puzzle, simulation, sports, etc. You can find modded apk files for popular games and apps, such as Subway Surfers, Clash of Clans, Candy Crush Saga, Spotify, Netflix, etc. Happymod also updates its content regularly to provide you with the newest and hottest modded apk files.</li>
|
34 |
-
<li><strong>Interactive and social</strong>: Happymod has a community feature that allows you to interact with other users and editors. You can comment on the modded apk files, rate them, request them, or report them. You can also share your feedback and suggestions with the developers and moderators of Happymod.</li>
|
35 |
-
</ul>
|
36 |
-
<h3>How to Use Happymod</h3>
|
37 |
-
<p>To use Happymod, you need to follow these steps:</p>
|
38 |
-
<ol>
|
39 |
-
<li><strong>Download the Happymod app</strong>: You can download the Happymod app from its official website or from any trusted third-party source. The app is compatible with Android 4.1 or higher devices.</li>
|
40 |
-
<li><strong>Install the Happymod app</strong>: After downloading the app, you need to install it on your device. You may need to enable unknown sources in your device settings to allow the installation of apps from outside the Google Play Store.</li>
|
41 |
-
<li><strong>Open the Happymod app</strong>: Once the app is installed, you can open it and grant it the necessary permissions to access your device storage and network.</li>
|
42 |
-
<li><strong>Browse or search for modded apk files</strong>: You can browse through the different categories or use the search bar to find the modded apk files you want. You can also filter the results by popularity, rating, update date, etc.</li>
|
43 |
-
<li><strong>Download and install mod ded apk files</strong>: After finding the modded apk files you want, you can download them by tapping on the download button. You can see the progress of the download in the notification bar or in the app itself. Once the download is complete, you can install the modded apk files by tapping on the install button. You may need to enable unknown sources again if prompted.</li>
|
44 |
-
<li><strong>Launch the modded games or apps</strong>: After installing the modded apk files, you can launch them from your device menu or from the Happymod app. You can enjoy the games or apps with the modded features and benefits.</li>
|
45 |
-
</ol>
|
46 |
-
<h2>How to Download and Install Criminal Case Mod Apk Happymod</h2>
|
47 |
-
<p>To download and install Criminal Case mod apk happymod, you need to follow these steps:</p>
|
48 |
-
<h3>Step 1: Download the Mod Apk File</h3>
|
49 |
-
<p>You can download the Criminal Case mod apk happymod file from the Happymod app or from this link: [Criminal Case Mod Apk Happymod]. The file size is about 66 MB and the mod version is 2.36.4.</p>
|
50 |
-
<p>criminal case save the world mod apk unlimited money<br />
|
51 |
-
criminal case paris mod apk download for android<br />
|
52 |
-
criminal case mod apk latest version happymod<br />
|
53 |
-
criminal case mysteries of the past mod apk free energy<br />
|
54 |
-
criminal case travel in time mod apk unlimited stars<br />
|
55 |
-
criminal case the conspiracy mod apk android 1<br />
|
56 |
-
criminal case supernatural investigations mod apk happymod<br />
|
57 |
-
criminal case pacific bay mod apk unlimited everything<br />
|
58 |
-
criminal case mod apk offline download<br />
|
59 |
-
criminal case mod apk 2023 happymod<br />
|
60 |
-
criminal case hidden crimes mod apk unlimited money and energy<br />
|
61 |
-
criminal case mod apk rexdl<br />
|
62 |
-
criminal case mod apk revdl<br />
|
63 |
-
criminal case mod apk unlimited energy and hints<br />
|
64 |
-
criminal case mod apk no root<br />
|
65 |
-
criminal case mod apk with facebook login<br />
|
66 |
-
criminal case mod apk unlimited coins and cash<br />
|
67 |
-
criminal case mod apk all cases unlocked<br />
|
68 |
-
criminal case mod apk unlimited energy and money 2023<br />
|
69 |
-
criminal case mod apk for ios<br />
|
70 |
-
criminal case save the world hack mod apk download<br />
|
71 |
-
criminal case paris hack mod apk free download<br />
|
72 |
-
criminal case hack mod apk happymod 2023<br />
|
73 |
-
criminal case mysteries of the past hack mod apk latest version<br />
|
74 |
-
criminal case travel in time hack mod apk android 1<br />
|
75 |
-
criminal case the conspiracy hack mod apk unlimited stars and energy<br />
|
76 |
-
criminal case supernatural investigations hack mod apk offline<br />
|
77 |
-
criminal case pacific bay hack mod apk no root<br />
|
78 |
-
criminal case hack mod apk online<br />
|
79 |
-
criminal case hack mod apk 2023 latest version happymod<br />
|
80 |
-
criminal case hidden crimes hack mod apk unlimited hints and coins<br />
|
81 |
-
criminal case hack mod apk rexdl.com<br />
|
82 |
-
criminal case hack mod apk revdl.com<br />
|
83 |
-
criminal case hack mod apk unlimited energy and cash 2023<br />
|
84 |
-
criminal case hack mod apk with facebook login 2023<br />
|
85 |
-
criminal case hack mod apk all cases unlocked 2023<br />
|
86 |
-
criminal case save the world cheats mod apk download for android<br />
|
87 |
-
criminal case paris cheats mod apk free download for android<br />
|
88 |
-
criminal case cheats mod apk happymod 2023 latest version<br />
|
89 |
-
criminal case mysteries of the past cheats mod apk unlimited energy and money<br />
|
90 |
-
criminal case travel in time cheats mod apk free stars and coins<br />
|
91 |
-
criminal case the conspiracy cheats mod apk android 1.com<br />
|
92 |
-
criminal case supernatural investigations cheats mod apk offline download 2023<br />
|
93 |
-
criminal case pacific bay cheats mod apk no root required 2023<br />
|
94 |
-
criminal case cheats mod apk online play 2023 <br />
|
95 |
-
criminal case cheats mod apk 2023 happymod.com <br />
|
96 |
-
criminal case hidden crimes cheats mod apk unlimited hints and cash 2023 <br />
|
97 |
-
criminal case cheats mod apk rexdl <br />
|
98 |
-
criminal case cheats mod apk revdl</p>
|
99 |
-
<h3>Step 2: Enable Unknown Sources</h3>
|
100 |
-
<p>Before installing the mod apk file, you need to enable unknown sources in your device settings. To do this, go to Settings > Security > Unknown Sources and toggle it on. This will allow you to install apps from outside the Google Play Store.</p>
|
101 |
-
<h3>Step 3: Install the Mod Apk File</h3>
|
102 |
-
<p>After downloading the mod apk file, you need to install it on your device. To do this, locate the file in your device storage or in the Happymod app and tap on it. You will see a pop-up window asking you to confirm the installation. Tap on Install and wait for a few seconds until the installation is complete.</p>
|
103 |
-
<h3>Step 4: Launch the Game and Enjoy</h3>
|
104 |
-
<p>After installing the mod apk file, you can launch the game from your device menu or from the Happymod app. You will see a new icon with a red H on it, which indicates that it is a modded game. You can enjoy the game with unlimited money, energy, and stars, as well as no ads and no waiting time.</p>
|
105 |
-
<h2>Benefits of Playing Criminal Case Mod Apk Happymod</h2>
|
106 |
-
<p>Playing Criminal Case mod apk happymod has many benefits that can enhance your gaming experience and make it more fun and convenient. Some of these benefits are:</p>
|
107 |
-
<h3>Unlimited Money, Energy, and Stars</h3>
|
108 |
-
<p>With Criminal Case mod apk happymod, you will have unlimited money, energy, and stars in your game account. You can use these resources to buy items, unlock new crime scenes, perform actions, use hints and boosters, customize your avatar and your pet, join a team or create your own, etc. You will not have to worry about running out of money, energy, or stars ever again.</p>
|
109 |
-
<h3>No Ads and No Waiting Time</h3>
|
110 |
-
<p>With Criminal Case mod apk happymod, you will not see any ads or pop-ups in your game screen. You will also not have to wait for any loading time or countdown timer before playing any crime scene or puzzle. You will have a smooth and uninterrupted gameplay without any distractions or delays.</p>
|
111 |
-
<h3>More Fun and Challenge</h3>
|
112 |
-
<p>With Criminal Case mod apk happymod, you will have more fun and challenge in solving murder cases and catching killers. You will be able to explore more crime scenes, examine more clues, interrogate more suspects, and arrest more culprits. You will also be able to compete with your friends and other players on the leaderboard and see who is the best detective.</p>
|
113 |
-
<h2>Conclusion</h2>
|
114 |
-
<p>Criminal Case is a great game for anyone who loves detective games and hidden object games. It has an engaging storyline, realistic graphics, diverse characters, and exciting gameplay. However, if you want to play this game with more features and benefits, you should try Criminal Case mod apk happymod. This is a modded version of the game that gives you unlimited money, energy, and stars, as well as no ads and no waiting time. You can download and install this modded version of the game from Happymod, a platform that provides safe and reliable modded apk files for various games and apps. By playing Criminal Case mod apk happymod, you will have more fun and challenge in solving murder cases and catching killers.</p>
|
115 |
-
<p>I hope this article has helped you understand what Criminal Case mod apk happymod is, how to download and install it, and what benefits you can get from playing it. If you have any questions or feedback, please feel free to leave them in the comment section below. Thank you for reading and happy gaming!</p>
|
116 |
-
<p>Here are some FAQs that you might find useful:</p>
|
117 |
-
<h4>Q: Is Criminal Case mod apk happymod safe to use?</h4>
|
118 |
-
<p>A: Yes, Criminal Case mod apk happymod is safe to use as long as you download it from Happymod or from a trusted source. You can also scan the mod apk file with any antivirus software before installing it. However, you should be aware that using modded apk files may violate the terms and conditions of the original game and may result in your account being banned or suspended. Therefore, you should use Criminal Case mod apk happymod at your own risk and discretion.</p>
|
119 |
-
<h4>Q: Do I need to root my device to use Criminal Case mod apk happymod?</h4>
|
120 |
-
<p>A: No, you do not need to root your device to use Criminal Case mod apk happymod. You can install and play the modded version of the game without any root access or permission. However, some features of the modded version may require root access to work properly, such as unlimited money, energy, and stars. If you want to use these features, you may need to root your device first.</p>
|
121 |
-
<h4>Q: Can I play Criminal Case mod apk happymod offline?</h4>
|
122 |
-
<p>A: Yes, you can play Criminal Case mod apk happymod offline without any internet connection. However, some features of the game may require internet connection to work properly, such as connecting to Facebook, inviting friends, joining a team, etc. If you want to use these features, you will need to connect your device to a stable Wi-Fi or mobile data network.</p>
|
123 |
-
<h4>Q: Can I play Criminal Case mod apk happymod with my friends?</h4>
|
124 |
-
<p>A: Yes, you can play Criminal Case mod apk happymod with your friends who also have the modded version of the game installed on their devices. You can connect your game account to Facebook and invite your friends to join you as partners. You can also compete with them on the leaderboard and see who is the best detective. However, you may not be able to play with your friends who have the original version of the game installed on their devices, as they may have different game versions and features.</p>
|
125 |
-
<h4>Q: How can I update Criminal Case mod apk happymod?</h4>
|
126 |
-
<p>A: You can update Criminal Case mod apk happymod by downloading and installing the latest version of the mod apk file from Happymod or from any trusted source. You can also check for updates in the Happymod app itself and tap on the update button if available. However, you should be careful when updating the mod apk file, as it may overwrite your previous game data and progress. Therefore, you should backup your game data before updating the mod apk file.</p> 197e85843d<br />
|
127 |
-
<br />
|
128 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download City Bus Simulator 3D Offline Mod Apk and Enjoy Realistic Bus Driving.md
DELETED
@@ -1,97 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>City Bus Simulator 3D Offline Mod APK: A Fun and Realistic Driving Game</h1>
|
3 |
-
<h2>Introduction</h2>
|
4 |
-
<p>Do you love driving games? Do you want to experience the thrill of driving a city bus in a realistic environment? If yes, then you should try City Bus Simulator 3D Offline Mod APK, a fun and addictive game that will test your skills and patience as a bus driver.</p>
|
5 |
-
<h2>city bus simulator 3d offline mod apk</h2><br /><p><b><b>Download</b> ····· <a href="https://urlin.us/2uSXPh">https://urlin.us/2uSXPh</a></b></p><br /><br />
|
6 |
-
<h3>What is City Bus Simulator 3D Offline Mod APK?</h3>
|
7 |
-
<p>City Bus Simulator 3D Offline Mod APK is a modified version of the original game, City Bus Simulator 2020, developed by This Gen Gamez. It is an offline game that lets you drive various buses in different cities and scenarios. You can pick up passengers, follow the traffic rules, avoid accidents, and complete your routes on time.</p>
|
8 |
-
<h3>Why should you play City Bus Simulator 3D Offline Mod APK?</h3>
|
9 |
-
<p>City Bus Simulator 3D Offline Mod APK is a game that will keep you entertained for hours. You will enjoy the following benefits when you play this game:</p>
|
10 |
-
<ul>
|
11 |
-
<li>You will improve your driving skills and learn how to handle different situations on the road.</li>
|
12 |
-
<li>You will explore different cities and landscapes with realistic graphics and sound effects.</li>
|
13 |
-
<li>You will have fun with the challenging missions and achievements that will reward you with money and items.</li>
|
14 |
-
<li>You will have access to unlimited money and unlocked items that will enhance your gameplay and customization options.</li>
|
15 |
-
</ul>
|
16 |
-
<h2>Features of City Bus Simulator 3D Offline Mod APK</h2>
|
17 |
-
<p>City Bus Simulator 3D Offline Mod APK has many features that make it one of the best driving games available. Here are some of the features that you will love:</p>
|
18 |
-
<p>city bus simulator 3d offline mod apk download<br />
|
19 |
-
city bus simulator 3d offline mod apk unlimited money<br />
|
20 |
-
city bus simulator 3d offline mod apk latest version<br />
|
21 |
-
city bus simulator 3d offline mod apk free<br />
|
22 |
-
city bus simulator 3d offline mod apk android<br />
|
23 |
-
city bus simulator 3d offline mod apk hack<br />
|
24 |
-
city bus simulator 3d offline mod apk no ads<br />
|
25 |
-
city bus simulator 3d offline mod apk gameplay<br />
|
26 |
-
city bus simulator 3d offline mod apk full unlocked<br />
|
27 |
-
city bus simulator 3d offline mod apk revdl<br />
|
28 |
-
city bus simulator 3d offline mod apk rexdl<br />
|
29 |
-
city bus simulator 3d offline mod apk happymod<br />
|
30 |
-
city bus simulator 3d offline mod apk mob.org<br />
|
31 |
-
city bus simulator 3d offline mod apk apkpure<br />
|
32 |
-
city bus simulator 3d offline mod apk uptodown<br />
|
33 |
-
city bus simulator 3d offline mod apk android 1<br />
|
34 |
-
city bus simulator 3d offline mod apk android oyun club<br />
|
35 |
-
city bus simulator 3d offline mod apk an1.com<br />
|
36 |
-
city bus simulator 3d offline mod apk blackmod.net<br />
|
37 |
-
city bus simulator 3d offline mod apk platinmods.com<br />
|
38 |
-
city bus simulator 3d offline mod apk for pc<br />
|
39 |
-
city bus simulator 3d offline mod apk for ios<br />
|
40 |
-
city bus simulator 3d offline mod apk for windows<br />
|
41 |
-
city bus simulator 3d offline mod apk for mac<br />
|
42 |
-
city bus simulator 3d offline mod apk for laptop<br />
|
43 |
-
city bus simulator 3d offline mod apk new update<br />
|
44 |
-
city bus simulator 3d offline mod apk new game<br />
|
45 |
-
city bus simulator 3d offline mod apk new version<br />
|
46 |
-
city bus simulator 3d offline mod apk new features<br />
|
47 |
-
city bus simulator 3d offline mod apk new maps<br />
|
48 |
-
city bus simulator 3d offline mod apk best graphics<br />
|
49 |
-
city bus simulator 3d offline mod apk best controls<br />
|
50 |
-
city bus simulator 3d offline mod apk best buses<br />
|
51 |
-
city bus simulator 3d offline mod apk best routes<br />
|
52 |
-
city bus simulator 3d offline mod apk best reviews<br />
|
53 |
-
city bus simulator 3d offline mod apk how to install<br />
|
54 |
-
city bus simulator 3d offline mod apk how to play<br />
|
55 |
-
city bus simulator 3d offline mod apk how to download<br />
|
56 |
-
city bus simulator 3d offline mod apk how to update<br />
|
57 |
-
city bus simulator 3d offline mod apk how to hack<br />
|
58 |
-
city bus simulator 3d offline mod apk online play<br />
|
59 |
-
city bus simulator 3d offline mod apk online multiplayer<br />
|
60 |
-
city bus simulator 3d offline mod apk online mode<br />
|
61 |
-
city bus simulator 3d offline mod apk online download<br />
|
62 |
-
city bus simulator 3d offline mod apk online game</p>
|
63 |
-
<h3>Amazing 3D graphics and sound effects</h3>
|
64 |
-
<p>The game has stunning 3D graphics that will make you feel like you are driving a real bus. You will see detailed bus models, realistic passengers, dynamic shadows, and reflections. You will also hear realistic sound effects such as engine noises, horn sounds, brake sounds, and passenger voices.</p>
|
65 |
-
<h3>Multiple bus models and routes to choose from</h3>
|
66 |
-
<p>The game has a variety of buses that you can drive, such as city buses, school buses, tourist buses, double-decker buses, and more. Each bus has its own characteristics, such as speed, handling, capacity, and fuel consumption. You can also customize your bus with different colors, stickers, wheels, and accessories. The game also has different routes that you can choose from, such as city routes, highway routes, mountain routes, desert routes, and more. Each route has its own challenges, such as traffic jams, roadblocks, sharp turns, steep slopes, and weather changes.</p>
|
67 |
-
<h3>Realistic traffic and weather conditions</h3>
|
68 |
-
<p>The game has realistic traffic and weather conditions that will affect your driving experience. You will encounter different vehicles on the road, such as cars, trucks, motorcycles, bicycles, and pedestrians. You will have to follow the traffic rules, such as stopping at red lights, giving way to other vehicles, and using indicators. You will also face different weather conditions, such as sunny days, rainy days, foggy days, snowy days, and stormy days. You will have to adjust your driving style according to the weather conditions.</p>
|
69 |
-
<h3>Challenging missions and achievements</h3>
|
70 |
-
<p>The <p>The game has challenging missions and achievements that will test your skills and patience as a bus driver. You will have to complete different tasks, such as picking up and dropping off passengers, following the schedule, avoiding collisions, and parking the bus. You will also have to earn stars, coins, and diamonds that you can use to buy new buses and items. You will also unlock new levels and routes as you progress in the game.</p>
|
71 |
-
<h3>Unlimited money and unlocked items</h3>
|
72 |
-
<p>The game has unlimited money and unlocked items that will make your gameplay more enjoyable and easier. You will not have to worry about running out of money or fuel, or having to watch ads to get more resources. You will also have access to all the buses and items that are normally locked or require real money to purchase. You can customize your bus and gameplay as you wish.</p>
|
73 |
-
<h2>How to download and install City Bus Simulator 3D Offline Mod APK?</h2>
|
74 |
-
<p>If you want to play City Bus Simulator 3D Offline Mod APK, you will have to download and install it on your device. Here are the steps that you need to follow:</p>
|
75 |
-
<h3>Step 1: Download the APK file from a trusted source</h3>
|
76 |
-
<p>You will have to download the APK file of City Bus Simulator 3D Offline Mod APK from a trusted source, such as [this link]. The file size is about 100 MB, so make sure you have enough space on your device. You can also scan the file with an antivirus program before opening it.</p>
|
77 |
-
<h3>Step 2: Enable unknown sources on your device</h3>
|
78 |
-
<p>You will have to enable unknown sources on your device to install the APK file. To do this, go to your device settings, then security, then unknown sources. Turn on the option that allows you to install apps from unknown sources. This will allow you to install the APK file without any problems.</p>
|
79 |
-
<h3>Step 3: Install the APK file and launch the game</h3>
|
80 |
-
<p>You will have to install the APK file by tapping on it and following the instructions on the screen. It may take a few minutes for the installation to complete. Once it is done, you can launch the game by tapping on its icon on your home screen or app drawer. You can now enjoy playing City Bus Simulator 3D Offline Mod APK.</p>
|
81 |
-
<h2>Conclusion</h2>
|
82 |
-
<p>City Bus Simulator 3D Offline Mod APK is a fun and realistic driving game that will give you hours of entertainment and excitement. You will be able to drive various buses in different cities and scenarios, with amazing 3D graphics and sound effects, realistic traffic and weather conditions, challenging missions and achievements, unlimited money and unlocked items, and more. You can download and install City Bus Simulator 3D Offline Mod APK easily by following the steps above. If you love driving games, you should definitely try City Bus Simulator 3D Offline Mod APK.</p>
|
83 |
-
<h2>FAQs</h2>
|
84 |
-
<ul>
|
85 |
-
<li><b>Is City Bus Simulator 3D Offline Mod APK safe to use?</b></li>
|
86 |
-
<p>Yes, City Bus Simulator 3D Offline Mod APK is safe to use, as long as you download it from a trusted source, such as [this link]. You can also scan the file with an antivirus program before installing it.</p>
|
87 |
-
<li><b>Is City Bus Simulator 3D Offline Mod APK free to play?</b></li>
|
88 |
-
<p>Yes, City Bus Simulator 3D Offline Mod APK is free to play, and you do not need an internet connection to play it. You also do not need to spend any real money to buy any buses or items in the game.</p>
|
89 |
-
<li><b>How can I update City Bus Simulator 3D Offline Mod APK?</b></li>
|
90 |
-
<p>You can update City Bus Simulator 3D Offline Mod APK by downloading the latest version of the APK file from [this link] and installing it over the existing one. You do not need to uninstall the previous version before installing the new one.</p>
|
91 |
-
<li><b>How can I contact the developer of City Bus Simulator 3D Offline Mod APK?</b></li>
|
92 |
-
<p>You can contact the developer of City Bus Simulator 3D Offline Mod APK by visiting their website at [this link] or by sending them an email at [email protected].</p>
|
93 |
-
<li><b>What are some other games like City Bus Simulator 3D Offline Mod APK?</b></li>
|
94 |
-
<p>Some other games like City Bus Simulator 3D Offline Mod APK are Coach Bus Simulator, Heavy Bus Simulator, Public Transport Simulator, Euro Truck Driver, and Driving School Sim.</p>
|
95 |
-
</ul></p> 197e85843d<br />
|
96 |
-
<br />
|
97 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Brawl Stars Hack Mod APK The Ultimate Cheat for Brawl Stars Fans.md
DELETED
@@ -1,116 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Brawl Stars Hack Mod APK Free Download: Everything You Need to Know</h1>
|
3 |
-
<p>If you are a fan of fast-paced multiplayer action games, you might have heard of Brawl Stars. This is a popular game developed by Supercell, the same company behind Clash of Clans and Clash Royale. In this game, you can choose from a variety of brawlers, each with their own unique skills and abilities, and compete with other players in different modes. You can also team up with your friends or join a club to chat and share tips.</p>
|
4 |
-
<h2>brawl stars hack mod apk free download</h2><br /><p><b><b>Download</b> ✔ <a href="https://jinyurl.com/2uNRfV">https://jinyurl.com/2uNRfV</a></b></p><br /><br />
|
5 |
-
<p>But what if you want to get unlimited gems, coins, and other resources in the game without spending real money? Well, that's where Brawl Stars Hack Mod APK comes in. This is a modified version of the original game that gives you access to various cheats and hacks that can enhance your gaming experience. In this article, we will tell you everything you need to know about Brawl Stars Hack Mod APK, including its features, benefits, risks, and how to download and install it on your device.</p>
|
6 |
-
<h2>What is Brawl Stars?</h2>
|
7 |
-
<p>Brawl Stars is a 3v3 online multiplayer action game that was released in 2018 for Android and iOS devices. The game features a colorful and cartoonish graphics style that appeals to both kids and adults. The game has over 40 brawlers that you can unlock and upgrade as you progress in the game. Each brawler has a unique personality, appearance, and skill set that makes them suitable for different roles and strategies.</p>
|
8 |
-
<h3>Features of Brawl Stars</h3>
|
9 |
-
<p>Some of the main features of Brawl Stars are:</p>
|
10 |
-
<ul>
|
11 |
-
<li>Multiple game modes: You can choose from various game modes such as Gem Grab, Showdown, Heist, Bounty, Siege, Hot Zone, Knockout, and more. Each mode has its own rules and objectives that require different tactics and teamwork.</li>
|
12 |
-
<li>Customizable brawlers: You can customize your brawlers with different skins, pins, gadgets, and star powers that can change their appearance and performance. You can also mix and match different brawlers to create your own team composition.</li>
|
13 |
-
<li>Social features: You can join or create a club to chat with other players, share tips, and play together. You can also invite your friends to join your team or play against them in friendly matches. You can also participate in special events and challenges to earn rewards and trophies.</li>
|
14 |
-
<li>Regular updates: The game is constantly updated with new brawlers, skins, maps, modes, events, and more. The developers also listen to the feedback from the community and make improvements and changes accordingly.</li>
|
15 |
-
</ul>
|
16 |
-
<h3>How to play Brawl Stars</h3>
|
17 |
-
<p>To play Brawl Stars, you need to have a stable internet connection and a compatible device. You can download the game for free from the Google Play Store or the App Store. Once you have installed the game, you need to create an account or log in with your existing one. You can then choose your preferred game mode and start playing.</p>
|
18 |
-
<p>brawl stars mod apk unlimited money and gems download<br />
|
19 |
-
brawl stars hack apk latest version free download<br />
|
20 |
-
brawl stars mod menu apk download for android<br />
|
21 |
-
brawl stars hack online generator no human verification<br />
|
22 |
-
brawl stars mod apk all brawlers unlocked download<br />
|
23 |
-
brawl stars hack apk no root 2023 free download<br />
|
24 |
-
brawl stars mod apk private server download<br />
|
25 |
-
brawl stars hack tool download without survey<br />
|
26 |
-
brawl stars mod apk unlimited everything download<br />
|
27 |
-
brawl stars hack apk mediafıre link free download<br />
|
28 |
-
brawl stars mod apk god mode download<br />
|
29 |
-
brawl stars hack apk ios download no jailbreak<br />
|
30 |
-
brawl stars mod apk offline download<br />
|
31 |
-
brawl stars hack apk unlimited coins and gems download<br />
|
32 |
-
brawl stars mod apk new update download<br />
|
33 |
-
brawl stars hack apk 2023 free download<br />
|
34 |
-
brawl stars mod apk unlimited tickets download<br />
|
35 |
-
brawl stars hack apk mega mod free download<br />
|
36 |
-
brawl stars mod apk with obb file download<br />
|
37 |
-
brawl stars hack apk working free download<br />
|
38 |
-
brawl stars mod apk unlimited health download<br />
|
39 |
-
brawl stars hack apk android 1 free download<br />
|
40 |
-
brawl stars mod apk revdl download<br />
|
41 |
-
brawl stars hack apk happymod free download<br />
|
42 |
-
brawl stars mod apk rexdl download<br />
|
43 |
-
brawl stars hack apk no ban free download<br />
|
44 |
-
brawl stars mod apk unlock all skins download<br />
|
45 |
-
brawl stars hack apk antiban free download<br />
|
46 |
-
brawl stars mod apk unlimited ammo download<br />
|
47 |
-
brawl stars hack apk original free download<br />
|
48 |
-
brawl stars mod apk no ads download<br />
|
49 |
-
brawl stars hack apk easy free download<br />
|
50 |
-
brawl stars mod apk supercell id download<br />
|
51 |
-
brawl stars hack apk real free download<br />
|
52 |
-
brawl stars mod apk with cheat menu download<br />
|
53 |
-
brawl stars hack apk unlimited trophies free download<br />
|
54 |
-
brawl stars mod apk one hit kill download<br />
|
55 |
-
brawl stars hack apk no password free download<br />
|
56 |
-
brawl stars mod apk fast reload download<br />
|
57 |
-
brawl stars hack apk direct link free download</p>
|
58 |
-
<p>The controls are simple and intuitive. You can move your brawler with the left joystick and aim and shoot with the right joystick. You can also use the buttons on the right side of the screen to activate your super attack, gadget, or star power. The objective of each mode varies depending on the rules. For example, in Gem Grab, you need to collect 10 gems before the enemy team does; in Showdown, you need to survive as long as possible against other players; in Heist, you need to destroy the enemy's safe while protecting yours; and so on.</p>
|
59 |
-
<h2>What is <h2>What is Brawl Stars Hack Mod APK?</h2>
|
60 |
-
<p>Brawl Stars Hack Mod APK is a modified version of the original Brawl Stars game that allows you to access various cheats and hacks that are not available in the official game. For example, you can get unlimited gems, coins, tickets, and other resources that you can use to unlock and upgrade your brawlers, buy skins, and participate in events. You can also unlock all the brawlers, gadgets, and star powers without spending any money or time. You can also use some features such as auto-aim, wallhack, speedhack, and more to gain an edge over your opponents.</p>
|
61 |
-
<h3>Benefits of using Brawl Stars Hack Mod APK</h3>
|
62 |
-
<p>Some of the benefits of using Brawl Stars Hack Mod APK are:</p>
|
63 |
-
<ul>
|
64 |
-
<li>You can enjoy the game without any limitations or restrictions. You can play any mode, map, or event you want without worrying about your resources or progress.</li>
|
65 |
-
<li>You can save your money and time. You don't have to spend real money or watch ads to get gems, coins, or tickets. You also don't have to wait for hours or days to unlock or upgrade your brawlers.</li>
|
66 |
-
<li>You can have more fun and excitement. You can experiment with different brawlers, skins, gadgets, and star powers and see how they work in different situations. You can also dominate the game and win every match with ease.</li>
|
67 |
-
</ul>
|
68 |
-
<h3>Risks of using Brawl Stars Hack Mod APK</h3>
|
69 |
-
<p>However, using Brawl Stars Hack Mod APK also comes with some risks that you should be aware of:</p>
|
70 |
-
<ul>
|
71 |
-
<li>You may face legal issues. Using a modified version of the game is against the terms of service and privacy policy of Supercell. You may be violating their intellectual property rights and breaking the law. You may also be exposing yourself to malware or viruses that may harm your device or data.</li>
|
72 |
-
<li>You may lose your account or progress. Supercell has a strict anti-cheat system that can detect and ban users who use hacks or mods. You may lose your account permanently or temporarily if you are caught. You may also lose your progress and achievements if you uninstall the mod or switch to the official game.</li>
|
73 |
-
<li>You may ruin the game experience for yourself and others. Using hacks or mods may make the game too easy or boring for you. You may lose the challenge and thrill of playing the game legitimately. You may also ruin the game experience for other players who play fairly and honestly. You may cause them frustration and anger by cheating and winning unfairly.</li>
|
74 |
-
</ul>
|
75 |
-
<h2>How to download and install Brawl Stars Hack Mod APK?</h2>
|
76 |
-
<p>If you still want to try Brawl Stars Hack Mod APK despite the risks, you need to follow these steps to download and install it on your device:</p>
|
77 |
-
<h3>Step 1: Enable unknown sources</h3>
|
78 |
-
<p>Before you can install any APK file on your device, you need to enable unknown sources in your settings. This will allow you to install apps from sources other than the Google Play Store or the App Store. To do this, go to your settings > security > unknown sources and toggle it on.</p>
|
79 |
-
<h3>Step 2: Download the APK file</h3>
|
80 |
-
<p>Next, you need to download the APK file of Brawl Stars Hack Mod from a reliable and trustworthy source. You can search for it online or use this link: [Brawl Stars Hack Mod APK]. Make sure you download the latest version of the mod that is compatible with your device and the official game.</p>
|
81 |
-
<h3>Step 3: Install the APK file</h3>
|
82 |
-
<p>Once you have downloaded the APK file, you need to locate it in your file manager and tap on it to start the installation process. You may see a warning message that says "this type of file can harm your device". Ignore it and tap on "install anyway". Wait for a few seconds until the installation is complete.</p>
|
83 |
-
<h3>Step 4: Launch the game and enjoy</h3>
|
84 |
-
<p>Finally, you can launch the game from your app drawer or home screen and enjoy the hack mod features. You should see a menu icon on the top left corner of the screen that will give you access to various cheats and hacks. You can also see your unlimited resources on the top right corner of the screen.</p>
|
85 |
-
<h2>Conclusion</h2>
|
86 |
-
<p>Brawl Stars is a fun and addictive multiplayer action game that offers a lot of variety and excitement. However, if you want to get unlimited resources and access various cheats and hacks in the game, you can try Brawl Stars Hack Mod APK. This is a modified version of the original game that gives you various advantages over other players. However, you should also be aware of the risks involved in using Brawl Stars Hack Mod APK, such as legal issues, account bans, or game experience degradation. Therefore, you should use it at your own risk and discretion. We hope this article has given you some useful information about Brawl Stars Hack Mod APK and how to download and install it on your device. If you have any questions or feedback, feel free to leave a comment below.</p>
|
87 |
-
<h2>FAQs</h2>
|
88 |
-
<p>Here are some frequently asked questions about Brawl Stars Hack Mod APK:</p>
|
89 |
-
<table>
|
90 |
-
<tr>
|
91 |
-
<th>Question</th>
|
92 |
-
<th>Answer</th>
|
93 |
-
</tr>
|
94 |
-
<tr>
|
95 |
-
<td>Is Brawl Stars Hack Mod APK safe to use?</td>
|
96 |
-
<td>Brawl Stars Hack Mod APK is not safe to use as it may contain malware or viruses that can harm your device or data. It may also violate the terms of service and privacy policy of Supercell and expose you to legal issues. Moreover, it may be detected and banned by the anti-cheat system of Supercell and cause you to lose your account or progress.</td>
|
97 |
-
</tr>
|
98 |
-
<tr>
|
99 |
-
<td>Is Brawl Stars Hack Mod APK free to download?</td>
|
100 |
-
<td>Brawl Stars Hack Mod APK is free to download from various sources online. However, you should be careful and only download it from reliable and trustworthy sources. You should also avoid clicking on any suspicious links or ads that may redirect you to malicious sites or download unwanted files.</td>
|
101 |
-
</tr>
|
102 |
-
<tr>
|
103 |
-
<td>Can I use Brawl Stars Hack Mod APK with my existing account?</td>
|
104 |
-
<td>You can use Brawl Stars Hack Mod APK with your existing account, but it is not recommended. You may risk losing your account or progress if you are caught using hacks or mods by the anti-cheat system of Supercell. You may also face legal issues if you are found violating the terms of service and privacy policy of Supercell. Therefore, it is better to use a new or secondary account if you want to try Brawl Stars Hack Mod APK.</td>
|
105 |
-
</tr>
|
106 |
-
<tr>
|
107 |
-
<td>Can I play Brawl Stars Hack Mod APK with other players?</td>
|
108 |
-
<td>You can play Brawl Stars Hack Mod APK with other players who are also using the same mod. However, you may not be able to play with players who are using the official game or a different mod. You may also face unfair competition or imbalance in the game as some players may have more advantages than others.</td>
|
109 |
-
</tr>
|
110 |
-
<tr>
|
111 |
-
<td>Can I update Brawl Stars Hack Mod APK?</td>
|
112 |
-
<td>You can update Brawl Stars Hack Mod APK if there is a new version available from the source you downloaded it from. However, you should be careful and backup your data before updating as some updates may not be compatible with your device or the official game. You should also check the features and reviews of the new version before updating to make sure it works properly and does not have any bugs or errors.</td>
|
113 |
-
</tr>
|
114 |
-
</table></p> 401be4b1e0<br />
|
115 |
-
<br />
|
116 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Craftsman Building Craft - Google Playde En ok ndirilen Oyun.md
DELETED
@@ -1,117 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Craftsman Yukle: How to Play Craftsman: Building Craft on PC</h1>
|
3 |
-
<p>Do you love building and exploring in sandbox games? Do you want to unleash your creativity and imagination in a virtual world? If yes, then you should try Craftsman: Building Craft, a popular game that lets you design houses, castles, and other structures. You can play it alone or with your friends online. But did you know that you can also play it on your PC? In this article, we will show you how to download and install Craftsman: Building Craft on your PC using BlueStacks, an Android emulator that allows you to run mobile apps and games on your computer. But first, let's find out more about this game.</p>
|
4 |
-
<h2>What is Craftsman: Building Craft?</h2>
|
5 |
-
<p>Craftsman: Building Craft is a sandbox game that was developed by StarGame22 and released in 2020. It has over 50 million downloads on the Google Play Store and has a rating of 4.1 out of 5 stars. The game is inspired by Minecraft, but has its own features and style. Here are some of the main aspects of the game:</p>
|
6 |
-
<h2>craftsman yukle</h2><br /><p><b><b>DOWNLOAD</b> ⏩ <a href="https://jinyurl.com/2uNMcY">https://jinyurl.com/2uNMcY</a></b></p><br /><br />
|
7 |
-
<h3>A sandbox game with creative and survival modes</h3>
|
8 |
-
<p>In Craftsman: Building Craft, you can choose between two modes: creative and survival. In creative mode, you have unlimited resources and can build anything you want without any restrictions. You can also fly around and explore different biomes, such as forests, deserts, mountains, and oceans. In survival mode, you have to gather resources, craft tools and weapons, fight enemies, and survive the night. You also have to manage your hunger and health bars.</p>
|
9 |
-
<h3>A game with stunning graphics and realistic sound</h3>
|
10 |
-
<p>One of the most impressive features of Craftsman: Building Craft is its graphics. The game has a pixelated style that gives it a retro feel, but also has realistic lighting, shadows, and textures. The game also has dynamic weather effects, such as rain, snow, fog, and thunderstorms. The sound effects are also very immersive, as you can hear the sounds of nature, animals, monsters, and explosions.</p>
|
11 |
-
<h3>A game with multiplayer and offline options</h3>
|
12 |
-
<p>Craftsman: Building Craft is not only a single-player game, but also a multiplayer one. You can join online servers and play with other players from around the world. You can chat with them, collaborate with them, or compete with them. You can also create your own server and invite your friends to join. If you prefer playing offline, you can also do that. You can play the game without an internet connection and enjoy it at your own pace.</p>
|
13 |
-
<h2>Why play Craftsman: Building Craft on PC?</h2>
|
14 |
-
<p>While Craftsman: Building Craft is a great game to play on your mobile device, it can also be more enjoyable to play it on your PC. Here are some of the reasons why:</p>
|
15 |
-
<h3>Enjoy a bigger screen and better controls</h3>
|
16 |
-
<p>Playing Craftsman: Building Craft on your PC means that you can see the game in full HD resolution on a larger screen. This will make the game more detailed and vivid, as well as easier to see and navigate. You can also use your keyboard and mouse to control the game instead of tapping on a small touchscreen. This will give you more accuracy and comfort when building, crafting, fighting, and exploring.</p>
|
17 |
-
<p>craftsman yukle pc<br />
|
18 |
-
craftsman yukle apk<br />
|
19 |
-
craftsman yukle android<br />
|
20 |
-
craftsman yukle oyunu<br />
|
21 |
-
craftsman yukle indir<br />
|
22 |
-
craftsman yukle bluestacks<br />
|
23 |
-
craftsman yukle windows 10<br />
|
24 |
-
craftsman yukle mac<br />
|
25 |
-
craftsman yukle laptop<br />
|
26 |
-
craftsman yukle online<br />
|
27 |
-
craftsman yukle nasıl oynanır<br />
|
28 |
-
craftsman yukle hileleri<br />
|
29 |
-
craftsman yukle mod apk<br />
|
30 |
-
craftsman yukle ücretsiz<br />
|
31 |
-
craftsman yukle son sürüm<br />
|
32 |
-
craftsman yukle google play<br />
|
33 |
-
craftsman yukle ios<br />
|
34 |
-
craftsman yukle iphone<br />
|
35 |
-
craftsman yukle ipad<br />
|
36 |
-
craftsman yukle app store<br />
|
37 |
-
craftsman yukle oyna<br />
|
38 |
-
craftsman yukle türkçe<br />
|
39 |
-
craftsman yukle inceleme<br />
|
40 |
-
craftsman yukle video<br />
|
41 |
-
craftsman yukle youtube<br />
|
42 |
-
craftsman yukle minecraft<br />
|
43 |
-
craftsman yukle benzeri oyunlar<br />
|
44 |
-
craftsman yukle ev yapma<br />
|
45 |
-
craftsman yukle şehir kurma<br />
|
46 |
-
craftsman yukle hayatta kalma<br />
|
47 |
-
craftsman yukle sandbox oyunu<br />
|
48 |
-
craftsman yukle multiplayer<br />
|
49 |
-
craftsman yukle arkadaşlarla oynama<br />
|
50 |
-
craftsman yukle rehberi<br />
|
51 |
-
craftsman yukle ipuçları<br />
|
52 |
-
craftsman yukle grafikleri<br />
|
53 |
-
craftsman yukle sesleri<br />
|
54 |
-
craftsman yukle özellikleri<br />
|
55 |
-
craftsman yukle güncellemeleri<br />
|
56 |
-
craftsman yukle sorunları<br />
|
57 |
-
craftsman yukle destek<br />
|
58 |
-
craftsman yukle forum<br />
|
59 |
-
craftsman yukle facebook<br />
|
60 |
-
craftsman yukle instagram<br />
|
61 |
-
craftsman yukle twitter<br />
|
62 |
-
craftsman yukle discord<br />
|
63 |
-
craftsman yukle reddit<br />
|
64 |
-
craftsman yukle quora</p>
|
65 |
-
<h3>Use BlueStacks <h3>Use BlueStacks to enhance your gaming experience</h3>
|
66 |
-
<p>BlueStacks is a powerful and reliable Android emulator that allows you to run mobile apps and games on your PC. By using BlueStacks, you can enjoy Craftsman: Building Craft with many advantages, such as:</p>
|
67 |
-
<ul>
|
68 |
-
<li>Fast and smooth performance: BlueStacks uses advanced technology to optimize the game's speed and stability, so you can play without any lag or crashes.</li>
|
69 |
-
<li>Customizable settings: BlueStacks lets you adjust the game's graphics, sound, and language according to your preferences. You can also change the key mapping and mouse sensitivity to suit your play style.</li>
|
70 |
-
<li>Multiple instances: BlueStacks allows you to run multiple instances of the game at the same time, so you can switch between different accounts or modes easily.</li>
|
71 |
-
<li>Screen recording and streaming: BlueStacks enables you to record your gameplay and save it as a video file, or stream it live to platforms like Twitch, YouTube, or Facebook.</li>
|
72 |
-
</ul>
|
73 |
-
<h3>Access the BlueStacks Macro Community for more fun</h3>
|
74 |
-
<p>Another feature that makes BlueStacks stand out is the Macro Community, a place where you can find and share macros for various games. Macros are sequences of commands that automate certain actions in the game, such as building, crafting, or fighting. By using macros, you can save time and effort, as well as improve your skills and efficiency. You can create your own macros using the BlueStacks Macro Editor, or download macros from other users in the Macro Community. You can also rate and comment on the macros, or share your own with others.</p>
|
75 |
-
<h2>How to download and install Craftsman: Building Craft on PC?</h2>
|
76 |
-
<p>Now that you know why playing Craftsman: Building Craft on PC is a good idea, let's see how to do it. The process is very simple and only takes a few minutes. Here are the steps you need to follow:</p>
|
77 |
-
<h3>Download and install BlueStacks on your PC</h3>
|
78 |
-
<p>The first thing you need to do is download BlueStacks from its official website: <a href="">https://www.bluestacks.com/</a>. You can choose between the Windows or Mac version depending on your operating system. Once you have downloaded the installer file, double-click on it and follow the instructions to install BlueStacks on your PC. The installation may take some time depending on your internet speed and PC specifications.</p>
|
79 |
-
<h3>Launch BlueStacks and search for Craftsman: Building Craft</h3>
|
80 |
-
<p>After installing BlueStacks, launch it from your desktop or start menu. You will see the BlueStacks home screen with various icons and options. On the top right corner, you will see a search bar where you can type the name of the game you want to play. In this case, type "Craftsman: Building Craft" and hit enter. You will see a list of results with the game's icon and name.</p>
|
81 |
-
<h3>Install the game from the Google Play Store or the APK file</h3>
|
82 |
-
<p>To install Craftsman: Building Craft on your PC, you have two options: either from the Google Play Store or from an APK file. The Google Play Store is the official source of Android apps and games, where you can download them safely and securely. To access it, click on the game's icon from the search results and then click on the "Install" button. You may need to sign in with your Google account if you haven't done so before. The game will start downloading and installing automatically.</p>
|
83 |
-
<p>The other option is to use an APK file, which is a compressed file that contains the game's data and code. You can download an APK file from various websites on the internet, but be careful as some of them may contain viruses or malware. To use an APK file, click on the "Install APK" button on the bottom right corner of the BlueStacks home screen. Then browse your PC folders and select the APK file you want to install. The game will start installing automatically.</p>
|
84 |
-
<h3>Start playing and enjoy the game</h3>
|
85 |
-
<p>Once you have installed Craftsman: Building Craft on your PC, you can start playing it right away. To launch it, click on its icon from the BlueStacks home screen or from your desktop shortcut. You will see the game's loading screen and then its main menu. From there, you can choose between creative or survival mode, join or create a server, or customize your settings. You can also access the BlueStacks features such as macros, screen recording, streaming, etc.</p>
|
86 |
-
<h2>Conclusion</h2>
|
87 |
-
<p>Craftsman: Building Craft is a fun and addictive sandbox game that lets you build and explore in a pixelated world. You can <p>Craftsman: Building Craft is a fun and addictive sandbox game that lets you build and explore in a pixelated world. You can play it on your mobile device, but you can also play it on your PC using BlueStacks, an Android emulator that offers many benefits and features. By playing Craftsman: Building Craft on PC, you can enjoy a bigger screen, better controls, faster performance, customizable settings, multiple instances, screen recording, streaming, and macros. To play Craftsman: Building Craft on PC, you just need to download and install BlueStacks, search for the game, and install it from the Google Play Store or an APK file. Then you can start playing and enjoy the game.</p>
|
88 |
-
<h2>FAQs</h2>
|
89 |
-
<p>Here are some of the frequently asked questions about Craftsman: Building Craft and BlueStacks:</p>
|
90 |
-
<table>
|
91 |
-
<tr>
|
92 |
-
<th>Question</th>
|
93 |
-
<th>Answer</th>
|
94 |
-
</tr>
|
95 |
-
<tr>
|
96 |
-
<td>Is Craftsman: Building Craft free to play?</td>
|
97 |
-
<td>Yes, Craftsman: Building Craft is free to download and play. However, it may contain ads and in-app purchases.</td>
|
98 |
-
</tr>
|
99 |
-
<tr>
|
100 |
-
<td>Is Craftsman: Building Craft safe to play?</td>
|
101 |
-
<td>Yes, Craftsman: Building Craft is safe to play as long as you download it from a trusted source, such as the Google Play Store or the official BlueStacks website.</td>
|
102 |
-
</tr>
|
103 |
-
<tr>
|
104 |
-
<td>Is BlueStacks free to use?</td>
|
105 |
-
<td>Yes, BlueStacks is free to download and use. However, it may offer some optional premium features and services that require a subscription or a payment.</td>
|
106 |
-
</tr>
|
107 |
-
<tr>
|
108 |
-
<td>Is BlueStacks safe to use?</td>
|
109 |
-
<td>Yes, BlueStacks is safe to use as long as you download it from its official website: <a href="">https://www.bluestacks.com/</a>. BlueStacks is also compliant with the Google Play Protect and other security standards.</td>
|
110 |
-
</tr>
|
111 |
-
<tr>
|
112 |
-
<td>How can I contact the support team of Craftsman: Building Craft or BlueStacks?</td>
|
113 |
-
<td>If you have any issues or questions about Craftsman: Building Craft, you can contact the developer of the game through their email address: [email protected]. If you have any issues or questions about BlueStacks, you can contact the support team of BlueStacks through their website: <a href="">https://support.bluestacks.com/</a>.</td>
|
114 |
-
</tr>
|
115 |
-
</table></p> 197e85843d<br />
|
116 |
-
<br />
|
117 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1toTree/lora_test/ppdiffusers/pipelines/paint_by_example/image_encoder.py
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
# Copyright 2022 The HuggingFace Team. All rights reserved.
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
import paddle
|
15 |
-
from paddle import nn
|
16 |
-
|
17 |
-
from paddlenlp.transformers import (
|
18 |
-
CLIPPretrainedModel,
|
19 |
-
CLIPVisionConfig,
|
20 |
-
CLIPVisionModel,
|
21 |
-
)
|
22 |
-
|
23 |
-
from ...models.attention import BasicTransformerBlock
|
24 |
-
from ...utils import logging
|
25 |
-
|
26 |
-
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
27 |
-
|
28 |
-
|
29 |
-
class PaintByExampleImageEncoder(CLIPPretrainedModel):
|
30 |
-
config_class = CLIPVisionConfig
|
31 |
-
|
32 |
-
def __init__(self, config: CLIPVisionConfig):
|
33 |
-
super().__init__(config)
|
34 |
-
self.projection_dim = config.projection_dim
|
35 |
-
|
36 |
-
self.model = CLIPVisionModel(config)
|
37 |
-
|
38 |
-
self.mapper = PaintByExampleMapper(config)
|
39 |
-
self.final_layer_norm = nn.LayerNorm(config.hidden_size)
|
40 |
-
self.proj_out = nn.Linear(config.hidden_size, self.projection_dim)
|
41 |
-
|
42 |
-
# uncondition for scaling
|
43 |
-
self.uncond_vector = self.create_parameter(
|
44 |
-
[1, 1, self.projection_dim],
|
45 |
-
dtype=paddle.get_default_dtype(),
|
46 |
-
default_initializer=nn.initializer.Assign(paddle.rand((1, 1, self.projection_dim))),
|
47 |
-
)
|
48 |
-
|
49 |
-
def forward(self, pixel_values):
|
50 |
-
clip_output = self.model(pixel_values=pixel_values)
|
51 |
-
latent_states = clip_output.pooler_output
|
52 |
-
latent_states = self.mapper(latent_states[:, None])
|
53 |
-
latent_states = self.final_layer_norm(latent_states)
|
54 |
-
latent_states = self.proj_out(latent_states)
|
55 |
-
return latent_states
|
56 |
-
|
57 |
-
|
58 |
-
class PaintByExampleMapper(nn.Layer):
|
59 |
-
def __init__(self, config):
|
60 |
-
super().__init__()
|
61 |
-
num_layers = (config.num_hidden_layers + 1) // 5
|
62 |
-
hid_size = config.hidden_size
|
63 |
-
num_heads = 1
|
64 |
-
self.blocks = nn.LayerList(
|
65 |
-
[
|
66 |
-
BasicTransformerBlock(hid_size, num_heads, hid_size, activation_fn="gelu", attention_bias=True)
|
67 |
-
for _ in range(num_layers)
|
68 |
-
]
|
69 |
-
)
|
70 |
-
|
71 |
-
def forward(self, hidden_states):
|
72 |
-
for block in self.blocks:
|
73 |
-
hidden_states = block(hidden_states)
|
74 |
-
|
75 |
-
return hidden_states
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/2023Liu2023/bingo/src/components/external-link.tsx
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
export function ExternalLink({
|
2 |
-
href,
|
3 |
-
children
|
4 |
-
}: {
|
5 |
-
href: string
|
6 |
-
children: React.ReactNode
|
7 |
-
}) {
|
8 |
-
return (
|
9 |
-
<a
|
10 |
-
href={href}
|
11 |
-
target="_blank"
|
12 |
-
rel="noreferrer"
|
13 |
-
className="inline-flex flex-1 justify-center gap-1 underline"
|
14 |
-
>
|
15 |
-
<span>{children}</span>
|
16 |
-
<svg
|
17 |
-
aria-hidden="true"
|
18 |
-
height="7"
|
19 |
-
viewBox="0 0 6 6"
|
20 |
-
width="7"
|
21 |
-
className="opacity-70"
|
22 |
-
>
|
23 |
-
<path
|
24 |
-
d="M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z"
|
25 |
-
fill="currentColor"
|
26 |
-
></path>
|
27 |
-
</svg>
|
28 |
-
</a>
|
29 |
-
)
|
30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/801artistry/RVC801/Fixes/local_fixes.py
DELETED
@@ -1,136 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import sys
|
3 |
-
import time
|
4 |
-
import shutil
|
5 |
-
import requests
|
6 |
-
import zipfile
|
7 |
-
|
8 |
-
def insert_new_line(file_name, line_to_find, text_to_insert):
|
9 |
-
lines = []
|
10 |
-
with open(file_name, 'r', encoding='utf-8') as read_obj:
|
11 |
-
lines = read_obj.readlines()
|
12 |
-
already_exists = False
|
13 |
-
with open(file_name + '.tmp', 'w', encoding='utf-8') as write_obj:
|
14 |
-
for i in range(len(lines)):
|
15 |
-
write_obj.write(lines[i])
|
16 |
-
if lines[i].strip() == line_to_find:
|
17 |
-
# If next line exists and starts with sys.path.append, skip
|
18 |
-
if i+1 < len(lines) and lines[i+1].strip().startswith("sys.path.append"):
|
19 |
-
print('It was already fixed! Skip adding a line...')
|
20 |
-
already_exists = True
|
21 |
-
break
|
22 |
-
else:
|
23 |
-
write_obj.write(text_to_insert + '\n')
|
24 |
-
# If no existing sys.path.append line was found, replace the original file
|
25 |
-
if not already_exists:
|
26 |
-
os.replace(file_name + '.tmp', file_name)
|
27 |
-
return True
|
28 |
-
else:
|
29 |
-
# If existing line was found, delete temporary file
|
30 |
-
os.remove(file_name + '.tmp')
|
31 |
-
return False
|
32 |
-
|
33 |
-
def replace_in_file(file_name, old_text, new_text):
|
34 |
-
with open(file_name, 'r', encoding='utf-8') as file:
|
35 |
-
file_contents = file.read()
|
36 |
-
|
37 |
-
if old_text in file_contents:
|
38 |
-
file_contents = file_contents.replace(old_text, new_text)
|
39 |
-
with open(file_name, 'w', encoding='utf-8') as file:
|
40 |
-
file.write(file_contents)
|
41 |
-
return True
|
42 |
-
|
43 |
-
return False
|
44 |
-
|
45 |
-
if __name__ == "__main__":
|
46 |
-
current_path = os.getcwd()
|
47 |
-
file_name = os.path.join(current_path, "infer", "modules", "train", "extract", "extract_f0_print.py")
|
48 |
-
line_to_find = 'import numpy as np, logging'
|
49 |
-
text_to_insert = "sys.path.append(r'" + current_path + "')"
|
50 |
-
|
51 |
-
|
52 |
-
success_1 = insert_new_line(file_name, line_to_find, text_to_insert)
|
53 |
-
if success_1:
|
54 |
-
print('The first operation was successful!')
|
55 |
-
else:
|
56 |
-
print('He skipped the first operation because it was already fixed!')
|
57 |
-
|
58 |
-
file_name = 'infer-web.py'
|
59 |
-
old_text = 'with gr.Blocks(theme=gr.themes.Soft()) as app:'
|
60 |
-
new_text = 'with gr.Blocks() as app:'
|
61 |
-
|
62 |
-
success_2 = replace_in_file(file_name, old_text, new_text)
|
63 |
-
if success_2:
|
64 |
-
print('The second operation was successful!')
|
65 |
-
else:
|
66 |
-
print('The second operation was omitted because it was already fixed!')
|
67 |
-
|
68 |
-
print('Local corrections successful! You should now be able to infer and train locally in Applio RVC Fork.')
|
69 |
-
|
70 |
-
time.sleep(5)
|
71 |
-
|
72 |
-
def find_torchcrepe_directory(directory):
|
73 |
-
"""
|
74 |
-
Recursively searches for the topmost folder named 'torchcrepe' within a directory.
|
75 |
-
Returns the path of the directory found or None if none is found.
|
76 |
-
"""
|
77 |
-
for root, dirs, files in os.walk(directory):
|
78 |
-
if 'torchcrepe' in dirs:
|
79 |
-
return os.path.join(root, 'torchcrepe')
|
80 |
-
return None
|
81 |
-
|
82 |
-
def download_and_extract_torchcrepe():
|
83 |
-
url = 'https://github.com/maxrmorrison/torchcrepe/archive/refs/heads/master.zip'
|
84 |
-
temp_dir = 'temp_torchcrepe'
|
85 |
-
destination_dir = os.getcwd()
|
86 |
-
|
87 |
-
try:
|
88 |
-
torchcrepe_dir_path = os.path.join(destination_dir, 'torchcrepe')
|
89 |
-
|
90 |
-
if os.path.exists(torchcrepe_dir_path):
|
91 |
-
print("Skipping the torchcrepe download. The folder already exists.")
|
92 |
-
return
|
93 |
-
|
94 |
-
# Download the file
|
95 |
-
print("Starting torchcrepe download...")
|
96 |
-
response = requests.get(url)
|
97 |
-
|
98 |
-
# Raise an error if the GET request was unsuccessful
|
99 |
-
response.raise_for_status()
|
100 |
-
print("Download completed.")
|
101 |
-
|
102 |
-
# Save the downloaded file
|
103 |
-
zip_file_path = os.path.join(temp_dir, 'master.zip')
|
104 |
-
os.makedirs(temp_dir, exist_ok=True)
|
105 |
-
with open(zip_file_path, 'wb') as file:
|
106 |
-
file.write(response.content)
|
107 |
-
print(f"Zip file saved to {zip_file_path}")
|
108 |
-
|
109 |
-
# Extract the zip file
|
110 |
-
print("Extracting content...")
|
111 |
-
with zipfile.ZipFile(zip_file_path, 'r') as zip_file:
|
112 |
-
zip_file.extractall(temp_dir)
|
113 |
-
print("Extraction completed.")
|
114 |
-
|
115 |
-
# Locate the torchcrepe folder and move it to the destination directory
|
116 |
-
torchcrepe_dir = find_torchcrepe_directory(temp_dir)
|
117 |
-
if torchcrepe_dir:
|
118 |
-
shutil.move(torchcrepe_dir, destination_dir)
|
119 |
-
print(f"Moved the torchcrepe directory to {destination_dir}!")
|
120 |
-
else:
|
121 |
-
print("The torchcrepe directory could not be located.")
|
122 |
-
|
123 |
-
except Exception as e:
|
124 |
-
print("Torchcrepe not successfully downloaded", e)
|
125 |
-
|
126 |
-
# Clean up temporary directory
|
127 |
-
if os.path.exists(temp_dir):
|
128 |
-
shutil.rmtree(temp_dir)
|
129 |
-
|
130 |
-
# Run the function
|
131 |
-
download_and_extract_torchcrepe()
|
132 |
-
|
133 |
-
temp_dir = 'temp_torchcrepe'
|
134 |
-
|
135 |
-
if os.path.exists(temp_dir):
|
136 |
-
shutil.rmtree(temp_dir)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AI-Dashboards/Streamlit-Plotly_Graph-Objects/app.py
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import plotly.graph_objects as go
|
3 |
-
|
4 |
-
import plotly.graph_objects as go
|
5 |
-
|
6 |
-
def create_sunburst_plot(labels, parents, values, ids, text):
|
7 |
-
fig = go.Figure(go.Sunburst(
|
8 |
-
labels=labels,
|
9 |
-
parents=parents,
|
10 |
-
values=values,
|
11 |
-
ids=ids,
|
12 |
-
text=text,
|
13 |
-
hoverinfo="label+value",
|
14 |
-
branchvalues="total",
|
15 |
-
))
|
16 |
-
|
17 |
-
fig.update_layout(margin=dict(t=0, l=0, r=0, b=0))
|
18 |
-
return fig
|
19 |
-
|
20 |
-
# Replace these lists with your own data
|
21 |
-
labels = ["Root", "Hip Surgery", "Knee Surgery", "CPT1", "CPT2", "CPT3", "CPT4"]
|
22 |
-
parents = ["", "Root", "Root", "Hip Surgery", "Hip Surgery", "Knee Surgery", "Knee Surgery"]
|
23 |
-
values = [None, 30, 40, 20, 10, 25, 15]
|
24 |
-
ids = ["Root", "Hip Surgery", "Knee Surgery", "CPT1", "CPT2", "CPT3", "CPT4"]
|
25 |
-
text = ["Root", "Hip Surgery", "Knee Surgery", "CPT1", "CPT2", "CPT3", "CPT4"]
|
26 |
-
|
27 |
-
fig = create_sunburst_plot(labels, parents, values, ids, text)
|
28 |
-
st.plotly_chart(fig)
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/AudioGPT/NeuralSeq/configs/tts/libritts/pre_align.py
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
|
3 |
-
from data_gen.tts.base_preprocess import BasePreprocessor
|
4 |
-
import glob
|
5 |
-
|
6 |
-
|
7 |
-
class LibrittsPreAlign(BasePreprocessor):
|
8 |
-
def meta_data(self):
|
9 |
-
wav_fns = sorted(glob.glob(f'{self.raw_data_dir}/*/*/*.wav'))
|
10 |
-
for wav_fn in wav_fns:
|
11 |
-
item_name = os.path.basename(wav_fn)[:-4]
|
12 |
-
txt_fn = f'{wav_fn[:-4]}.normalized.txt'
|
13 |
-
with open(txt_fn, 'r') as f:
|
14 |
-
txt = f.readlines()
|
15 |
-
f.close()
|
16 |
-
spk = item_name.split("_")[0]
|
17 |
-
# Example:
|
18 |
-
#
|
19 |
-
# 'item_name': '103_1241_000000_000001'
|
20 |
-
# 'wav_fn': 'LibriTTS/train-clean-100/103/1241/103_1241_000000_000001.wav'
|
21 |
-
# 'txt': 'matthew Cuthbert is surprised'
|
22 |
-
# 'spk_name': '103'
|
23 |
-
yield {'item_name': item_name, 'wav_fn': wav_fn, 'txt': txt[0], 'spk_name': spk}
|
24 |
-
|
25 |
-
|
26 |
-
if __name__ == "__main__":
|
27 |
-
LibrittsPreAlign().process()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGText/GlyphControl/ldm/modules/image_degradation/__init__.py
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
from ldm.modules.image_degradation.bsrgan import degradation_bsrgan_variant as degradation_fn_bsr
|
2 |
-
from ldm.modules.image_degradation.bsrgan_light import degradation_bsrgan_variant as degradation_fn_bsr_light
|
|
|
|
|
|
spaces/AIZ2H/08-Search-Streamlit-Session-State-QueryParameters/app.py
DELETED
@@ -1,209 +0,0 @@
|
|
1 |
-
import time
|
2 |
-
import re
|
3 |
-
import pandas as pd
|
4 |
-
import numpy as np
|
5 |
-
import torch
|
6 |
-
import torch.nn.functional as F
|
7 |
-
from transformers import AutoTokenizer, AutoModel
|
8 |
-
from tokenizers import Tokenizer, AddedToken
|
9 |
-
import streamlit as st
|
10 |
-
from st_click_detector import click_detector
|
11 |
-
|
12 |
-
# This lil dealio is my test of the new experiemntal primitives which promise to put cach in streamlit within striking distance of simulating cognitive episodic memory (personalized feelings about a moment through space time), and semantic memory (factual memories we are ready to share and communicate like your email address or physical address yo
|
13 |
-
# Goal of this is to solve AI problem of two types of memory and their part in cognitive AGI along with the theory of model making as functional design of intelligence :
|
14 |
-
# Type 1 Memory - Semantic Memory:
|
15 |
-
# Semantic memory is conscious long-term memory for meaning, understanding, and conceptual facts about the world. Semantic memory is one of the two main varieties of explicit, conscious, long-term memory, which is memory that can be retrieved into conscious awareness after a long delay (from several seconds to years).
|
16 |
-
# Type 2 Memory - Episodic Memory:
|
17 |
-
# Episodic memory refers to the conscious recollection of a personal experience that contains information on what has happened and also where and when it happened. Recollection from episodic memory also implies a kind of first-person subjectivity that has been termed autonoetic consciousness.
|
18 |
-
# Functional Design of Intelligence: The brain uses map like structures to build a models repeatedly as part of LTM and STM memory by creating hundreds of thousands of models of everything we know. This allows us to answer important questions about how we perceive the world, why we have a sense of self, and the origin of higher level thought processes.
|
19 |
-
# Research Interests: AGI and ML Pipelines, Ambient IoT AI, Behavior Cognitive and Memory AI, Clinical Medical and Nursing AI, Genomics AI, GAN Gaming GAIL AR VR XR and Simulation AI, Graph Ontology KR KE AI, Languages and NLP AI, Quantum Compute GPU TPU NPU AI, Vision Image Document and Audio/Video AI
|
20 |
-
# Layman terms for interest with keyword intersection for plot search.
|
21 |
-
|
22 |
-
|
23 |
-
# callback to update query param on selectbox change
|
24 |
-
def update_params():
|
25 |
-
try:
|
26 |
-
print("update1")
|
27 |
-
#st.experimental_set_query_params(option=st.session_state.query)
|
28 |
-
except ValueError:
|
29 |
-
pass
|
30 |
-
|
31 |
-
# RADIO BUTTON SET PERSIST
|
32 |
-
# radio button persistance - plan is to hydrate when selected and change url along with textbox and search
|
33 |
-
options = ["artificial intelligence", "robot", "VR", "medicine", "genomics", "cure", "heal", "brain", "support", "friendship", "memory", "aging", "pharma", "virus", "nurse", "doctor", "therapist", "nutrition", "technology", "computer", "software", "neuroscience", "birth", "death", "soul", "space", "sci-fi"] # these options come from my research interests blended with keywords across film genres
|
34 |
-
|
35 |
-
query_params = st.experimental_get_query_params()
|
36 |
-
ix = 0
|
37 |
-
if query_params:
|
38 |
-
try:
|
39 |
-
q0 = query_params['query'][0]
|
40 |
-
ix = options.index(q0)
|
41 |
-
except ValueError:
|
42 |
-
pass
|
43 |
-
selected_option = st.radio(
|
44 |
-
"Param", options, index=ix, key="query", on_change=update_params
|
45 |
-
)
|
46 |
-
st.write("<style>div.row-widget.stRadio > div{flex-direction:row;}</style>", unsafe_allow_html=True)
|
47 |
-
|
48 |
-
|
49 |
-
st.experimental_set_query_params(option=selected_option)
|
50 |
-
|
51 |
-
try:
|
52 |
-
st.session_state.query = query # if set already above. this prevents two interface elements setting it first time once
|
53 |
-
except: # catch exception and set query param to predefined value
|
54 |
-
print("Error cant set after init")
|
55 |
-
|
56 |
-
|
57 |
-
# Text Input, check the query params set the text input to query value if in session
|
58 |
-
# check if here for the first time then set the query
|
59 |
-
if 'query' not in st.session_state:
|
60 |
-
#st.session_state['query'] = 'AI'
|
61 |
-
query = st.text_input("", value="artificial intelligence", key="query")
|
62 |
-
#st.session_state.query = 'AI'
|
63 |
-
#st.write(st.session_state.query)
|
64 |
-
else:
|
65 |
-
query = st.text_input("", value=st.session_state["query"], key="query")
|
66 |
-
try:
|
67 |
-
query_params = st.experimental_get_query_params()
|
68 |
-
query_option = query_params['query'][0] #throws an exception when visiting http://host:port
|
69 |
-
option_selected = st.sidebar.selectbox('Pick option', options, index=options.index(query_option))
|
70 |
-
except: # catch exception and set query param to predefined value
|
71 |
-
st.experimental_set_query_params(query="health") # set default
|
72 |
-
query_params = st.experimental_get_query_params()
|
73 |
-
query_option = query_params['query'][0]
|
74 |
-
query_option = "ai"
|
75 |
-
|
76 |
-
DEVICE = "cpu"
|
77 |
-
MODEL_OPTIONS = ["msmarco-distilbert-base-tas-b", "all-mpnet-base-v2"]
|
78 |
-
DESCRIPTION = """
|
79 |
-
# Semantic search
|
80 |
-
**Enter your query and hit enter**
|
81 |
-
Built with 🤗 Hugging Face's [transformers](https://huggingface.co/transformers/) library, [SentenceBert](https://www.sbert.net/) models, [Streamlit](https://streamlit.io/) and 44k movie descriptions from the Kaggle [Movies Dataset](https://www.kaggle.com/rounakbanik/the-movies-dataset)
|
82 |
-
"""
|
83 |
-
|
84 |
-
# Session state - search parms
|
85 |
-
if 'key' not in st.session_state:
|
86 |
-
st.session_state['key'] = 'value'
|
87 |
-
if 'key' not in st.session_state:
|
88 |
-
st.session_state.key = 'value'
|
89 |
-
st.write(st.session_state.key)
|
90 |
-
st.write(st.session_state)
|
91 |
-
|
92 |
-
#st.session_state
|
93 |
-
for key in st.session_state.keys():
|
94 |
-
del st.session_state[key]
|
95 |
-
#st.text_input("Your name", key="name")
|
96 |
-
#st.session_state.name
|
97 |
-
|
98 |
-
@st.cache(
|
99 |
-
show_spinner=False,
|
100 |
-
hash_funcs={
|
101 |
-
AutoModel: lambda _: None,
|
102 |
-
AutoTokenizer: lambda _: None,
|
103 |
-
dict: lambda _: None,
|
104 |
-
},
|
105 |
-
)
|
106 |
-
def load():
|
107 |
-
models, tokenizers, embeddings = [], [], []
|
108 |
-
for model_option in MODEL_OPTIONS:
|
109 |
-
tokenizers.append(
|
110 |
-
AutoTokenizer.from_pretrained(f"sentence-transformers/{model_option}")
|
111 |
-
)
|
112 |
-
models.append(
|
113 |
-
AutoModel.from_pretrained(f"sentence-transformers/{model_option}").to(
|
114 |
-
DEVICE
|
115 |
-
)
|
116 |
-
)
|
117 |
-
embeddings.append(np.load("embeddings.npy"))
|
118 |
-
embeddings.append(np.load("embeddings2.npy"))
|
119 |
-
df = pd.read_csv("movies.csv")
|
120 |
-
return tokenizers, models, embeddings, df
|
121 |
-
|
122 |
-
tokenizers, models, embeddings, df = load()
|
123 |
-
def pooling(model_output):
|
124 |
-
return model_output.last_hidden_state[:, 0]
|
125 |
-
|
126 |
-
def compute_embeddings(texts):
|
127 |
-
encoded_input = tokenizers[0](
|
128 |
-
texts, padding=True, truncation=True, return_tensors="pt"
|
129 |
-
).to(DEVICE)
|
130 |
-
|
131 |
-
with torch.no_grad():
|
132 |
-
model_output = models[0](**encoded_input, return_dict=True)
|
133 |
-
|
134 |
-
embeddings = pooling(model_output)
|
135 |
-
return embeddings.cpu().numpy()
|
136 |
-
|
137 |
-
def pooling2(model_output, attention_mask):
|
138 |
-
token_embeddings = model_output[0]
|
139 |
-
input_mask_expanded = (
|
140 |
-
attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
|
141 |
-
)
|
142 |
-
return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(
|
143 |
-
input_mask_expanded.sum(1), min=1e-9
|
144 |
-
)
|
145 |
-
|
146 |
-
def compute_embeddings2(list_of_strings):
|
147 |
-
encoded_input = tokenizers[1](
|
148 |
-
list_of_strings, padding=True, truncation=True, return_tensors="pt"
|
149 |
-
).to(DEVICE)
|
150 |
-
with torch.no_grad():
|
151 |
-
model_output = models[1](**encoded_input)
|
152 |
-
sentence_embeddings = pooling2(model_output, encoded_input["attention_mask"])
|
153 |
-
return F.normalize(sentence_embeddings, p=2, dim=1).cpu().numpy()
|
154 |
-
|
155 |
-
@st.cache(
|
156 |
-
show_spinner=False,
|
157 |
-
hash_funcs={Tokenizer: lambda _: None, AddedToken: lambda _: None},
|
158 |
-
)
|
159 |
-
def semantic_search(query, model_id):
|
160 |
-
start = time.time()
|
161 |
-
if len(query.strip()) == 0:
|
162 |
-
return ""
|
163 |
-
if "[Similar:" not in query:
|
164 |
-
if model_id == 0:
|
165 |
-
query_embedding = compute_embeddings([query])
|
166 |
-
else:
|
167 |
-
query_embedding = compute_embeddings2([query])
|
168 |
-
else:
|
169 |
-
match = re.match(r"\[Similar:(\d{1,5}).*", query)
|
170 |
-
if match:
|
171 |
-
idx = int(match.groups()[0])
|
172 |
-
query_embedding = embeddings[model_id][idx : idx + 1, :]
|
173 |
-
if query_embedding.shape[0] == 0:
|
174 |
-
return ""
|
175 |
-
else:
|
176 |
-
return ""
|
177 |
-
indices = np.argsort(embeddings[model_id] @ np.transpose(query_embedding)[:, 0])[
|
178 |
-
-1:-11:-1
|
179 |
-
]
|
180 |
-
if len(indices) == 0:
|
181 |
-
return ""
|
182 |
-
result = "<ol>"
|
183 |
-
for i in indices:
|
184 |
-
result += f"<li style='padding-top: 10px'><b>{df.iloc[i].title}</b> ({df.iloc[i].release_date}). {df.iloc[i].overview} "
|
185 |
-
#result += f"<a id='{i}' href='#'>Similar movies</a></li>"
|
186 |
-
#result += f"<a id='{i}' href=https://www.imdb.com/find?q={df.iloc[i].title}&ref_=nv_sr_sm>IMDB</a></li>"
|
187 |
-
delay = "%.3f" % (time.time() - start)
|
188 |
-
return f"<p><i>Computation time: {delay} seconds</i></p>{result}</ol>"
|
189 |
-
|
190 |
-
st.sidebar.markdown(DESCRIPTION)
|
191 |
-
|
192 |
-
model_choice = st.sidebar.selectbox("Similarity model", options=MODEL_OPTIONS)
|
193 |
-
model_id = 0 if model_choice == MODEL_OPTIONS[0] else 1
|
194 |
-
|
195 |
-
clicked = click_detector(semantic_search(query, model_id))
|
196 |
-
|
197 |
-
if clicked != "":
|
198 |
-
st.markdown(clicked)
|
199 |
-
change_query = False
|
200 |
-
if "last_clicked" not in st.session_state:
|
201 |
-
st.session_state["last_clicked"] = clicked
|
202 |
-
change_query = True
|
203 |
-
else:
|
204 |
-
if clicked != st.session_state["last_clicked"]:
|
205 |
-
st.session_state["last_clicked"] = clicked
|
206 |
-
change_query = True
|
207 |
-
if change_query:
|
208 |
-
st.session_state["query"] = f"[Similar:{clicked}] {df.iloc[int(clicked)].title}"
|
209 |
-
st.experimental_rerun()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AchyuthGamer/Free-Accounts-Generator/index.html
DELETED
@@ -1,58 +0,0 @@
|
|
1 |
-
<!DOCTYPE HTML>
|
2 |
-
<html>
|
3 |
-
|
4 |
-
<head>
|
5 |
-
<title>Free Steam Account Generator</title>
|
6 |
-
<link rel="icon" type="image/png" href="https://huggingface.co/spaces/AchyuthGamer/Free-Accounts-Generator/resolve/main/img/steam-chrome-logo.png">
|
7 |
-
|
8 |
-
<!-- Add background image -->
|
9 |
-
<style>
|
10 |
-
body {
|
11 |
-
background-image: url('https://huggingface.co/spaces/AchyuthGamer/aivvm/resolve/main/steam-bg.jpg');
|
12 |
-
background-size: cover;
|
13 |
-
background-repeat: no-repeat;
|
14 |
-
background-attachment: fixed;
|
15 |
-
}
|
16 |
-
</style>
|
17 |
-
|
18 |
-
<!-- Corrected meta tag -->
|
19 |
-
<meta name="description" content="minecraft, alt generator, free minecraft account, minecraft alts free, minecraft accounts for free">
|
20 |
-
|
21 |
-
<!-- Rest of your code -->
|
22 |
-
<meta name="keywords" content="minecraft, alt generator, free minecraft account, minecraft alts free, minecraft accounts for free">
|
23 |
-
<meta http-equiv="cache-control" content="no-cache" />
|
24 |
-
<meta http-equiv="Pragma" content="no-cache" />
|
25 |
-
<meta http-equiv="Expires" content="-1" />
|
26 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
27 |
-
<link rel="stylesheet" href="css/style.css" />
|
28 |
-
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel='stylesheet' type='text/css'>
|
29 |
-
<script type='text/javascript' src='js/d173ouchebag.js'></script>
|
30 |
-
<script type="text/javascript">
|
31 |
-
document.oncontextmenu = new Function("return false;")
|
32 |
-
document.onselectstart = new Function("return false;")
|
33 |
-
</script>
|
34 |
-
<style>
|
35 |
-
header { margin-top: 40px; position: absolute; float: left; font-size: 24px; font-weight: bold; }
|
36 |
-
nav { margin-top: 40px; float: right; color: #FFF; fong: 1px; } nav ut-size: 16px; letter-spacil { list-style: none; margin: 0; margin: 0; } nav li { display: inline; float:left; } nav li a { text-decoration: none; margin: 0px 10px 0px 10px; color: #FFF; } nav li a:hover { color: #191919; transition: 0.3s; }
|
37 |
-
</style>
|
38 |
-
</head>
|
39 |
-
|
40 |
-
<body>
|
41 |
-
<header>
|
42 |
-
<span style="cursor: pointer;">Free Accounts Paradise</span>
|
43 |
-
</header>
|
44 |
-
<nav>
|
45 |
-
<ul>
|
46 |
-
<li><a href="fortnite/index.html">Fortnite</a></li>
|
47 |
-
<li><a href="minecraft/index.html">Minecraft</a></li>
|
48 |
-
<li><a href="https://discord.gg/gZwP9gRWZN">Discord</a></li>
|
49 |
-
</ul>
|
50 |
-
</nav>
|
51 |
-
<section>
|
52 |
-
<h1>Steam Account Generator</h1>
|
53 |
-
<FORM NAME="WordForm">
|
54 |
-
<INPUT TYPE=TEXT NAME="WordBox" id="wordbox"><BR>
|
55 |
-
<INPUT TYPE=BUTTON VALUE="Generate" onClick="PickRandomWord(document.WordForm);" id="button">
|
56 |
-
</section>
|
57 |
-
</body>
|
58 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/alphamaskimage/Factory.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
import AlphaMaskImage from './AlphaMaskImage';
|
2 |
-
|
3 |
-
export default function (
|
4 |
-
x?: number, y?: number,
|
5 |
-
key?: string, frame?: string,
|
6 |
-
config?: AlphaMaskImage.IConfig
|
7 |
-
): AlphaMaskImage;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/dynamictext/DynamicText.d.ts
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
import DynamicText from '../../../plugins/dynamictext';
|
2 |
-
export default DynamicText;
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/maker/builders/CreateFixWidthButtons.js
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
import MergeStyle from './utils/MergeStyle.js';
|
2 |
-
import FixWidthButtons from '../../fixwidthbuttons/FixWidthButtons.js';
|
3 |
-
import CreateChild from './utils/CreateChild.js';
|
4 |
-
import CreateChildren from './utils/CreateChildren.js';
|
5 |
-
|
6 |
-
var CreateFixWidthButtons = function (scene, data, view, styles, customBuilders) {
|
7 |
-
data = MergeStyle(data, styles);
|
8 |
-
|
9 |
-
// Replace data by child game object
|
10 |
-
CreateChild(scene, data, 'background', view, styles, customBuilders);
|
11 |
-
CreateChildren(scene, data, 'buttons', view, styles, customBuilders);
|
12 |
-
|
13 |
-
var gameObject = new FixWidthButtons(scene, data);
|
14 |
-
scene.add.existing(gameObject);
|
15 |
-
return gameObject;
|
16 |
-
};
|
17 |
-
|
18 |
-
export default CreateFixWidthButtons;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/numberbar/NumberBar.js
DELETED
@@ -1,232 +0,0 @@
|
|
1 |
-
import Sizer from '../sizer/Sizer.js';
|
2 |
-
import AddChildMask from '../../../plugins/gameobjects/container/containerlite/mask/AddChildMask.js';
|
3 |
-
import Slider from '../slider/Slider.js';
|
4 |
-
|
5 |
-
const GetValue = Phaser.Utils.Objects.GetValue;
|
6 |
-
|
7 |
-
class NumberBar extends Sizer {
|
8 |
-
constructor(scene, config) {
|
9 |
-
// Create sizer
|
10 |
-
super(scene, config);
|
11 |
-
this.type = 'rexNumberBar';
|
12 |
-
|
13 |
-
// Add elements
|
14 |
-
var background = GetValue(config, 'background', undefined);
|
15 |
-
var icon = GetValue(config, 'icon', undefined);
|
16 |
-
var iconMask = GetValue(config, 'iconMask', undefined);
|
17 |
-
var sliderConfig = GetValue(config, 'slider', undefined);
|
18 |
-
var text = GetValue(config, 'text', undefined);
|
19 |
-
|
20 |
-
// Space
|
21 |
-
var iconSpace = GetValue(config, 'space.icon', 0);
|
22 |
-
var sliderSpace = GetValue(config, 'space.slider', 0);
|
23 |
-
|
24 |
-
if (background) {
|
25 |
-
this.addBackground(background);
|
26 |
-
}
|
27 |
-
|
28 |
-
if (icon) {
|
29 |
-
var padding;
|
30 |
-
if (this.orientation === 0) {
|
31 |
-
if (sliderConfig || text) {
|
32 |
-
padding = { right: iconSpace };
|
33 |
-
}
|
34 |
-
} else {
|
35 |
-
if (sliderConfig || text) {
|
36 |
-
padding = { bottom: iconSpace };
|
37 |
-
}
|
38 |
-
}
|
39 |
-
|
40 |
-
this.add(icon,
|
41 |
-
{
|
42 |
-
proportion: 0,
|
43 |
-
align: 'center',
|
44 |
-
padding: padding
|
45 |
-
}
|
46 |
-
)
|
47 |
-
|
48 |
-
if (iconMask) {
|
49 |
-
iconMask = AddChildMask.call(this, icon, icon, 1); // Circle mask
|
50 |
-
}
|
51 |
-
}
|
52 |
-
|
53 |
-
var slider;
|
54 |
-
if (sliderConfig) {
|
55 |
-
sliderConfig.orientation = this.orientation;
|
56 |
-
sliderConfig.eventEmitter = this;
|
57 |
-
sliderConfig.value = null;
|
58 |
-
if (!sliderConfig.hasOwnProperty('input')) {
|
59 |
-
sliderConfig.input = -1;
|
60 |
-
}
|
61 |
-
slider = new Slider(scene, sliderConfig);
|
62 |
-
scene.add.existing(slider);
|
63 |
-
|
64 |
-
var padding;
|
65 |
-
if (this.orientation === 0) {
|
66 |
-
if (text) {
|
67 |
-
padding = { right: sliderSpace };
|
68 |
-
}
|
69 |
-
} else {
|
70 |
-
if (text) {
|
71 |
-
padding = { bottom: sliderSpace };
|
72 |
-
}
|
73 |
-
}
|
74 |
-
|
75 |
-
var proportion;
|
76 |
-
if (this.orientation === 0) {
|
77 |
-
var sliderWidth = GetValue(sliderConfig, 'width', undefined);
|
78 |
-
proportion = (sliderWidth === undefined) ? 1 : 0;
|
79 |
-
} else {
|
80 |
-
var sliderHeight = GetValue(sliderConfig, 'height', undefined);
|
81 |
-
proportion = (sliderHeight === undefined) ? 1 : 0;
|
82 |
-
}
|
83 |
-
|
84 |
-
this.add(slider,
|
85 |
-
{
|
86 |
-
proportion: proportion,
|
87 |
-
align: 'center',
|
88 |
-
padding: padding
|
89 |
-
}
|
90 |
-
)
|
91 |
-
}
|
92 |
-
|
93 |
-
|
94 |
-
if (text) {
|
95 |
-
this.add(text);
|
96 |
-
}
|
97 |
-
|
98 |
-
this.addChildrenMap('background', background);
|
99 |
-
this.addChildrenMap('icon', icon);
|
100 |
-
this.addChildrenMap('iconMask', iconMask);
|
101 |
-
this.addChildrenMap('slider', slider);
|
102 |
-
this.addChildrenMap('text', text);
|
103 |
-
|
104 |
-
var callback = GetValue(config, 'valuechangeCallback', null);
|
105 |
-
if (callback !== null) {
|
106 |
-
var scope = GetValue(config, 'valuechangeCallbackScope', undefined);
|
107 |
-
this.on('valuechange', callback, scope);
|
108 |
-
}
|
109 |
-
this.setEnable(GetValue(config, 'enable', undefined));
|
110 |
-
this.setValue(GetValue(config, 'value', 0));
|
111 |
-
}
|
112 |
-
|
113 |
-
get enable() {
|
114 |
-
if (this.childrenMap.slider) {
|
115 |
-
return this.childrenMap.slider.enable;
|
116 |
-
} else {
|
117 |
-
return false;
|
118 |
-
}
|
119 |
-
}
|
120 |
-
|
121 |
-
set enable(value) {
|
122 |
-
if (this.childrenMap.slider) {
|
123 |
-
this.childrenMap.slider.setEnable(value);
|
124 |
-
}
|
125 |
-
}
|
126 |
-
|
127 |
-
setEnable(enable) {
|
128 |
-
if (enable === undefined) {
|
129 |
-
enable = true;
|
130 |
-
}
|
131 |
-
this.enable = enable;
|
132 |
-
return this;
|
133 |
-
}
|
134 |
-
|
135 |
-
get value() {
|
136 |
-
if (this.childrenMap.slider) {
|
137 |
-
return this.childrenMap.slider.value;
|
138 |
-
} else {
|
139 |
-
return 0;
|
140 |
-
}
|
141 |
-
}
|
142 |
-
|
143 |
-
set value(value) {
|
144 |
-
if (!this.childrenMap.slider) {
|
145 |
-
return;
|
146 |
-
}
|
147 |
-
this.childrenMap.slider.value = value;
|
148 |
-
}
|
149 |
-
|
150 |
-
setValue(value, min, max) {
|
151 |
-
if (this.childrenMap.slider) {
|
152 |
-
this.childrenMap.slider.setValue(value, min, max);
|
153 |
-
}
|
154 |
-
return this;
|
155 |
-
}
|
156 |
-
|
157 |
-
addValue(inc, min, max) {
|
158 |
-
if (this.childrenMap.slider) {
|
159 |
-
this.childrenMap.slider.addValue(inc, min, max);
|
160 |
-
}
|
161 |
-
return this;
|
162 |
-
}
|
163 |
-
|
164 |
-
getValue(min, max) {
|
165 |
-
if (this.childrenMap.slider) {
|
166 |
-
return this.childrenMap.slider.getValue(min, max);
|
167 |
-
} else {
|
168 |
-
return 0;
|
169 |
-
}
|
170 |
-
}
|
171 |
-
|
172 |
-
easeValueTo(value, min, max) {
|
173 |
-
if (this.childrenMap.slider) {
|
174 |
-
this.childrenMap.slider.easeValueTo(value, min, max);
|
175 |
-
}
|
176 |
-
return this;
|
177 |
-
}
|
178 |
-
|
179 |
-
stopEaseValue() {
|
180 |
-
if (this.childrenMap.slider) {
|
181 |
-
this.childrenMap.slider.stopEaseValue();
|
182 |
-
}
|
183 |
-
return this;
|
184 |
-
}
|
185 |
-
|
186 |
-
setEaseValueDuration(duration) {
|
187 |
-
if (this.childrenMap.slider) {
|
188 |
-
this.childrenMap.slider.setEaseValueDuration(duration);
|
189 |
-
}
|
190 |
-
return this;
|
191 |
-
}
|
192 |
-
|
193 |
-
setEaseValueFunction(ease) {
|
194 |
-
if (this.childrenMap.slider) {
|
195 |
-
this.childrenMap.slider.setEaseValueFunction(ease);
|
196 |
-
}
|
197 |
-
return this;
|
198 |
-
}
|
199 |
-
|
200 |
-
get text() {
|
201 |
-
var textObject = this.childrenMap.text;
|
202 |
-
if (textObject === undefined) {
|
203 |
-
return '';
|
204 |
-
}
|
205 |
-
var value;
|
206 |
-
if (textObject.text) {
|
207 |
-
value = textObject.text;
|
208 |
-
} else {
|
209 |
-
value = textObject.getData('text');
|
210 |
-
}
|
211 |
-
return value;
|
212 |
-
}
|
213 |
-
|
214 |
-
set text(value) {
|
215 |
-
var textObject = this.childrenMap.text;
|
216 |
-
if (textObject === undefined) {
|
217 |
-
return;
|
218 |
-
}
|
219 |
-
if (textObject.setText) {
|
220 |
-
textObject.setText(value);
|
221 |
-
} else {
|
222 |
-
textObject.setData('text', value);
|
223 |
-
}
|
224 |
-
}
|
225 |
-
|
226 |
-
setText(value) {
|
227 |
-
this.text = value;
|
228 |
-
return this;
|
229 |
-
}
|
230 |
-
}
|
231 |
-
|
232 |
-
export default NumberBar;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AlexWang/lama/fetch_data/eval_sampler.py
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import random
|
3 |
-
|
4 |
-
|
5 |
-
val_files_path = os.path.abspath('.') + '/places_standard_dataset/original/val/'
|
6 |
-
val_files = [val_files_path + image for image in os.listdir(val_files_path)]
|
7 |
-
|
8 |
-
print(f'found {len(val_files)} images in {val_files_path}')
|
9 |
-
|
10 |
-
random.shuffle(val_files)
|
11 |
-
val_files_random = val_files[0:2000]
|
12 |
-
|
13 |
-
list_of_random_val_files = os.path.abspath('.') \
|
14 |
-
+ '/places_standard_dataset/original/eval_random_files.txt'
|
15 |
-
|
16 |
-
print(f'copying 2000 random images to {list_of_random_val_files}')
|
17 |
-
with open(list_of_random_val_files, 'w') as fw:
|
18 |
-
for filename in val_files_random:
|
19 |
-
fw.write(filename+'\n')
|
20 |
-
print('...done')
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Alpaca233/SadTalker/src/face3d/extract_kp_videos_safe.py
DELETED
@@ -1,151 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import cv2
|
3 |
-
import time
|
4 |
-
import glob
|
5 |
-
import argparse
|
6 |
-
import numpy as np
|
7 |
-
from PIL import Image
|
8 |
-
import torch
|
9 |
-
from tqdm import tqdm
|
10 |
-
from itertools import cycle
|
11 |
-
from torch.multiprocessing import Pool, Process, set_start_method
|
12 |
-
|
13 |
-
from facexlib.alignment import landmark_98_to_68
|
14 |
-
from facexlib.detection import init_detection_model
|
15 |
-
|
16 |
-
from facexlib.utils import load_file_from_url
|
17 |
-
from src.face3d.util.my_awing_arch import FAN
|
18 |
-
|
19 |
-
def init_alignment_model(model_name, half=False, device='cuda', model_rootpath=None):
|
20 |
-
if model_name == 'awing_fan':
|
21 |
-
model = FAN(num_modules=4, num_landmarks=98, device=device)
|
22 |
-
model_url = 'https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth'
|
23 |
-
else:
|
24 |
-
raise NotImplementedError(f'{model_name} is not implemented.')
|
25 |
-
|
26 |
-
model_path = load_file_from_url(
|
27 |
-
url=model_url, model_dir='facexlib/weights', progress=True, file_name=None, save_dir=model_rootpath)
|
28 |
-
model.load_state_dict(torch.load(model_path, map_location=device)['state_dict'], strict=True)
|
29 |
-
model.eval()
|
30 |
-
model = model.to(device)
|
31 |
-
return model
|
32 |
-
|
33 |
-
|
34 |
-
class KeypointExtractor():
|
35 |
-
def __init__(self, device='cuda'):
|
36 |
-
|
37 |
-
### gfpgan/weights
|
38 |
-
try:
|
39 |
-
import webui # in webui
|
40 |
-
root_path = 'extensions/SadTalker/gfpgan/weights'
|
41 |
-
|
42 |
-
except:
|
43 |
-
root_path = 'gfpgan/weights'
|
44 |
-
|
45 |
-
self.detector = init_alignment_model('awing_fan',device=device, model_rootpath=root_path)
|
46 |
-
self.det_net = init_detection_model('retinaface_resnet50', half=False,device=device, model_rootpath=root_path)
|
47 |
-
|
48 |
-
def extract_keypoint(self, images, name=None, info=True):
|
49 |
-
if isinstance(images, list):
|
50 |
-
keypoints = []
|
51 |
-
if info:
|
52 |
-
i_range = tqdm(images,desc='landmark Det:')
|
53 |
-
else:
|
54 |
-
i_range = images
|
55 |
-
|
56 |
-
for image in i_range:
|
57 |
-
current_kp = self.extract_keypoint(image)
|
58 |
-
# current_kp = self.detector.get_landmarks(np.array(image))
|
59 |
-
if np.mean(current_kp) == -1 and keypoints:
|
60 |
-
keypoints.append(keypoints[-1])
|
61 |
-
else:
|
62 |
-
keypoints.append(current_kp[None])
|
63 |
-
|
64 |
-
keypoints = np.concatenate(keypoints, 0)
|
65 |
-
np.savetxt(os.path.splitext(name)[0]+'.txt', keypoints.reshape(-1))
|
66 |
-
return keypoints
|
67 |
-
else:
|
68 |
-
while True:
|
69 |
-
try:
|
70 |
-
with torch.no_grad():
|
71 |
-
# face detection -> face alignment.
|
72 |
-
img = np.array(images)
|
73 |
-
bboxes = self.det_net.detect_faces(images, 0.97)
|
74 |
-
|
75 |
-
bboxes = bboxes[0]
|
76 |
-
img = img[int(bboxes[1]):int(bboxes[3]), int(bboxes[0]):int(bboxes[2]), :]
|
77 |
-
|
78 |
-
keypoints = landmark_98_to_68(self.detector.get_landmarks(img)) # [0]
|
79 |
-
|
80 |
-
#### keypoints to the original location
|
81 |
-
keypoints[:,0] += int(bboxes[0])
|
82 |
-
keypoints[:,1] += int(bboxes[1])
|
83 |
-
|
84 |
-
break
|
85 |
-
except RuntimeError as e:
|
86 |
-
if str(e).startswith('CUDA'):
|
87 |
-
print("Warning: out of memory, sleep for 1s")
|
88 |
-
time.sleep(1)
|
89 |
-
else:
|
90 |
-
print(e)
|
91 |
-
break
|
92 |
-
except TypeError:
|
93 |
-
print('No face detected in this image')
|
94 |
-
shape = [68, 2]
|
95 |
-
keypoints = -1. * np.ones(shape)
|
96 |
-
break
|
97 |
-
if name is not None:
|
98 |
-
np.savetxt(os.path.splitext(name)[0]+'.txt', keypoints.reshape(-1))
|
99 |
-
return keypoints
|
100 |
-
|
101 |
-
def read_video(filename):
|
102 |
-
frames = []
|
103 |
-
cap = cv2.VideoCapture(filename)
|
104 |
-
while cap.isOpened():
|
105 |
-
ret, frame = cap.read()
|
106 |
-
if ret:
|
107 |
-
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
108 |
-
frame = Image.fromarray(frame)
|
109 |
-
frames.append(frame)
|
110 |
-
else:
|
111 |
-
break
|
112 |
-
cap.release()
|
113 |
-
return frames
|
114 |
-
|
115 |
-
def run(data):
|
116 |
-
filename, opt, device = data
|
117 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = device
|
118 |
-
kp_extractor = KeypointExtractor()
|
119 |
-
images = read_video(filename)
|
120 |
-
name = filename.split('/')[-2:]
|
121 |
-
os.makedirs(os.path.join(opt.output_dir, name[-2]), exist_ok=True)
|
122 |
-
kp_extractor.extract_keypoint(
|
123 |
-
images,
|
124 |
-
name=os.path.join(opt.output_dir, name[-2], name[-1])
|
125 |
-
)
|
126 |
-
|
127 |
-
if __name__ == '__main__':
|
128 |
-
set_start_method('spawn')
|
129 |
-
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
130 |
-
parser.add_argument('--input_dir', type=str, help='the folder of the input files')
|
131 |
-
parser.add_argument('--output_dir', type=str, help='the folder of the output files')
|
132 |
-
parser.add_argument('--device_ids', type=str, default='0,1')
|
133 |
-
parser.add_argument('--workers', type=int, default=4)
|
134 |
-
|
135 |
-
opt = parser.parse_args()
|
136 |
-
filenames = list()
|
137 |
-
VIDEO_EXTENSIONS_LOWERCASE = {'mp4'}
|
138 |
-
VIDEO_EXTENSIONS = VIDEO_EXTENSIONS_LOWERCASE.union({f.upper() for f in VIDEO_EXTENSIONS_LOWERCASE})
|
139 |
-
extensions = VIDEO_EXTENSIONS
|
140 |
-
|
141 |
-
for ext in extensions:
|
142 |
-
os.listdir(f'{opt.input_dir}')
|
143 |
-
print(f'{opt.input_dir}/*.{ext}')
|
144 |
-
filenames = sorted(glob.glob(f'{opt.input_dir}/*.{ext}'))
|
145 |
-
print('Total number of videos:', len(filenames))
|
146 |
-
pool = Pool(opt.workers)
|
147 |
-
args_list = cycle([opt])
|
148 |
-
device_ids = opt.device_ids.split(",")
|
149 |
-
device_ids = cycle(device_ids)
|
150 |
-
for data in tqdm(pool.imap_unordered(run, zip(filenames, args_list, device_ids))):
|
151 |
-
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Ammar-alhaj-ali/LayoutLMv3-Invoice/app.py
DELETED
@@ -1,113 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
os.system('pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu')
|
3 |
-
os.system('pip install -q git+https://github.com/huggingface/transformers.git')
|
4 |
-
os.system('pip install pytesseract')
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
import gradio as gr
|
9 |
-
import numpy as np
|
10 |
-
from transformers import AutoModelForTokenClassification
|
11 |
-
from datasets.features import ClassLabel
|
12 |
-
from transformers import AutoProcessor
|
13 |
-
from datasets import Features, Sequence, ClassLabel, Value, Array2D, Array3D
|
14 |
-
import torch
|
15 |
-
from datasets import load_metric
|
16 |
-
from transformers import LayoutLMv3ForTokenClassification
|
17 |
-
from transformers.data.data_collator import default_data_collator
|
18 |
-
|
19 |
-
|
20 |
-
from transformers import AutoModelForTokenClassification
|
21 |
-
from datasets import load_dataset
|
22 |
-
from PIL import Image, ImageDraw, ImageFont
|
23 |
-
|
24 |
-
|
25 |
-
processor = AutoProcessor.from_pretrained("Ammar-alhaj-ali/LayoutLMv3-Fine-Tuning-Invoice", apply_ocr=True)
|
26 |
-
model = AutoModelForTokenClassification.from_pretrained("Ammar-alhaj-ali/LayoutLMv3-Fine-Tuning-Invoice")
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
# define id2label, label2color
|
31 |
-
labels = ['O', 'B-ABN', 'B-BILLER', 'B-BILLER_ADDRESS', 'B-BILLER_POST_CODE', 'B-DUE_DATE', 'B-GST', 'B-INVOICE_DATE', 'B-INVOICE_NUMBER', 'B-SUBTOTAL', 'B-TOTAL', 'I-BILLER_ADDRESS']
|
32 |
-
id2label = {v: k for v, k in enumerate(labels)}
|
33 |
-
label2color = {
|
34 |
-
"B-ABN": 'blue',
|
35 |
-
"B-BILLER": 'red',
|
36 |
-
"B-BILLER_ADDRESS": 'green',
|
37 |
-
"B-BILLER_POST_CODE": 'orange',
|
38 |
-
"B-DUE_DATE": "blue",
|
39 |
-
"B-GST": 'green',
|
40 |
-
"B-INVOICE_DATE": 'violet',
|
41 |
-
"B-INVOICE_NUMBER": 'orange',
|
42 |
-
"B-SUBTOTAL": 'green',
|
43 |
-
"B-TOTAL": 'red',
|
44 |
-
"I-BILLER_ADDRESS": 'blue',
|
45 |
-
"O": 'orange'
|
46 |
-
}
|
47 |
-
|
48 |
-
def unnormalize_box(bbox, width, height):
|
49 |
-
return [
|
50 |
-
width * (bbox[0] / 1000),
|
51 |
-
height * (bbox[1] / 1000),
|
52 |
-
width * (bbox[2] / 1000),
|
53 |
-
height * (bbox[3] / 1000),
|
54 |
-
]
|
55 |
-
|
56 |
-
|
57 |
-
def iob_to_label(label):
|
58 |
-
return label
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
def process_image(image):
|
63 |
-
|
64 |
-
print(type(image))
|
65 |
-
width, height = image.size
|
66 |
-
|
67 |
-
# encode
|
68 |
-
encoding = processor(image, truncation=True, return_offsets_mapping=True, return_tensors="pt")
|
69 |
-
offset_mapping = encoding.pop('offset_mapping')
|
70 |
-
|
71 |
-
# forward pass
|
72 |
-
outputs = model(**encoding)
|
73 |
-
|
74 |
-
# get predictions
|
75 |
-
predictions = outputs.logits.argmax(-1).squeeze().tolist()
|
76 |
-
token_boxes = encoding.bbox.squeeze().tolist()
|
77 |
-
|
78 |
-
# only keep non-subword predictions
|
79 |
-
is_subword = np.array(offset_mapping.squeeze().tolist())[:,0] != 0
|
80 |
-
true_predictions = [id2label[pred] for idx, pred in enumerate(predictions) if not is_subword[idx]]
|
81 |
-
true_boxes = [unnormalize_box(box, width, height) for idx, box in enumerate(token_boxes) if not is_subword[idx]]
|
82 |
-
|
83 |
-
# draw predictions over the image
|
84 |
-
draw = ImageDraw.Draw(image)
|
85 |
-
font = ImageFont.load_default()
|
86 |
-
for prediction, box in zip(true_predictions, true_boxes):
|
87 |
-
predicted_label = iob_to_label(prediction)
|
88 |
-
draw.rectangle(box, outline=label2color[predicted_label]) #label2color[predicted_label]
|
89 |
-
draw.text((box[0]+10, box[1]-10), text=predicted_label, fill=label2color[predicted_label], font=font) #label2color[predicted_label]
|
90 |
-
|
91 |
-
return image
|
92 |
-
|
93 |
-
|
94 |
-
title = "Extracting information from invoice Dataset using the LayoutLMv3 "
|
95 |
-
description = "I Fine tuned LayoutLMv3 on Invoice Dataset [darentang/generated] "
|
96 |
-
|
97 |
-
article="<b>References</b><br>[1] Y. Xu et al., “LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking.” 2022. <a href='https://arxiv.org/abs/2204.08387'>Paper Link</a><br>[2]"
|
98 |
-
|
99 |
-
examples =[['img1.png'],['img2.png'],['img3.png']]
|
100 |
-
|
101 |
-
css = """.output_image, .input_image {height: 600px !important}"""
|
102 |
-
|
103 |
-
iface = gr.Interface(fn=process_image,
|
104 |
-
inputs=gr.inputs.Image(type="pil"),
|
105 |
-
outputs=gr.outputs.Image(type="pil", label="annotated image"),
|
106 |
-
title=title,
|
107 |
-
description=description,
|
108 |
-
article=article,
|
109 |
-
examples=examples,
|
110 |
-
css=css,
|
111 |
-
analytics_enabled = True, enable_queue=True)
|
112 |
-
|
113 |
-
iface.launch(inline=False, share=False, debug=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AnTo2209/3D_Zeroshot_Neural_Style_Transfer/src/utils/renderer.py
DELETED
@@ -1,328 +0,0 @@
|
|
1 |
-
import numpy as np
|
2 |
-
import torch, os, imageio, sys
|
3 |
-
from tqdm.auto import tqdm
|
4 |
-
from src.decoder.tensoRF_decoder import raw2alpha, TensorVMSplit, AlphaGridMask
|
5 |
-
from src.decoder.utils import *
|
6 |
-
from src.dataset.ray_utils import ndc_rays_blender, denormalize_vgg, normalize_vgg, get_rays
|
7 |
-
from src.utils.utils import rgb_lpips, rgb_ssim
|
8 |
-
|
9 |
-
|
10 |
-
def OctreeRender_trilinear_fast(rays, tensorf, chunk=4096, N_samples=-1, ndc_ray=False, white_bg=True, is_train=False,
|
11 |
-
render_feature=False, style_img=None, device='cuda'):
|
12 |
-
rgbs, alphas, depth_maps, weights, uncertainties = [], [], [], [], []
|
13 |
-
features, accs = [], []
|
14 |
-
s_mean_std_mat = None
|
15 |
-
if style_img is not None:
|
16 |
-
with torch.no_grad():
|
17 |
-
style_feature = tensorf.encoder(normalize_vgg(style_img))
|
18 |
-
s_mean_std_mat = tensorf.stylizer.get_style_mean_std_matrix(style_feature.relu3_1.flatten(2))
|
19 |
-
|
20 |
-
N_rays_all = rays.shape[0]
|
21 |
-
for chunk_idx in range(N_rays_all // chunk + int(N_rays_all % chunk > 0)):
|
22 |
-
rays_chunk = rays[chunk_idx * chunk:(chunk_idx + 1) * chunk].to(device)
|
23 |
-
|
24 |
-
if render_feature:
|
25 |
-
feature_map, acc_map = tensorf.render_feature_map(rays_chunk, s_mean_std_mat=s_mean_std_mat,
|
26 |
-
is_train=is_train, ndc_ray=ndc_ray, N_samples=N_samples)
|
27 |
-
features.append(feature_map)
|
28 |
-
accs.append(acc_map)
|
29 |
-
else:
|
30 |
-
rgb_map, depth_map = tensorf(rays_chunk, is_train=is_train, white_bg=white_bg, ndc_ray=ndc_ray,
|
31 |
-
N_samples=N_samples)
|
32 |
-
rgbs.append(rgb_map)
|
33 |
-
depth_maps.append(depth_map)
|
34 |
-
|
35 |
-
if render_feature:
|
36 |
-
if style_img is not None:
|
37 |
-
return torch.cat(features), torch.cat(accs), style_feature
|
38 |
-
return torch.cat(features), torch.cat(accs)
|
39 |
-
|
40 |
-
return torch.cat(rgbs), None, torch.cat(depth_maps), None, None
|
41 |
-
|
42 |
-
|
43 |
-
def OctreeRender_trilinear_fast_depth(rays, tensorf, chunk=4096, N_samples=-1, ndc_ray=False, is_train=False,
|
44 |
-
device='cuda'):
|
45 |
-
depth_maps = []
|
46 |
-
N_rays_all = rays.shape[0]
|
47 |
-
for chunk_idx in range(N_rays_all // chunk + int(N_rays_all % chunk > 0)):
|
48 |
-
rays_chunk = rays[chunk_idx * chunk:(chunk_idx + 1) * chunk].to(device)
|
49 |
-
depth_map = tensorf.render_depth_map(rays_chunk, is_train=is_train, ndc_ray=ndc_ray, N_samples=N_samples)
|
50 |
-
depth_maps.append(depth_map)
|
51 |
-
|
52 |
-
return torch.cat(depth_maps)
|
53 |
-
|
54 |
-
|
55 |
-
@torch.no_grad()
|
56 |
-
def evaluation_feature(test_dataset, tensorf, renderer, chunk_size=2048, savePath=None, N_vis=10, prtx='',
|
57 |
-
N_samples=-1,
|
58 |
-
white_bg=False, ndc_ray=False, compute_extra_metrics=False, style_img=None, device='cuda'):
|
59 |
-
'''
|
60 |
-
To see if the decoded feature map is similar to gt rgb map
|
61 |
-
'''
|
62 |
-
PSNRs, rgb_maps, vis_feature_maps = [], [], []
|
63 |
-
ssims, l_alex, l_vgg = [], [], []
|
64 |
-
os.makedirs(savePath, exist_ok=True)
|
65 |
-
os.makedirs(savePath + '/feature', exist_ok=True)
|
66 |
-
W, H = test_dataset.img_wh
|
67 |
-
|
68 |
-
try:
|
69 |
-
tqdm._instances.clear()
|
70 |
-
except Exception:
|
71 |
-
pass
|
72 |
-
|
73 |
-
near_far = test_dataset.near_far
|
74 |
-
img_eval_interval = 1 if N_vis < 0 else max(test_dataset.all_rays_stack.shape[0] // N_vis, 1)
|
75 |
-
idxs = list(range(0, test_dataset.all_rays_stack.shape[0], img_eval_interval))
|
76 |
-
for idx, samples in tqdm(enumerate(test_dataset.all_rays_stack[0::img_eval_interval]), file=sys.stdout):
|
77 |
-
|
78 |
-
rays = samples.view(-1, samples.shape[-1])
|
79 |
-
|
80 |
-
if style_img is None:
|
81 |
-
feature_map, _ = renderer(rays, tensorf, chunk=chunk_size, N_samples=N_samples, ndc_ray=ndc_ray,
|
82 |
-
white_bg=white_bg, render_feature=True, device=device)
|
83 |
-
else:
|
84 |
-
feature_map, _, _ = renderer(rays, tensorf, chunk=chunk_size, N_samples=N_samples, ndc_ray=ndc_ray,
|
85 |
-
white_bg=white_bg, render_feature=True, style_img=style_img, device=device)
|
86 |
-
|
87 |
-
feature_map = feature_map.reshape(H, W, 256)[None, ...].permute(0, 3, 1, 2)
|
88 |
-
|
89 |
-
recon_rgb = denormalize_vgg(tensorf.decoder(feature_map))
|
90 |
-
recon_rgb = recon_rgb.permute(0, 2, 3, 1).clamp(0, 1)
|
91 |
-
|
92 |
-
vis_feature_map = torch.sigmoid(feature_map[:, [1, 2, 3], :, :].permute(0, 2, 3, 1))
|
93 |
-
|
94 |
-
if test_dataset.white_bg:
|
95 |
-
mask = test_dataset.all_masks[idx:idx + 1].to(device)
|
96 |
-
recon_rgb = mask * recon_rgb + (1. - mask)
|
97 |
-
vis_feature_map = mask * vis_feature_map + (1. - mask)
|
98 |
-
|
99 |
-
recon_rgb = recon_rgb.reshape(H, W, 3).cpu()
|
100 |
-
vis_feature_map = vis_feature_map.squeeze().cpu()
|
101 |
-
|
102 |
-
if len(test_dataset.all_rgbs_stack):
|
103 |
-
gt_rgb = test_dataset.all_rgbs_stack[idxs[idx]].view(H, W, 3)
|
104 |
-
loss = torch.mean((recon_rgb - gt_rgb) ** 2)
|
105 |
-
PSNRs.append(-10.0 * np.log(loss.item()) / np.log(10.0))
|
106 |
-
|
107 |
-
if compute_extra_metrics:
|
108 |
-
ssim = rgb_ssim(recon_rgb, gt_rgb, 1)
|
109 |
-
l_a = rgb_lpips(gt_rgb.numpy(), recon_rgb.numpy(), 'alex', tensorf.device)
|
110 |
-
l_v = rgb_lpips(gt_rgb.numpy(), recon_rgb.numpy(), 'vgg', tensorf.device)
|
111 |
-
ssims.append(ssim)
|
112 |
-
l_alex.append(l_a)
|
113 |
-
l_vgg.append(l_v)
|
114 |
-
|
115 |
-
recon_rgb = (recon_rgb.numpy() * 255).astype('uint8')
|
116 |
-
vis_feature_map = (vis_feature_map.numpy() * 255).astype('uint8')
|
117 |
-
gt_rgb = (gt_rgb.numpy() * 255).astype('uint8')
|
118 |
-
|
119 |
-
if savePath is not None:
|
120 |
-
# rgb_map = np.concatenate((recon_rgb, gt_rgb), axis=1)
|
121 |
-
rgb_maps.append(recon_rgb)
|
122 |
-
vis_feature_maps.append(vis_feature_map)
|
123 |
-
imageio.imwrite(f'{savePath}/{prtx}{idx:03d}.png', recon_rgb)
|
124 |
-
imageio.imwrite(f'{savePath}/feature/feature_{idx:03d}.png', vis_feature_map)
|
125 |
-
|
126 |
-
imageio.mimwrite(f'{savePath}/{prtx}video.mp4', np.stack(rgb_maps), fps=30, quality=8)
|
127 |
-
imageio.mimwrite(f'{savePath}/feature/feature_video.mp4', np.stack(vis_feature_maps), fps=30, quality=8)
|
128 |
-
|
129 |
-
if PSNRs:
|
130 |
-
psnr = np.mean(np.asarray(PSNRs))
|
131 |
-
if compute_extra_metrics:
|
132 |
-
ssim = np.mean(np.asarray(ssims))
|
133 |
-
l_a = np.mean(np.asarray(l_alex))
|
134 |
-
l_v = np.mean(np.asarray(l_vgg))
|
135 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr, ssim, l_a, l_v]))
|
136 |
-
else:
|
137 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr]))
|
138 |
-
|
139 |
-
return {"video_path": f'{savePath}/{prtx}video.mp4',
|
140 |
-
"PSNR": PSNRs}
|
141 |
-
|
142 |
-
|
143 |
-
@torch.no_grad()
|
144 |
-
def evaluation_feature_path(test_dataset, tensorf, c2ws, renderer, chunk_size=2048, savePath=None, N_vis=5, prtx='',
|
145 |
-
N_samples=-1,
|
146 |
-
white_bg=False, ndc_ray=False, compute_extra_metrics=False, style_img=None, device='cuda'):
|
147 |
-
PSNRs, rgb_maps, vis_feature_maps, depth_maps = [], [], [], []
|
148 |
-
ssims, l_alex, l_vgg = [], [], []
|
149 |
-
os.makedirs(savePath, exist_ok=True)
|
150 |
-
os.makedirs(savePath + '/feature', exist_ok=True)
|
151 |
-
W, H = test_dataset.img_wh
|
152 |
-
|
153 |
-
try:
|
154 |
-
tqdm._instances.clear()
|
155 |
-
except Exception:
|
156 |
-
pass
|
157 |
-
|
158 |
-
near_far = test_dataset.near_far
|
159 |
-
for idx, c2w in tqdm(enumerate(c2ws)):
|
160 |
-
|
161 |
-
c2w = torch.FloatTensor(c2w)
|
162 |
-
rays_o, rays_d = get_rays(test_dataset.directions, c2w) # both (h*w, 3)
|
163 |
-
if ndc_ray:
|
164 |
-
rays_o, rays_d = ndc_rays_blender(H, W, test_dataset.focal[0], 1.0, rays_o, rays_d)
|
165 |
-
rays = torch.cat([rays_o, rays_d], 1).reshape(H, W, 6).permute(2, 0, 1) # (6,H,W)
|
166 |
-
rays = rays.permute(1, 2, 0).reshape(-1, 6) # (H * W, 6)
|
167 |
-
|
168 |
-
if style_img is None:
|
169 |
-
feature_map, _ = renderer(rays, tensorf, chunk=chunk_size, N_samples=N_samples, ndc_ray=ndc_ray,
|
170 |
-
white_bg=white_bg, render_feature=True, device=device)
|
171 |
-
else:
|
172 |
-
feature_map, _, _ = renderer(rays, tensorf, chunk=chunk_size, N_samples=N_samples, ndc_ray=ndc_ray,
|
173 |
-
white_bg=white_bg, render_feature=True, style_img=style_img, device=device)
|
174 |
-
|
175 |
-
feature_map = feature_map.reshape(H, W, 256)[None, ...].permute(0, 3, 1, 2)
|
176 |
-
|
177 |
-
recon_rgb = denormalize_vgg(tensorf.decoder(feature_map))
|
178 |
-
recon_rgb = recon_rgb.permute(0, 2, 3, 1).clamp(0, 1)
|
179 |
-
recon_rgb = recon_rgb.reshape(H, W, 3).cpu()
|
180 |
-
recon_rgb = (recon_rgb.numpy() * 255).astype('uint8')
|
181 |
-
rgb_maps.append(recon_rgb)
|
182 |
-
|
183 |
-
vis_feature_map = torch.sigmoid(feature_map[:, [1, 2, 3], :, :].permute(0, 2, 3, 1))
|
184 |
-
vis_feature_map = vis_feature_map.squeeze().cpu()
|
185 |
-
vis_feature_map = (vis_feature_map.numpy() * 255).astype('uint8')
|
186 |
-
vis_feature_maps.append(vis_feature_map)
|
187 |
-
|
188 |
-
if savePath is not None:
|
189 |
-
imageio.imwrite(f'{savePath}/{prtx}{idx:03d}.png', recon_rgb)
|
190 |
-
imageio.imwrite(f'{savePath}/feature/feature_{idx:03d}.png', vis_feature_map)
|
191 |
-
|
192 |
-
imageio.mimwrite(f'{savePath}/{prtx}video.mp4', np.stack(rgb_maps), fps=30, quality=8)
|
193 |
-
imageio.mimwrite(f'{savePath}/feature/feature_video.mp4', np.stack(vis_feature_maps), fps=30, quality=8)
|
194 |
-
|
195 |
-
if PSNRs:
|
196 |
-
psnr = np.mean(np.asarray(PSNRs))
|
197 |
-
if compute_extra_metrics:
|
198 |
-
ssim = np.mean(np.asarray(ssims))
|
199 |
-
l_a = np.mean(np.asarray(l_alex))
|
200 |
-
l_v = np.mean(np.asarray(l_vgg))
|
201 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr, ssim, l_a, l_v]))
|
202 |
-
else:
|
203 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr]))
|
204 |
-
|
205 |
-
return PSNRs
|
206 |
-
|
207 |
-
|
208 |
-
@torch.no_grad()
|
209 |
-
def evaluation(test_dataset, tensorf, args, renderer, savePath=None, N_vis=5, prtx='', N_samples=-1,
|
210 |
-
white_bg=False, ndc_ray=False, compute_extra_metrics=True, device='cuda'):
|
211 |
-
PSNRs, rgb_maps, depth_maps = [], [], []
|
212 |
-
ssims, l_alex, l_vgg = [], [], []
|
213 |
-
os.makedirs(savePath, exist_ok=True)
|
214 |
-
os.makedirs(savePath + "/rgbd", exist_ok=True)
|
215 |
-
|
216 |
-
try:
|
217 |
-
tqdm._instances.clear()
|
218 |
-
except Exception:
|
219 |
-
pass
|
220 |
-
|
221 |
-
near_far = test_dataset.near_far
|
222 |
-
img_eval_interval = 1 if N_vis < 0 else max(test_dataset.all_rays_stack.shape[0] // N_vis, 1)
|
223 |
-
idxs = list(range(0, test_dataset.all_rays_stack.shape[0], img_eval_interval))
|
224 |
-
for idx, samples in tqdm(enumerate(test_dataset.all_rays_stack[0::img_eval_interval]), file=sys.stdout):
|
225 |
-
|
226 |
-
W, H = test_dataset.img_wh
|
227 |
-
rays = samples.view(-1, samples.shape[-1])
|
228 |
-
|
229 |
-
rgb_map, _, depth_map, _, _ = renderer(rays, tensorf, chunk=4096, N_samples=N_samples,
|
230 |
-
ndc_ray=ndc_ray, white_bg=white_bg, device=device)
|
231 |
-
rgb_map = rgb_map.clamp(0.0, 1.0)
|
232 |
-
|
233 |
-
rgb_map, depth_map = rgb_map.reshape(H, W, 3).cpu(), depth_map.reshape(H, W).cpu()
|
234 |
-
|
235 |
-
depth_map, _ = visualize_depth_numpy(depth_map.numpy(), near_far)
|
236 |
-
if len(test_dataset.all_rgbs_stack):
|
237 |
-
gt_rgb = test_dataset.all_rgbs_stack[idxs[idx]].view(H, W, 3)
|
238 |
-
loss = torch.mean((rgb_map - gt_rgb) ** 2)
|
239 |
-
PSNRs.append(-10.0 * np.log(loss.item()) / np.log(10.0))
|
240 |
-
|
241 |
-
if compute_extra_metrics:
|
242 |
-
ssim = rgb_ssim(rgb_map, gt_rgb, 1)
|
243 |
-
l_a = rgb_lpips(gt_rgb.numpy(), rgb_map.numpy(), 'alex', tensorf.device)
|
244 |
-
l_v = rgb_lpips(gt_rgb.numpy(), rgb_map.numpy(), 'vgg', tensorf.device)
|
245 |
-
ssims.append(ssim)
|
246 |
-
l_alex.append(l_a)
|
247 |
-
l_vgg.append(l_v)
|
248 |
-
|
249 |
-
rgb_map = (rgb_map.numpy() * 255).astype('uint8')
|
250 |
-
# rgb_map = np.concatenate((rgb_map, depth_map), axis=1)
|
251 |
-
rgb_maps.append(rgb_map)
|
252 |
-
depth_maps.append(depth_map)
|
253 |
-
if savePath is not None:
|
254 |
-
imageio.imwrite(f'{savePath}/{prtx}{idx:03d}.png', rgb_map)
|
255 |
-
# rgb_map = np.concatenate((rgb_map, depth_map), axis=1)
|
256 |
-
imageio.imwrite(f'{savePath}/rgbd/{prtx}{idx:03d}.png', depth_map)
|
257 |
-
|
258 |
-
imageio.mimwrite(f'{savePath}/{prtx}video.mp4', np.stack(rgb_maps), fps=30, quality=10)
|
259 |
-
imageio.mimwrite(f'{savePath}/{prtx}depthvideo.mp4', np.stack(depth_maps), fps=30, quality=10)
|
260 |
-
|
261 |
-
if PSNRs:
|
262 |
-
psnr = np.mean(np.asarray(PSNRs))
|
263 |
-
if compute_extra_metrics:
|
264 |
-
ssim = np.mean(np.asarray(ssims))
|
265 |
-
l_a = np.mean(np.asarray(l_alex))
|
266 |
-
l_v = np.mean(np.asarray(l_vgg))
|
267 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr, ssim, l_a, l_v]))
|
268 |
-
else:
|
269 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr]))
|
270 |
-
|
271 |
-
return PSNRs
|
272 |
-
|
273 |
-
|
274 |
-
@torch.no_grad()
|
275 |
-
def evaluation_path(test_dataset, tensorf, c2ws, renderer, savePath=None, N_vis=5, prtx='', N_samples=-1,
|
276 |
-
white_bg=False, ndc_ray=False, compute_extra_metrics=True, device='cuda'):
|
277 |
-
PSNRs, rgb_maps, depth_maps = [], [], []
|
278 |
-
ssims, l_alex, l_vgg = [], [], []
|
279 |
-
os.makedirs(savePath, exist_ok=True)
|
280 |
-
os.makedirs(savePath + "/rgbd", exist_ok=True)
|
281 |
-
|
282 |
-
try:
|
283 |
-
tqdm._instances.clear()
|
284 |
-
except Exception:
|
285 |
-
pass
|
286 |
-
|
287 |
-
near_far = test_dataset.near_far
|
288 |
-
for idx, c2w in tqdm(enumerate(c2ws)):
|
289 |
-
|
290 |
-
W, H = test_dataset.img_wh
|
291 |
-
|
292 |
-
c2w = torch.FloatTensor(c2w)
|
293 |
-
rays_o, rays_d = get_rays(test_dataset.directions, c2w) # both (h*w, 3)
|
294 |
-
if ndc_ray:
|
295 |
-
rays_o, rays_d = ndc_rays_blender(H, W, test_dataset.focal[0], 1.0, rays_o, rays_d)
|
296 |
-
rays = torch.cat([rays_o, rays_d], 1) # (h*w, 6)
|
297 |
-
|
298 |
-
rgb_map, _, depth_map, _, _ = renderer(rays, tensorf, chunk=8192, N_samples=N_samples,
|
299 |
-
ndc_ray=ndc_ray, white_bg=white_bg, device=device)
|
300 |
-
rgb_map = rgb_map.clamp(0.0, 1.0)
|
301 |
-
|
302 |
-
rgb_map, depth_map = rgb_map.reshape(H, W, 3).cpu(), depth_map.reshape(H, W).cpu()
|
303 |
-
|
304 |
-
depth_map, _ = visualize_depth_numpy(depth_map.numpy(), near_far)
|
305 |
-
|
306 |
-
rgb_map = (rgb_map.numpy() * 255).astype('uint8')
|
307 |
-
# rgb_map = np.concatenate((rgb_map, depth_map), axis=1)
|
308 |
-
rgb_maps.append(rgb_map)
|
309 |
-
depth_maps.append(depth_map)
|
310 |
-
if savePath is not None:
|
311 |
-
imageio.imwrite(f'{savePath}/{prtx}{idx:03d}.png', rgb_map)
|
312 |
-
rgb_map = np.concatenate((rgb_map, depth_map), axis=1)
|
313 |
-
imageio.imwrite(f'{savePath}/rgbd/{prtx}{idx:03d}.png', rgb_map)
|
314 |
-
|
315 |
-
imageio.mimwrite(f'{savePath}/{prtx}video.mp4', np.stack(rgb_maps), fps=30, quality=8)
|
316 |
-
imageio.mimwrite(f'{savePath}/{prtx}depthvideo.mp4', np.stack(depth_maps), fps=30, quality=8)
|
317 |
-
|
318 |
-
if PSNRs:
|
319 |
-
psnr = np.mean(np.asarray(PSNRs))
|
320 |
-
if compute_extra_metrics:
|
321 |
-
ssim = np.mean(np.asarray(ssims))
|
322 |
-
l_a = np.mean(np.asarray(l_alex))
|
323 |
-
l_v = np.mean(np.asarray(l_vgg))
|
324 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr, ssim, l_a, l_v]))
|
325 |
-
else:
|
326 |
-
np.savetxt(f'{savePath}/{prtx}mean.txt', np.asarray([psnr]))
|
327 |
-
|
328 |
-
return PSNRs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/scripts/convert_shap_e_to_diffusers.py
DELETED
@@ -1,1080 +0,0 @@
|
|
1 |
-
import argparse
|
2 |
-
import tempfile
|
3 |
-
|
4 |
-
import torch
|
5 |
-
from accelerate import load_checkpoint_and_dispatch
|
6 |
-
|
7 |
-
from diffusers.models.prior_transformer import PriorTransformer
|
8 |
-
from diffusers.pipelines.shap_e import ShapERenderer
|
9 |
-
|
10 |
-
|
11 |
-
"""
|
12 |
-
Example - From the diffusers root directory:
|
13 |
-
|
14 |
-
Download weights:
|
15 |
-
```sh
|
16 |
-
$ wget "https://openaipublic.azureedge.net/main/shap-e/text_cond.pt"
|
17 |
-
```
|
18 |
-
|
19 |
-
Convert the model:
|
20 |
-
```sh
|
21 |
-
$ python scripts/convert_shap_e_to_diffusers.py \
|
22 |
-
--prior_checkpoint_path /home/yiyi_huggingface_co/shap-e/shap_e_model_cache/text_cond.pt \
|
23 |
-
--prior_image_checkpoint_path /home/yiyi_huggingface_co/shap-e/shap_e_model_cache/image_cond.pt \
|
24 |
-
--transmitter_checkpoint_path /home/yiyi_huggingface_co/shap-e/shap_e_model_cache/transmitter.pt\
|
25 |
-
--dump_path /home/yiyi_huggingface_co/model_repo/shap-e-img2img/shap_e_renderer\
|
26 |
-
--debug renderer
|
27 |
-
```
|
28 |
-
"""
|
29 |
-
|
30 |
-
|
31 |
-
# prior
|
32 |
-
|
33 |
-
PRIOR_ORIGINAL_PREFIX = "wrapped"
|
34 |
-
|
35 |
-
PRIOR_CONFIG = {
|
36 |
-
"num_attention_heads": 16,
|
37 |
-
"attention_head_dim": 1024 // 16,
|
38 |
-
"num_layers": 24,
|
39 |
-
"embedding_dim": 1024,
|
40 |
-
"num_embeddings": 1024,
|
41 |
-
"additional_embeddings": 0,
|
42 |
-
"time_embed_act_fn": "gelu",
|
43 |
-
"norm_in_type": "layer",
|
44 |
-
"encoder_hid_proj_type": None,
|
45 |
-
"added_emb_type": None,
|
46 |
-
"time_embed_dim": 1024 * 4,
|
47 |
-
"embedding_proj_dim": 768,
|
48 |
-
"clip_embed_dim": 1024 * 2,
|
49 |
-
}
|
50 |
-
|
51 |
-
|
52 |
-
def prior_model_from_original_config():
|
53 |
-
model = PriorTransformer(**PRIOR_CONFIG)
|
54 |
-
|
55 |
-
return model
|
56 |
-
|
57 |
-
|
58 |
-
def prior_original_checkpoint_to_diffusers_checkpoint(model, checkpoint):
|
59 |
-
diffusers_checkpoint = {}
|
60 |
-
|
61 |
-
# <original>.time_embed.c_fc -> <diffusers>.time_embedding.linear_1
|
62 |
-
diffusers_checkpoint.update(
|
63 |
-
{
|
64 |
-
"time_embedding.linear_1.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.time_embed.c_fc.weight"],
|
65 |
-
"time_embedding.linear_1.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.time_embed.c_fc.bias"],
|
66 |
-
}
|
67 |
-
)
|
68 |
-
|
69 |
-
# <original>.time_embed.c_proj -> <diffusers>.time_embedding.linear_2
|
70 |
-
diffusers_checkpoint.update(
|
71 |
-
{
|
72 |
-
"time_embedding.linear_2.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.time_embed.c_proj.weight"],
|
73 |
-
"time_embedding.linear_2.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.time_embed.c_proj.bias"],
|
74 |
-
}
|
75 |
-
)
|
76 |
-
|
77 |
-
# <original>.input_proj -> <diffusers>.proj_in
|
78 |
-
diffusers_checkpoint.update(
|
79 |
-
{
|
80 |
-
"proj_in.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.input_proj.weight"],
|
81 |
-
"proj_in.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.input_proj.bias"],
|
82 |
-
}
|
83 |
-
)
|
84 |
-
|
85 |
-
# <original>.clip_emb -> <diffusers>.embedding_proj
|
86 |
-
diffusers_checkpoint.update(
|
87 |
-
{
|
88 |
-
"embedding_proj.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.clip_embed.weight"],
|
89 |
-
"embedding_proj.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.clip_embed.bias"],
|
90 |
-
}
|
91 |
-
)
|
92 |
-
|
93 |
-
# <original>.pos_emb -> <diffusers>.positional_embedding
|
94 |
-
diffusers_checkpoint.update({"positional_embedding": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.pos_emb"][None, :]})
|
95 |
-
|
96 |
-
# <original>.ln_pre -> <diffusers>.norm_in
|
97 |
-
diffusers_checkpoint.update(
|
98 |
-
{
|
99 |
-
"norm_in.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.ln_pre.weight"],
|
100 |
-
"norm_in.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.ln_pre.bias"],
|
101 |
-
}
|
102 |
-
)
|
103 |
-
|
104 |
-
# <original>.backbone.resblocks.<x> -> <diffusers>.transformer_blocks.<x>
|
105 |
-
for idx in range(len(model.transformer_blocks)):
|
106 |
-
diffusers_transformer_prefix = f"transformer_blocks.{idx}"
|
107 |
-
original_transformer_prefix = f"{PRIOR_ORIGINAL_PREFIX}.backbone.resblocks.{idx}"
|
108 |
-
|
109 |
-
# <original>.attn -> <diffusers>.attn1
|
110 |
-
diffusers_attention_prefix = f"{diffusers_transformer_prefix}.attn1"
|
111 |
-
original_attention_prefix = f"{original_transformer_prefix}.attn"
|
112 |
-
diffusers_checkpoint.update(
|
113 |
-
prior_attention_to_diffusers(
|
114 |
-
checkpoint,
|
115 |
-
diffusers_attention_prefix=diffusers_attention_prefix,
|
116 |
-
original_attention_prefix=original_attention_prefix,
|
117 |
-
attention_head_dim=model.attention_head_dim,
|
118 |
-
)
|
119 |
-
)
|
120 |
-
|
121 |
-
# <original>.mlp -> <diffusers>.ff
|
122 |
-
diffusers_ff_prefix = f"{diffusers_transformer_prefix}.ff"
|
123 |
-
original_ff_prefix = f"{original_transformer_prefix}.mlp"
|
124 |
-
diffusers_checkpoint.update(
|
125 |
-
prior_ff_to_diffusers(
|
126 |
-
checkpoint, diffusers_ff_prefix=diffusers_ff_prefix, original_ff_prefix=original_ff_prefix
|
127 |
-
)
|
128 |
-
)
|
129 |
-
|
130 |
-
# <original>.ln_1 -> <diffusers>.norm1
|
131 |
-
diffusers_checkpoint.update(
|
132 |
-
{
|
133 |
-
f"{diffusers_transformer_prefix}.norm1.weight": checkpoint[
|
134 |
-
f"{original_transformer_prefix}.ln_1.weight"
|
135 |
-
],
|
136 |
-
f"{diffusers_transformer_prefix}.norm1.bias": checkpoint[f"{original_transformer_prefix}.ln_1.bias"],
|
137 |
-
}
|
138 |
-
)
|
139 |
-
|
140 |
-
# <original>.ln_2 -> <diffusers>.norm3
|
141 |
-
diffusers_checkpoint.update(
|
142 |
-
{
|
143 |
-
f"{diffusers_transformer_prefix}.norm3.weight": checkpoint[
|
144 |
-
f"{original_transformer_prefix}.ln_2.weight"
|
145 |
-
],
|
146 |
-
f"{diffusers_transformer_prefix}.norm3.bias": checkpoint[f"{original_transformer_prefix}.ln_2.bias"],
|
147 |
-
}
|
148 |
-
)
|
149 |
-
|
150 |
-
# <original>.ln_post -> <diffusers>.norm_out
|
151 |
-
diffusers_checkpoint.update(
|
152 |
-
{
|
153 |
-
"norm_out.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.ln_post.weight"],
|
154 |
-
"norm_out.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.ln_post.bias"],
|
155 |
-
}
|
156 |
-
)
|
157 |
-
|
158 |
-
# <original>.output_proj -> <diffusers>.proj_to_clip_embeddings
|
159 |
-
diffusers_checkpoint.update(
|
160 |
-
{
|
161 |
-
"proj_to_clip_embeddings.weight": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.output_proj.weight"],
|
162 |
-
"proj_to_clip_embeddings.bias": checkpoint[f"{PRIOR_ORIGINAL_PREFIX}.output_proj.bias"],
|
163 |
-
}
|
164 |
-
)
|
165 |
-
|
166 |
-
return diffusers_checkpoint
|
167 |
-
|
168 |
-
|
169 |
-
def prior_attention_to_diffusers(
|
170 |
-
checkpoint, *, diffusers_attention_prefix, original_attention_prefix, attention_head_dim
|
171 |
-
):
|
172 |
-
diffusers_checkpoint = {}
|
173 |
-
|
174 |
-
# <original>.c_qkv -> <diffusers>.{to_q, to_k, to_v}
|
175 |
-
[q_weight, k_weight, v_weight], [q_bias, k_bias, v_bias] = split_attentions(
|
176 |
-
weight=checkpoint[f"{original_attention_prefix}.c_qkv.weight"],
|
177 |
-
bias=checkpoint[f"{original_attention_prefix}.c_qkv.bias"],
|
178 |
-
split=3,
|
179 |
-
chunk_size=attention_head_dim,
|
180 |
-
)
|
181 |
-
|
182 |
-
diffusers_checkpoint.update(
|
183 |
-
{
|
184 |
-
f"{diffusers_attention_prefix}.to_q.weight": q_weight,
|
185 |
-
f"{diffusers_attention_prefix}.to_q.bias": q_bias,
|
186 |
-
f"{diffusers_attention_prefix}.to_k.weight": k_weight,
|
187 |
-
f"{diffusers_attention_prefix}.to_k.bias": k_bias,
|
188 |
-
f"{diffusers_attention_prefix}.to_v.weight": v_weight,
|
189 |
-
f"{diffusers_attention_prefix}.to_v.bias": v_bias,
|
190 |
-
}
|
191 |
-
)
|
192 |
-
|
193 |
-
# <original>.c_proj -> <diffusers>.to_out.0
|
194 |
-
diffusers_checkpoint.update(
|
195 |
-
{
|
196 |
-
f"{diffusers_attention_prefix}.to_out.0.weight": checkpoint[f"{original_attention_prefix}.c_proj.weight"],
|
197 |
-
f"{diffusers_attention_prefix}.to_out.0.bias": checkpoint[f"{original_attention_prefix}.c_proj.bias"],
|
198 |
-
}
|
199 |
-
)
|
200 |
-
|
201 |
-
return diffusers_checkpoint
|
202 |
-
|
203 |
-
|
204 |
-
def prior_ff_to_diffusers(checkpoint, *, diffusers_ff_prefix, original_ff_prefix):
|
205 |
-
diffusers_checkpoint = {
|
206 |
-
# <original>.c_fc -> <diffusers>.net.0.proj
|
207 |
-
f"{diffusers_ff_prefix}.net.{0}.proj.weight": checkpoint[f"{original_ff_prefix}.c_fc.weight"],
|
208 |
-
f"{diffusers_ff_prefix}.net.{0}.proj.bias": checkpoint[f"{original_ff_prefix}.c_fc.bias"],
|
209 |
-
# <original>.c_proj -> <diffusers>.net.2
|
210 |
-
f"{diffusers_ff_prefix}.net.{2}.weight": checkpoint[f"{original_ff_prefix}.c_proj.weight"],
|
211 |
-
f"{diffusers_ff_prefix}.net.{2}.bias": checkpoint[f"{original_ff_prefix}.c_proj.bias"],
|
212 |
-
}
|
213 |
-
|
214 |
-
return diffusers_checkpoint
|
215 |
-
|
216 |
-
|
217 |
-
# done prior
|
218 |
-
|
219 |
-
|
220 |
-
# prior_image (only slightly different from prior)
|
221 |
-
|
222 |
-
|
223 |
-
PRIOR_IMAGE_ORIGINAL_PREFIX = "wrapped"
|
224 |
-
|
225 |
-
# Uses default arguments
|
226 |
-
PRIOR_IMAGE_CONFIG = {
|
227 |
-
"num_attention_heads": 8,
|
228 |
-
"attention_head_dim": 1024 // 8,
|
229 |
-
"num_layers": 24,
|
230 |
-
"embedding_dim": 1024,
|
231 |
-
"num_embeddings": 1024,
|
232 |
-
"additional_embeddings": 0,
|
233 |
-
"time_embed_act_fn": "gelu",
|
234 |
-
"norm_in_type": "layer",
|
235 |
-
"embedding_proj_norm_type": "layer",
|
236 |
-
"encoder_hid_proj_type": None,
|
237 |
-
"added_emb_type": None,
|
238 |
-
"time_embed_dim": 1024 * 4,
|
239 |
-
"embedding_proj_dim": 1024,
|
240 |
-
"clip_embed_dim": 1024 * 2,
|
241 |
-
}
|
242 |
-
|
243 |
-
|
244 |
-
def prior_image_model_from_original_config():
|
245 |
-
model = PriorTransformer(**PRIOR_IMAGE_CONFIG)
|
246 |
-
|
247 |
-
return model
|
248 |
-
|
249 |
-
|
250 |
-
def prior_image_original_checkpoint_to_diffusers_checkpoint(model, checkpoint):
|
251 |
-
diffusers_checkpoint = {}
|
252 |
-
|
253 |
-
# <original>.time_embed.c_fc -> <diffusers>.time_embedding.linear_1
|
254 |
-
diffusers_checkpoint.update(
|
255 |
-
{
|
256 |
-
"time_embedding.linear_1.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.time_embed.c_fc.weight"],
|
257 |
-
"time_embedding.linear_1.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.time_embed.c_fc.bias"],
|
258 |
-
}
|
259 |
-
)
|
260 |
-
|
261 |
-
# <original>.time_embed.c_proj -> <diffusers>.time_embedding.linear_2
|
262 |
-
diffusers_checkpoint.update(
|
263 |
-
{
|
264 |
-
"time_embedding.linear_2.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.time_embed.c_proj.weight"],
|
265 |
-
"time_embedding.linear_2.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.time_embed.c_proj.bias"],
|
266 |
-
}
|
267 |
-
)
|
268 |
-
|
269 |
-
# <original>.input_proj -> <diffusers>.proj_in
|
270 |
-
diffusers_checkpoint.update(
|
271 |
-
{
|
272 |
-
"proj_in.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.input_proj.weight"],
|
273 |
-
"proj_in.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.input_proj.bias"],
|
274 |
-
}
|
275 |
-
)
|
276 |
-
|
277 |
-
# <original>.clip_embed.0 -> <diffusers>.embedding_proj_norm
|
278 |
-
diffusers_checkpoint.update(
|
279 |
-
{
|
280 |
-
"embedding_proj_norm.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.clip_embed.0.weight"],
|
281 |
-
"embedding_proj_norm.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.clip_embed.0.bias"],
|
282 |
-
}
|
283 |
-
)
|
284 |
-
|
285 |
-
# <original>..clip_embed.1 -> <diffusers>.embedding_proj
|
286 |
-
diffusers_checkpoint.update(
|
287 |
-
{
|
288 |
-
"embedding_proj.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.clip_embed.1.weight"],
|
289 |
-
"embedding_proj.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.clip_embed.1.bias"],
|
290 |
-
}
|
291 |
-
)
|
292 |
-
|
293 |
-
# <original>.pos_emb -> <diffusers>.positional_embedding
|
294 |
-
diffusers_checkpoint.update(
|
295 |
-
{"positional_embedding": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.pos_emb"][None, :]}
|
296 |
-
)
|
297 |
-
|
298 |
-
# <original>.ln_pre -> <diffusers>.norm_in
|
299 |
-
diffusers_checkpoint.update(
|
300 |
-
{
|
301 |
-
"norm_in.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.ln_pre.weight"],
|
302 |
-
"norm_in.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.ln_pre.bias"],
|
303 |
-
}
|
304 |
-
)
|
305 |
-
|
306 |
-
# <original>.backbone.resblocks.<x> -> <diffusers>.transformer_blocks.<x>
|
307 |
-
for idx in range(len(model.transformer_blocks)):
|
308 |
-
diffusers_transformer_prefix = f"transformer_blocks.{idx}"
|
309 |
-
original_transformer_prefix = f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.backbone.resblocks.{idx}"
|
310 |
-
|
311 |
-
# <original>.attn -> <diffusers>.attn1
|
312 |
-
diffusers_attention_prefix = f"{diffusers_transformer_prefix}.attn1"
|
313 |
-
original_attention_prefix = f"{original_transformer_prefix}.attn"
|
314 |
-
diffusers_checkpoint.update(
|
315 |
-
prior_attention_to_diffusers(
|
316 |
-
checkpoint,
|
317 |
-
diffusers_attention_prefix=diffusers_attention_prefix,
|
318 |
-
original_attention_prefix=original_attention_prefix,
|
319 |
-
attention_head_dim=model.attention_head_dim,
|
320 |
-
)
|
321 |
-
)
|
322 |
-
|
323 |
-
# <original>.mlp -> <diffusers>.ff
|
324 |
-
diffusers_ff_prefix = f"{diffusers_transformer_prefix}.ff"
|
325 |
-
original_ff_prefix = f"{original_transformer_prefix}.mlp"
|
326 |
-
diffusers_checkpoint.update(
|
327 |
-
prior_ff_to_diffusers(
|
328 |
-
checkpoint, diffusers_ff_prefix=diffusers_ff_prefix, original_ff_prefix=original_ff_prefix
|
329 |
-
)
|
330 |
-
)
|
331 |
-
|
332 |
-
# <original>.ln_1 -> <diffusers>.norm1
|
333 |
-
diffusers_checkpoint.update(
|
334 |
-
{
|
335 |
-
f"{diffusers_transformer_prefix}.norm1.weight": checkpoint[
|
336 |
-
f"{original_transformer_prefix}.ln_1.weight"
|
337 |
-
],
|
338 |
-
f"{diffusers_transformer_prefix}.norm1.bias": checkpoint[f"{original_transformer_prefix}.ln_1.bias"],
|
339 |
-
}
|
340 |
-
)
|
341 |
-
|
342 |
-
# <original>.ln_2 -> <diffusers>.norm3
|
343 |
-
diffusers_checkpoint.update(
|
344 |
-
{
|
345 |
-
f"{diffusers_transformer_prefix}.norm3.weight": checkpoint[
|
346 |
-
f"{original_transformer_prefix}.ln_2.weight"
|
347 |
-
],
|
348 |
-
f"{diffusers_transformer_prefix}.norm3.bias": checkpoint[f"{original_transformer_prefix}.ln_2.bias"],
|
349 |
-
}
|
350 |
-
)
|
351 |
-
|
352 |
-
# <original>.ln_post -> <diffusers>.norm_out
|
353 |
-
diffusers_checkpoint.update(
|
354 |
-
{
|
355 |
-
"norm_out.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.ln_post.weight"],
|
356 |
-
"norm_out.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.ln_post.bias"],
|
357 |
-
}
|
358 |
-
)
|
359 |
-
|
360 |
-
# <original>.output_proj -> <diffusers>.proj_to_clip_embeddings
|
361 |
-
diffusers_checkpoint.update(
|
362 |
-
{
|
363 |
-
"proj_to_clip_embeddings.weight": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.output_proj.weight"],
|
364 |
-
"proj_to_clip_embeddings.bias": checkpoint[f"{PRIOR_IMAGE_ORIGINAL_PREFIX}.output_proj.bias"],
|
365 |
-
}
|
366 |
-
)
|
367 |
-
|
368 |
-
return diffusers_checkpoint
|
369 |
-
|
370 |
-
|
371 |
-
# done prior_image
|
372 |
-
|
373 |
-
|
374 |
-
# renderer
|
375 |
-
|
376 |
-
## create the lookup table for marching cubes method used in MeshDecoder
|
377 |
-
|
378 |
-
MC_TABLE = [
|
379 |
-
[],
|
380 |
-
[[0, 1, 0, 2, 0, 4]],
|
381 |
-
[[1, 0, 1, 5, 1, 3]],
|
382 |
-
[[0, 4, 1, 5, 0, 2], [1, 5, 1, 3, 0, 2]],
|
383 |
-
[[2, 0, 2, 3, 2, 6]],
|
384 |
-
[[0, 1, 2, 3, 0, 4], [2, 3, 2, 6, 0, 4]],
|
385 |
-
[[1, 0, 1, 5, 1, 3], [2, 6, 0, 2, 3, 2]],
|
386 |
-
[[3, 2, 2, 6, 3, 1], [3, 1, 2, 6, 1, 5], [1, 5, 2, 6, 0, 4]],
|
387 |
-
[[3, 1, 3, 7, 3, 2]],
|
388 |
-
[[0, 2, 0, 4, 0, 1], [3, 7, 2, 3, 1, 3]],
|
389 |
-
[[1, 5, 3, 7, 1, 0], [3, 7, 3, 2, 1, 0]],
|
390 |
-
[[2, 0, 0, 4, 2, 3], [2, 3, 0, 4, 3, 7], [3, 7, 0, 4, 1, 5]],
|
391 |
-
[[2, 0, 3, 1, 2, 6], [3, 1, 3, 7, 2, 6]],
|
392 |
-
[[1, 3, 3, 7, 1, 0], [1, 0, 3, 7, 0, 4], [0, 4, 3, 7, 2, 6]],
|
393 |
-
[[0, 1, 1, 5, 0, 2], [0, 2, 1, 5, 2, 6], [2, 6, 1, 5, 3, 7]],
|
394 |
-
[[0, 4, 1, 5, 3, 7], [0, 4, 3, 7, 2, 6]],
|
395 |
-
[[4, 0, 4, 6, 4, 5]],
|
396 |
-
[[0, 2, 4, 6, 0, 1], [4, 6, 4, 5, 0, 1]],
|
397 |
-
[[1, 5, 1, 3, 1, 0], [4, 6, 5, 4, 0, 4]],
|
398 |
-
[[5, 1, 1, 3, 5, 4], [5, 4, 1, 3, 4, 6], [4, 6, 1, 3, 0, 2]],
|
399 |
-
[[2, 0, 2, 3, 2, 6], [4, 5, 0, 4, 6, 4]],
|
400 |
-
[[6, 4, 4, 5, 6, 2], [6, 2, 4, 5, 2, 3], [2, 3, 4, 5, 0, 1]],
|
401 |
-
[[2, 6, 2, 0, 3, 2], [1, 0, 1, 5, 3, 1], [6, 4, 5, 4, 0, 4]],
|
402 |
-
[[1, 3, 5, 4, 1, 5], [1, 3, 4, 6, 5, 4], [1, 3, 3, 2, 4, 6], [3, 2, 2, 6, 4, 6]],
|
403 |
-
[[3, 1, 3, 7, 3, 2], [6, 4, 5, 4, 0, 4]],
|
404 |
-
[[4, 5, 0, 1, 4, 6], [0, 1, 0, 2, 4, 6], [7, 3, 2, 3, 1, 3]],
|
405 |
-
[[3, 2, 1, 0, 3, 7], [1, 0, 1, 5, 3, 7], [6, 4, 5, 4, 0, 4]],
|
406 |
-
[[3, 7, 3, 2, 1, 5], [3, 2, 6, 4, 1, 5], [1, 5, 6, 4, 5, 4], [3, 2, 2, 0, 6, 4]],
|
407 |
-
[[3, 7, 2, 6, 3, 1], [2, 6, 2, 0, 3, 1], [5, 4, 0, 4, 6, 4]],
|
408 |
-
[[1, 0, 1, 3, 5, 4], [1, 3, 2, 6, 5, 4], [1, 3, 3, 7, 2, 6], [5, 4, 2, 6, 4, 6]],
|
409 |
-
[[0, 1, 1, 5, 0, 2], [0, 2, 1, 5, 2, 6], [2, 6, 1, 5, 3, 7], [4, 5, 0, 4, 4, 6]],
|
410 |
-
[[6, 2, 4, 6, 4, 5], [4, 5, 5, 1, 6, 2], [6, 2, 5, 1, 7, 3]],
|
411 |
-
[[5, 1, 5, 4, 5, 7]],
|
412 |
-
[[0, 1, 0, 2, 0, 4], [5, 7, 1, 5, 4, 5]],
|
413 |
-
[[1, 0, 5, 4, 1, 3], [5, 4, 5, 7, 1, 3]],
|
414 |
-
[[4, 5, 5, 7, 4, 0], [4, 0, 5, 7, 0, 2], [0, 2, 5, 7, 1, 3]],
|
415 |
-
[[2, 0, 2, 3, 2, 6], [7, 5, 1, 5, 4, 5]],
|
416 |
-
[[2, 6, 0, 4, 2, 3], [0, 4, 0, 1, 2, 3], [7, 5, 1, 5, 4, 5]],
|
417 |
-
[[5, 7, 1, 3, 5, 4], [1, 3, 1, 0, 5, 4], [6, 2, 0, 2, 3, 2]],
|
418 |
-
[[3, 1, 3, 2, 7, 5], [3, 2, 0, 4, 7, 5], [3, 2, 2, 6, 0, 4], [7, 5, 0, 4, 5, 4]],
|
419 |
-
[[3, 7, 3, 2, 3, 1], [5, 4, 7, 5, 1, 5]],
|
420 |
-
[[0, 4, 0, 1, 2, 0], [3, 1, 3, 7, 2, 3], [4, 5, 7, 5, 1, 5]],
|
421 |
-
[[7, 3, 3, 2, 7, 5], [7, 5, 3, 2, 5, 4], [5, 4, 3, 2, 1, 0]],
|
422 |
-
[[0, 4, 2, 3, 0, 2], [0, 4, 3, 7, 2, 3], [0, 4, 4, 5, 3, 7], [4, 5, 5, 7, 3, 7]],
|
423 |
-
[[2, 0, 3, 1, 2, 6], [3, 1, 3, 7, 2, 6], [4, 5, 7, 5, 1, 5]],
|
424 |
-
[[1, 3, 3, 7, 1, 0], [1, 0, 3, 7, 0, 4], [0, 4, 3, 7, 2, 6], [5, 7, 1, 5, 5, 4]],
|
425 |
-
[[2, 6, 2, 0, 3, 7], [2, 0, 4, 5, 3, 7], [3, 7, 4, 5, 7, 5], [2, 0, 0, 1, 4, 5]],
|
426 |
-
[[4, 0, 5, 4, 5, 7], [5, 7, 7, 3, 4, 0], [4, 0, 7, 3, 6, 2]],
|
427 |
-
[[4, 6, 5, 7, 4, 0], [5, 7, 5, 1, 4, 0]],
|
428 |
-
[[1, 0, 0, 2, 1, 5], [1, 5, 0, 2, 5, 7], [5, 7, 0, 2, 4, 6]],
|
429 |
-
[[0, 4, 4, 6, 0, 1], [0, 1, 4, 6, 1, 3], [1, 3, 4, 6, 5, 7]],
|
430 |
-
[[0, 2, 4, 6, 5, 7], [0, 2, 5, 7, 1, 3]],
|
431 |
-
[[5, 1, 4, 0, 5, 7], [4, 0, 4, 6, 5, 7], [3, 2, 6, 2, 0, 2]],
|
432 |
-
[[2, 3, 2, 6, 0, 1], [2, 6, 7, 5, 0, 1], [0, 1, 7, 5, 1, 5], [2, 6, 6, 4, 7, 5]],
|
433 |
-
[[0, 4, 4, 6, 0, 1], [0, 1, 4, 6, 1, 3], [1, 3, 4, 6, 5, 7], [2, 6, 0, 2, 2, 3]],
|
434 |
-
[[3, 1, 2, 3, 2, 6], [2, 6, 6, 4, 3, 1], [3, 1, 6, 4, 7, 5]],
|
435 |
-
[[4, 6, 5, 7, 4, 0], [5, 7, 5, 1, 4, 0], [2, 3, 1, 3, 7, 3]],
|
436 |
-
[[1, 0, 0, 2, 1, 5], [1, 5, 0, 2, 5, 7], [5, 7, 0, 2, 4, 6], [3, 2, 1, 3, 3, 7]],
|
437 |
-
[[0, 1, 0, 4, 2, 3], [0, 4, 5, 7, 2, 3], [0, 4, 4, 6, 5, 7], [2, 3, 5, 7, 3, 7]],
|
438 |
-
[[7, 5, 3, 7, 3, 2], [3, 2, 2, 0, 7, 5], [7, 5, 2, 0, 6, 4]],
|
439 |
-
[[0, 4, 4, 6, 5, 7], [0, 4, 5, 7, 1, 5], [0, 2, 1, 3, 3, 7], [3, 7, 2, 6, 0, 2]],
|
440 |
-
[
|
441 |
-
[3, 1, 7, 3, 6, 2],
|
442 |
-
[6, 2, 0, 1, 3, 1],
|
443 |
-
[6, 4, 0, 1, 6, 2],
|
444 |
-
[6, 4, 5, 1, 0, 1],
|
445 |
-
[6, 4, 7, 5, 5, 1],
|
446 |
-
],
|
447 |
-
[
|
448 |
-
[4, 0, 6, 4, 7, 5],
|
449 |
-
[7, 5, 1, 0, 4, 0],
|
450 |
-
[7, 3, 1, 0, 7, 5],
|
451 |
-
[7, 3, 2, 0, 1, 0],
|
452 |
-
[7, 3, 6, 2, 2, 0],
|
453 |
-
],
|
454 |
-
[[7, 3, 6, 2, 6, 4], [7, 5, 7, 3, 6, 4]],
|
455 |
-
[[6, 2, 6, 7, 6, 4]],
|
456 |
-
[[0, 4, 0, 1, 0, 2], [6, 7, 4, 6, 2, 6]],
|
457 |
-
[[1, 0, 1, 5, 1, 3], [7, 6, 4, 6, 2, 6]],
|
458 |
-
[[1, 3, 0, 2, 1, 5], [0, 2, 0, 4, 1, 5], [7, 6, 4, 6, 2, 6]],
|
459 |
-
[[2, 3, 6, 7, 2, 0], [6, 7, 6, 4, 2, 0]],
|
460 |
-
[[4, 0, 0, 1, 4, 6], [4, 6, 0, 1, 6, 7], [6, 7, 0, 1, 2, 3]],
|
461 |
-
[[6, 4, 2, 0, 6, 7], [2, 0, 2, 3, 6, 7], [5, 1, 3, 1, 0, 1]],
|
462 |
-
[[1, 5, 1, 3, 0, 4], [1, 3, 7, 6, 0, 4], [0, 4, 7, 6, 4, 6], [1, 3, 3, 2, 7, 6]],
|
463 |
-
[[3, 2, 3, 1, 3, 7], [6, 4, 2, 6, 7, 6]],
|
464 |
-
[[3, 7, 3, 2, 1, 3], [0, 2, 0, 4, 1, 0], [7, 6, 4, 6, 2, 6]],
|
465 |
-
[[1, 5, 3, 7, 1, 0], [3, 7, 3, 2, 1, 0], [4, 6, 2, 6, 7, 6]],
|
466 |
-
[[2, 0, 0, 4, 2, 3], [2, 3, 0, 4, 3, 7], [3, 7, 0, 4, 1, 5], [6, 4, 2, 6, 6, 7]],
|
467 |
-
[[7, 6, 6, 4, 7, 3], [7, 3, 6, 4, 3, 1], [3, 1, 6, 4, 2, 0]],
|
468 |
-
[[0, 1, 4, 6, 0, 4], [0, 1, 6, 7, 4, 6], [0, 1, 1, 3, 6, 7], [1, 3, 3, 7, 6, 7]],
|
469 |
-
[[0, 2, 0, 1, 4, 6], [0, 1, 3, 7, 4, 6], [0, 1, 1, 5, 3, 7], [4, 6, 3, 7, 6, 7]],
|
470 |
-
[[7, 3, 6, 7, 6, 4], [6, 4, 4, 0, 7, 3], [7, 3, 4, 0, 5, 1]],
|
471 |
-
[[4, 0, 6, 2, 4, 5], [6, 2, 6, 7, 4, 5]],
|
472 |
-
[[2, 6, 6, 7, 2, 0], [2, 0, 6, 7, 0, 1], [0, 1, 6, 7, 4, 5]],
|
473 |
-
[[6, 7, 4, 5, 6, 2], [4, 5, 4, 0, 6, 2], [3, 1, 0, 1, 5, 1]],
|
474 |
-
[[2, 0, 2, 6, 3, 1], [2, 6, 4, 5, 3, 1], [2, 6, 6, 7, 4, 5], [3, 1, 4, 5, 1, 5]],
|
475 |
-
[[0, 2, 2, 3, 0, 4], [0, 4, 2, 3, 4, 5], [4, 5, 2, 3, 6, 7]],
|
476 |
-
[[0, 1, 2, 3, 6, 7], [0, 1, 6, 7, 4, 5]],
|
477 |
-
[[0, 2, 2, 3, 0, 4], [0, 4, 2, 3, 4, 5], [4, 5, 2, 3, 6, 7], [1, 3, 0, 1, 1, 5]],
|
478 |
-
[[5, 4, 1, 5, 1, 3], [1, 3, 3, 2, 5, 4], [5, 4, 3, 2, 7, 6]],
|
479 |
-
[[4, 0, 6, 2, 4, 5], [6, 2, 6, 7, 4, 5], [1, 3, 7, 3, 2, 3]],
|
480 |
-
[[2, 6, 6, 7, 2, 0], [2, 0, 6, 7, 0, 1], [0, 1, 6, 7, 4, 5], [3, 7, 2, 3, 3, 1]],
|
481 |
-
[[0, 1, 1, 5, 3, 7], [0, 1, 3, 7, 2, 3], [0, 4, 2, 6, 6, 7], [6, 7, 4, 5, 0, 4]],
|
482 |
-
[
|
483 |
-
[6, 2, 7, 6, 5, 4],
|
484 |
-
[5, 4, 0, 2, 6, 2],
|
485 |
-
[5, 1, 0, 2, 5, 4],
|
486 |
-
[5, 1, 3, 2, 0, 2],
|
487 |
-
[5, 1, 7, 3, 3, 2],
|
488 |
-
],
|
489 |
-
[[3, 1, 3, 7, 2, 0], [3, 7, 5, 4, 2, 0], [2, 0, 5, 4, 0, 4], [3, 7, 7, 6, 5, 4]],
|
490 |
-
[[1, 0, 3, 1, 3, 7], [3, 7, 7, 6, 1, 0], [1, 0, 7, 6, 5, 4]],
|
491 |
-
[
|
492 |
-
[1, 0, 5, 1, 7, 3],
|
493 |
-
[7, 3, 2, 0, 1, 0],
|
494 |
-
[7, 6, 2, 0, 7, 3],
|
495 |
-
[7, 6, 4, 0, 2, 0],
|
496 |
-
[7, 6, 5, 4, 4, 0],
|
497 |
-
],
|
498 |
-
[[7, 6, 5, 4, 5, 1], [7, 3, 7, 6, 5, 1]],
|
499 |
-
[[5, 7, 5, 1, 5, 4], [6, 2, 7, 6, 4, 6]],
|
500 |
-
[[0, 2, 0, 4, 1, 0], [5, 4, 5, 7, 1, 5], [2, 6, 7, 6, 4, 6]],
|
501 |
-
[[1, 0, 5, 4, 1, 3], [5, 4, 5, 7, 1, 3], [2, 6, 7, 6, 4, 6]],
|
502 |
-
[[4, 5, 5, 7, 4, 0], [4, 0, 5, 7, 0, 2], [0, 2, 5, 7, 1, 3], [6, 7, 4, 6, 6, 2]],
|
503 |
-
[[2, 3, 6, 7, 2, 0], [6, 7, 6, 4, 2, 0], [1, 5, 4, 5, 7, 5]],
|
504 |
-
[[4, 0, 0, 1, 4, 6], [4, 6, 0, 1, 6, 7], [6, 7, 0, 1, 2, 3], [5, 1, 4, 5, 5, 7]],
|
505 |
-
[[0, 2, 2, 3, 6, 7], [0, 2, 6, 7, 4, 6], [0, 1, 4, 5, 5, 7], [5, 7, 1, 3, 0, 1]],
|
506 |
-
[
|
507 |
-
[5, 4, 7, 5, 3, 1],
|
508 |
-
[3, 1, 0, 4, 5, 4],
|
509 |
-
[3, 2, 0, 4, 3, 1],
|
510 |
-
[3, 2, 6, 4, 0, 4],
|
511 |
-
[3, 2, 7, 6, 6, 4],
|
512 |
-
],
|
513 |
-
[[5, 4, 5, 7, 1, 5], [3, 7, 3, 2, 1, 3], [4, 6, 2, 6, 7, 6]],
|
514 |
-
[[1, 0, 0, 2, 0, 4], [1, 5, 5, 4, 5, 7], [3, 2, 1, 3, 3, 7], [2, 6, 7, 6, 4, 6]],
|
515 |
-
[[7, 3, 3, 2, 7, 5], [7, 5, 3, 2, 5, 4], [5, 4, 3, 2, 1, 0], [6, 2, 7, 6, 6, 4]],
|
516 |
-
[
|
517 |
-
[0, 4, 2, 3, 0, 2],
|
518 |
-
[0, 4, 3, 7, 2, 3],
|
519 |
-
[0, 4, 4, 5, 3, 7],
|
520 |
-
[4, 5, 5, 7, 3, 7],
|
521 |
-
[6, 7, 4, 6, 2, 6],
|
522 |
-
],
|
523 |
-
[[7, 6, 6, 4, 7, 3], [7, 3, 6, 4, 3, 1], [3, 1, 6, 4, 2, 0], [5, 4, 7, 5, 5, 1]],
|
524 |
-
[
|
525 |
-
[0, 1, 4, 6, 0, 4],
|
526 |
-
[0, 1, 6, 7, 4, 6],
|
527 |
-
[0, 1, 1, 3, 6, 7],
|
528 |
-
[1, 3, 3, 7, 6, 7],
|
529 |
-
[5, 7, 1, 5, 4, 5],
|
530 |
-
],
|
531 |
-
[
|
532 |
-
[6, 7, 4, 6, 0, 2],
|
533 |
-
[0, 2, 3, 7, 6, 7],
|
534 |
-
[0, 1, 3, 7, 0, 2],
|
535 |
-
[0, 1, 5, 7, 3, 7],
|
536 |
-
[0, 1, 4, 5, 5, 7],
|
537 |
-
],
|
538 |
-
[[4, 0, 6, 7, 4, 6], [4, 0, 7, 3, 6, 7], [4, 0, 5, 7, 7, 3], [4, 5, 5, 7, 4, 0]],
|
539 |
-
[[7, 5, 5, 1, 7, 6], [7, 6, 5, 1, 6, 2], [6, 2, 5, 1, 4, 0]],
|
540 |
-
[[0, 2, 1, 5, 0, 1], [0, 2, 5, 7, 1, 5], [0, 2, 2, 6, 5, 7], [2, 6, 6, 7, 5, 7]],
|
541 |
-
[[1, 3, 1, 0, 5, 7], [1, 0, 2, 6, 5, 7], [5, 7, 2, 6, 7, 6], [1, 0, 0, 4, 2, 6]],
|
542 |
-
[[2, 0, 6, 2, 6, 7], [6, 7, 7, 5, 2, 0], [2, 0, 7, 5, 3, 1]],
|
543 |
-
[[0, 4, 0, 2, 1, 5], [0, 2, 6, 7, 1, 5], [0, 2, 2, 3, 6, 7], [1, 5, 6, 7, 5, 7]],
|
544 |
-
[[7, 6, 5, 7, 5, 1], [5, 1, 1, 0, 7, 6], [7, 6, 1, 0, 3, 2]],
|
545 |
-
[
|
546 |
-
[2, 0, 3, 2, 7, 6],
|
547 |
-
[7, 6, 4, 0, 2, 0],
|
548 |
-
[7, 5, 4, 0, 7, 6],
|
549 |
-
[7, 5, 1, 0, 4, 0],
|
550 |
-
[7, 5, 3, 1, 1, 0],
|
551 |
-
],
|
552 |
-
[[7, 5, 3, 1, 3, 2], [7, 6, 7, 5, 3, 2]],
|
553 |
-
[[7, 5, 5, 1, 7, 6], [7, 6, 5, 1, 6, 2], [6, 2, 5, 1, 4, 0], [3, 1, 7, 3, 3, 2]],
|
554 |
-
[
|
555 |
-
[0, 2, 1, 5, 0, 1],
|
556 |
-
[0, 2, 5, 7, 1, 5],
|
557 |
-
[0, 2, 2, 6, 5, 7],
|
558 |
-
[2, 6, 6, 7, 5, 7],
|
559 |
-
[3, 7, 2, 3, 1, 3],
|
560 |
-
],
|
561 |
-
[
|
562 |
-
[3, 7, 2, 3, 0, 1],
|
563 |
-
[0, 1, 5, 7, 3, 7],
|
564 |
-
[0, 4, 5, 7, 0, 1],
|
565 |
-
[0, 4, 6, 7, 5, 7],
|
566 |
-
[0, 4, 2, 6, 6, 7],
|
567 |
-
],
|
568 |
-
[[2, 0, 3, 7, 2, 3], [2, 0, 7, 5, 3, 7], [2, 0, 6, 7, 7, 5], [2, 6, 6, 7, 2, 0]],
|
569 |
-
[
|
570 |
-
[5, 7, 1, 5, 0, 4],
|
571 |
-
[0, 4, 6, 7, 5, 7],
|
572 |
-
[0, 2, 6, 7, 0, 4],
|
573 |
-
[0, 2, 3, 7, 6, 7],
|
574 |
-
[0, 2, 1, 3, 3, 7],
|
575 |
-
],
|
576 |
-
[[1, 0, 5, 7, 1, 5], [1, 0, 7, 6, 5, 7], [1, 0, 3, 7, 7, 6], [1, 3, 3, 7, 1, 0]],
|
577 |
-
[[0, 2, 0, 1, 0, 4], [3, 7, 6, 7, 5, 7]],
|
578 |
-
[[7, 5, 7, 3, 7, 6]],
|
579 |
-
[[7, 3, 7, 5, 7, 6]],
|
580 |
-
[[0, 1, 0, 2, 0, 4], [6, 7, 3, 7, 5, 7]],
|
581 |
-
[[1, 3, 1, 0, 1, 5], [7, 6, 3, 7, 5, 7]],
|
582 |
-
[[0, 4, 1, 5, 0, 2], [1, 5, 1, 3, 0, 2], [6, 7, 3, 7, 5, 7]],
|
583 |
-
[[2, 6, 2, 0, 2, 3], [7, 5, 6, 7, 3, 7]],
|
584 |
-
[[0, 1, 2, 3, 0, 4], [2, 3, 2, 6, 0, 4], [5, 7, 6, 7, 3, 7]],
|
585 |
-
[[1, 5, 1, 3, 0, 1], [2, 3, 2, 6, 0, 2], [5, 7, 6, 7, 3, 7]],
|
586 |
-
[[3, 2, 2, 6, 3, 1], [3, 1, 2, 6, 1, 5], [1, 5, 2, 6, 0, 4], [7, 6, 3, 7, 7, 5]],
|
587 |
-
[[3, 1, 7, 5, 3, 2], [7, 5, 7, 6, 3, 2]],
|
588 |
-
[[7, 6, 3, 2, 7, 5], [3, 2, 3, 1, 7, 5], [4, 0, 1, 0, 2, 0]],
|
589 |
-
[[5, 7, 7, 6, 5, 1], [5, 1, 7, 6, 1, 0], [1, 0, 7, 6, 3, 2]],
|
590 |
-
[[2, 3, 2, 0, 6, 7], [2, 0, 1, 5, 6, 7], [2, 0, 0, 4, 1, 5], [6, 7, 1, 5, 7, 5]],
|
591 |
-
[[6, 2, 2, 0, 6, 7], [6, 7, 2, 0, 7, 5], [7, 5, 2, 0, 3, 1]],
|
592 |
-
[[0, 4, 0, 1, 2, 6], [0, 1, 5, 7, 2, 6], [2, 6, 5, 7, 6, 7], [0, 1, 1, 3, 5, 7]],
|
593 |
-
[[1, 5, 0, 2, 1, 0], [1, 5, 2, 6, 0, 2], [1, 5, 5, 7, 2, 6], [5, 7, 7, 6, 2, 6]],
|
594 |
-
[[5, 1, 7, 5, 7, 6], [7, 6, 6, 2, 5, 1], [5, 1, 6, 2, 4, 0]],
|
595 |
-
[[4, 5, 4, 0, 4, 6], [7, 3, 5, 7, 6, 7]],
|
596 |
-
[[0, 2, 4, 6, 0, 1], [4, 6, 4, 5, 0, 1], [3, 7, 5, 7, 6, 7]],
|
597 |
-
[[4, 6, 4, 5, 0, 4], [1, 5, 1, 3, 0, 1], [6, 7, 3, 7, 5, 7]],
|
598 |
-
[[5, 1, 1, 3, 5, 4], [5, 4, 1, 3, 4, 6], [4, 6, 1, 3, 0, 2], [7, 3, 5, 7, 7, 6]],
|
599 |
-
[[2, 3, 2, 6, 0, 2], [4, 6, 4, 5, 0, 4], [3, 7, 5, 7, 6, 7]],
|
600 |
-
[[6, 4, 4, 5, 6, 2], [6, 2, 4, 5, 2, 3], [2, 3, 4, 5, 0, 1], [7, 5, 6, 7, 7, 3]],
|
601 |
-
[[0, 1, 1, 5, 1, 3], [0, 2, 2, 3, 2, 6], [4, 5, 0, 4, 4, 6], [5, 7, 6, 7, 3, 7]],
|
602 |
-
[
|
603 |
-
[1, 3, 5, 4, 1, 5],
|
604 |
-
[1, 3, 4, 6, 5, 4],
|
605 |
-
[1, 3, 3, 2, 4, 6],
|
606 |
-
[3, 2, 2, 6, 4, 6],
|
607 |
-
[7, 6, 3, 7, 5, 7],
|
608 |
-
],
|
609 |
-
[[3, 1, 7, 5, 3, 2], [7, 5, 7, 6, 3, 2], [0, 4, 6, 4, 5, 4]],
|
610 |
-
[[1, 0, 0, 2, 4, 6], [1, 0, 4, 6, 5, 4], [1, 3, 5, 7, 7, 6], [7, 6, 3, 2, 1, 3]],
|
611 |
-
[[5, 7, 7, 6, 5, 1], [5, 1, 7, 6, 1, 0], [1, 0, 7, 6, 3, 2], [4, 6, 5, 4, 4, 0]],
|
612 |
-
[
|
613 |
-
[7, 5, 6, 7, 2, 3],
|
614 |
-
[2, 3, 1, 5, 7, 5],
|
615 |
-
[2, 0, 1, 5, 2, 3],
|
616 |
-
[2, 0, 4, 5, 1, 5],
|
617 |
-
[2, 0, 6, 4, 4, 5],
|
618 |
-
],
|
619 |
-
[[6, 2, 2, 0, 6, 7], [6, 7, 2, 0, 7, 5], [7, 5, 2, 0, 3, 1], [4, 0, 6, 4, 4, 5]],
|
620 |
-
[
|
621 |
-
[4, 6, 5, 4, 1, 0],
|
622 |
-
[1, 0, 2, 6, 4, 6],
|
623 |
-
[1, 3, 2, 6, 1, 0],
|
624 |
-
[1, 3, 7, 6, 2, 6],
|
625 |
-
[1, 3, 5, 7, 7, 6],
|
626 |
-
],
|
627 |
-
[
|
628 |
-
[1, 5, 0, 2, 1, 0],
|
629 |
-
[1, 5, 2, 6, 0, 2],
|
630 |
-
[1, 5, 5, 7, 2, 6],
|
631 |
-
[5, 7, 7, 6, 2, 6],
|
632 |
-
[4, 6, 5, 4, 0, 4],
|
633 |
-
],
|
634 |
-
[[5, 1, 4, 6, 5, 4], [5, 1, 6, 2, 4, 6], [5, 1, 7, 6, 6, 2], [5, 7, 7, 6, 5, 1]],
|
635 |
-
[[5, 4, 7, 6, 5, 1], [7, 6, 7, 3, 5, 1]],
|
636 |
-
[[7, 3, 5, 1, 7, 6], [5, 1, 5, 4, 7, 6], [2, 0, 4, 0, 1, 0]],
|
637 |
-
[[3, 1, 1, 0, 3, 7], [3, 7, 1, 0, 7, 6], [7, 6, 1, 0, 5, 4]],
|
638 |
-
[[0, 2, 0, 4, 1, 3], [0, 4, 6, 7, 1, 3], [1, 3, 6, 7, 3, 7], [0, 4, 4, 5, 6, 7]],
|
639 |
-
[[5, 4, 7, 6, 5, 1], [7, 6, 7, 3, 5, 1], [0, 2, 3, 2, 6, 2]],
|
640 |
-
[[1, 5, 5, 4, 7, 6], [1, 5, 7, 6, 3, 7], [1, 0, 3, 2, 2, 6], [2, 6, 0, 4, 1, 0]],
|
641 |
-
[[3, 1, 1, 0, 3, 7], [3, 7, 1, 0, 7, 6], [7, 6, 1, 0, 5, 4], [2, 0, 3, 2, 2, 6]],
|
642 |
-
[
|
643 |
-
[2, 3, 6, 2, 4, 0],
|
644 |
-
[4, 0, 1, 3, 2, 3],
|
645 |
-
[4, 5, 1, 3, 4, 0],
|
646 |
-
[4, 5, 7, 3, 1, 3],
|
647 |
-
[4, 5, 6, 7, 7, 3],
|
648 |
-
],
|
649 |
-
[[1, 5, 5, 4, 1, 3], [1, 3, 5, 4, 3, 2], [3, 2, 5, 4, 7, 6]],
|
650 |
-
[[1, 5, 5, 4, 1, 3], [1, 3, 5, 4, 3, 2], [3, 2, 5, 4, 7, 6], [0, 4, 1, 0, 0, 2]],
|
651 |
-
[[1, 0, 5, 4, 7, 6], [1, 0, 7, 6, 3, 2]],
|
652 |
-
[[2, 3, 0, 2, 0, 4], [0, 4, 4, 5, 2, 3], [2, 3, 4, 5, 6, 7]],
|
653 |
-
[[1, 3, 1, 5, 0, 2], [1, 5, 7, 6, 0, 2], [1, 5, 5, 4, 7, 6], [0, 2, 7, 6, 2, 6]],
|
654 |
-
[
|
655 |
-
[5, 1, 4, 5, 6, 7],
|
656 |
-
[6, 7, 3, 1, 5, 1],
|
657 |
-
[6, 2, 3, 1, 6, 7],
|
658 |
-
[6, 2, 0, 1, 3, 1],
|
659 |
-
[6, 2, 4, 0, 0, 1],
|
660 |
-
],
|
661 |
-
[[6, 7, 2, 6, 2, 0], [2, 0, 0, 1, 6, 7], [6, 7, 0, 1, 4, 5]],
|
662 |
-
[[6, 2, 4, 0, 4, 5], [6, 7, 6, 2, 4, 5]],
|
663 |
-
[[6, 7, 7, 3, 6, 4], [6, 4, 7, 3, 4, 0], [4, 0, 7, 3, 5, 1]],
|
664 |
-
[[1, 5, 1, 0, 3, 7], [1, 0, 4, 6, 3, 7], [1, 0, 0, 2, 4, 6], [3, 7, 4, 6, 7, 6]],
|
665 |
-
[[1, 0, 3, 7, 1, 3], [1, 0, 7, 6, 3, 7], [1, 0, 0, 4, 7, 6], [0, 4, 4, 6, 7, 6]],
|
666 |
-
[[6, 4, 7, 6, 7, 3], [7, 3, 3, 1, 6, 4], [6, 4, 3, 1, 2, 0]],
|
667 |
-
[[6, 7, 7, 3, 6, 4], [6, 4, 7, 3, 4, 0], [4, 0, 7, 3, 5, 1], [2, 3, 6, 2, 2, 0]],
|
668 |
-
[
|
669 |
-
[7, 6, 3, 7, 1, 5],
|
670 |
-
[1, 5, 4, 6, 7, 6],
|
671 |
-
[1, 0, 4, 6, 1, 5],
|
672 |
-
[1, 0, 2, 6, 4, 6],
|
673 |
-
[1, 0, 3, 2, 2, 6],
|
674 |
-
],
|
675 |
-
[
|
676 |
-
[1, 0, 3, 7, 1, 3],
|
677 |
-
[1, 0, 7, 6, 3, 7],
|
678 |
-
[1, 0, 0, 4, 7, 6],
|
679 |
-
[0, 4, 4, 6, 7, 6],
|
680 |
-
[2, 6, 0, 2, 3, 2],
|
681 |
-
],
|
682 |
-
[[3, 1, 7, 6, 3, 7], [3, 1, 6, 4, 7, 6], [3, 1, 2, 6, 6, 4], [3, 2, 2, 6, 3, 1]],
|
683 |
-
[[3, 2, 3, 1, 7, 6], [3, 1, 0, 4, 7, 6], [7, 6, 0, 4, 6, 4], [3, 1, 1, 5, 0, 4]],
|
684 |
-
[
|
685 |
-
[0, 1, 2, 0, 6, 4],
|
686 |
-
[6, 4, 5, 1, 0, 1],
|
687 |
-
[6, 7, 5, 1, 6, 4],
|
688 |
-
[6, 7, 3, 1, 5, 1],
|
689 |
-
[6, 7, 2, 3, 3, 1],
|
690 |
-
],
|
691 |
-
[[0, 1, 4, 0, 4, 6], [4, 6, 6, 7, 0, 1], [0, 1, 6, 7, 2, 3]],
|
692 |
-
[[6, 7, 2, 3, 2, 0], [6, 4, 6, 7, 2, 0]],
|
693 |
-
[
|
694 |
-
[2, 6, 0, 2, 1, 3],
|
695 |
-
[1, 3, 7, 6, 2, 6],
|
696 |
-
[1, 5, 7, 6, 1, 3],
|
697 |
-
[1, 5, 4, 6, 7, 6],
|
698 |
-
[1, 5, 0, 4, 4, 6],
|
699 |
-
],
|
700 |
-
[[1, 5, 1, 0, 1, 3], [4, 6, 7, 6, 2, 6]],
|
701 |
-
[[0, 1, 2, 6, 0, 2], [0, 1, 6, 7, 2, 6], [0, 1, 4, 6, 6, 7], [0, 4, 4, 6, 0, 1]],
|
702 |
-
[[6, 7, 6, 2, 6, 4]],
|
703 |
-
[[6, 2, 7, 3, 6, 4], [7, 3, 7, 5, 6, 4]],
|
704 |
-
[[7, 5, 6, 4, 7, 3], [6, 4, 6, 2, 7, 3], [1, 0, 2, 0, 4, 0]],
|
705 |
-
[[6, 2, 7, 3, 6, 4], [7, 3, 7, 5, 6, 4], [0, 1, 5, 1, 3, 1]],
|
706 |
-
[[2, 0, 0, 4, 1, 5], [2, 0, 1, 5, 3, 1], [2, 6, 3, 7, 7, 5], [7, 5, 6, 4, 2, 6]],
|
707 |
-
[[3, 7, 7, 5, 3, 2], [3, 2, 7, 5, 2, 0], [2, 0, 7, 5, 6, 4]],
|
708 |
-
[[3, 2, 3, 7, 1, 0], [3, 7, 6, 4, 1, 0], [3, 7, 7, 5, 6, 4], [1, 0, 6, 4, 0, 4]],
|
709 |
-
[[3, 7, 7, 5, 3, 2], [3, 2, 7, 5, 2, 0], [2, 0, 7, 5, 6, 4], [1, 5, 3, 1, 1, 0]],
|
710 |
-
[
|
711 |
-
[7, 3, 5, 7, 4, 6],
|
712 |
-
[4, 6, 2, 3, 7, 3],
|
713 |
-
[4, 0, 2, 3, 4, 6],
|
714 |
-
[4, 0, 1, 3, 2, 3],
|
715 |
-
[4, 0, 5, 1, 1, 3],
|
716 |
-
],
|
717 |
-
[[2, 3, 3, 1, 2, 6], [2, 6, 3, 1, 6, 4], [6, 4, 3, 1, 7, 5]],
|
718 |
-
[[2, 3, 3, 1, 2, 6], [2, 6, 3, 1, 6, 4], [6, 4, 3, 1, 7, 5], [0, 1, 2, 0, 0, 4]],
|
719 |
-
[[1, 0, 1, 5, 3, 2], [1, 5, 4, 6, 3, 2], [3, 2, 4, 6, 2, 6], [1, 5, 5, 7, 4, 6]],
|
720 |
-
[
|
721 |
-
[0, 2, 4, 0, 5, 1],
|
722 |
-
[5, 1, 3, 2, 0, 2],
|
723 |
-
[5, 7, 3, 2, 5, 1],
|
724 |
-
[5, 7, 6, 2, 3, 2],
|
725 |
-
[5, 7, 4, 6, 6, 2],
|
726 |
-
],
|
727 |
-
[[2, 0, 3, 1, 7, 5], [2, 0, 7, 5, 6, 4]],
|
728 |
-
[[4, 6, 0, 4, 0, 1], [0, 1, 1, 3, 4, 6], [4, 6, 1, 3, 5, 7]],
|
729 |
-
[[0, 2, 1, 0, 1, 5], [1, 5, 5, 7, 0, 2], [0, 2, 5, 7, 4, 6]],
|
730 |
-
[[5, 7, 4, 6, 4, 0], [5, 1, 5, 7, 4, 0]],
|
731 |
-
[[5, 4, 4, 0, 5, 7], [5, 7, 4, 0, 7, 3], [7, 3, 4, 0, 6, 2]],
|
732 |
-
[[0, 1, 0, 2, 4, 5], [0, 2, 3, 7, 4, 5], [4, 5, 3, 7, 5, 7], [0, 2, 2, 6, 3, 7]],
|
733 |
-
[[5, 4, 4, 0, 5, 7], [5, 7, 4, 0, 7, 3], [7, 3, 4, 0, 6, 2], [1, 0, 5, 1, 1, 3]],
|
734 |
-
[
|
735 |
-
[1, 5, 3, 1, 2, 0],
|
736 |
-
[2, 0, 4, 5, 1, 5],
|
737 |
-
[2, 6, 4, 5, 2, 0],
|
738 |
-
[2, 6, 7, 5, 4, 5],
|
739 |
-
[2, 6, 3, 7, 7, 5],
|
740 |
-
],
|
741 |
-
[[2, 3, 0, 4, 2, 0], [2, 3, 4, 5, 0, 4], [2, 3, 3, 7, 4, 5], [3, 7, 7, 5, 4, 5]],
|
742 |
-
[[3, 2, 7, 3, 7, 5], [7, 5, 5, 4, 3, 2], [3, 2, 5, 4, 1, 0]],
|
743 |
-
[
|
744 |
-
[2, 3, 0, 4, 2, 0],
|
745 |
-
[2, 3, 4, 5, 0, 4],
|
746 |
-
[2, 3, 3, 7, 4, 5],
|
747 |
-
[3, 7, 7, 5, 4, 5],
|
748 |
-
[1, 5, 3, 1, 0, 1],
|
749 |
-
],
|
750 |
-
[[3, 2, 1, 5, 3, 1], [3, 2, 5, 4, 1, 5], [3, 2, 7, 5, 5, 4], [3, 7, 7, 5, 3, 2]],
|
751 |
-
[[2, 6, 2, 3, 0, 4], [2, 3, 7, 5, 0, 4], [2, 3, 3, 1, 7, 5], [0, 4, 7, 5, 4, 5]],
|
752 |
-
[
|
753 |
-
[3, 2, 1, 3, 5, 7],
|
754 |
-
[5, 7, 6, 2, 3, 2],
|
755 |
-
[5, 4, 6, 2, 5, 7],
|
756 |
-
[5, 4, 0, 2, 6, 2],
|
757 |
-
[5, 4, 1, 0, 0, 2],
|
758 |
-
],
|
759 |
-
[
|
760 |
-
[4, 5, 0, 4, 2, 6],
|
761 |
-
[2, 6, 7, 5, 4, 5],
|
762 |
-
[2, 3, 7, 5, 2, 6],
|
763 |
-
[2, 3, 1, 5, 7, 5],
|
764 |
-
[2, 3, 0, 1, 1, 5],
|
765 |
-
],
|
766 |
-
[[2, 3, 2, 0, 2, 6], [1, 5, 7, 5, 4, 5]],
|
767 |
-
[[5, 7, 4, 5, 4, 0], [4, 0, 0, 2, 5, 7], [5, 7, 0, 2, 1, 3]],
|
768 |
-
[[5, 4, 1, 0, 1, 3], [5, 7, 5, 4, 1, 3]],
|
769 |
-
[[0, 2, 4, 5, 0, 4], [0, 2, 5, 7, 4, 5], [0, 2, 1, 5, 5, 7], [0, 1, 1, 5, 0, 2]],
|
770 |
-
[[5, 4, 5, 1, 5, 7]],
|
771 |
-
[[4, 6, 6, 2, 4, 5], [4, 5, 6, 2, 5, 1], [5, 1, 6, 2, 7, 3]],
|
772 |
-
[[4, 6, 6, 2, 4, 5], [4, 5, 6, 2, 5, 1], [5, 1, 6, 2, 7, 3], [0, 2, 4, 0, 0, 1]],
|
773 |
-
[[3, 7, 3, 1, 2, 6], [3, 1, 5, 4, 2, 6], [3, 1, 1, 0, 5, 4], [2, 6, 5, 4, 6, 4]],
|
774 |
-
[
|
775 |
-
[6, 4, 2, 6, 3, 7],
|
776 |
-
[3, 7, 5, 4, 6, 4],
|
777 |
-
[3, 1, 5, 4, 3, 7],
|
778 |
-
[3, 1, 0, 4, 5, 4],
|
779 |
-
[3, 1, 2, 0, 0, 4],
|
780 |
-
],
|
781 |
-
[[2, 0, 2, 3, 6, 4], [2, 3, 1, 5, 6, 4], [6, 4, 1, 5, 4, 5], [2, 3, 3, 7, 1, 5]],
|
782 |
-
[
|
783 |
-
[0, 4, 1, 0, 3, 2],
|
784 |
-
[3, 2, 6, 4, 0, 4],
|
785 |
-
[3, 7, 6, 4, 3, 2],
|
786 |
-
[3, 7, 5, 4, 6, 4],
|
787 |
-
[3, 7, 1, 5, 5, 4],
|
788 |
-
],
|
789 |
-
[
|
790 |
-
[1, 3, 0, 1, 4, 5],
|
791 |
-
[4, 5, 7, 3, 1, 3],
|
792 |
-
[4, 6, 7, 3, 4, 5],
|
793 |
-
[4, 6, 2, 3, 7, 3],
|
794 |
-
[4, 6, 0, 2, 2, 3],
|
795 |
-
],
|
796 |
-
[[3, 7, 3, 1, 3, 2], [5, 4, 6, 4, 0, 4]],
|
797 |
-
[[3, 1, 2, 6, 3, 2], [3, 1, 6, 4, 2, 6], [3, 1, 1, 5, 6, 4], [1, 5, 5, 4, 6, 4]],
|
798 |
-
[
|
799 |
-
[3, 1, 2, 6, 3, 2],
|
800 |
-
[3, 1, 6, 4, 2, 6],
|
801 |
-
[3, 1, 1, 5, 6, 4],
|
802 |
-
[1, 5, 5, 4, 6, 4],
|
803 |
-
[0, 4, 1, 0, 2, 0],
|
804 |
-
],
|
805 |
-
[[4, 5, 6, 4, 6, 2], [6, 2, 2, 3, 4, 5], [4, 5, 2, 3, 0, 1]],
|
806 |
-
[[2, 3, 6, 4, 2, 6], [2, 3, 4, 5, 6, 4], [2, 3, 0, 4, 4, 5], [2, 0, 0, 4, 2, 3]],
|
807 |
-
[[1, 3, 5, 1, 5, 4], [5, 4, 4, 6, 1, 3], [1, 3, 4, 6, 0, 2]],
|
808 |
-
[[1, 3, 0, 4, 1, 0], [1, 3, 4, 6, 0, 4], [1, 3, 5, 4, 4, 6], [1, 5, 5, 4, 1, 3]],
|
809 |
-
[[4, 6, 0, 2, 0, 1], [4, 5, 4, 6, 0, 1]],
|
810 |
-
[[4, 6, 4, 0, 4, 5]],
|
811 |
-
[[4, 0, 6, 2, 7, 3], [4, 0, 7, 3, 5, 1]],
|
812 |
-
[[1, 5, 0, 1, 0, 2], [0, 2, 2, 6, 1, 5], [1, 5, 2, 6, 3, 7]],
|
813 |
-
[[3, 7, 1, 3, 1, 0], [1, 0, 0, 4, 3, 7], [3, 7, 0, 4, 2, 6]],
|
814 |
-
[[3, 1, 2, 0, 2, 6], [3, 7, 3, 1, 2, 6]],
|
815 |
-
[[0, 4, 2, 0, 2, 3], [2, 3, 3, 7, 0, 4], [0, 4, 3, 7, 1, 5]],
|
816 |
-
[[3, 7, 1, 5, 1, 0], [3, 2, 3, 7, 1, 0]],
|
817 |
-
[[0, 4, 1, 3, 0, 1], [0, 4, 3, 7, 1, 3], [0, 4, 2, 3, 3, 7], [0, 2, 2, 3, 0, 4]],
|
818 |
-
[[3, 7, 3, 1, 3, 2]],
|
819 |
-
[[2, 6, 3, 2, 3, 1], [3, 1, 1, 5, 2, 6], [2, 6, 1, 5, 0, 4]],
|
820 |
-
[[1, 5, 3, 2, 1, 3], [1, 5, 2, 6, 3, 2], [1, 5, 0, 2, 2, 6], [1, 0, 0, 2, 1, 5]],
|
821 |
-
[[2, 3, 0, 1, 0, 4], [2, 6, 2, 3, 0, 4]],
|
822 |
-
[[2, 3, 2, 0, 2, 6]],
|
823 |
-
[[1, 5, 0, 4, 0, 2], [1, 3, 1, 5, 0, 2]],
|
824 |
-
[[1, 5, 1, 0, 1, 3]],
|
825 |
-
[[0, 2, 0, 1, 0, 4]],
|
826 |
-
[],
|
827 |
-
]
|
828 |
-
|
829 |
-
|
830 |
-
def create_mc_lookup_table():
|
831 |
-
cases = torch.zeros(256, 5, 3, dtype=torch.long)
|
832 |
-
masks = torch.zeros(256, 5, dtype=torch.bool)
|
833 |
-
|
834 |
-
edge_to_index = {
|
835 |
-
(0, 1): 0,
|
836 |
-
(2, 3): 1,
|
837 |
-
(4, 5): 2,
|
838 |
-
(6, 7): 3,
|
839 |
-
(0, 2): 4,
|
840 |
-
(1, 3): 5,
|
841 |
-
(4, 6): 6,
|
842 |
-
(5, 7): 7,
|
843 |
-
(0, 4): 8,
|
844 |
-
(1, 5): 9,
|
845 |
-
(2, 6): 10,
|
846 |
-
(3, 7): 11,
|
847 |
-
}
|
848 |
-
|
849 |
-
for i, case in enumerate(MC_TABLE):
|
850 |
-
for j, tri in enumerate(case):
|
851 |
-
for k, (c1, c2) in enumerate(zip(tri[::2], tri[1::2])):
|
852 |
-
cases[i, j, k] = edge_to_index[(c1, c2) if c1 < c2 else (c2, c1)]
|
853 |
-
masks[i, j] = True
|
854 |
-
return cases, masks
|
855 |
-
|
856 |
-
|
857 |
-
RENDERER_CONFIG = {}
|
858 |
-
|
859 |
-
|
860 |
-
def renderer_model_from_original_config():
|
861 |
-
model = ShapERenderer(**RENDERER_CONFIG)
|
862 |
-
|
863 |
-
return model
|
864 |
-
|
865 |
-
|
866 |
-
RENDERER_MLP_ORIGINAL_PREFIX = "renderer.nerstf"
|
867 |
-
|
868 |
-
RENDERER_PARAMS_PROJ_ORIGINAL_PREFIX = "encoder.params_proj"
|
869 |
-
|
870 |
-
|
871 |
-
def renderer_model_original_checkpoint_to_diffusers_checkpoint(model, checkpoint):
|
872 |
-
diffusers_checkpoint = {}
|
873 |
-
diffusers_checkpoint.update(
|
874 |
-
{f"mlp.{k}": checkpoint[f"{RENDERER_MLP_ORIGINAL_PREFIX}.{k}"] for k in model.mlp.state_dict().keys()}
|
875 |
-
)
|
876 |
-
|
877 |
-
diffusers_checkpoint.update(
|
878 |
-
{
|
879 |
-
f"params_proj.{k}": checkpoint[f"{RENDERER_PARAMS_PROJ_ORIGINAL_PREFIX}.{k}"]
|
880 |
-
for k in model.params_proj.state_dict().keys()
|
881 |
-
}
|
882 |
-
)
|
883 |
-
|
884 |
-
diffusers_checkpoint.update({"void.background": model.state_dict()["void.background"]})
|
885 |
-
|
886 |
-
cases, masks = create_mc_lookup_table()
|
887 |
-
|
888 |
-
diffusers_checkpoint.update({"mesh_decoder.cases": cases})
|
889 |
-
diffusers_checkpoint.update({"mesh_decoder.masks": masks})
|
890 |
-
|
891 |
-
return diffusers_checkpoint
|
892 |
-
|
893 |
-
|
894 |
-
# done renderer
|
895 |
-
|
896 |
-
|
897 |
-
# TODO maybe document and/or can do more efficiently (build indices in for loop and extract once for each split?)
|
898 |
-
def split_attentions(*, weight, bias, split, chunk_size):
|
899 |
-
weights = [None] * split
|
900 |
-
biases = [None] * split
|
901 |
-
|
902 |
-
weights_biases_idx = 0
|
903 |
-
|
904 |
-
for starting_row_index in range(0, weight.shape[0], chunk_size):
|
905 |
-
row_indices = torch.arange(starting_row_index, starting_row_index + chunk_size)
|
906 |
-
|
907 |
-
weight_rows = weight[row_indices, :]
|
908 |
-
bias_rows = bias[row_indices]
|
909 |
-
|
910 |
-
if weights[weights_biases_idx] is None:
|
911 |
-
assert weights[weights_biases_idx] is None
|
912 |
-
weights[weights_biases_idx] = weight_rows
|
913 |
-
biases[weights_biases_idx] = bias_rows
|
914 |
-
else:
|
915 |
-
assert weights[weights_biases_idx] is not None
|
916 |
-
weights[weights_biases_idx] = torch.concat([weights[weights_biases_idx], weight_rows])
|
917 |
-
biases[weights_biases_idx] = torch.concat([biases[weights_biases_idx], bias_rows])
|
918 |
-
|
919 |
-
weights_biases_idx = (weights_biases_idx + 1) % split
|
920 |
-
|
921 |
-
return weights, biases
|
922 |
-
|
923 |
-
|
924 |
-
# done unet utils
|
925 |
-
|
926 |
-
|
927 |
-
# Driver functions
|
928 |
-
|
929 |
-
|
930 |
-
def prior(*, args, checkpoint_map_location):
|
931 |
-
print("loading prior")
|
932 |
-
|
933 |
-
prior_checkpoint = torch.load(args.prior_checkpoint_path, map_location=checkpoint_map_location)
|
934 |
-
|
935 |
-
prior_model = prior_model_from_original_config()
|
936 |
-
|
937 |
-
prior_diffusers_checkpoint = prior_original_checkpoint_to_diffusers_checkpoint(prior_model, prior_checkpoint)
|
938 |
-
|
939 |
-
del prior_checkpoint
|
940 |
-
|
941 |
-
load_prior_checkpoint_to_model(prior_diffusers_checkpoint, prior_model)
|
942 |
-
|
943 |
-
print("done loading prior")
|
944 |
-
|
945 |
-
return prior_model
|
946 |
-
|
947 |
-
|
948 |
-
def prior_image(*, args, checkpoint_map_location):
|
949 |
-
print("loading prior_image")
|
950 |
-
|
951 |
-
print(f"load checkpoint from {args.prior_image_checkpoint_path}")
|
952 |
-
prior_checkpoint = torch.load(args.prior_image_checkpoint_path, map_location=checkpoint_map_location)
|
953 |
-
|
954 |
-
prior_model = prior_image_model_from_original_config()
|
955 |
-
|
956 |
-
prior_diffusers_checkpoint = prior_image_original_checkpoint_to_diffusers_checkpoint(prior_model, prior_checkpoint)
|
957 |
-
|
958 |
-
del prior_checkpoint
|
959 |
-
|
960 |
-
load_prior_checkpoint_to_model(prior_diffusers_checkpoint, prior_model)
|
961 |
-
|
962 |
-
print("done loading prior_image")
|
963 |
-
|
964 |
-
return prior_model
|
965 |
-
|
966 |
-
|
967 |
-
def renderer(*, args, checkpoint_map_location):
|
968 |
-
print(" loading renderer")
|
969 |
-
|
970 |
-
renderer_checkpoint = torch.load(args.transmitter_checkpoint_path, map_location=checkpoint_map_location)
|
971 |
-
|
972 |
-
renderer_model = renderer_model_from_original_config()
|
973 |
-
|
974 |
-
renderer_diffusers_checkpoint = renderer_model_original_checkpoint_to_diffusers_checkpoint(
|
975 |
-
renderer_model, renderer_checkpoint
|
976 |
-
)
|
977 |
-
|
978 |
-
del renderer_checkpoint
|
979 |
-
|
980 |
-
load_checkpoint_to_model(renderer_diffusers_checkpoint, renderer_model, strict=True)
|
981 |
-
|
982 |
-
print("done loading renderer")
|
983 |
-
|
984 |
-
return renderer_model
|
985 |
-
|
986 |
-
|
987 |
-
# prior model will expect clip_mean and clip_std, whic are missing from the state_dict
|
988 |
-
PRIOR_EXPECTED_MISSING_KEYS = ["clip_mean", "clip_std"]
|
989 |
-
|
990 |
-
|
991 |
-
def load_prior_checkpoint_to_model(checkpoint, model):
|
992 |
-
with tempfile.NamedTemporaryFile() as file:
|
993 |
-
torch.save(checkpoint, file.name)
|
994 |
-
del checkpoint
|
995 |
-
missing_keys, unexpected_keys = model.load_state_dict(torch.load(file.name), strict=False)
|
996 |
-
missing_keys = list(set(missing_keys) - set(PRIOR_EXPECTED_MISSING_KEYS))
|
997 |
-
|
998 |
-
if len(unexpected_keys) > 0:
|
999 |
-
raise ValueError(f"Unexpected keys when loading prior model: {unexpected_keys}")
|
1000 |
-
if len(missing_keys) > 0:
|
1001 |
-
raise ValueError(f"Missing keys when loading prior model: {missing_keys}")
|
1002 |
-
|
1003 |
-
|
1004 |
-
def load_checkpoint_to_model(checkpoint, model, strict=False):
|
1005 |
-
with tempfile.NamedTemporaryFile() as file:
|
1006 |
-
torch.save(checkpoint, file.name)
|
1007 |
-
del checkpoint
|
1008 |
-
if strict:
|
1009 |
-
model.load_state_dict(torch.load(file.name), strict=True)
|
1010 |
-
else:
|
1011 |
-
load_checkpoint_and_dispatch(model, file.name, device_map="auto")
|
1012 |
-
|
1013 |
-
|
1014 |
-
if __name__ == "__main__":
|
1015 |
-
parser = argparse.ArgumentParser()
|
1016 |
-
|
1017 |
-
parser.add_argument("--dump_path", default=None, type=str, required=True, help="Path to the output model.")
|
1018 |
-
|
1019 |
-
parser.add_argument(
|
1020 |
-
"--prior_checkpoint_path",
|
1021 |
-
default=None,
|
1022 |
-
type=str,
|
1023 |
-
required=False,
|
1024 |
-
help="Path to the prior checkpoint to convert.",
|
1025 |
-
)
|
1026 |
-
|
1027 |
-
parser.add_argument(
|
1028 |
-
"--prior_image_checkpoint_path",
|
1029 |
-
default=None,
|
1030 |
-
type=str,
|
1031 |
-
required=False,
|
1032 |
-
help="Path to the prior_image checkpoint to convert.",
|
1033 |
-
)
|
1034 |
-
|
1035 |
-
parser.add_argument(
|
1036 |
-
"--transmitter_checkpoint_path",
|
1037 |
-
default=None,
|
1038 |
-
type=str,
|
1039 |
-
required=False,
|
1040 |
-
help="Path to the transmitter checkpoint to convert.",
|
1041 |
-
)
|
1042 |
-
|
1043 |
-
parser.add_argument(
|
1044 |
-
"--checkpoint_load_device",
|
1045 |
-
default="cpu",
|
1046 |
-
type=str,
|
1047 |
-
required=False,
|
1048 |
-
help="The device passed to `map_location` when loading checkpoints.",
|
1049 |
-
)
|
1050 |
-
|
1051 |
-
parser.add_argument(
|
1052 |
-
"--debug",
|
1053 |
-
default=None,
|
1054 |
-
type=str,
|
1055 |
-
required=False,
|
1056 |
-
help="Only run a specific stage of the convert script. Used for debugging",
|
1057 |
-
)
|
1058 |
-
|
1059 |
-
args = parser.parse_args()
|
1060 |
-
|
1061 |
-
print(f"loading checkpoints to {args.checkpoint_load_device}")
|
1062 |
-
|
1063 |
-
checkpoint_map_location = torch.device(args.checkpoint_load_device)
|
1064 |
-
|
1065 |
-
if args.debug is not None:
|
1066 |
-
print(f"debug: only executing {args.debug}")
|
1067 |
-
|
1068 |
-
if args.debug is None:
|
1069 |
-
print("YiYi TO-DO")
|
1070 |
-
elif args.debug == "prior":
|
1071 |
-
prior_model = prior(args=args, checkpoint_map_location=checkpoint_map_location)
|
1072 |
-
prior_model.save_pretrained(args.dump_path)
|
1073 |
-
elif args.debug == "prior_image":
|
1074 |
-
prior_model = prior_image(args=args, checkpoint_map_location=checkpoint_map_location)
|
1075 |
-
prior_model.save_pretrained(args.dump_path)
|
1076 |
-
elif args.debug == "renderer":
|
1077 |
-
renderer_model = renderer(args=args, checkpoint_map_location=checkpoint_map_location)
|
1078 |
-
renderer_model.save_pretrained(args.dump_path)
|
1079 |
-
else:
|
1080 |
-
raise ValueError(f"unknown debug value : {args.debug}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_detection/configs/nas_fpn/README.md
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
# NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection
|
2 |
-
|
3 |
-
## Introduction
|
4 |
-
|
5 |
-
[ALGORITHM]
|
6 |
-
|
7 |
-
```latex
|
8 |
-
@inproceedings{ghiasi2019fpn,
|
9 |
-
title={Nas-fpn: Learning scalable feature pyramid architecture for object detection},
|
10 |
-
author={Ghiasi, Golnaz and Lin, Tsung-Yi and Le, Quoc V},
|
11 |
-
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
|
12 |
-
pages={7036--7045},
|
13 |
-
year={2019}
|
14 |
-
}
|
15 |
-
```
|
16 |
-
|
17 |
-
## Results and Models
|
18 |
-
|
19 |
-
We benchmark the new training schedule (crop training, large batch, unfrozen BN, 50 epochs) introduced in NAS-FPN. RetinaNet is used in the paper.
|
20 |
-
|
21 |
-
| Backbone | Lr schd | Mem (GB) | Inf time (fps) | box AP | Config | Download |
|
22 |
-
|:-----------:|:-------:|:--------:|:--------------:|:------:|:------:|:--------:|
|
23 |
-
| R-50-FPN | 50e | 12.9 | 22.9 | 37.9 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/nas_fpn/retinanet_r50_fpn_crop640_50e_coco.py) | [model](http://download.openmmlab.com/mmdetection/v2.0/nas_fpn/retinanet_r50_fpn_crop640_50e_coco/retinanet_r50_fpn_crop640_50e_coco-9b953d76.pth) | [log](http://download.openmmlab.com/mmdetection/v2.0/nas_fpn/retinanet_r50_fpn_crop640_50e_coco/retinanet_r50_fpn_crop640_50e_coco_20200529_095329.log.json) |
|
24 |
-
| R-50-NASFPN | 50e | 13.2 | 23.0 | 40.5 | [config](https://github.com/open-mmlab/mmdetection/tree/master/configs/nas_fpn/retinanet_r50_nasfpn_crop640_50e_coco.py) | [model](http://download.openmmlab.com/mmdetection/v2.0/nas_fpn/retinanet_r50_nasfpn_crop640_50e_coco/retinanet_r50_nasfpn_crop640_50e_coco-0ad1f644.pth) | [log](http://download.openmmlab.com/mmdetection/v2.0/nas_fpn/retinanet_r50_nasfpn_crop640_50e_coco/retinanet_r50_nasfpn_crop640_50e_coco_20200528_230008.log.json) |
|
25 |
-
|
26 |
-
**Note**: We find that it is unstable to train NAS-FPN and there is a small chance that results can be 3% mAP lower.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_512x1024_80k_cityscapes.py
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
_base_ = './deeplabv3plus_r50-d8_512x1024_80k_cityscapes.py'
|
2 |
-
model = dict(pretrained='open-mmlab://resnet101_v1c', backbone=dict(depth=101))
|
|
|
|
|
|
spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmcv/runner/epoch_based_runner.py
DELETED
@@ -1,187 +0,0 @@
|
|
1 |
-
# Copyright (c) OpenMMLab. All rights reserved.
|
2 |
-
import os.path as osp
|
3 |
-
import platform
|
4 |
-
import shutil
|
5 |
-
import time
|
6 |
-
import warnings
|
7 |
-
|
8 |
-
import torch
|
9 |
-
|
10 |
-
import annotator.uniformer.mmcv as mmcv
|
11 |
-
from .base_runner import BaseRunner
|
12 |
-
from .builder import RUNNERS
|
13 |
-
from .checkpoint import save_checkpoint
|
14 |
-
from .utils import get_host_info
|
15 |
-
|
16 |
-
|
17 |
-
@RUNNERS.register_module()
|
18 |
-
class EpochBasedRunner(BaseRunner):
|
19 |
-
"""Epoch-based Runner.
|
20 |
-
|
21 |
-
This runner train models epoch by epoch.
|
22 |
-
"""
|
23 |
-
|
24 |
-
def run_iter(self, data_batch, train_mode, **kwargs):
|
25 |
-
if self.batch_processor is not None:
|
26 |
-
outputs = self.batch_processor(
|
27 |
-
self.model, data_batch, train_mode=train_mode, **kwargs)
|
28 |
-
elif train_mode:
|
29 |
-
outputs = self.model.train_step(data_batch, self.optimizer,
|
30 |
-
**kwargs)
|
31 |
-
else:
|
32 |
-
outputs = self.model.val_step(data_batch, self.optimizer, **kwargs)
|
33 |
-
if not isinstance(outputs, dict):
|
34 |
-
raise TypeError('"batch_processor()" or "model.train_step()"'
|
35 |
-
'and "model.val_step()" must return a dict')
|
36 |
-
if 'log_vars' in outputs:
|
37 |
-
self.log_buffer.update(outputs['log_vars'], outputs['num_samples'])
|
38 |
-
self.outputs = outputs
|
39 |
-
|
40 |
-
def train(self, data_loader, **kwargs):
|
41 |
-
self.model.train()
|
42 |
-
self.mode = 'train'
|
43 |
-
self.data_loader = data_loader
|
44 |
-
self._max_iters = self._max_epochs * len(self.data_loader)
|
45 |
-
self.call_hook('before_train_epoch')
|
46 |
-
time.sleep(2) # Prevent possible deadlock during epoch transition
|
47 |
-
for i, data_batch in enumerate(self.data_loader):
|
48 |
-
self._inner_iter = i
|
49 |
-
self.call_hook('before_train_iter')
|
50 |
-
self.run_iter(data_batch, train_mode=True, **kwargs)
|
51 |
-
self.call_hook('after_train_iter')
|
52 |
-
self._iter += 1
|
53 |
-
|
54 |
-
self.call_hook('after_train_epoch')
|
55 |
-
self._epoch += 1
|
56 |
-
|
57 |
-
@torch.no_grad()
|
58 |
-
def val(self, data_loader, **kwargs):
|
59 |
-
self.model.eval()
|
60 |
-
self.mode = 'val'
|
61 |
-
self.data_loader = data_loader
|
62 |
-
self.call_hook('before_val_epoch')
|
63 |
-
time.sleep(2) # Prevent possible deadlock during epoch transition
|
64 |
-
for i, data_batch in enumerate(self.data_loader):
|
65 |
-
self._inner_iter = i
|
66 |
-
self.call_hook('before_val_iter')
|
67 |
-
self.run_iter(data_batch, train_mode=False)
|
68 |
-
self.call_hook('after_val_iter')
|
69 |
-
|
70 |
-
self.call_hook('after_val_epoch')
|
71 |
-
|
72 |
-
def run(self, data_loaders, workflow, max_epochs=None, **kwargs):
|
73 |
-
"""Start running.
|
74 |
-
|
75 |
-
Args:
|
76 |
-
data_loaders (list[:obj:`DataLoader`]): Dataloaders for training
|
77 |
-
and validation.
|
78 |
-
workflow (list[tuple]): A list of (phase, epochs) to specify the
|
79 |
-
running order and epochs. E.g, [('train', 2), ('val', 1)] means
|
80 |
-
running 2 epochs for training and 1 epoch for validation,
|
81 |
-
iteratively.
|
82 |
-
"""
|
83 |
-
assert isinstance(data_loaders, list)
|
84 |
-
assert mmcv.is_list_of(workflow, tuple)
|
85 |
-
assert len(data_loaders) == len(workflow)
|
86 |
-
if max_epochs is not None:
|
87 |
-
warnings.warn(
|
88 |
-
'setting max_epochs in run is deprecated, '
|
89 |
-
'please set max_epochs in runner_config', DeprecationWarning)
|
90 |
-
self._max_epochs = max_epochs
|
91 |
-
|
92 |
-
assert self._max_epochs is not None, (
|
93 |
-
'max_epochs must be specified during instantiation')
|
94 |
-
|
95 |
-
for i, flow in enumerate(workflow):
|
96 |
-
mode, epochs = flow
|
97 |
-
if mode == 'train':
|
98 |
-
self._max_iters = self._max_epochs * len(data_loaders[i])
|
99 |
-
break
|
100 |
-
|
101 |
-
work_dir = self.work_dir if self.work_dir is not None else 'NONE'
|
102 |
-
self.logger.info('Start running, host: %s, work_dir: %s',
|
103 |
-
get_host_info(), work_dir)
|
104 |
-
self.logger.info('Hooks will be executed in the following order:\n%s',
|
105 |
-
self.get_hook_info())
|
106 |
-
self.logger.info('workflow: %s, max: %d epochs', workflow,
|
107 |
-
self._max_epochs)
|
108 |
-
self.call_hook('before_run')
|
109 |
-
|
110 |
-
while self.epoch < self._max_epochs:
|
111 |
-
for i, flow in enumerate(workflow):
|
112 |
-
mode, epochs = flow
|
113 |
-
if isinstance(mode, str): # self.train()
|
114 |
-
if not hasattr(self, mode):
|
115 |
-
raise ValueError(
|
116 |
-
f'runner has no method named "{mode}" to run an '
|
117 |
-
'epoch')
|
118 |
-
epoch_runner = getattr(self, mode)
|
119 |
-
else:
|
120 |
-
raise TypeError(
|
121 |
-
'mode in workflow must be a str, but got {}'.format(
|
122 |
-
type(mode)))
|
123 |
-
|
124 |
-
for _ in range(epochs):
|
125 |
-
if mode == 'train' and self.epoch >= self._max_epochs:
|
126 |
-
break
|
127 |
-
epoch_runner(data_loaders[i], **kwargs)
|
128 |
-
|
129 |
-
time.sleep(1) # wait for some hooks like loggers to finish
|
130 |
-
self.call_hook('after_run')
|
131 |
-
|
132 |
-
def save_checkpoint(self,
|
133 |
-
out_dir,
|
134 |
-
filename_tmpl='epoch_{}.pth',
|
135 |
-
save_optimizer=True,
|
136 |
-
meta=None,
|
137 |
-
create_symlink=True):
|
138 |
-
"""Save the checkpoint.
|
139 |
-
|
140 |
-
Args:
|
141 |
-
out_dir (str): The directory that checkpoints are saved.
|
142 |
-
filename_tmpl (str, optional): The checkpoint filename template,
|
143 |
-
which contains a placeholder for the epoch number.
|
144 |
-
Defaults to 'epoch_{}.pth'.
|
145 |
-
save_optimizer (bool, optional): Whether to save the optimizer to
|
146 |
-
the checkpoint. Defaults to True.
|
147 |
-
meta (dict, optional): The meta information to be saved in the
|
148 |
-
checkpoint. Defaults to None.
|
149 |
-
create_symlink (bool, optional): Whether to create a symlink
|
150 |
-
"latest.pth" to point to the latest checkpoint.
|
151 |
-
Defaults to True.
|
152 |
-
"""
|
153 |
-
if meta is None:
|
154 |
-
meta = {}
|
155 |
-
elif not isinstance(meta, dict):
|
156 |
-
raise TypeError(
|
157 |
-
f'meta should be a dict or None, but got {type(meta)}')
|
158 |
-
if self.meta is not None:
|
159 |
-
meta.update(self.meta)
|
160 |
-
# Note: meta.update(self.meta) should be done before
|
161 |
-
# meta.update(epoch=self.epoch + 1, iter=self.iter) otherwise
|
162 |
-
# there will be problems with resumed checkpoints.
|
163 |
-
# More details in https://github.com/open-mmlab/mmcv/pull/1108
|
164 |
-
meta.update(epoch=self.epoch + 1, iter=self.iter)
|
165 |
-
|
166 |
-
filename = filename_tmpl.format(self.epoch + 1)
|
167 |
-
filepath = osp.join(out_dir, filename)
|
168 |
-
optimizer = self.optimizer if save_optimizer else None
|
169 |
-
save_checkpoint(self.model, filepath, optimizer=optimizer, meta=meta)
|
170 |
-
# in some environments, `os.symlink` is not supported, you may need to
|
171 |
-
# set `create_symlink` to False
|
172 |
-
if create_symlink:
|
173 |
-
dst_file = osp.join(out_dir, 'latest.pth')
|
174 |
-
if platform.system() != 'Windows':
|
175 |
-
mmcv.symlink(filename, dst_file)
|
176 |
-
else:
|
177 |
-
shutil.copy(filepath, dst_file)
|
178 |
-
|
179 |
-
|
180 |
-
@RUNNERS.register_module()
|
181 |
-
class Runner(EpochBasedRunner):
|
182 |
-
"""Deprecated name of EpochBasedRunner."""
|
183 |
-
|
184 |
-
def __init__(self, *args, **kwargs):
|
185 |
-
warnings.warn(
|
186 |
-
'Runner was deprecated, please use EpochBasedRunner instead')
|
187 |
-
super().__init__(*args, **kwargs)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Aqdas/YouTube_Video_OpenAI_whisper/README.md
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: YouTube Video OpenAI Whisper
|
3 |
-
emoji: 📚
|
4 |
-
colorFrom: pink
|
5 |
-
colorTo: yellow
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.28.1
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
license: apache-2.0
|
11 |
-
---
|
12 |
-
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/ArchitSharma/Digital-Photo-Color-Restoration/src/deoldify/device_id.py
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
from enum import IntEnum
|
2 |
-
|
3 |
-
class DeviceId(IntEnum):
|
4 |
-
GPU0 = 0,
|
5 |
-
GPU1 = 1,
|
6 |
-
GPU2 = 2,
|
7 |
-
GPU3 = 3,
|
8 |
-
GPU4 = 4,
|
9 |
-
GPU5 = 5,
|
10 |
-
GPU6 = 6,
|
11 |
-
GPU7 = 7,
|
12 |
-
CPU = 99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Armandoliv/whisper-biomedical-ner/README.md
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Whisper Biomedical Ner
|
3 |
-
emoji: 🔥
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: yellow
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.4
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/ArnePan/German-LLM-leaderboard/constants.py
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
ALL_COLUMNS = ["Model", "Type", "Source-type", "Size", "Gnad10", "MMLU-de", "Hellaswag-de","arc_challenge-de","Belebele","XLNI","Amazon reviews"]
|
2 |
-
|
3 |
-
DATA_TYPES = {
|
4 |
-
"Model" : "str",
|
5 |
-
"Type" : "str",
|
6 |
-
"Size" : "str",
|
7 |
-
"Source-type" : "str",
|
8 |
-
"Gnad10" : "number",
|
9 |
-
"MMLU-de" : "number",
|
10 |
-
"Hellaswag-de" : "number",
|
11 |
-
"arc_challenge-de" : "number",
|
12 |
-
"Belebele" : "number",
|
13 |
-
"XLNI" : "number",
|
14 |
-
"Amazon reviews" : "number"
|
15 |
-
}
|
16 |
-
|
17 |
-
DATASETS =["Gnad10", "MMLU-de", "Hellaswag-de","arc_challenge-de","Belebele","XLNI","Amazon reviews"]
|
18 |
-
|
19 |
-
DEFAULT_CHECK = ["Type","Size","Gnad10", "MMLU-de", "Hellaswag-de"]
|
20 |
-
|
21 |
-
MODEL_SIZES = ["Unknown", "<1.5B", "~3B","~7B","~13B","~35B","+60B"]
|
22 |
-
|
23 |
-
MODEL_TYPES = ["pre-trained", "instruction-tuned", "RL-tuned"]
|
24 |
-
|
25 |
-
SOURCE_TYPES = ["Open-source", "Closed-source"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Arnx/MusicGenXvAKN/tests/data/test_audio.py
DELETED
@@ -1,239 +0,0 @@
|
|
1 |
-
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2 |
-
# All rights reserved.
|
3 |
-
#
|
4 |
-
# This source code is licensed under the license found in the
|
5 |
-
# LICENSE file in the root directory of this source tree.
|
6 |
-
|
7 |
-
from itertools import product
|
8 |
-
import random
|
9 |
-
|
10 |
-
import numpy as np
|
11 |
-
import torch
|
12 |
-
import torchaudio
|
13 |
-
|
14 |
-
from audiocraft.data.audio import audio_info, audio_read, audio_write, _av_read
|
15 |
-
|
16 |
-
from ..common_utils import TempDirMixin, get_white_noise, save_wav
|
17 |
-
|
18 |
-
|
19 |
-
class TestInfo(TempDirMixin):
|
20 |
-
|
21 |
-
def test_info_mp3(self):
|
22 |
-
sample_rates = [8000, 16_000]
|
23 |
-
channels = [1, 2]
|
24 |
-
duration = 1.
|
25 |
-
for sample_rate, ch in product(sample_rates, channels):
|
26 |
-
wav = get_white_noise(ch, int(sample_rate * duration))
|
27 |
-
path = self.get_temp_path('sample_wav.mp3')
|
28 |
-
save_wav(path, wav, sample_rate)
|
29 |
-
info = audio_info(path)
|
30 |
-
assert info.sample_rate == sample_rate
|
31 |
-
assert info.channels == ch
|
32 |
-
# we cannot trust torchaudio for num_frames, so we don't check
|
33 |
-
|
34 |
-
def _test_info_format(self, ext: str):
|
35 |
-
sample_rates = [8000, 16_000]
|
36 |
-
channels = [1, 2]
|
37 |
-
duration = 1.
|
38 |
-
for sample_rate, ch in product(sample_rates, channels):
|
39 |
-
n_frames = int(sample_rate * duration)
|
40 |
-
wav = get_white_noise(ch, n_frames)
|
41 |
-
path = self.get_temp_path(f'sample_wav{ext}')
|
42 |
-
save_wav(path, wav, sample_rate)
|
43 |
-
info = audio_info(path)
|
44 |
-
assert info.sample_rate == sample_rate
|
45 |
-
assert info.channels == ch
|
46 |
-
assert np.isclose(info.duration, duration, atol=1e-5)
|
47 |
-
|
48 |
-
def test_info_wav(self):
|
49 |
-
self._test_info_format('.wav')
|
50 |
-
|
51 |
-
def test_info_flac(self):
|
52 |
-
self._test_info_format('.flac')
|
53 |
-
|
54 |
-
def test_info_ogg(self):
|
55 |
-
self._test_info_format('.ogg')
|
56 |
-
|
57 |
-
def test_info_m4a(self):
|
58 |
-
# TODO: generate m4a file programmatically
|
59 |
-
# self._test_info_format('.m4a')
|
60 |
-
pass
|
61 |
-
|
62 |
-
|
63 |
-
class TestRead(TempDirMixin):
|
64 |
-
|
65 |
-
def test_read_full_wav(self):
|
66 |
-
sample_rates = [8000, 16_000]
|
67 |
-
channels = [1, 2]
|
68 |
-
duration = 1.
|
69 |
-
for sample_rate, ch in product(sample_rates, channels):
|
70 |
-
n_frames = int(sample_rate * duration)
|
71 |
-
wav = get_white_noise(ch, n_frames).clamp(-0.99, 0.99)
|
72 |
-
path = self.get_temp_path('sample_wav.wav')
|
73 |
-
save_wav(path, wav, sample_rate)
|
74 |
-
read_wav, read_sr = audio_read(path)
|
75 |
-
assert read_sr == sample_rate
|
76 |
-
assert read_wav.shape[0] == wav.shape[0]
|
77 |
-
assert read_wav.shape[1] == wav.shape[1]
|
78 |
-
assert torch.allclose(read_wav, wav, rtol=1e-03, atol=1e-04)
|
79 |
-
|
80 |
-
def test_read_partial_wav(self):
|
81 |
-
sample_rates = [8000, 16_000]
|
82 |
-
channels = [1, 2]
|
83 |
-
duration = 1.
|
84 |
-
read_duration = torch.rand(1).item()
|
85 |
-
for sample_rate, ch in product(sample_rates, channels):
|
86 |
-
n_frames = int(sample_rate * duration)
|
87 |
-
read_frames = int(sample_rate * read_duration)
|
88 |
-
wav = get_white_noise(ch, n_frames).clamp(-0.99, 0.99)
|
89 |
-
path = self.get_temp_path('sample_wav.wav')
|
90 |
-
save_wav(path, wav, sample_rate)
|
91 |
-
read_wav, read_sr = audio_read(path, 0, read_duration)
|
92 |
-
assert read_sr == sample_rate
|
93 |
-
assert read_wav.shape[0] == wav.shape[0]
|
94 |
-
assert read_wav.shape[1] == read_frames
|
95 |
-
assert torch.allclose(read_wav[..., 0:read_frames], wav[..., 0:read_frames], rtol=1e-03, atol=1e-04)
|
96 |
-
|
97 |
-
def test_read_seek_time_wav(self):
|
98 |
-
sample_rates = [8000, 16_000]
|
99 |
-
channels = [1, 2]
|
100 |
-
duration = 1.
|
101 |
-
read_duration = 1.
|
102 |
-
for sample_rate, ch in product(sample_rates, channels):
|
103 |
-
n_frames = int(sample_rate * duration)
|
104 |
-
wav = get_white_noise(ch, n_frames).clamp(-0.99, 0.99)
|
105 |
-
path = self.get_temp_path('sample_wav.wav')
|
106 |
-
save_wav(path, wav, sample_rate)
|
107 |
-
seek_time = torch.rand(1).item()
|
108 |
-
read_wav, read_sr = audio_read(path, seek_time, read_duration)
|
109 |
-
seek_frames = int(sample_rate * seek_time)
|
110 |
-
expected_frames = n_frames - seek_frames
|
111 |
-
assert read_sr == sample_rate
|
112 |
-
assert read_wav.shape[0] == wav.shape[0]
|
113 |
-
assert read_wav.shape[1] == expected_frames
|
114 |
-
assert torch.allclose(read_wav, wav[..., seek_frames:], rtol=1e-03, atol=1e-04)
|
115 |
-
|
116 |
-
def test_read_seek_time_wav_padded(self):
|
117 |
-
sample_rates = [8000, 16_000]
|
118 |
-
channels = [1, 2]
|
119 |
-
duration = 1.
|
120 |
-
read_duration = 1.
|
121 |
-
for sample_rate, ch in product(sample_rates, channels):
|
122 |
-
n_frames = int(sample_rate * duration)
|
123 |
-
read_frames = int(sample_rate * read_duration)
|
124 |
-
wav = get_white_noise(ch, n_frames).clamp(-0.99, 0.99)
|
125 |
-
path = self.get_temp_path('sample_wav.wav')
|
126 |
-
save_wav(path, wav, sample_rate)
|
127 |
-
seek_time = torch.rand(1).item()
|
128 |
-
seek_frames = int(sample_rate * seek_time)
|
129 |
-
expected_frames = n_frames - seek_frames
|
130 |
-
read_wav, read_sr = audio_read(path, seek_time, read_duration, pad=True)
|
131 |
-
expected_pad_wav = torch.zeros(wav.shape[0], read_frames - expected_frames)
|
132 |
-
assert read_sr == sample_rate
|
133 |
-
assert read_wav.shape[0] == wav.shape[0]
|
134 |
-
assert read_wav.shape[1] == read_frames
|
135 |
-
assert torch.allclose(read_wav[..., :expected_frames], wav[..., seek_frames:], rtol=1e-03, atol=1e-04)
|
136 |
-
assert torch.allclose(read_wav[..., expected_frames:], expected_pad_wav)
|
137 |
-
|
138 |
-
|
139 |
-
class TestAvRead(TempDirMixin):
|
140 |
-
|
141 |
-
def test_avread_seek_base(self):
|
142 |
-
sample_rates = [8000, 16_000]
|
143 |
-
channels = [1, 2]
|
144 |
-
duration = 2.
|
145 |
-
for sample_rate, ch in product(sample_rates, channels):
|
146 |
-
n_frames = int(sample_rate * duration)
|
147 |
-
wav = get_white_noise(ch, n_frames)
|
148 |
-
path = self.get_temp_path(f'reference_a_{sample_rate}_{ch}.wav')
|
149 |
-
save_wav(path, wav, sample_rate)
|
150 |
-
for _ in range(100):
|
151 |
-
# seek will always load a full duration segment in the file
|
152 |
-
seek_time = random.uniform(0.0, 1.0)
|
153 |
-
seek_duration = random.uniform(0.001, 1.0)
|
154 |
-
read_wav, read_sr = _av_read(path, seek_time, seek_duration)
|
155 |
-
assert read_sr == sample_rate
|
156 |
-
assert read_wav.shape[0] == wav.shape[0]
|
157 |
-
assert read_wav.shape[-1] == int(seek_duration * sample_rate)
|
158 |
-
|
159 |
-
def test_avread_seek_partial(self):
|
160 |
-
sample_rates = [8000, 16_000]
|
161 |
-
channels = [1, 2]
|
162 |
-
duration = 1.
|
163 |
-
for sample_rate, ch in product(sample_rates, channels):
|
164 |
-
n_frames = int(sample_rate * duration)
|
165 |
-
wav = get_white_noise(ch, n_frames)
|
166 |
-
path = self.get_temp_path(f'reference_b_{sample_rate}_{ch}.wav')
|
167 |
-
save_wav(path, wav, sample_rate)
|
168 |
-
for _ in range(100):
|
169 |
-
# seek will always load a partial segment
|
170 |
-
seek_time = random.uniform(0.5, 1.)
|
171 |
-
seek_duration = 1.
|
172 |
-
expected_num_frames = n_frames - int(seek_time * sample_rate)
|
173 |
-
read_wav, read_sr = _av_read(path, seek_time, seek_duration)
|
174 |
-
assert read_sr == sample_rate
|
175 |
-
assert read_wav.shape[0] == wav.shape[0]
|
176 |
-
assert read_wav.shape[-1] == expected_num_frames
|
177 |
-
|
178 |
-
def test_avread_seek_outofbound(self):
|
179 |
-
sample_rates = [8000, 16_000]
|
180 |
-
channels = [1, 2]
|
181 |
-
duration = 1.
|
182 |
-
for sample_rate, ch in product(sample_rates, channels):
|
183 |
-
n_frames = int(sample_rate * duration)
|
184 |
-
wav = get_white_noise(ch, n_frames)
|
185 |
-
path = self.get_temp_path(f'reference_c_{sample_rate}_{ch}.wav')
|
186 |
-
save_wav(path, wav, sample_rate)
|
187 |
-
seek_time = 1.5
|
188 |
-
read_wav, read_sr = _av_read(path, seek_time, 1.)
|
189 |
-
assert read_sr == sample_rate
|
190 |
-
assert read_wav.shape[0] == wav.shape[0]
|
191 |
-
assert read_wav.shape[-1] == 0
|
192 |
-
|
193 |
-
def test_avread_seek_edge(self):
|
194 |
-
sample_rates = [8000, 16_000]
|
195 |
-
# some of these values will have
|
196 |
-
# int(((frames - 1) / sample_rate) * sample_rate) != (frames - 1)
|
197 |
-
n_frames = [1000, 1001, 1002]
|
198 |
-
channels = [1, 2]
|
199 |
-
for sample_rate, ch, frames in product(sample_rates, channels, n_frames):
|
200 |
-
duration = frames / sample_rate
|
201 |
-
wav = get_white_noise(ch, frames)
|
202 |
-
path = self.get_temp_path(f'reference_d_{sample_rate}_{ch}.wav')
|
203 |
-
save_wav(path, wav, sample_rate)
|
204 |
-
seek_time = (frames - 1) / sample_rate
|
205 |
-
seek_frames = int(seek_time * sample_rate)
|
206 |
-
read_wav, read_sr = _av_read(path, seek_time, duration)
|
207 |
-
assert read_sr == sample_rate
|
208 |
-
assert read_wav.shape[0] == wav.shape[0]
|
209 |
-
assert read_wav.shape[-1] == (frames - seek_frames)
|
210 |
-
|
211 |
-
|
212 |
-
class TestAudioWrite(TempDirMixin):
|
213 |
-
|
214 |
-
def test_audio_write_wav(self):
|
215 |
-
torch.manual_seed(1234)
|
216 |
-
sample_rates = [8000, 16_000]
|
217 |
-
n_frames = [1000, 1001, 1002]
|
218 |
-
channels = [1, 2]
|
219 |
-
strategies = ["peak", "clip", "rms"]
|
220 |
-
formats = ["wav", "mp3"]
|
221 |
-
for sample_rate, ch, frames in product(sample_rates, channels, n_frames):
|
222 |
-
for format_, strategy in product(formats, strategies):
|
223 |
-
wav = get_white_noise(ch, frames)
|
224 |
-
path = self.get_temp_path(f'pred_{sample_rate}_{ch}')
|
225 |
-
audio_write(path, wav, sample_rate, format_, strategy=strategy)
|
226 |
-
read_wav, read_sr = torchaudio.load(f'{path}.{format_}')
|
227 |
-
if format_ == "wav":
|
228 |
-
assert read_wav.shape == wav.shape
|
229 |
-
|
230 |
-
if format_ == "wav" and strategy in ["peak", "rms"]:
|
231 |
-
rescaled_read_wav = read_wav / read_wav.abs().max() * wav.abs().max()
|
232 |
-
# for a Gaussian, the typical max scale will be less than ~5x the std.
|
233 |
-
# The error when writing to disk will ~ 1/2**15, and when rescaling, 5x that.
|
234 |
-
# For RMS target, rescaling leaves more headroom by default, leading
|
235 |
-
# to a 20x rescaling typically
|
236 |
-
atol = (5 if strategy == "peak" else 20) / 2**15
|
237 |
-
delta = (rescaled_read_wav - wav).abs().max()
|
238 |
-
assert torch.allclose(wav, rescaled_read_wav, rtol=0, atol=atol), (delta, atol)
|
239 |
-
formats = ["wav"] # faster unit tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/ArtGAN/Diffusion-API/diffusion_webui/diffusion_models/controlnet_pipeline.py
DELETED
@@ -1,262 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import torch
|
3 |
-
import cv2
|
4 |
-
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
|
5 |
-
from PIL import Image
|
6 |
-
|
7 |
-
from diffusion_webui.diffusion_models.base_controlnet_pipeline import (
|
8 |
-
ControlnetPipeline,
|
9 |
-
)
|
10 |
-
from diffusion_webui.utils.model_list import (
|
11 |
-
controlnet_model_list,
|
12 |
-
stable_model_list,
|
13 |
-
)
|
14 |
-
from diffusion_webui.utils.preprocces_utils import PREPROCCES_DICT
|
15 |
-
from diffusion_webui.utils.scheduler_list import (
|
16 |
-
SCHEDULER_MAPPING,
|
17 |
-
get_scheduler,
|
18 |
-
)
|
19 |
-
|
20 |
-
|
21 |
-
stable_model_list = [
|
22 |
-
"runwayml/stable-diffusion-v1-5",
|
23 |
-
"dreamlike-art/dreamlike-diffusion-1.0",
|
24 |
-
"kadirnar/maturemalemix_v0",
|
25 |
-
"kadirnar/DreamShaper_v6"
|
26 |
-
]
|
27 |
-
|
28 |
-
stable_inpiant_model_list = [
|
29 |
-
"stabilityai/stable-diffusion-2-inpainting",
|
30 |
-
"runwayml/stable-diffusion-inpainting",
|
31 |
-
"saik0s/realistic_vision_inpainting",
|
32 |
-
]
|
33 |
-
|
34 |
-
controlnet_model_list = [
|
35 |
-
"lllyasviel/control_v11p_sd15_canny",
|
36 |
-
"lllyasviel/control_v11f1p_sd15_depth",
|
37 |
-
"lllyasviel/control_v11p_sd15_openpose",
|
38 |
-
"lllyasviel/control_v11p_sd15_scribble",
|
39 |
-
"lllyasviel/control_v11p_sd15_mlsd",
|
40 |
-
"lllyasviel/control_v11e_sd15_shuffle",
|
41 |
-
"lllyasviel/control_v11e_sd15_ip2p",
|
42 |
-
"lllyasviel/control_v11p_sd15_lineart",
|
43 |
-
"lllyasviel/control_v11p_sd15s2_lineart_anime",
|
44 |
-
"lllyasviel/control_v11p_sd15_softedge",
|
45 |
-
]
|
46 |
-
|
47 |
-
class StableDiffusionControlNetGenerator(ControlnetPipeline):
|
48 |
-
def __init__(self):
|
49 |
-
self.pipe = None
|
50 |
-
|
51 |
-
def load_model(self, stable_model_path, controlnet_model_path, scheduler):
|
52 |
-
if self.pipe is None or self.pipe.model_name != stable_model_path or self.pipe.scheduler_name != scheduler:
|
53 |
-
controlnet = ControlNetModel.from_pretrained(
|
54 |
-
controlnet_model_path, torch_dtype=torch.float16
|
55 |
-
)
|
56 |
-
self.pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
57 |
-
pretrained_model_name_or_path=stable_model_path,
|
58 |
-
controlnet=controlnet,
|
59 |
-
safety_checker=None,
|
60 |
-
torch_dtype=torch.float16,
|
61 |
-
)
|
62 |
-
self.pipe.model_name = stable_model_path
|
63 |
-
self.pipe.scheduler_name = scheduler
|
64 |
-
|
65 |
-
self.pipe = get_scheduler(pipe=self.pipe, scheduler=scheduler)
|
66 |
-
self.pipe.scheduler_name = scheduler
|
67 |
-
self.pipe.to("cuda")
|
68 |
-
self.pipe.enable_xformers_memory_efficient_attention()
|
69 |
-
|
70 |
-
return self.pipe
|
71 |
-
|
72 |
-
|
73 |
-
def controlnet_preprocces(
|
74 |
-
self,
|
75 |
-
read_image: str,
|
76 |
-
preprocces_type: str,
|
77 |
-
):
|
78 |
-
processed_image = PREPROCCES_DICT[preprocces_type](read_image)
|
79 |
-
return processed_image
|
80 |
-
|
81 |
-
def generate_image(
|
82 |
-
self,
|
83 |
-
image_path: str,
|
84 |
-
stable_model_path: str,
|
85 |
-
controlnet_model_path: str,
|
86 |
-
height: int,
|
87 |
-
width: int,
|
88 |
-
guess_mode: bool,
|
89 |
-
controlnet_conditioning_scale: int,
|
90 |
-
prompt: str,
|
91 |
-
negative_prompt: str,
|
92 |
-
num_images_per_prompt: int,
|
93 |
-
guidance_scale: int,
|
94 |
-
num_inference_step: int,
|
95 |
-
scheduler: str,
|
96 |
-
seed_generator: int,
|
97 |
-
preprocces_type: str,
|
98 |
-
):
|
99 |
-
pipe = self.load_model(
|
100 |
-
stable_model_path=stable_model_path,
|
101 |
-
controlnet_model_path=controlnet_model_path,
|
102 |
-
scheduler=scheduler,
|
103 |
-
)
|
104 |
-
if preprocces_type== "ScribbleXDOG":
|
105 |
-
read_image = cv2.imread(image_path)
|
106 |
-
controlnet_image = self.controlnet_preprocces(read_image=read_image, preprocces_type=preprocces_type)[0]
|
107 |
-
controlnet_image = Image.fromarray(controlnet_image)
|
108 |
-
|
109 |
-
elif preprocces_type== "None":
|
110 |
-
controlnet_image = self.controlnet_preprocces(read_image=image_path, preprocces_type=preprocces_type)
|
111 |
-
else:
|
112 |
-
read_image = Image.open(image_path)
|
113 |
-
controlnet_image = self.controlnet_preprocces(read_image=read_image, preprocces_type=preprocces_type)
|
114 |
-
|
115 |
-
if seed_generator == 0:
|
116 |
-
random_seed = torch.randint(0, 1000000, (1,))
|
117 |
-
generator = torch.manual_seed(random_seed)
|
118 |
-
else:
|
119 |
-
generator = torch.manual_seed(seed_generator)
|
120 |
-
|
121 |
-
|
122 |
-
output = pipe(
|
123 |
-
prompt=prompt,
|
124 |
-
height=height,
|
125 |
-
width=width,
|
126 |
-
controlnet_conditioning_scale=float(controlnet_conditioning_scale),
|
127 |
-
guess_mode=guess_mode,
|
128 |
-
image=controlnet_image,
|
129 |
-
negative_prompt=negative_prompt,
|
130 |
-
num_images_per_prompt=num_images_per_prompt,
|
131 |
-
num_inference_steps=num_inference_step,
|
132 |
-
guidance_scale=guidance_scale,
|
133 |
-
generator=generator,
|
134 |
-
).images
|
135 |
-
|
136 |
-
return output
|
137 |
-
|
138 |
-
def app():
|
139 |
-
with gr.Blocks():
|
140 |
-
with gr.Row():
|
141 |
-
with gr.Column():
|
142 |
-
controlnet_image_path = gr.Image(
|
143 |
-
type="filepath", label="Image"
|
144 |
-
).style(height=260)
|
145 |
-
controlnet_prompt = gr.Textbox(
|
146 |
-
lines=1, placeholder="Prompt", show_label=False
|
147 |
-
)
|
148 |
-
controlnet_negative_prompt = gr.Textbox(
|
149 |
-
lines=1, placeholder="Negative Prompt", show_label=False
|
150 |
-
)
|
151 |
-
|
152 |
-
with gr.Row():
|
153 |
-
with gr.Column():
|
154 |
-
controlnet_stable_model_path = gr.Dropdown(
|
155 |
-
choices=stable_model_list,
|
156 |
-
value=stable_model_list[0],
|
157 |
-
label="Stable Model Path",
|
158 |
-
)
|
159 |
-
controlnet_preprocces_type = gr.Dropdown(
|
160 |
-
choices=list(PREPROCCES_DICT.keys()),
|
161 |
-
value=list(PREPROCCES_DICT.keys())[0],
|
162 |
-
label="Preprocess Type",
|
163 |
-
)
|
164 |
-
controlnet_conditioning_scale = gr.Slider(
|
165 |
-
minimum=0.0,
|
166 |
-
maximum=1.0,
|
167 |
-
step=0.1,
|
168 |
-
value=1.0,
|
169 |
-
label="ControlNet Conditioning Scale",
|
170 |
-
)
|
171 |
-
controlnet_guidance_scale = gr.Slider(
|
172 |
-
minimum=0.1,
|
173 |
-
maximum=15,
|
174 |
-
step=0.1,
|
175 |
-
value=7.5,
|
176 |
-
label="Guidance Scale",
|
177 |
-
)
|
178 |
-
controlnet_height = gr.Slider(
|
179 |
-
minimum=128,
|
180 |
-
maximum=1280,
|
181 |
-
step=32,
|
182 |
-
value=512,
|
183 |
-
label="Height",
|
184 |
-
)
|
185 |
-
controlnet_width = gr.Slider(
|
186 |
-
minimum=128,
|
187 |
-
maximum=1280,
|
188 |
-
step=32,
|
189 |
-
value=512,
|
190 |
-
label="Width",
|
191 |
-
)
|
192 |
-
|
193 |
-
with gr.Row():
|
194 |
-
with gr.Column():
|
195 |
-
controlnet_model_path = gr.Dropdown(
|
196 |
-
choices=controlnet_model_list,
|
197 |
-
value=controlnet_model_list[0],
|
198 |
-
label="ControlNet Model Path",
|
199 |
-
)
|
200 |
-
controlnet_scheduler = gr.Dropdown(
|
201 |
-
choices=list(SCHEDULER_MAPPING.keys()),
|
202 |
-
value=list(SCHEDULER_MAPPING.keys())[0],
|
203 |
-
label="Scheduler",
|
204 |
-
)
|
205 |
-
controlnet_num_inference_step = gr.Slider(
|
206 |
-
minimum=1,
|
207 |
-
maximum=150,
|
208 |
-
step=1,
|
209 |
-
value=30,
|
210 |
-
label="Num Inference Step",
|
211 |
-
)
|
212 |
-
|
213 |
-
controlnet_num_images_per_prompt = gr.Slider(
|
214 |
-
minimum=1,
|
215 |
-
maximum=4,
|
216 |
-
step=1,
|
217 |
-
value=1,
|
218 |
-
label="Number Of Images",
|
219 |
-
)
|
220 |
-
controlnet_seed_generator = gr.Slider(
|
221 |
-
minimum=0,
|
222 |
-
maximum=1000000,
|
223 |
-
step=1,
|
224 |
-
value=0,
|
225 |
-
label="Seed(0 for random)",
|
226 |
-
)
|
227 |
-
controlnet_guess_mode = gr.Checkbox(
|
228 |
-
label="Guess Mode"
|
229 |
-
)
|
230 |
-
|
231 |
-
# Button to generate the image
|
232 |
-
predict_button = gr.Button(value="Generate Image")
|
233 |
-
|
234 |
-
with gr.Column():
|
235 |
-
# Gallery to display the generated images
|
236 |
-
output_image = gr.Gallery(
|
237 |
-
label="Generated images",
|
238 |
-
show_label=False,
|
239 |
-
elem_id="gallery",
|
240 |
-
).style(grid=(1, 2))
|
241 |
-
|
242 |
-
predict_button.click(
|
243 |
-
fn=StableDiffusionControlNetGenerator().generate_image,
|
244 |
-
inputs=[
|
245 |
-
controlnet_image_path,
|
246 |
-
controlnet_stable_model_path,
|
247 |
-
controlnet_model_path,
|
248 |
-
controlnet_height,
|
249 |
-
controlnet_width,
|
250 |
-
controlnet_guess_mode,
|
251 |
-
controlnet_conditioning_scale,
|
252 |
-
controlnet_prompt,
|
253 |
-
controlnet_negative_prompt,
|
254 |
-
controlnet_num_images_per_prompt,
|
255 |
-
controlnet_guidance_scale,
|
256 |
-
controlnet_num_inference_step,
|
257 |
-
controlnet_scheduler,
|
258 |
-
controlnet_seed_generator,
|
259 |
-
controlnet_preprocces_type,
|
260 |
-
],
|
261 |
-
outputs=[output_image],
|
262 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AvinashRamesh23/AIEditor/README.md
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: AIEditor
|
3 |
-
emoji: 📉
|
4 |
-
colorFrom: red
|
5 |
-
colorTo: yellow
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.15.2
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Awesimo/jojogan/e4e/datasets/__init__.py
DELETED
File without changes
|
spaces/BL00DY-257/dolle-mini-lol/html2canvas.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
spaces/BatuhanYilmaz/Whisper-Auto-Subtitled-Video-Generator/utils.py
DELETED
@@ -1,96 +0,0 @@
|
|
1 |
-
import textwrap
|
2 |
-
import zlib
|
3 |
-
from typing import Iterator, TextIO
|
4 |
-
|
5 |
-
|
6 |
-
def exact_div(x, y):
|
7 |
-
assert x % y == 0
|
8 |
-
return x // y
|
9 |
-
|
10 |
-
|
11 |
-
def str2bool(string):
|
12 |
-
str2val = {"True": True, "False": False}
|
13 |
-
if string in str2val:
|
14 |
-
return str2val[string]
|
15 |
-
else:
|
16 |
-
raise ValueError(f"Expected one of {set(str2val.keys())}, got {string}")
|
17 |
-
|
18 |
-
|
19 |
-
def optional_int(string):
|
20 |
-
return None if string == "None" else int(string)
|
21 |
-
|
22 |
-
|
23 |
-
def optional_float(string):
|
24 |
-
return None if string == "None" else float(string)
|
25 |
-
|
26 |
-
|
27 |
-
def compression_ratio(text) -> float:
|
28 |
-
return len(text) / len(zlib.compress(text.encode("utf-8")))
|
29 |
-
|
30 |
-
|
31 |
-
def format_timestamp(seconds: float, always_include_hours: bool = False, fractionalSeperator: str = '.'):
|
32 |
-
assert seconds >= 0, "non-negative timestamp expected"
|
33 |
-
milliseconds = round(seconds * 1000.0)
|
34 |
-
|
35 |
-
hours = milliseconds // 3_600_000
|
36 |
-
milliseconds -= hours * 3_600_000
|
37 |
-
|
38 |
-
minutes = milliseconds // 60_000
|
39 |
-
milliseconds -= minutes * 60_000
|
40 |
-
|
41 |
-
seconds = milliseconds // 1_000
|
42 |
-
milliseconds -= seconds * 1_000
|
43 |
-
|
44 |
-
hours_marker = f"{hours:02d}:" if always_include_hours or hours > 0 else ""
|
45 |
-
return f"{hours_marker}{minutes:02d}:{seconds:02d}{fractionalSeperator}{milliseconds:03d}"
|
46 |
-
|
47 |
-
|
48 |
-
def write_txt(transcript: Iterator[dict], file: TextIO):
|
49 |
-
for segment in transcript:
|
50 |
-
print(segment['text'].strip(), file=file, flush=True)
|
51 |
-
|
52 |
-
|
53 |
-
def write_vtt(transcript: Iterator[dict], file: TextIO, maxLineWidth=None):
|
54 |
-
print("WEBVTT\n", file=file)
|
55 |
-
for segment in transcript:
|
56 |
-
text = processText(segment['text'], maxLineWidth).replace('-->', '->')
|
57 |
-
|
58 |
-
print(
|
59 |
-
f"{format_timestamp(segment['start'])} --> {format_timestamp(segment['end'])}\n"
|
60 |
-
f"{text}\n",
|
61 |
-
file=file,
|
62 |
-
flush=True,
|
63 |
-
)
|
64 |
-
|
65 |
-
|
66 |
-
def write_srt(transcript: Iterator[dict], file: TextIO, maxLineWidth=None):
|
67 |
-
"""
|
68 |
-
Write a transcript to a file in SRT format.
|
69 |
-
Example usage:
|
70 |
-
from pathlib import Path
|
71 |
-
from whisper.utils import write_srt
|
72 |
-
result = transcribe(model, audio_path, temperature=temperature, **args)
|
73 |
-
# save SRT
|
74 |
-
audio_basename = Path(audio_path).stem
|
75 |
-
with open(Path(output_dir) / (audio_basename + ".srt"), "w", encoding="utf-8") as srt:
|
76 |
-
write_srt(result["segments"], file=srt)
|
77 |
-
"""
|
78 |
-
for i, segment in enumerate(transcript, start=1):
|
79 |
-
text = processText(segment['text'].strip(), maxLineWidth).replace('-->', '->')
|
80 |
-
|
81 |
-
# write srt lines
|
82 |
-
print(
|
83 |
-
f"{i}\n"
|
84 |
-
f"{format_timestamp(segment['start'], always_include_hours=True, fractionalSeperator=',')} --> "
|
85 |
-
f"{format_timestamp(segment['end'], always_include_hours=True, fractionalSeperator=',')}\n"
|
86 |
-
f"{text}\n",
|
87 |
-
file=file,
|
88 |
-
flush=True,
|
89 |
-
)
|
90 |
-
|
91 |
-
def processText(text: str, maxLineWidth=None):
|
92 |
-
if (maxLineWidth is None or maxLineWidth < 0):
|
93 |
-
return text
|
94 |
-
|
95 |
-
lines = textwrap.wrap(text, width=maxLineWidth, tabsize=4)
|
96 |
-
return '\n'.join(lines)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Benson/text-generation/Examples/Ciudad Smash Hack Apk.md
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Ciudad Smash Hack APK: Cómo descargar e instalar</h1>
|
3 |
-
<p>¿Te encanta destruir cosas con diferentes armas? ¿Quieres dar rienda suelta a tu Godzilla interior y destruir una ciudad con una bomba nuclear, misiles, agujero negro, rayo láser o rayo? Si es así, entonces puede que te interese City Smash, un juego de física que te permite hacer todo eso y más. Pero lo que si quieres tener más diversión y desbloquear todas las armas y características sin gastar dinero? Bueno, ahí es donde Ciudad Smash Hack APK entra en juego. En este artículo, le diremos qué es City Smash, ¿por qué debe utilizar City Smash Hack APK, y cómo descargar e instalar en su dispositivo Android. </p>
|
4 |
-
<h2>ciudad smash hack apk</h2><br /><p><b><b>Download</b> >>> <a href="https://bltlly.com/2v6LXH">https://bltlly.com/2v6LXH</a></b></p><br /><br />
|
5 |
-
<h2>¿Qué es City Smash? </h2>
|
6 |
-
<h3>Un juego de juegos de física</h3>
|
7 |
-
<p>City Smash es un juego desarrollado por Paradyme Games que te permite destruir una ciudad con varias armas y ver los efectos de destrucción realistas. El juego utiliza un motor de física que simula cómo los edificios se rompen y colapsan cuando son golpeados por diferentes fuerzas. Puede elegir entre diferentes ciudades y escenarios, como Nueva York, Tokio, París, Londres, Moscú y más. También puedes personalizar el clima, la hora del día y el ángulo de la cámara para crear tus propias escenas. </p>
|
8 |
-
<h3>Características del juego</h3>
|
9 |
-
<p>Algunas de las características de City Smash son:</p>
|
10 |
-
<ul>
|
11 |
-
<li>Puedes usar más de 50 armas y herramientas para destruir la ciudad, como bombas nucleares, misiles, agujeros negros, láseres, rayos, meteoros, zombis, dinosaurios, ovnis y más. </li>
|
12 |
-
<li>Puedes desbloquear nuevas armas y herramientas ganando monedas o viendo anuncios. </li>
|
13 |
-
<li> Puedes guardar y compartir tus escenas de destrucción con otros jugadores. </li>
|
14 |
-
<li>Puedes ver las repeticiones de tus acciones y ralentizar o acelerar el tiempo. </li>
|
15 |
-
<li> Puedes disfrutar de los gráficos realistas y efectos de sonido del juego. </li>
|
16 |
-
</ul>
|
17 |
-
<h2>¿Por qué utilizar Ciudad Smash Hack APK? </h2>
|
18 |
-
<h3>Beneficios de usar el hack</h3>
|
19 |
-
|
20 |
-
<ul>
|
21 |
-
<li>Puedes obtener monedas ilimitadas para desbloquear todas las armas y herramientas sin gastar dinero real. </li>
|
22 |
-
<li>Puedes eliminar todos los anuncios del juego y disfrutar de una experiencia de juego más fluida. </li>
|
23 |
-
<li>No puedes obtener tiempo de reutilización de habilidades para usar cualquier arma o herramienta tantas veces como quieras. </li>
|
24 |
-
</ul>
|
25 |
-
<h3>Riesgos de usar el hack</h3>
|
26 |
-
<p>Sin embargo, el uso de Ciudad Smash Hack APK también viene con algunos riesgos que usted debe ser consciente de antes de descargarlo. Algunos de los riesgos de usar Ciudad Smash Hack APK son:</p>
|
27 |
-
<p></p>
|
28 |
-
<ul>
|
29 |
-
<li>Es posible que te prohíban participar en el juego o que pierdas tu progreso si los desarrolladores detectan que estás usando una versión hackeada. </li>
|
30 |
-
<li>Usted podría exponer su dispositivo a malware o virus que podrían dañar sus datos o privacidad si descarga el hack de una fuente no confiable. </li>
|
31 |
-
<li>Es posible que se pierda algunas actualizaciones o características que solo están disponibles en la versión oficial del juego. </li>
|
32 |
-
</ul>
|
33 |
-
<h2>Cómo descargar e instalar Ciudad Smash Hack APK? </h2>
|
34 |
-
<h3>Pasos para descargar el hack</h3>
|
35 |
-
<p>Si usted ha decidido utilizar Ciudad Smash Hack APK, aquí están los pasos para descargarlo:</p>
|
36 |
-
<ol>
|
37 |
-
<li>Ir a un sitio web confiable que ofrece Ciudad Smash Hack APK para su descarga gratuita. Por ejemplo, se puede utilizar [Wendgames]( 1 ) o [MODYOLO]( 2 ). </li>
|
38 |
-
<li>Haga clic en el botón de descarga y espere a que el archivo se descargue en su dispositivo. </li>
|
39 |
-
<li>Busque el archivo en el administrador de archivos de su dispositivo y toque en él para abrirlo. </li>
|
40 |
-
</ol>
|
41 |
-
<h3>Pasos para instalar el hack</h3>
|
42 |
-
<p>Antes de instalar Ciudad Smash Hack APK, asegúrese de que ha habilitado la instalación de aplicaciones de fuentes desconocidas en la configuración de su dispositivo. Si no sabes cómo hacerlo, puedes seguir estos pasos:</p>
|
43 |
-
<ol>
|
44 |
-
<li>Ir a la configuración de su dispositivo y toque en la seguridad o la privacidad. </li>
|
45 |
-
<li> Encontrar la opción que dice "Fuentes desconocidas" o "Instalar aplicaciones desconocidas" y alternar en. </li>
|
46 |
-
<li>Confirme su elección tocando en OK o Permitir.</li>
|
47 |
-
</ol>
|
48 |
-
|
49 |
-
<ol>
|
50 |
-
<li>Toque en el archivo que ha descargado y seleccione Instalar.</li>
|
51 |
-
<li>Espera a que termine el proceso de instalación y toca Abrir para iniciar el juego. </li>
|
52 |
-
<li>Disfruta destrozando la ciudad con monedas ilimitadas y sin anuncios. </li>
|
53 |
-
</ol>
|
54 |
-
<h2>Conclusión</h2>
|
55 |
-
<p>City Smash es un juego divertido y adictivo que te permite destruir una ciudad con varias armas y herramientas. Sin embargo, si desea tener más diversión y desbloquear todas las características sin gastar dinero, puede utilizar Ciudad Smash Hack APK. Esta es una versión modificada del juego que te da monedas ilimitadas, sin anuncios y sin tiempo de reutilización de habilidades. Sin embargo, también debe tener cuidado con los riesgos de usar el hack, como ser prohibido, infectado, o perder las actualizaciones. Para descargar e instalar Ciudad Smash Hack APK, puede seguir los pasos que hemos proporcionado en este artículo. Esperamos que este artículo sea útil e informativo para usted. ¡Feliz éxito! </p>
|
56 |
-
<h2>Preguntas frecuentes</h2>
|
57 |
-
<h3> ¿Cuál es la última versión de Ciudad Smash Hack APK? </h3>
|
58 |
-
<p>La última versión de la ciudad Smash Hack APK es 1.26.4, que fue actualizado el 15 de junio de 2023. Se puede descargar desde [Wendgames] o [MODYOLO]. </p>
|
59 |
-
<h3> ¿Es Ciudad Smash Hack APK seguro de usar? </h3>
|
60 |
-
<p>Ciudad Smash Hack APK es seguro de usar, siempre y cuando se descarga desde una fuente de confianza y escanear con un antivirus antes de instalarlo. Sin embargo, también debes ser consciente de los riesgos de usar una versión hackeada del juego, como ser prohibido, infectado o perderte actualizaciones. </p>
|
61 |
-
<h3> ¿Cómo puedo actualizar Ciudad Smash Hack APK? </h3>
|
62 |
-
<p>Para actualizar Ciudad Smash Hack APK, es necesario desinstalar la versión anterior y descargar e instalar la nueva versión de un sitio web confiable. Puede consultar las actualizaciones regularmente visitando [Wendgames] o [MODYOLO]. </p>
|
63 |
-
<h3>¿Puedo jugar Ciudad Smash Hack APK en línea con otros jugadores? </h3>
|
64 |
-
<p>No, Ciudad Smash Hack APK no es un juego en línea y no es compatible con el modo multijugador. Solo se puede jugar fuera de línea y en solitario. </p>
|
65 |
-
<h3> ¿Puedo utilizar Ciudad Smash Hack APK en dispositivos iOS? </h3> 64aa2da5cf<br />
|
66 |
-
<br />
|
67 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/requests/help.py
DELETED
@@ -1,131 +0,0 @@
|
|
1 |
-
"""Module containing bug report helper(s)."""
|
2 |
-
|
3 |
-
import json
|
4 |
-
import platform
|
5 |
-
import ssl
|
6 |
-
import sys
|
7 |
-
|
8 |
-
from pip._vendor import idna
|
9 |
-
from pip._vendor import urllib3
|
10 |
-
|
11 |
-
from . import __version__ as requests_version
|
12 |
-
|
13 |
-
charset_normalizer = None
|
14 |
-
|
15 |
-
try:
|
16 |
-
from pip._vendor import chardet
|
17 |
-
except ImportError:
|
18 |
-
chardet = None
|
19 |
-
|
20 |
-
try:
|
21 |
-
from pip._vendor.urllib3.contrib import pyopenssl
|
22 |
-
except ImportError:
|
23 |
-
pyopenssl = None
|
24 |
-
OpenSSL = None
|
25 |
-
cryptography = None
|
26 |
-
else:
|
27 |
-
import cryptography
|
28 |
-
import OpenSSL
|
29 |
-
|
30 |
-
|
31 |
-
def _implementation():
|
32 |
-
"""Return a dict with the Python implementation and version.
|
33 |
-
|
34 |
-
Provide both the name and the version of the Python implementation
|
35 |
-
currently running. For example, on CPython 3.10.3 it will return
|
36 |
-
{'name': 'CPython', 'version': '3.10.3'}.
|
37 |
-
|
38 |
-
This function works best on CPython and PyPy: in particular, it probably
|
39 |
-
doesn't work for Jython or IronPython. Future investigation should be done
|
40 |
-
to work out the correct shape of the code for those platforms.
|
41 |
-
"""
|
42 |
-
implementation = platform.python_implementation()
|
43 |
-
|
44 |
-
if implementation == "CPython":
|
45 |
-
implementation_version = platform.python_version()
|
46 |
-
elif implementation == "PyPy":
|
47 |
-
implementation_version = "{}.{}.{}".format(
|
48 |
-
sys.pypy_version_info.major,
|
49 |
-
sys.pypy_version_info.minor,
|
50 |
-
sys.pypy_version_info.micro,
|
51 |
-
)
|
52 |
-
if sys.pypy_version_info.releaselevel != "final":
|
53 |
-
implementation_version = "".join(
|
54 |
-
[implementation_version, sys.pypy_version_info.releaselevel]
|
55 |
-
)
|
56 |
-
elif implementation == "Jython":
|
57 |
-
implementation_version = platform.python_version() # Complete Guess
|
58 |
-
elif implementation == "IronPython":
|
59 |
-
implementation_version = platform.python_version() # Complete Guess
|
60 |
-
else:
|
61 |
-
implementation_version = "Unknown"
|
62 |
-
|
63 |
-
return {"name": implementation, "version": implementation_version}
|
64 |
-
|
65 |
-
|
66 |
-
def info():
|
67 |
-
"""Generate information for a bug report."""
|
68 |
-
try:
|
69 |
-
platform_info = {
|
70 |
-
"system": platform.system(),
|
71 |
-
"release": platform.release(),
|
72 |
-
}
|
73 |
-
except OSError:
|
74 |
-
platform_info = {
|
75 |
-
"system": "Unknown",
|
76 |
-
"release": "Unknown",
|
77 |
-
}
|
78 |
-
|
79 |
-
implementation_info = _implementation()
|
80 |
-
urllib3_info = {"version": urllib3.__version__}
|
81 |
-
charset_normalizer_info = {"version": None}
|
82 |
-
chardet_info = {"version": None}
|
83 |
-
if charset_normalizer:
|
84 |
-
charset_normalizer_info = {"version": charset_normalizer.__version__}
|
85 |
-
if chardet:
|
86 |
-
chardet_info = {"version": chardet.__version__}
|
87 |
-
|
88 |
-
pyopenssl_info = {
|
89 |
-
"version": None,
|
90 |
-
"openssl_version": "",
|
91 |
-
}
|
92 |
-
if OpenSSL:
|
93 |
-
pyopenssl_info = {
|
94 |
-
"version": OpenSSL.__version__,
|
95 |
-
"openssl_version": f"{OpenSSL.SSL.OPENSSL_VERSION_NUMBER:x}",
|
96 |
-
}
|
97 |
-
cryptography_info = {
|
98 |
-
"version": getattr(cryptography, "__version__", ""),
|
99 |
-
}
|
100 |
-
idna_info = {
|
101 |
-
"version": getattr(idna, "__version__", ""),
|
102 |
-
}
|
103 |
-
|
104 |
-
system_ssl = ssl.OPENSSL_VERSION_NUMBER
|
105 |
-
system_ssl_info = {"version": f"{system_ssl:x}" if system_ssl is not None else ""}
|
106 |
-
|
107 |
-
return {
|
108 |
-
"platform": platform_info,
|
109 |
-
"implementation": implementation_info,
|
110 |
-
"system_ssl": system_ssl_info,
|
111 |
-
"using_pyopenssl": pyopenssl is not None,
|
112 |
-
"using_charset_normalizer": chardet is None,
|
113 |
-
"pyOpenSSL": pyopenssl_info,
|
114 |
-
"urllib3": urllib3_info,
|
115 |
-
"chardet": chardet_info,
|
116 |
-
"charset_normalizer": charset_normalizer_info,
|
117 |
-
"cryptography": cryptography_info,
|
118 |
-
"idna": idna_info,
|
119 |
-
"requests": {
|
120 |
-
"version": requests_version,
|
121 |
-
},
|
122 |
-
}
|
123 |
-
|
124 |
-
|
125 |
-
def main():
|
126 |
-
"""Pretty-print the bug information as JSON."""
|
127 |
-
print(json.dumps(info(), sort_keys=True, indent=2))
|
128 |
-
|
129 |
-
|
130 |
-
if __name__ == "__main__":
|
131 |
-
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Big-Web/MMSD/env/Lib/site-packages/urllib3/__init__.py
DELETED
@@ -1,102 +0,0 @@
|
|
1 |
-
"""
|
2 |
-
Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more
|
3 |
-
"""
|
4 |
-
from __future__ import absolute_import
|
5 |
-
|
6 |
-
# Set default logging handler to avoid "No handler found" warnings.
|
7 |
-
import logging
|
8 |
-
import warnings
|
9 |
-
from logging import NullHandler
|
10 |
-
|
11 |
-
from . import exceptions
|
12 |
-
from ._version import __version__
|
13 |
-
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
|
14 |
-
from .filepost import encode_multipart_formdata
|
15 |
-
from .poolmanager import PoolManager, ProxyManager, proxy_from_url
|
16 |
-
from .response import HTTPResponse
|
17 |
-
from .util.request import make_headers
|
18 |
-
from .util.retry import Retry
|
19 |
-
from .util.timeout import Timeout
|
20 |
-
from .util.url import get_host
|
21 |
-
|
22 |
-
# === NOTE TO REPACKAGERS AND VENDORS ===
|
23 |
-
# Please delete this block, this logic is only
|
24 |
-
# for urllib3 being distributed via PyPI.
|
25 |
-
# See: https://github.com/urllib3/urllib3/issues/2680
|
26 |
-
try:
|
27 |
-
import urllib3_secure_extra # type: ignore # noqa: F401
|
28 |
-
except ImportError:
|
29 |
-
pass
|
30 |
-
else:
|
31 |
-
warnings.warn(
|
32 |
-
"'urllib3[secure]' extra is deprecated and will be removed "
|
33 |
-
"in a future release of urllib3 2.x. Read more in this issue: "
|
34 |
-
"https://github.com/urllib3/urllib3/issues/2680",
|
35 |
-
category=DeprecationWarning,
|
36 |
-
stacklevel=2,
|
37 |
-
)
|
38 |
-
|
39 |
-
__author__ = "Andrey Petrov ([email protected])"
|
40 |
-
__license__ = "MIT"
|
41 |
-
__version__ = __version__
|
42 |
-
|
43 |
-
__all__ = (
|
44 |
-
"HTTPConnectionPool",
|
45 |
-
"HTTPSConnectionPool",
|
46 |
-
"PoolManager",
|
47 |
-
"ProxyManager",
|
48 |
-
"HTTPResponse",
|
49 |
-
"Retry",
|
50 |
-
"Timeout",
|
51 |
-
"add_stderr_logger",
|
52 |
-
"connection_from_url",
|
53 |
-
"disable_warnings",
|
54 |
-
"encode_multipart_formdata",
|
55 |
-
"get_host",
|
56 |
-
"make_headers",
|
57 |
-
"proxy_from_url",
|
58 |
-
)
|
59 |
-
|
60 |
-
logging.getLogger(__name__).addHandler(NullHandler())
|
61 |
-
|
62 |
-
|
63 |
-
def add_stderr_logger(level=logging.DEBUG):
|
64 |
-
"""
|
65 |
-
Helper for quickly adding a StreamHandler to the logger. Useful for
|
66 |
-
debugging.
|
67 |
-
|
68 |
-
Returns the handler after adding it.
|
69 |
-
"""
|
70 |
-
# This method needs to be in this __init__.py to get the __name__ correct
|
71 |
-
# even if urllib3 is vendored within another package.
|
72 |
-
logger = logging.getLogger(__name__)
|
73 |
-
handler = logging.StreamHandler()
|
74 |
-
handler.setFormatter(logging.Formatter("%(asctime)s %(levelname)s %(message)s"))
|
75 |
-
logger.addHandler(handler)
|
76 |
-
logger.setLevel(level)
|
77 |
-
logger.debug("Added a stderr logging handler to logger: %s", __name__)
|
78 |
-
return handler
|
79 |
-
|
80 |
-
|
81 |
-
# ... Clean up.
|
82 |
-
del NullHandler
|
83 |
-
|
84 |
-
|
85 |
-
# All warning filters *must* be appended unless you're really certain that they
|
86 |
-
# shouldn't be: otherwise, it's very hard for users to use most Python
|
87 |
-
# mechanisms to silence them.
|
88 |
-
# SecurityWarning's always go off by default.
|
89 |
-
warnings.simplefilter("always", exceptions.SecurityWarning, append=True)
|
90 |
-
# SubjectAltNameWarning's should go off once per host
|
91 |
-
warnings.simplefilter("default", exceptions.SubjectAltNameWarning, append=True)
|
92 |
-
# InsecurePlatformWarning's don't vary between requests, so we keep it default.
|
93 |
-
warnings.simplefilter("default", exceptions.InsecurePlatformWarning, append=True)
|
94 |
-
# SNIMissingWarnings should go off only once.
|
95 |
-
warnings.simplefilter("default", exceptions.SNIMissingWarning, append=True)
|
96 |
-
|
97 |
-
|
98 |
-
def disable_warnings(category=exceptions.HTTPWarning):
|
99 |
-
"""
|
100 |
-
Helper for quickly disabling all urllib3 warnings.
|
101 |
-
"""
|
102 |
-
warnings.simplefilter("ignore", category)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Billyosoro/ESRGAN/realesrgan/models/realesrnet_model.py
DELETED
@@ -1,188 +0,0 @@
|
|
1 |
-
import numpy as np
|
2 |
-
import random
|
3 |
-
import torch
|
4 |
-
from basicsr.data.degradations import random_add_gaussian_noise_pt, random_add_poisson_noise_pt
|
5 |
-
from basicsr.data.transforms import paired_random_crop
|
6 |
-
from basicsr.models.sr_model import SRModel
|
7 |
-
from basicsr.utils import DiffJPEG, USMSharp
|
8 |
-
from basicsr.utils.img_process_util import filter2D
|
9 |
-
from basicsr.utils.registry import MODEL_REGISTRY
|
10 |
-
from torch.nn import functional as F
|
11 |
-
|
12 |
-
|
13 |
-
@MODEL_REGISTRY.register()
|
14 |
-
class RealESRNetModel(SRModel):
|
15 |
-
"""RealESRNet Model for Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data.
|
16 |
-
|
17 |
-
It is trained without GAN losses.
|
18 |
-
It mainly performs:
|
19 |
-
1. randomly synthesize LQ images in GPU tensors
|
20 |
-
2. optimize the networks with GAN training.
|
21 |
-
"""
|
22 |
-
|
23 |
-
def __init__(self, opt):
|
24 |
-
super(RealESRNetModel, self).__init__(opt)
|
25 |
-
self.jpeger = DiffJPEG(differentiable=False).cuda() # simulate JPEG compression artifacts
|
26 |
-
self.usm_sharpener = USMSharp().cuda() # do usm sharpening
|
27 |
-
self.queue_size = opt.get('queue_size', 180)
|
28 |
-
|
29 |
-
@torch.no_grad()
|
30 |
-
def _dequeue_and_enqueue(self):
|
31 |
-
"""It is the training pair pool for increasing the diversity in a batch.
|
32 |
-
|
33 |
-
Batch processing limits the diversity of synthetic degradations in a batch. For example, samples in a
|
34 |
-
batch could not have different resize scaling factors. Therefore, we employ this training pair pool
|
35 |
-
to increase the degradation diversity in a batch.
|
36 |
-
"""
|
37 |
-
# initialize
|
38 |
-
b, c, h, w = self.lq.size()
|
39 |
-
if not hasattr(self, 'queue_lr'):
|
40 |
-
assert self.queue_size % b == 0, f'queue size {self.queue_size} should be divisible by batch size {b}'
|
41 |
-
self.queue_lr = torch.zeros(self.queue_size, c, h, w).cuda()
|
42 |
-
_, c, h, w = self.gt.size()
|
43 |
-
self.queue_gt = torch.zeros(self.queue_size, c, h, w).cuda()
|
44 |
-
self.queue_ptr = 0
|
45 |
-
if self.queue_ptr == self.queue_size: # the pool is full
|
46 |
-
# do dequeue and enqueue
|
47 |
-
# shuffle
|
48 |
-
idx = torch.randperm(self.queue_size)
|
49 |
-
self.queue_lr = self.queue_lr[idx]
|
50 |
-
self.queue_gt = self.queue_gt[idx]
|
51 |
-
# get first b samples
|
52 |
-
lq_dequeue = self.queue_lr[0:b, :, :, :].clone()
|
53 |
-
gt_dequeue = self.queue_gt[0:b, :, :, :].clone()
|
54 |
-
# update the queue
|
55 |
-
self.queue_lr[0:b, :, :, :] = self.lq.clone()
|
56 |
-
self.queue_gt[0:b, :, :, :] = self.gt.clone()
|
57 |
-
|
58 |
-
self.lq = lq_dequeue
|
59 |
-
self.gt = gt_dequeue
|
60 |
-
else:
|
61 |
-
# only do enqueue
|
62 |
-
self.queue_lr[self.queue_ptr:self.queue_ptr + b, :, :, :] = self.lq.clone()
|
63 |
-
self.queue_gt[self.queue_ptr:self.queue_ptr + b, :, :, :] = self.gt.clone()
|
64 |
-
self.queue_ptr = self.queue_ptr + b
|
65 |
-
|
66 |
-
@torch.no_grad()
|
67 |
-
def feed_data(self, data):
|
68 |
-
"""Accept data from dataloader, and then add two-order degradations to obtain LQ images.
|
69 |
-
"""
|
70 |
-
if self.is_train and self.opt.get('high_order_degradation', True):
|
71 |
-
# training data synthesis
|
72 |
-
self.gt = data['gt'].to(self.device)
|
73 |
-
# USM sharpen the GT images
|
74 |
-
if self.opt['gt_usm'] is True:
|
75 |
-
self.gt = self.usm_sharpener(self.gt)
|
76 |
-
|
77 |
-
self.kernel1 = data['kernel1'].to(self.device)
|
78 |
-
self.kernel2 = data['kernel2'].to(self.device)
|
79 |
-
self.sinc_kernel = data['sinc_kernel'].to(self.device)
|
80 |
-
|
81 |
-
ori_h, ori_w = self.gt.size()[2:4]
|
82 |
-
|
83 |
-
# ----------------------- The first degradation process ----------------------- #
|
84 |
-
# blur
|
85 |
-
out = filter2D(self.gt, self.kernel1)
|
86 |
-
# random resize
|
87 |
-
updown_type = random.choices(['up', 'down', 'keep'], self.opt['resize_prob'])[0]
|
88 |
-
if updown_type == 'up':
|
89 |
-
scale = np.random.uniform(1, self.opt['resize_range'][1])
|
90 |
-
elif updown_type == 'down':
|
91 |
-
scale = np.random.uniform(self.opt['resize_range'][0], 1)
|
92 |
-
else:
|
93 |
-
scale = 1
|
94 |
-
mode = random.choice(['area', 'bilinear', 'bicubic'])
|
95 |
-
out = F.interpolate(out, scale_factor=scale, mode=mode)
|
96 |
-
# add noise
|
97 |
-
gray_noise_prob = self.opt['gray_noise_prob']
|
98 |
-
if np.random.uniform() < self.opt['gaussian_noise_prob']:
|
99 |
-
out = random_add_gaussian_noise_pt(
|
100 |
-
out, sigma_range=self.opt['noise_range'], clip=True, rounds=False, gray_prob=gray_noise_prob)
|
101 |
-
else:
|
102 |
-
out = random_add_poisson_noise_pt(
|
103 |
-
out,
|
104 |
-
scale_range=self.opt['poisson_scale_range'],
|
105 |
-
gray_prob=gray_noise_prob,
|
106 |
-
clip=True,
|
107 |
-
rounds=False)
|
108 |
-
# JPEG compression
|
109 |
-
jpeg_p = out.new_zeros(out.size(0)).uniform_(*self.opt['jpeg_range'])
|
110 |
-
out = torch.clamp(out, 0, 1) # clamp to [0, 1], otherwise JPEGer will result in unpleasant artifacts
|
111 |
-
out = self.jpeger(out, quality=jpeg_p)
|
112 |
-
|
113 |
-
# ----------------------- The second degradation process ----------------------- #
|
114 |
-
# blur
|
115 |
-
if np.random.uniform() < self.opt['second_blur_prob']:
|
116 |
-
out = filter2D(out, self.kernel2)
|
117 |
-
# random resize
|
118 |
-
updown_type = random.choices(['up', 'down', 'keep'], self.opt['resize_prob2'])[0]
|
119 |
-
if updown_type == 'up':
|
120 |
-
scale = np.random.uniform(1, self.opt['resize_range2'][1])
|
121 |
-
elif updown_type == 'down':
|
122 |
-
scale = np.random.uniform(self.opt['resize_range2'][0], 1)
|
123 |
-
else:
|
124 |
-
scale = 1
|
125 |
-
mode = random.choice(['area', 'bilinear', 'bicubic'])
|
126 |
-
out = F.interpolate(
|
127 |
-
out, size=(int(ori_h / self.opt['scale'] * scale), int(ori_w / self.opt['scale'] * scale)), mode=mode)
|
128 |
-
# add noise
|
129 |
-
gray_noise_prob = self.opt['gray_noise_prob2']
|
130 |
-
if np.random.uniform() < self.opt['gaussian_noise_prob2']:
|
131 |
-
out = random_add_gaussian_noise_pt(
|
132 |
-
out, sigma_range=self.opt['noise_range2'], clip=True, rounds=False, gray_prob=gray_noise_prob)
|
133 |
-
else:
|
134 |
-
out = random_add_poisson_noise_pt(
|
135 |
-
out,
|
136 |
-
scale_range=self.opt['poisson_scale_range2'],
|
137 |
-
gray_prob=gray_noise_prob,
|
138 |
-
clip=True,
|
139 |
-
rounds=False)
|
140 |
-
|
141 |
-
# JPEG compression + the final sinc filter
|
142 |
-
# We also need to resize images to desired sizes. We group [resize back + sinc filter] together
|
143 |
-
# as one operation.
|
144 |
-
# We consider two orders:
|
145 |
-
# 1. [resize back + sinc filter] + JPEG compression
|
146 |
-
# 2. JPEG compression + [resize back + sinc filter]
|
147 |
-
# Empirically, we find other combinations (sinc + JPEG + Resize) will introduce twisted lines.
|
148 |
-
if np.random.uniform() < 0.5:
|
149 |
-
# resize back + the final sinc filter
|
150 |
-
mode = random.choice(['area', 'bilinear', 'bicubic'])
|
151 |
-
out = F.interpolate(out, size=(ori_h // self.opt['scale'], ori_w // self.opt['scale']), mode=mode)
|
152 |
-
out = filter2D(out, self.sinc_kernel)
|
153 |
-
# JPEG compression
|
154 |
-
jpeg_p = out.new_zeros(out.size(0)).uniform_(*self.opt['jpeg_range2'])
|
155 |
-
out = torch.clamp(out, 0, 1)
|
156 |
-
out = self.jpeger(out, quality=jpeg_p)
|
157 |
-
else:
|
158 |
-
# JPEG compression
|
159 |
-
jpeg_p = out.new_zeros(out.size(0)).uniform_(*self.opt['jpeg_range2'])
|
160 |
-
out = torch.clamp(out, 0, 1)
|
161 |
-
out = self.jpeger(out, quality=jpeg_p)
|
162 |
-
# resize back + the final sinc filter
|
163 |
-
mode = random.choice(['area', 'bilinear', 'bicubic'])
|
164 |
-
out = F.interpolate(out, size=(ori_h // self.opt['scale'], ori_w // self.opt['scale']), mode=mode)
|
165 |
-
out = filter2D(out, self.sinc_kernel)
|
166 |
-
|
167 |
-
# clamp and round
|
168 |
-
self.lq = torch.clamp((out * 255.0).round(), 0, 255) / 255.
|
169 |
-
|
170 |
-
# random crop
|
171 |
-
gt_size = self.opt['gt_size']
|
172 |
-
self.gt, self.lq = paired_random_crop(self.gt, self.lq, gt_size, self.opt['scale'])
|
173 |
-
|
174 |
-
# training pair pool
|
175 |
-
self._dequeue_and_enqueue()
|
176 |
-
self.lq = self.lq.contiguous() # for the warning: grad and param do not obey the gradient layout contract
|
177 |
-
else:
|
178 |
-
# for paired training or validation
|
179 |
-
self.lq = data['lq'].to(self.device)
|
180 |
-
if 'gt' in data:
|
181 |
-
self.gt = data['gt'].to(self.device)
|
182 |
-
self.gt_usm = self.usm_sharpener(self.gt)
|
183 |
-
|
184 |
-
def nondist_validation(self, dataloader, current_iter, tb_logger, save_img):
|
185 |
-
# do not use the synthetic process during validation
|
186 |
-
self.is_train = False
|
187 |
-
super(RealESRNetModel, self).nondist_validation(dataloader, current_iter, tb_logger, save_img)
|
188 |
-
self.is_train = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/LIVE/thrust/thrust/pair.h
DELETED
@@ -1,283 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Copyright 2008-2013 NVIDIA Corporation
|
3 |
-
*
|
4 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
* you may not use this file except in compliance with the License.
|
6 |
-
* You may obtain a copy of the License at
|
7 |
-
*
|
8 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
*
|
10 |
-
* Unless required by applicable law or agreed to in writing, software
|
11 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
* See the License for the specific language governing permissions and
|
14 |
-
* limitations under the License.
|
15 |
-
*/
|
16 |
-
|
17 |
-
/*! \file pair.h
|
18 |
-
* \brief A type encapsulating a heterogeneous pair of elements
|
19 |
-
*/
|
20 |
-
|
21 |
-
#pragma once
|
22 |
-
|
23 |
-
#include <thrust/detail/config.h>
|
24 |
-
#include <utility>
|
25 |
-
|
26 |
-
namespace thrust
|
27 |
-
{
|
28 |
-
|
29 |
-
/*! \addtogroup utility
|
30 |
-
* \{
|
31 |
-
*/
|
32 |
-
|
33 |
-
/*! \addtogroup pair
|
34 |
-
* \{
|
35 |
-
*/
|
36 |
-
|
37 |
-
/*! \p pair is a generic data structure encapsulating a heterogeneous
|
38 |
-
* pair of values.
|
39 |
-
*
|
40 |
-
* \tparam T1 The type of \p pair's first object type. There are no
|
41 |
-
* requirements on the type of \p T1. <tt>T1</tt>'s type is
|
42 |
-
* provided by <tt>pair::first_type</tt>.
|
43 |
-
*
|
44 |
-
* \tparam T2 The type of \p pair's second object type. There are no
|
45 |
-
* requirements on the type of \p T2. <tt>T2</tt>'s type is
|
46 |
-
* provided by <tt>pair::second_type</tt>.
|
47 |
-
*/
|
48 |
-
template <typename T1, typename T2>
|
49 |
-
struct pair
|
50 |
-
{
|
51 |
-
/*! \p first_type is the type of \p pair's first object type.
|
52 |
-
*/
|
53 |
-
typedef T1 first_type;
|
54 |
-
|
55 |
-
/*! \p second_type is the type of \p pair's second object type.
|
56 |
-
*/
|
57 |
-
typedef T2 second_type;
|
58 |
-
|
59 |
-
/*! The \p pair's first object.
|
60 |
-
*/
|
61 |
-
first_type first;
|
62 |
-
|
63 |
-
/*! The \p pair's second object.
|
64 |
-
*/
|
65 |
-
second_type second;
|
66 |
-
|
67 |
-
/*! \p pair's default constructor constructs \p first
|
68 |
-
* and \p second using \c first_type & \c second_type's
|
69 |
-
* default constructors, respectively.
|
70 |
-
*/
|
71 |
-
__host__ __device__ pair(void);
|
72 |
-
|
73 |
-
/*! This constructor accepts two objects to copy into this \p pair.
|
74 |
-
*
|
75 |
-
* \param x The object to copy into \p first.
|
76 |
-
* \param y The object to copy into \p second.
|
77 |
-
*/
|
78 |
-
inline __host__ __device__
|
79 |
-
pair(const T1 &x, const T2 &y);
|
80 |
-
|
81 |
-
/*! This copy constructor copies from a \p pair whose types are
|
82 |
-
* convertible to this \p pair's \c first_type and \c second_type,
|
83 |
-
* respectively.
|
84 |
-
*
|
85 |
-
* \param p The \p pair to copy from.
|
86 |
-
*
|
87 |
-
* \tparam U1 is convertible to \c first_type.
|
88 |
-
* \tparam U2 is convertible to \c second_type.
|
89 |
-
*/
|
90 |
-
template <typename U1, typename U2>
|
91 |
-
inline __host__ __device__
|
92 |
-
pair(const pair<U1,U2> &p);
|
93 |
-
|
94 |
-
/*! This copy constructor copies from a <tt>std::pair</tt> whose types are
|
95 |
-
* convertible to this \p pair's \c first_type and \c second_type,
|
96 |
-
* respectively.
|
97 |
-
*
|
98 |
-
* \param p The <tt>std::pair</tt> to copy from.
|
99 |
-
*
|
100 |
-
* \tparam U1 is convertible to \c first_type.
|
101 |
-
* \tparam U2 is convertible to \c second_type.
|
102 |
-
*/
|
103 |
-
template <typename U1, typename U2>
|
104 |
-
inline __host__ __device__
|
105 |
-
pair(const std::pair<U1,U2> &p);
|
106 |
-
|
107 |
-
/*! \p swap swaps the elements of two <tt>pair</tt>s.
|
108 |
-
*
|
109 |
-
* \param p The other <tt>pair</tt> with which to swap.
|
110 |
-
*/
|
111 |
-
inline __host__ __device__
|
112 |
-
void swap(pair &p);
|
113 |
-
}; // end pair
|
114 |
-
|
115 |
-
|
116 |
-
/*! This operator tests two \p pairs for equality.
|
117 |
-
*
|
118 |
-
* \param x The first \p pair to compare.
|
119 |
-
* \param y The second \p pair to compare.
|
120 |
-
* \return \c true if and only if <tt>x.first == y.first && x.second == y.second</tt>.
|
121 |
-
*
|
122 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>.
|
123 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>.
|
124 |
-
*/
|
125 |
-
template <typename T1, typename T2>
|
126 |
-
inline __host__ __device__
|
127 |
-
bool operator==(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
128 |
-
|
129 |
-
|
130 |
-
/*! This operator tests two pairs for ascending ordering.
|
131 |
-
*
|
132 |
-
* \param x The first \p pair to compare.
|
133 |
-
* \param y The second \p pair to compare.
|
134 |
-
* \return \c true if and only if <tt>x.first < y.first || (!(y.first < x.first) && x.second < y.second)</tt>.
|
135 |
-
*
|
136 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
137 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
138 |
-
*/
|
139 |
-
template <typename T1, typename T2>
|
140 |
-
inline __host__ __device__
|
141 |
-
bool operator<(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
142 |
-
|
143 |
-
|
144 |
-
/*! This operator tests two pairs for inequality.
|
145 |
-
*
|
146 |
-
* \param x The first \p pair to compare.
|
147 |
-
* \param y The second \p pair to compare.
|
148 |
-
* \return \c true if and only if <tt>!(x == y)</tt>.
|
149 |
-
*
|
150 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>.
|
151 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/EqualityComparable.html">Equality Comparable</a>.
|
152 |
-
*/
|
153 |
-
template <typename T1, typename T2>
|
154 |
-
inline __host__ __device__
|
155 |
-
bool operator!=(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
156 |
-
|
157 |
-
|
158 |
-
/*! This operator tests two pairs for descending ordering.
|
159 |
-
*
|
160 |
-
* \param x The first \p pair to compare.
|
161 |
-
* \param y The second \p pair to compare.
|
162 |
-
* \return \c true if and only if <tt>y < x</tt>.
|
163 |
-
*
|
164 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
165 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
166 |
-
*/
|
167 |
-
template <typename T1, typename T2>
|
168 |
-
inline __host__ __device__
|
169 |
-
bool operator>(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
170 |
-
|
171 |
-
|
172 |
-
/*! This operator tests two pairs for ascending ordering or equivalence.
|
173 |
-
*
|
174 |
-
* \param x The first \p pair to compare.
|
175 |
-
* \param y The second \p pair to compare.
|
176 |
-
* \return \c true if and only if <tt>!(y < x)</tt>.
|
177 |
-
*
|
178 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
179 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
180 |
-
*/
|
181 |
-
template <typename T1, typename T2>
|
182 |
-
inline __host__ __device__
|
183 |
-
bool operator<=(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
184 |
-
|
185 |
-
|
186 |
-
/*! This operator tests two pairs for descending ordering or equivalence.
|
187 |
-
*
|
188 |
-
* \param x The first \p pair to compare.
|
189 |
-
* \param y The second \p pair to compare.
|
190 |
-
* \return \c true if and only if <tt>!(x < y)</tt>.
|
191 |
-
*
|
192 |
-
* \tparam T1 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
193 |
-
* \tparam T2 is a model of <a href="http://www.sgi.com/tech/stl/LessThanComparable.html">LessThan Comparable</a>.
|
194 |
-
*/
|
195 |
-
template <typename T1, typename T2>
|
196 |
-
inline __host__ __device__
|
197 |
-
bool operator>=(const pair<T1,T2> &x, const pair<T1,T2> &y);
|
198 |
-
|
199 |
-
|
200 |
-
/*! \p swap swaps the contents of two <tt>pair</tt>s.
|
201 |
-
*
|
202 |
-
* \param x The first \p pair to swap.
|
203 |
-
* \param y The second \p pair to swap.
|
204 |
-
*/
|
205 |
-
template <typename T1, typename T2>
|
206 |
-
inline __host__ __device__
|
207 |
-
void swap(pair<T1,T2> &x, pair<T1,T2> &y);
|
208 |
-
|
209 |
-
|
210 |
-
/*! This convenience function creates a \p pair from two objects.
|
211 |
-
*
|
212 |
-
* \param x The first object to copy from.
|
213 |
-
* \param y The second object to copy from.
|
214 |
-
* \return A newly-constructed \p pair copied from \p a and \p b.
|
215 |
-
*
|
216 |
-
* \tparam T1 There are no requirements on the type of \p T1.
|
217 |
-
* \tparam T2 There are no requirements on the type of \p T2.
|
218 |
-
*/
|
219 |
-
template <typename T1, typename T2>
|
220 |
-
inline __host__ __device__
|
221 |
-
pair<T1,T2> make_pair(T1 x, T2 y);
|
222 |
-
|
223 |
-
|
224 |
-
/*! This convenience metafunction is included for compatibility with
|
225 |
-
* \p tuple. It returns either the type of a \p pair's
|
226 |
-
* \c first_type or \c second_type in its nested type, \c type.
|
227 |
-
*
|
228 |
-
* \tparam N This parameter selects the member of interest.
|
229 |
-
* \tparam T A \c pair type of interest.
|
230 |
-
*/
|
231 |
-
template<int N, typename T> struct tuple_element;
|
232 |
-
|
233 |
-
|
234 |
-
/*! This convenience metafunction is included for compatibility with
|
235 |
-
* \p tuple. It returns \c 2, the number of elements of a \p pair,
|
236 |
-
* in its nested data member, \c value.
|
237 |
-
*
|
238 |
-
* \tparam Pair A \c pair type of interest.
|
239 |
-
*/
|
240 |
-
template<typename Pair> struct tuple_size;
|
241 |
-
|
242 |
-
|
243 |
-
/*! This convenience function returns a reference to either the first or
|
244 |
-
* second member of a \p pair.
|
245 |
-
*
|
246 |
-
* \param p The \p pair of interest.
|
247 |
-
* \return \c p.first or \c p.second, depending on the template
|
248 |
-
* parameter.
|
249 |
-
*
|
250 |
-
* \tparam N This parameter selects the member of interest.
|
251 |
-
*/
|
252 |
-
// XXX comment out these prototypes as a WAR to a problem on MSVC 2005
|
253 |
-
//template<unsigned int N, typename T1, typename T2>
|
254 |
-
// inline __host__ __device__
|
255 |
-
// typename tuple_element<N, pair<T1,T2> >::type &
|
256 |
-
// get(pair<T1,T2> &p);
|
257 |
-
|
258 |
-
|
259 |
-
/*! This convenience function returns a const reference to either the
|
260 |
-
* first or second member of a \p pair.
|
261 |
-
*
|
262 |
-
* \param p The \p pair of interest.
|
263 |
-
* \return \c p.first or \c p.second, depending on the template
|
264 |
-
* parameter.
|
265 |
-
*
|
266 |
-
* \tparam i This parameter selects the member of interest.
|
267 |
-
*/
|
268 |
-
// XXX comment out these prototypes as a WAR to a problem on MSVC 2005
|
269 |
-
//template<int N, typename T1, typename T2>
|
270 |
-
// inline __host__ __device__
|
271 |
-
// const typename tuple_element<N, pair<T1,T2> >::type &
|
272 |
-
// get(const pair<T1,T2> &p);
|
273 |
-
|
274 |
-
/*! \} // pair
|
275 |
-
*/
|
276 |
-
|
277 |
-
/*! \} // utility
|
278 |
-
*/
|
279 |
-
|
280 |
-
} // end thrust
|
281 |
-
|
282 |
-
#include <thrust/detail/pair.inl>
|
283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/LIVE/thrust/thrust/system/omp/detail/mismatch.h
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Copyright 2008-2013 NVIDIA Corporation
|
3 |
-
*
|
4 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
* you may not use this file except in compliance with the License.
|
6 |
-
* You may obtain a copy of the License at
|
7 |
-
*
|
8 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
*
|
10 |
-
* Unless required by applicable law or agreed to in writing, software
|
11 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
* See the License for the specific language governing permissions and
|
14 |
-
* limitations under the License.
|
15 |
-
*/
|
16 |
-
|
17 |
-
#pragma once
|
18 |
-
|
19 |
-
#include <thrust/detail/config.h>
|
20 |
-
|
21 |
-
// this system inherits mismatch
|
22 |
-
#include <thrust/system/cpp/detail/mismatch.h>
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|