Commit
·
c2d5f7e
1
Parent(s):
6ea2723
Update parquet files (step 12 of 397)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Anytone At 5555 V3 Software 14.md +0 -108
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/AutoCAD 2010 xforce keygen 32 bit Free download links and reviews for AutoCAD 2010 keygen.md +0 -171
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Ayitha Ezhuthu movie full movie in tamil hd 1080p A masterpiece by Mani Ratnam.md +0 -101
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Bruno Mars Unorthodox Jukebox Rar 4shared..md +0 -15
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Caterpillar Software Keygen Maker Generate Factory Passwords for CAT ECM Programming[2].md +0 -124
- spaces/1gistliPinn/ChatGPT4/Examples/Clone Drone In The Danger Zone V0.12.1.21 Crack Free.md +0 -10
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Blue Dream MP3 by Jhen Aiko - Listen and Download from Souled Out (Deluxe).md +0 -106
- spaces/1phancelerku/anime-remove-background/Ball Brick Breaker Game A Free and Easy to Play Brick Breaking Game for Everyone!.md +0 -90
- spaces/1phancelerku/anime-remove-background/Black Adam English Subtitles How to Download and Enjoy the Epic Movie.md +0 -218
- spaces/1phancelerku/anime-remove-background/Challenge Opponents from Around the World in F1 Mobile Racing 2021 The Best F1 Multiplayer Game.md +0 -114
- spaces/1phancelerku/anime-remove-background/Enjoy Instagram with No Ads No Seen and More - Download Instagram MOD APK (286.0.0.20.69) for Android.md +0 -91
- spaces/1phancelerku/anime-remove-background/Enjoy the Ultimate Soccer Experience with FIFA APK Day.md +0 -125
- spaces/801artistry/RVC801/tools/app.py +0 -148
- spaces/A00001/bingothoo/src/pages/api/blob.ts +0 -40
- spaces/AI-Hobbyist/Hoyo-RVC/infer/train-index -v2.py +0 -44
- spaces/AI-ZTH-03-23/8.Datasets-NER-Biomed-ClinicalTerms/app.py +0 -268
- spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/optimizers/__init__.py +0 -2
- spaces/AIGText/GlyphControl/ldm/modules/diffusionmodules/openaimodel.py +0 -790
- spaces/AIZero2HeroBootcamp/ExperimentalChatGPTv1/app.py +0 -442
- spaces/Aabdelhamidaz/animals/README.md +0 -13
- spaces/Abhilashvj/planogram-compliance/README.md +0 -166
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/spinner/clock/Clock.js +0 -67
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/spinner/los/Los.d.ts +0 -2
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/pan/Factory.d.ts +0 -7
- spaces/AkitoP/umamusume_bert_vits2/monotonic_align/core.py +0 -46
- spaces/AkshayKollimarala/MygenAI/app.py +0 -34
- spaces/Aloento/9Nine-PITS/text/frontend/zh_normalization/chronology.py +0 -134
- spaces/AnTo2209/3D_Zeroshot_Neural_Style_Transfer/src/dataset/blender_dataset.py +0 -164
- spaces/Andy1621/uniformer_image_detection/configs/lvis/mask_rcnn_x101_64x4d_fpn_sample1e-3_mstrain_1x_lvis_v1.py +0 -13
- spaces/Andy1621/uniformer_image_detection/configs/retinanet/retinanet_r50_fpn_1x_coco.py +0 -7
- spaces/Andy1621/uniformer_image_segmentation/configs/ccnet/ccnet_r101-d8_512x512_20k_voc12aug.py +0 -2
- spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101b-d8_769x769_80k_cityscapes.py +0 -4
- spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmseg/datasets/custom.py +0 -400
- spaces/Artrajz/vits-simple-api/bert_vits2/text/__init__.py +0 -17
- spaces/Artrajz/vits-simple-api/vits/mel_processing.py +0 -101
- spaces/Artrajz/vits-simple-api/vits/text/shanghainese.py +0 -80
- spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/idna/idnadata.py +0 -2151
- spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/resolvelib/providers.py +0 -133
- spaces/Audio-AGI/AudioSep/models/CLAP/training/lp_main.py +0 -670
- spaces/Awiny/Image2Paragraph/models/grit_src/grit/data/custom_dataset_dataloader.py +0 -250
- spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/.github/CODE_OF_CONDUCT.md +0 -5
- spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md +0 -79
- spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py +0 -75
- spaces/Benson/text-generation/Examples/Descargar Apk Hroe De La Cuerda Mod.md +0 -72
- spaces/Benson/text-generation/Examples/Descargar Gratis Juegos De Matemticas Para El Grado 2.md +0 -55
- spaces/Brasd99/SquadDetective/app.py +0 -159
- spaces/CVPR/LIVE/thrust/thrust/system/cuda/detail/dispatch.h +0 -78
- spaces/CVPR/LIVE/thrust/thrust/system/detail/adl/per_device_resource.h +0 -41
- spaces/CVPR/lama-example/fetch_data/places_standard_test_val_gen_masks.sh +0 -13
- spaces/CVPR/regionclip-demo/detectron2/engine/train_loop.py +0 -408
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Anytone At 5555 V3 Software 14.md
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Anytone At 5555 V3 Software 14: A Review</h1>
|
3 |
-
<h2>Introduction</h2>
|
4 |
-
<p>If you are looking for a reliable and versatile software for your Anytone AT-5555 PLUS 10M mobile transceiver, you might want to check out the Anytone At 5555 V3 Software 14. This software is the latest official release from Anytone, a leading manufacturer of radios and accessories. In this article, we will review the features, benefits, and installation process of this software, and answer some frequently asked questions about it.</p>
|
5 |
-
<h2>Anytone At 5555 V3 Software 14</h2><br /><p><b><b>Download File</b> <a href="https://byltly.com/2uKvRo">https://byltly.com/2uKvRo</a></b></p><br /><br />
|
6 |
-
<h3>What is Anytone At 5555 V3 Software 14?</h3>
|
7 |
-
<p>Anytone At 5555 V3 Software 14 is a software that allows you to program and control your Anytone AT-5555 PLUS radio. It is designed for Windows operating systems, but it can also be used on Mac OSX and Linux with a virtual machine. The software enables you to access all the features and options of your radio, such as 2TONE, 5TONE, MSK, and more. It also supports CHIRP programming software, which is a free and open-source tool that allows you to easily copy and paste frequencies, import files from other radios, and edit channels.</p>
|
8 |
-
<h3>Why do you need Anytone At 5555 V3 Software 14?</h3>
|
9 |
-
<p>You need Anytone At 5555 V3 Software 14 if you want to get the most out of your Anytone AT-5555 PLUS radio. This software will help you to customize your radio settings according to your preferences and needs. It will also help you to update your radio firmware to the latest version, which can improve the performance and stability of your device. Moreover, it will allow you to use CHIRP programming software, which can make your frequency programming and editing much easier and faster.</p>
|
10 |
-
<h3>How to download and install Anytone At 5555 V3 Software 14?</h3>
|
11 |
-
<p>To download and install Anytone At 5555 V3 Software 14, you need to follow these steps:</p>
|
12 |
-
<ol>
|
13 |
-
<li>Go to <a href="https://www.anytone.net/download">https://www.anytone.net/download</a> and find the zip file for D878UV PLUS V3.02N official release.</li>
|
14 |
-
<li>Download the zip file and extract it to a folder on your computer.</li>
|
15 |
-
<li>Connect your Anytone AT-5555 PLUS radio to your computer with a USB cable.</li>
|
16 |
-
<li>Run the setup.exe file in the folder and follow the instructions on the screen.</li>
|
17 |
-
<li>When the installation is complete, launch the software and enjoy.</li>
|
18 |
-
</ol>
|
19 |
-
<h2>Features of Anytone At 5555 V3 Software 14</h2>
|
20 |
-
<h3>RX noise reduction option</h3>
|
21 |
-
<p>One of the features of Anytone At 5555 V3 Software 14 is the RX noise reduction option. This option allows you to reduce the background noise in your radio reception by using an extra PCB inside the radio. This can enhance the clarity and quality of your communication, especially in noisy environments.</p>
|
22 |
-
<h3>Access to all features and options such as 2TONE, 5TONE, MSK, and more</h3>
|
23 |
-
<p>Another feature of Anytone At 5555 V3 Software 14 is that it gives you access to all the features and options of your radio, such as 2TONE, 5TONE, MSK, and more. These are different modes of signaling that can be used for various purposes, such as selective calling, group calling, emergency calling, etc. You can use these modes to communicate with other radios that support them.</p>
|
24 |
-
<h3>Compatibility with CHIRP programming software</h3>
|
25 |
-
<p>A third feature of Anytone At 5555 V3 Software 14 is that it is compatible with CHIRP programming software. CHIRP is a free and open-source software that allows you to program your radio with ease. You can use CHIRP to copy and paste frequencies from other sources, import files from other radios, edit channels with a spreadsheet-like interface, etc. You can also use CHIRP on Windows, Mac OSX, or Linux operating systems.</p>
|
26 |
-
<h2>Benefits of Anytone At 5555 V3 Software 14</h2>
|
27 |
-
<h3>Improved performance and stability of your radio</h3>
|
28 |
-
<p>One of the benefits of using Anytone At 5555 V3 Software 14 is that it can improve the performance and stability of your radio. By updating your radio firmware to the latest version, you can fix some bugs and glitches that might affect your device. You can also optimize your radio settings to suit your needs and preferences.</p>
|
29 |
-
<h3>Easier frequency programming and editing</h3>
|
30 |
-
<h2>Benefits of Anytone At 5555 V3 Software 14</h2>
|
31 |
-
<h3>Improved performance and stability of your radio</h3>
|
32 |
-
<p>One of the benefits of using Anytone At 5555 V3 Software 14 is that it can improve the performance and stability of your radio. By updating your radio firmware to the latest version, you can fix some bugs and glitches that might affect your device. You can also optimize your radio settings to suit your needs and preferences.</p>
|
33 |
-
<h3>Easier frequency programming and editing</h3>
|
34 |
-
<p>Another benefit of using Anytone At 5555 V3 Software 14 is that it makes your frequency programming and editing easier and faster. You can use the software to access all the features and options of your radio, such as 2TONE, 5TONE, MSK, and more. You can also use CHIRP programming software, which is a free and open-source tool that allows you to copy and paste frequencies from other sources, import files from other radios, edit channels with a spreadsheet-like interface, etc.</p>
|
35 |
-
<p>How to update Anytone At 5555 V3 Software 14<br />
|
36 |
-
Anytone At 5555 V3 Software 14 download link<br />
|
37 |
-
Anytone At 5555 V3 Software 14 user manual<br />
|
38 |
-
Anytone At 5555 V3 Software 14 review and rating<br />
|
39 |
-
Anytone At 5555 V3 Software 14 troubleshooting guide<br />
|
40 |
-
Anytone At 5555 V3 Software 14 compatible devices<br />
|
41 |
-
Anytone At 5555 V3 Software 14 features and specifications<br />
|
42 |
-
Anytone At 5555 V3 Software 14 installation instructions<br />
|
43 |
-
Anytone At 5555 V3 Software 14 warranty and support<br />
|
44 |
-
Anytone At 5555 V3 Software 14 price and availability<br />
|
45 |
-
Anytone At 5555 V3 Software 14 vs other software versions<br />
|
46 |
-
Anytone At 5555 V3 Software 14 best practices and tips<br />
|
47 |
-
Anytone At 5555 V3 Software 14 feedback and testimonials<br />
|
48 |
-
Anytone At 5555 V3 Software 14 pros and cons<br />
|
49 |
-
Anytone At 5555 V3 Software 14 alternatives and comparisons<br />
|
50 |
-
Anytone At 5555 V3 Software 14 benefits and advantages<br />
|
51 |
-
Anytone At 5555 V3 Software 14 drawbacks and limitations<br />
|
52 |
-
Anytone At 5555 V3 Software 14 FAQs and answers<br />
|
53 |
-
Anytone At 5555 V3 Software 14 tutorials and videos<br />
|
54 |
-
Anytone At 5555 V3 Software 14 updates and changelog<br />
|
55 |
-
Anytone At 5555 V3 Software 14 bugs and fixes<br />
|
56 |
-
Anytone At 5555 V3 Software 14 requirements and compatibility<br />
|
57 |
-
Anytone At 5555 V3 Software 14 performance and reliability<br />
|
58 |
-
Anytone At 5555 V3 Software 14 customization and settings<br />
|
59 |
-
Anytone At 5555 V3 Software 14 security and privacy<br />
|
60 |
-
How to uninstall Anytone At 5555 V3 Software 14<br />
|
61 |
-
How to backup and restore Anytone At 5555 V3 Software 14<br />
|
62 |
-
How to reset and factory default Anytone At 5555 V3 Software 14<br />
|
63 |
-
How to connect and sync Anytone At 5555 V3 Software 14 with other devices<br />
|
64 |
-
How to optimize and improve Anytone At 5555 V3 Software 14 functionality<br />
|
65 |
-
How to troubleshoot and fix common issues with Anytone At <br />
|
66 |
-
How to troubleshoot and fix common issues with Anytone At </p>
|
67 |
-
<h3>Support for Windows, Mac OSX, and Linux operating systems</h3>
|
68 |
-
<p>A third benefit of using Anytone At 5555 V3 Software 14 is that it supports Windows, Mac OSX, and Linux operating systems. You can use the software on your preferred operating system without any hassle. If you are using Mac OSX or Linux, you can use a virtual machine to run the software. This way, you can enjoy the same functionality and compatibility as Windows users.</p>
|
69 |
-
<h2>Conclusion</h2>
|
70 |
-
<h3>Summary of the main points</h3>
|
71 |
-
<p>In conclusion, Anytone At 5555 V3 Software 14 is a reliable and versatile software for your Anytone AT-5555 PLUS 10M mobile transceiver. It allows you to program and control your radio with ease. It has features such as RX noise reduction option, access to all features and options such as 2TONE, 5TONE, MSK, and more, and compatibility with CHIRP programming software. It also has benefits such as improved performance and stability of your radio, easier frequency programming and editing, and support for Windows, Mac OSX, and Linux operating systems.</p>
|
72 |
-
<h3>Call to action</h3>
|
73 |
-
<p>If you are interested in getting Anytone At 5555 V3 Software 14 for your radio, you can download it from <a href="https://www.anytone.net/download">https://www.anytone.net/download</a>. You can also find more information about Anytone products and services on their website. If you have any questions or feedback about the software or the radio, you can contact Anytone customer support or join their online community. Don't miss this opportunity to upgrade your radio with Anytone At 5555 V3 Software 14.</p>
|
74 |
-
<h2>FAQs</h2>
|
75 |
-
<h4>What is the difference between Anytone At 5555 V3 Software 14 and Anytone At 5555N II?</h4>
|
76 |
-
<p>Anytone At 5555 V3 Software 14 is the latest official release for Anytone AT-5555 PLUS radio. Anytone At 5555N II is an upgraded version of Anytone AT-5555N radio. They are different models of radios with different features and specifications.</p>
|
77 |
-
<h4>How much does Anytone At 5555 V3 Software 14 cost?</h4>
|
78 |
-
<p>Anytone At 5555 V3 Software 14 is free to download from <a href="https://www.anytone.net/download">https://www.anytone.net/download</a>. You only need to pay for the Anytone AT-5555 PLUS radio itself.</p>
|
79 |
-
<h4>How do I use CHIRP programming software with Anytone At 5555 V3 Software 14?</h4>
|
80 |
-
<h4>How do I use CHIRP programming software with Anytone At 5555 V3 Software 14?</h4>
|
81 |
-
<p>To use CHIRP programming software with Anytone At 5555 V3 Software 14, you need to follow these steps:</p>
|
82 |
-
<ol>
|
83 |
-
<li>Download and install CHIRP programming software from <a href="https://chirp.danplanet.com/">https://chirp.danplanet.com/</a>.</li>
|
84 |
-
<li>Connect your Anytone AT-5555 PLUS radio to your computer with a USB cable.</li>
|
85 |
-
<li>Launch CHIRP and select your radio model and port from the menu.</li>
|
86 |
-
<li>Click on Radio > Download From Radio to read the current settings from your radio.</li>
|
87 |
-
<li>Edit the channels and settings as you wish using the spreadsheet-like interface.</li>
|
88 |
-
<li>Click on Radio > Upload To Radio to write the new settings to your radio.</li>
|
89 |
-
</ol>
|
90 |
-
<h4>What are some of the reviews of Anytone At 5555 V3 Software 14?</h4>
|
91 |
-
<p>Some of the reviews of Anytone At 5555 V3 Software 14 are:</p>
|
92 |
-
<ul>
|
93 |
-
<li>"Great little radio ( Little in comparison to my Yaesu FTDX 101MP). This radio is more of size comparison to the RCI 2950 DX, Radio works great and covers all three bands 10 meters, 11 meters and the 12 meter ham bands. Other operators say I sound excellent on the air and it is quite easy to use and has the CTCSS (PL) encoder/Decoder as well for repeater access, also has Only six memories, why ONLY six is beyond me! I am sure there literally hundreds of usable repeaters on the FM portion of the Ham band. I had it in my car for a short time but found it is a bit large for my little car ( A ford ecosport). I took it out and put my Yaesu FT891 back in. I miss the other ham band capabilities." - KelliePicklerFan on Amazon.com</li>
|
94 |
-
<li>"Radio is good, same board as the stryker 955 v2, it does have a overly sensitive receiver that could be a problem if you live in a noisy area." - Mark P. on Amazon.com</li>
|
95 |
-
<li>"This rig is terrific for the price. As others have noted, it uses the same new board as the newest generation of the Stryker 955, a fabulous radio. It's like getting the performance of the Stryker for just a bit more than half price. Transmit audio is excellent on all modes just using the stock mic. The radio is rock stable on sideband. There is no drifting. Mine arrived spot on frequency from the factory. The receiver is excellent also, very smooth sounding on all modes. My only complaint is the use of a RJ-45 jack for the mic. Anytone cheaped out on that. Yes, I know that many ham rigs use them. I have many and hate it on those rigs as well. They are cheap and the mic connectors break easily. Anytone had plenty of room to fit a standard 4 or 6 pin jack, making it easier to wire up amplified mics. Aside from that one issue, which can be remedied with an adapter, this is THE rig to get for the mobile or a nice base setup with a power supply. Great job Anytone." - Mike on Amazon.com</li>
|
96 |
-
</ul>
|
97 |
-
<h4>What are some of the alternatives to Anytone At 5555 V3 Software 14?</h4>
|
98 |
-
<p>Some of the alternatives to Anytone At 5555 V3 Software 14 are:</p>
|
99 |
-
<ul>
|
100 |
-
<li>Stryker SR-955HPC Software: This software is for Stryker SR-955HPC radio, which is similar to Anytone AT-5555 PLUS radio in features and specifications. It also supports CHIRP programming software.</li>
|
101 |
-
<li>President Lincoln II+ Software: This software is for President Lincoln II+ radio, which is another popular 10M mobile transceiver with similar features and specifications as Anytone AT-5555 PLUS radio.</li>
|
102 |
-
<li>Ranger RCI-2950DX Software: This software is for Ranger RCI-2950DX radio, which is another multi-mode rig that covers 10M, 11M, and 12M bands with similar features and specifications as Anytone AT-5555 PLUS radio.</li>
|
103 |
-
</ul>
|
104 |
-
<h4>Where can I buy Anytone AT-5555 PLUS radio?</h4>
|
105 |
-
<p>You can buy Anytone AT-5555 PLUS radio from various online platforms such as Amazon.com, eBay.com, Moonrakeronline.com, etc. You can also find local dealers or distributors of Anytone products in your area by visiting <a href="https://www.anytone.net/contact">https://www.anytone.net/contact</a>.</p>
|
106 |
-
</p> 0a6ba089eb<br />
|
107 |
-
<br />
|
108 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/AutoCAD 2010 xforce keygen 32 bit Free download links and reviews for AutoCAD 2010 keygen.md
DELETED
@@ -1,171 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Anno 1602 No CD Crack Download German</h1>
|
3 |
-
<p>If you are a fan of strategy games, you might have heard of <strong>Anno 1602</strong>, a classic game that lets you build your own colony in the New World. However, if you want to play this game on your PC without having to insert the CD every time, you might need a <strong>no CD crack</strong>. In this article, we will show you what a no CD crack is, why you might need it, how to use it, and where to find it. We will also give you some tips and tricks for playing Anno 1602 with a no CD crack without any problems.</p>
|
4 |
-
<h2>What is Anno 1602?</h2>
|
5 |
-
<p>Anno 1602 is a real-time strategy game that was released in 1998 by Sunflowers Interactive Entertainment Software. The game is set in the 17th century, when European explorers and settlers were discovering and colonizing new lands in America. The game allows you to create your own civilization by managing resources, building structures, trading with other nations, and engaging in warfare. The game features a single-player campaign mode, a sandbox mode, and a multiplayer mode. The game is also known as <em>1602 A.D.</em> in North America and <em>Anno: Create a New World</em> on Nintendo DS.</p>
|
6 |
-
<h2>anno 1602 no cd crack download german</h2><br /><p><b><b>Download Zip</b> > <a href="https://byltly.com/2uKz5g">https://byltly.com/2uKz5g</a></b></p><br /><br />
|
7 |
-
<h3>Why do you need a no CD crack?</h3>
|
8 |
-
<p>A no CD crack is a modified version of the game's executable file that allows you to run the game without having to insert the original CD in your drive. This can be useful for several reasons:</p>
|
9 |
-
<ul>
|
10 |
-
<li>You don't have to worry about losing or damaging your CD.</li>
|
11 |
-
<li>You can save space on your hard drive by deleting or compressing the game files.</li>
|
12 |
-
<li>You can avoid potential errors or bugs caused by faulty or incompatible CD drivers.</li>
|
13 |
-
<li>You can play the game faster and smoother by reducing loading times.</li>
|
14 |
-
</ul>
|
15 |
-
<p>However, there are also some drawbacks of using a no CD crack:</p>
|
16 |
-
<p>anno 1602 no cd patch german<br />
|
17 |
-
anno 1602 gold edition no cd crack german<br />
|
18 |
-
anno 1602 free download full version german<br />
|
19 |
-
anno 1602 ohne cd spielen german<br />
|
20 |
-
anno 1602 crack deutsch download<br />
|
21 |
-
anno 1602 windows 10 no cd crack german<br />
|
22 |
-
anno 1602 gog download german<br />
|
23 |
-
anno 1602 megagames no cd crack german<br />
|
24 |
-
anno 1602 v1.0 gold edition eng no cd crack<br />
|
25 |
-
anno 1602 v1.05 no cd crack german<br />
|
26 |
-
anno 1602 kaiserliche edition no cd crack german<br />
|
27 |
-
anno 1602 creation of a new world no cd crack german<br />
|
28 |
-
anno 1602 vollversion kostenlos downloaden deutsch<br />
|
29 |
-
anno 1602 auf windows 10 installieren ohne cd<br />
|
30 |
-
anno 1602 gog patch deutsch<br />
|
31 |
-
anno 1602 gogunlocked free download german<br />
|
32 |
-
anno 1602 system requirements windows 10 german<br />
|
33 |
-
anno 1602 cheats codes pc german<br />
|
34 |
-
anno 1602 tipps und tricks deutsch<br />
|
35 |
-
anno 1602 multiplayer lan ohne cd german<br />
|
36 |
-
anno 1602 soundtrack download mp3 german<br />
|
37 |
-
anno 1602 mods installieren deutsch<br />
|
38 |
-
anno 1602 editor tutorial deutsch<br />
|
39 |
-
anno 1602 komplettlösung pdf german<br />
|
40 |
-
anno 1602 handbuch download deutsch<br />
|
41 |
-
anno 1602 testbericht pc games german<br />
|
42 |
-
anno 1602 online spielen kostenlos deutsch<br />
|
43 |
-
anno 1602 steam key kaufen german<br />
|
44 |
-
anno 1602 amazon.de bestellen german<br />
|
45 |
-
anno 1602 ebay kleinanzeigen verkaufen german<br />
|
46 |
-
anno 1602 forum diskussionen deutsch<br />
|
47 |
-
anno 1602 wiki informationen deutsch<br />
|
48 |
-
anno 1602 youtube gameplay videos german<br />
|
49 |
-
anno 1602 twitch livestreams anschauen german<br />
|
50 |
-
anno 1602 reddit community beitreten german<br />
|
51 |
-
anno 1602 facebook fanseite folgen german<br />
|
52 |
-
anno 1602 twitter news updates erhalten german<br />
|
53 |
-
anno 1602 instagram bilder teilen german<br />
|
54 |
-
anno 1602 pinterest ideen sammeln german<br />
|
55 |
-
anno 1602 tiktok clips ansehen german<br />
|
56 |
-
anno 1602 discord server beitreten german<br />
|
57 |
-
anno 1602 wikipedia artikel lesen deutsch<br />
|
58 |
-
anno 1602 imdb bewertung abgeben german<br />
|
59 |
-
anno 1602 metacritic kritiken lesen german<br />
|
60 |
-
anno 1602 gamestar review lesen deutsch<br />
|
61 |
-
anno 1602 spieletipps.de ratgeber lesen deutsch<br />
|
62 |
-
anno 1602 chip.de download anleitung lesen deutsch<br />
|
63 |
-
anno 1602 computerbild.de download anleitung lesen deutsch</p>
|
64 |
-
<ul>
|
65 |
-
<li>You might violate the game's license agreement or copyright laws by using an unauthorized copy.</li>
|
66 |
-
<li>You might expose your PC to viruses or malware by downloading files from untrusted sources.</li>
|
67 |
-
<li>You might encounter compatibility or stability issues with your game or system by using an outdated or incompatible crack.</li>
|
68 |
-
<li>You might miss out on some features or updates that require the original CD.</li>
|
69 |
-
</ul>
|
70 |
-
<h4>How to use a no CD crack for Anno 1602?</h4>
|
71 |
-
<p>Using a no CD crack for Anno 1602 is not very difficult, but you need to follow some steps carefully:</p>
|
72 |
-
<ol>
|
73 |
-
<li>Make sure you have installed the game on your PC from the original CD.</li>
|
74 |
-
<li>Make sure you have backed up your game files before applying any changes.</li>
|
75 |
-
<li>Download a no CD crack file from a reliable and safe source (we will provide some suggestions later).</li>
|
76 |
-
<li>Extract the file (usually a .zip or .rar archive) using a program like WinRAR or 7-Zip.</li>
|
77 |
-
<li>Copy the extracted file (usually a .exe file) and paste it into your game directory (usually C:\Program Files\Anno 1602 or C:\Program Files (x86)\Anno 1602).</li>
|
78 |
-
<li>Replace the existing file when prompted (you might need administrator privileges).</li>
|
79 |
-
<li>Run the game as usual from your desktop shortcut or start menu.</li>
|
80 |
-
</ol>
|
81 |
-
<h2>Where to find a no CD crack for Anno 1602?</h2>
|
82 |
-
<p>There are many websites that offer no CD cracks for various games, but not all of them are trustworthy or safe. Some of them might contain viruses, malware, spyware, adware, or other unwanted programs that can harm your PC or steal your personal information. Therefore, you should always be careful when downloading files from unknown sources and scan them with an antivirus program before opening them. Here are some of the most reliable and safe sources for downloading a no CD crack for Anno 1602:</p>
|
83 |
-
<h3>MegaGames</h3>
|
84 |
-
<p>MegaGames is one of the oldest and most popular websites for downloading game fixes, patches, trainers, mods, cheats, and cracks. It has a large database of games and files that are updated regularly. It also has a user-friendly interface and a rating system that helps you find the best files for your needs. You can download a no CD crack for Anno 1602 from MegaGames here:</p>
|
85 |
-
<a href="https://megagames.com/fixes/anno-1602-3">https://megagames.com/fixes/anno-1602-3</a>
|
86 |
-
<h4>Pros and cons of MegaGames</h4>
|
87 |
-
<p>MegaGames has many advantages over other websites:</p>
|
88 |
-
<ul>
|
89 |
-
<li>It has a high reputation and credibility among gamers and developers.</li>
|
90 |
-
<li>It has a large collection of games and files that are tested and verified.</li>
|
91 |
-
<li>It has a fast and secure download system that does not require registration or payment.</li>
|
92 |
-
<li>It has an active community and forum where you can get help or feedback.</li>
|
93 |
-
</ul>
|
94 |
-
<p>However, MegaGames also has some disadvantages:</p>
|
95 |
-
<ul>
|
96 |
-
<li>It has some annoying ads and pop-ups that might interfere with your browsing experience.</li>
|
97 |
-
<li>It has some outdated or broken links that might lead you to dead ends or errors.</li>
|
98 |
-
<li>It has some files that might not work properly with your game or system version.</li>
|
99 |
-
</ul>
|
100 |
-
<h4>How to download and install MegaGames crack</h4>
|
101 |
-
<p>To download and install MegaGames crack for Anno 1602, follow these steps:</p>
|
102 |
-
<ol>
|
103 |
-
<li>Go to <a href="https://megagames.com/fixes/anno-1602-3">https://megagames.com/fixes/anno-1602-3</a>.</li>
|
104 |
-
<li>Click on "Download" under "Anno 1602 GER".</li>
|
105 |
-
<li>Select one of the available mirrors (preferably one with high speed).</li>
|
106 |
-
<li>Save the file (anno_ger.zip) on your PC.</li>
|
107 |
-
<li>Extract the file using WinRAR or 7-Zip.</li>
|
108 |
-
<li>Copy both files (crack.exe and anno.crk) into your game directory (C:\Program Files\Anno 1602 or C:\Program Files (x86)\Anno 1602).</li>
|
109 |
-
<li>Run crack.exe from DOS mode (you can use CMD or PowerShell).</li>
|
110 |
-
<li>Type "crack anno.crk" without quotes and press Enter.</li>
|
111 |
-
<li>The program will patch your game executable file (1602 .exe) and remove the CD/MOVIE and SOUND check.</li>
|
112 |
-
<li>Enjoy the game without the CD.</li>
|
113 |
-
</ol>
|
114 |
-
<h3>Other alternatives</h3>
|
115 |
-
<p>If you are not satisfied with MegaGames or you want to try some other options, here are some other websites that offer no CD cracks for Anno 1602:</p>
|
116 |
-
<h4>GameCopyWorld</h4>
|
117 |
-
<p>GameCopyWorld is another well-known website for downloading game fixes, patches, trainers, mods, cheats, and cracks. It has a similar database and interface as MegaGames, but it also offers some additional features such as game manuals, covers, wallpapers, and music. You can download a no CD crack for Anno 1602 from GameCopyWorld here:</p>
|
118 |
-
<a href="https://www.gamecopyworld.com/games/pc_anno_1602.shtml">https://www.gamecopyworld.com/games/pc_anno_1602.shtml</a>
|
119 |
-
<h4>GameBurnWorld</h4>
|
120 |
-
<p>GameBurnWorld is a smaller website that specializes in game fixes, patches, trainers, mods, cheats, and cracks. It has a more simple and minimalist design, but it also has a decent collection of games and files that are updated frequently. You can download a no CD crack for Anno 1602 from GameBurnWorld here:</p>
|
121 |
-
<a href="http://www.gameburnworld.com/gp/gamefixes/anno1602.shtml">http://www.gameburnworld.com/gp/gamefixes/anno1602.shtml</a>
|
122 |
-
<h2>Tips and tricks for playing Anno 1602 with a no CD crack</h2>
|
123 |
-
<p>Now that you have downloaded and installed a no CD crack for Anno 1602, you might want to know some tips and tricks for playing the game without any issues. Here are some of them:</p>
|
124 |
-
<h3>How to backup your game files</h3>
|
125 |
-
<p>Before applying any changes to your game files, such as using a no CD crack or installing a patch or mod, it is always recommended to backup your original files in case something goes wrong or you want to restore them later. To backup your game files, follow these steps:</p>
|
126 |
-
<ol>
|
127 |
-
<li>Create a new folder on your PC where you want to store your backup files.</li>
|
128 |
-
<li>Go to your game directory (C:\Program Files\Anno 1602 or C:\Program Files (x86)\Anno 1602) and select all the files and folders.</li>
|
129 |
-
<li>Copy them and paste them into your backup folder.</li>
|
130 |
-
<li>Rename your backup folder as you wish (for example, Anno 1602 Original).</li>
|
131 |
-
</ol>
|
132 |
-
<h3>How to run the game in compatibility mode</h3>
|
133 |
-
<p>Anno 1602 is an old game that was designed for Windows 95/98/ME. Therefore, it might not run properly on newer versions of Windows such as Windows 10. To fix any potential compatibility problems, you can try running the game in compatibility mode. To do so, follow these steps:</p>
|
134 |
-
<ol>
|
135 |
-
<li>Right-click on your game executable file (1602.exe) and select Properties.</li>
|
136 |
-
<li>Go to the Compatibility tab and check the box that says "Run this program in compatibility mode for:".</li>
|
137 |
-
<li>Select the version of Windows that you want to use (for example, Windows XP Service Pack 3).</li>
|
138 |
-
<li>Click Apply and OK.</li>
|
139 |
-
<li>Run the game as usual.</li>
|
140 |
-
</ol>
|
141 |
-
<h3>How to update your game to the latest version</h3>
|
142 |
-
<p>Anno 1602 has received several updates since its release that have improved its performance and added new features. However, some of these updates might require the original CD to work. To avoid this problem, you can use a no CD patch that updates your game to the latest version without needing the CD. To do so, follow these steps:</p>
|
143 |
-
<ol>
|
144 |
-
<li>Download a no CD patch for Anno 1602 from one of the sources mentioned above (for example, MegaGames).</li>
|
145 |
-
<li>Extract the file (usually a .zip or .rar archive) using WinRAR or 7-Zip.</li>
|
146 |
-
<li>Copy the extracted file (usually a .exe file) and paste it into your game directory (C:\Program Files\Anno 1602 or C:\Program Files (x86)\Anno 1602).</li>
|
147 |
-
<li>Replace the existing file when prompted (you might need administrator privileges).</li>
|
148 |
-
<li>Run the patch as usual from your desktop shortcut or start menu.</li>
|
149 |
-
<li>The patch will update your game to the latest version (usually v1.05) without needing the CD.</li>
|
150 |
-
</ol>
|
151 |
-
<h2>Conclusion</h2>
|
152 |
-
<p>Anno 1602 is a great game that deserves to be played by anyone who loves strategy games. However, if you don't want to deal with the hassle of inserting the CD every time you want to play it, you can use a no CD crack that allows you to run the game without it. In this article, we have shown you what a no CD crack is, why you might need it, how to use it, and where to find it. We have also given you some tips and tricks for playing Anno 1602 with a no CD crack without any issues. We hope you have found this article helpful and informative. Now go ahead and enjoy Anno 1602 without any limitations!</p>
|
153 |
-
<h3>Frequently Asked Questions</h3>
|
154 |
-
<p>Here are some of the most common questions that people ask about Anno 1602 and no CD cracks:</p>
|
155 |
-
<ol>
|
156 |
-
<li><strong>Is using a no CD crack illegal?</strong></li>
|
157 |
-
<p>The answer to this question depends on your local laws and regulations. Generally speaking, using a no CD crack is not illegal if you own a legitimate copy of the game and you use it for personal use only. However, distributing or sharing a no CD crack with others might be considered piracy or copyright infringement. Therefore, we advise you to use a no CD crack at your own risk and discretion.</p>
|
158 |
-
<li><strong>Will using a no CD crack affect my online gameplay?</strong></li>
|
159 |
-
<p>Possibly. Some online servers or platforms might detect that you are using a modified version of the game and ban you from playing online. Therefore, we recommend that you use a no CD crack only for offline or single-player mode. If you want to play online with other players, you should use the original CD or buy a digital copy of the game from an authorized source.</p>
|
160 |
-
<li><strong>Can I use mods or cheats with a no CD crack?</strong></li>
|
161 |
-
<p>Yes. A no CD crack does not prevent you from using mods or cheats with Anno 1602. However, some mods or cheats might require specific versions of the game or patches to work properly. Therefore, you should always check the compatibility and requirements of any mod or cheat before installing it on your PC.</p>
|
162 |
-
<li><strong>Where can I buy Anno 1602 online?</strong></li>
|
163 |
-
<p>If you don't have an original CD of Anno 1602 or you want to buy a digital copy of the game online, there are several options available. You can buy Anno 1602 from Amazon here: <a href="https://www.amazon.com/Anno-1602-PC/dp/B00004U8K1">https://www.amazon.com/Anno-1602-PC/dp/B00004U8K1</a>. You can also buy Anno 1602: History Edition from Ubisoft Store here: <a href="https://store.ubi.com/us/anno-1602-history-edition/5ec6f6f55cdf9a1528a85c9e.html">https://store.ubi.com/us/anno-1602-history-edition/5ec6f6f55cdf9a1528a85c9e.html</a>. The History Edition includes improved graphics and compatibility with modern systems.</p>
|
164 |
-
<li><strong>Are there any other games like Anno 1602?</strong></li>
|
165 |
-
<p>If you love Anno 1602 and you want to play more games like it, there are many options available. You can try other games in the Anno series such as Anno 1503, Anno 1701, Anno 1404, Anno 2070, Anno 2205, and Anno 1800. You can also try other strategy games such as Age of Empires, Civilization, Tropico, SimCity, and Cities: Skylines.</p>
|
166 |
-
<li><strong>How can I contact the developers of Anno 1602?</strong></li>
|
167 |
-
<p>If you have any questions, feedback, or issues regarding Anno 1602, you can try contacting the developers of the game. The original developer of Anno 1602 was Max Design, a German company that was founded in 1991 and closed in 2004. The current developer of the Anno series is Ubisoft Blue Byte, a German subsidiary of Ubisoft that was founded in 1988 and acquired by Ubisoft in 2001. You can contact Ubisoft Blue Byte through their official website here: <a href="https://bluebyte.ubisoft.com/en/">https://bluebyte.ubisoft.com/en/</a>.</p>
|
168 |
-
</ol>
|
169 |
-
</p> 0a6ba089eb<br />
|
170 |
-
<br />
|
171 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Ayitha Ezhuthu movie full movie in tamil hd 1080p A masterpiece by Mani Ratnam.md
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Ayitha Ezhuthu: A Political Thriller That Changed Tamil Cinema</h1>
|
3 |
-
<h2>Introduction</h2>
|
4 |
-
<p>Tamil cinema is known for its rich variety of genres, themes and styles. From romance to comedy, from action to drama, from fantasy to realism, Tamil movies have something for everyone. But one genre that has been relatively less explored in Tamil cinema is political thriller. Political thrillers are movies that deal with issues of power, corruption, justice and violence in the context of politics and society. They often feature complex plots, suspenseful twists, moral dilemmas and social commentary.</p>
|
5 |
-
<p>One of the most acclaimed and influential political thrillers in Tamil cinema is Ayitha Ezhuthu (2004), written and directed by Mani Ratnam. The movie is inspired by the Mexican film Amores Perros (2000), which tells three interconnected stories through a car accident. Ayitha Ezhuthu also uses a similar narrative device, but sets it in Chennai and focuses on three different men who are involved in a shooting incident on a bridge. The movie explores how their lives are changed by this event and how they are connected to each other and to the larger political scenario.</p>
|
6 |
-
<h2>Ayitha Ezhuthu movie full movie in tamil hd 1080p</h2><br /><p><b><b>DOWNLOAD</b> ✦ <a href="https://byltly.com/2uKzwk">https://byltly.com/2uKzwk</a></b></p><br /><br />
|
7 |
-
<h3>What is Ayitha Ezhuthu?</h3>
|
8 |
-
<p>Ayitha Ezhuthu is a Tamil word that means "three dots". It is also the name of a letter in the Tamil alphabet, ஃ, which is used as a diacritic mark to modify the sound of other letters. The title of the movie refers to the three main characters, who are represented by three different colors: red, blue and green. The movie also uses these colors to create a distinct visual style and mood for each story.</p>
|
9 |
-
<h3>Who are the main characters and actors?</h3>
|
10 |
-
<p>The three main characters of Ayitha Ezhuthu are:</p>
|
11 |
-
<ul>
|
12 |
-
<li>Michael Vasanth (played by Suriya), a charismatic student leader who wants to enter politics and fight against corruption. He is in love with Geetha (played by Esha Deol), his neighbor and childhood friend. He represents the color red, which symbolizes passion, courage and revolution.</li>
|
13 |
-
<li>Inba Sekar (played by Madhavan), a violent goon who works for Selvanayagam (played by Bharathiraja), a powerful politician who wants to eliminate his rivals. He is married to Sashi (played by Meera Jasmine), whom he abuses and neglects. He represents the color blue, which symbolizes violence, sadness and oppression.</li>
|
14 |
-
<li>Arjun Balakrishnan (played by Siddharth), a carefree and spoiled son of an IAS officer who wants to migrate to the US for a better future. He falls in love with Meera (played by Trisha Krishnan), a radio jockey who inspires him to change his outlook on life. He represents the color green, which symbolizes youth, hope and change.</li>
|
15 |
-
</ul>
|
16 |
-
<p>The movie also features other supporting actors such as Karthi, Suchitra, R.S. Shivaji, Sindhu Shyam, Sriman and T.S. Suresh.</p>
|
17 |
-
<h3>What is the plot of the movie?</h3>
|
18 |
-
<p>The plot of Ayitha Ezhuthu revolves around a shooting incident that takes place on Napier Bridge in Chennai. The incident involves Michael, Inba and Arjun, who are strangers to each other but whose lives are intertwined by fate. The movie follows their stories before and after the incident and shows how they are affected by it.</p>
|
19 |
-
<p>Ayitha Ezhuthu 2004 political action film download<br />
|
20 |
-
Watch Suriya Madhavan Siddharth in Ayitha Ezhuthu online<br />
|
21 |
-
Ayitha Ezhuthu Tamil movie inspired by Amores perros<br />
|
22 |
-
A.R. Rahman songs from Ayitha Ezhuthu mp3 free<br />
|
23 |
-
Ayitha Ezhuthu movie review and ratings by critics<br />
|
24 |
-
Ayitha Ezhuthu cast and crew details and trivia<br />
|
25 |
-
Ayitha Ezhuthu movie scenes and dialogues video<br />
|
26 |
-
How to watch Ayitha Ezhuthu movie with subtitles<br />
|
27 |
-
Ayitha Ezhuthu movie box office collection and budget<br />
|
28 |
-
Ayitha Ezhuthu movie awards and nominations list<br />
|
29 |
-
Ayitha Ezhuthu movie behind the scenes and making<br />
|
30 |
-
Ayitha Ezhuthu movie wallpapers and posters hd<br />
|
31 |
-
Ayitha Ezhuthu movie quotes and memes images<br />
|
32 |
-
Ayitha Ezhuthu movie fan art and cosplay ideas<br />
|
33 |
-
Ayitha Ezhuthu movie analysis and themes explained<br />
|
34 |
-
Ayitha Ezhuthu movie comparison with Yuva Hindi version<br />
|
35 |
-
Ayitha Ezhuthu movie shooting locations and facts<br />
|
36 |
-
Ayitha Ezhuthu movie trivia quiz and games online<br />
|
37 |
-
Ayitha Ezhuthu movie best performances and scenes ranking<br />
|
38 |
-
Ayitha Ezhuthu movie controversies and scandals news<br />
|
39 |
-
Ayitha Ezhuthu movie director Mani Ratnam interview video<br />
|
40 |
-
Ayitha Ezhuthu movie remake and sequel possibilities<br />
|
41 |
-
Ayitha Ezhuthu movie influence on Tamil cinema and politics<br />
|
42 |
-
Ayitha Ezhuthu movie merchandise and collectibles buy<br />
|
43 |
-
Ayitha Ezhuthu movie book adaptation and novelization pdf<br />
|
44 |
-
Ayitha Ezhuthu Tamil full movie watch on YouTube free<br />
|
45 |
-
Suriya Madhavan Siddharth chemistry in Ayitha Ezhuthu film<br />
|
46 |
-
Trisha Meera Jasmine Esha Deol roles in Ayitha Ezhuthu movie<br />
|
47 |
-
Bharathiraja as Selvanayagam in Ayitha Ezhuthu performance<br />
|
48 |
-
Ravi K. Chandran cinematography in Ayitha Ezhuthu film<br />
|
49 |
-
A. Sreekar Prasad editing in Ayitha Ezhuthu movie<br />
|
50 |
-
A.R. Rahman background score in Ayitha Ezhuthu film<br />
|
51 |
-
Vairamuthu lyrics for Ayitha Ezhuthu songs meaning<br />
|
52 |
-
Hey Goodbye Nanba song from Ayitha Ezhuthu video hd<br />
|
53 |
-
Sandai Kozhi song from Ayitha Ezhuthu mp3 download free<br />
|
54 |
-
Jana Gana Mana song from Ayitha Ezhuthu lyrics translation<br />
|
55 |
-
Nenjam Ellam song from Ayitha Ezhuthu karaoke version<br />
|
56 |
-
Dol Dol song from Ayitha Ezhuthu dance choreography video<br />
|
57 |
-
Yakkai Thiri song from Ayitha Ezhuthu remix dj mp3 free download <br />
|
58 |
-
Fana Fanah Ye Dil Hua Fanah song from Yuva Hindi version video hd</p>
|
59 |
-
<p>The movie begins with Inba shooting Michael on his bike, resulting in him falling off the bridge into the water below. This is witnessed by Arjun, who was chasing Meera after proposing to her on the road. The movie then goes into a flashback mode and shows how each character reached that point.</p>
|
60 |
-
<p>Michael is an influential student leader who wants to contest in college elections and challenge Selvanayagam's dominance in politics. He faces opposition from Inba, who is hired by Selvanayagam to intimidate him and his supporters. Michael also has to deal with his relationship with Geetha, who wants him to stay away from politics for his safety.</p>
|
61 |
-
<p>Inba is a ruthless goon who works for Selvanayagam as his hitman. He has no qualms about killing or hurting anyone for money or power. He has a troubled marriage with Sashi, whom he beats regularly and forces her to abort their child. He also has a rivalry with Guna (played by Karthi), his brother-in-law who works for another politician.</p>
|
62 |
-
<p>Arjun is a rich and spoiled brat who has no aim or ambition in life. He wants to go to the US for higher studies but fails to get admission due to his poor grades. He meets Meera at a pub and falls in love with her at first sight. He tries to woo her with his charm and money but she rejects him initially.</p>
|
63 |
-
<p>The movie then returns to the present day and shows how the shooting incident affects each character's life. Michael survives the fall but loses his memory temporarily. He recovers with Geetha's help but faces threats from Selvanayagam's men who want to finish him off. He decides to fight back and expose Selvanayagam's corruption.</p>
|
64 |
-
<p>Inba escapes from the scene but is chased by Guna's men who want revenge for killing their boss. He also faces pressure from Sashi who wants him to leave his criminal life and start afresh elsewhere. He realizes his mistakes but finds it hard to change his ways.</p>
|
65 |
-
<p>Arjun saves Meera from being hit by Inba's car during the chase. He takes her to his house where he confesses his love for her again. She accepts him after seeing his genuine concern for her. He also decides to stay back in India and join Michael's campaign against Selvanayagam.</p>
|
66 |
-
<p>The movie ends with a climax where Michael confronts Selvanayagam at his office while Inba tries to stop him from killing him. Arjun arrives with Meera and helps Michael escape from Inba's attack. Inba shoots at Michael but misses him and hits Selvanayagam instead, killing him instantly. Inba then surrenders himself to the police while Michael celebrates his victory with Geetha and Arjun celebrates his love with Meera.</p>
|
67 |
-
<h2>Analysis</h2>
|
68 |
-
<h3>How does the movie portray different aspects of politics and society?</h3>
|
69 |
-
<p>Ayitha Ezhuthu is a movie that explores various aspects of politics and society in contemporary India. It shows how politics affects different people from different backgrounds and how they react to it differently.</p>
|
70 |
-
<p>The movie portrays politics as a complex and corrupt system that is dominated by powerful people who use violence, money and influence to manipulate others for their own interests. It also shows how politics can be used as a tool for positive change if people have courage, integrity and vision.</p>
|
71 |
-
<p>The movie also depicts society as a diverse and dynamic entity that consists of different classes, cultures, ideologies and aspirations. It shows how society can be divided by conflicts, prejudices, inequalities and injustices but also united by common goals, values and hopes.</p>
|
72 |
-
<h3>How does the movie use the three dots motif to connect the stories?</h3>
|
73 |
-
<p>Ayitha Ezhuthu uses the three dots motif as a symbolic device to connect the stories of its three main characters. The three dots represent three different perspectives, personalities and paths that converge at one point: the shooting incident on Napier Bridge.</p>
|
74 |
-
<p>The three dots also represent three different choices that each character makes: Michael chooses to fight for justice; Inba chooses to surrender to fate; Arjun chooses to change for love.</p>
|
75 |
-
<p>The three dots also represent three different outcomes that each character faces: Michael succeeds in his mission; Inba fails in his ambition; Arjun finds his purpose.</p>
|
76 |
-
<h3> Here is the continuation of the article. <h3>How does the movie challenge the stereotypes and expectations of Tamil cinema?</h3>
|
77 |
-
<p>Ayitha Ezhuthu is a movie that challenges the stereotypes and expectations of Tamil cinema in many ways. It breaks away from the conventional formula of hero-centric, masala-oriented, melodramatic and escapist movies that are often seen in Tamil cinema. Instead, it offers a realistic, multi-layered, thought-provoking and engaging movie that deals with contemporary issues and themes.</p>
|
78 |
-
<p>The movie also challenges the stereotypes and expectations of the characters and actors. It shows the characters as complex and flawed human beings who have their own strengths and weaknesses, motivations and conflicts, choices and consequences. It also shows the actors in different and unconventional roles that showcase their versatility and talent.</p>
|
79 |
-
<p>For example, Suriya plays a role of a student leader who is not a typical hero who fights with his fists but with his words and ideas. Madhavan plays a role of a villain who is not a caricatured evil-doer but a conflicted and tragic character who has a backstory and a redemption arc. Siddharth plays a role of a lover boy who is not a cheesy romantic but a mature and responsible partner who supports his girlfriend's dreams.</p>
|
80 |
-
<h2>Reception</h2>
|
81 |
-
<h3>How did the critics and audience react to the movie?</h3>
|
82 |
-
<p>Ayitha Ezhuthu received mostly positive reviews from the critics and audience. The movie was praised for its screenplay, direction, performances, music, cinematography and editing. The movie was also appreciated for its bold and innovative approach to storytelling, its social relevance and its message.</p>
|
83 |
-
<p>The movie was also compared with its Hindi version, Yuva, which was released on the same day. Many critics and viewers felt that Ayitha Ezhuthu was superior to Yuva in terms of its authenticity, coherence, depth and impact. Some also felt that Ayitha Ezhuthu had better casting, acting and chemistry than Yuva.</p>
|
84 |
-
<p>However, the movie also faced some criticism from some quarters. Some critics and viewers felt that the movie was too slow-paced, too complex, too preachy or too unrealistic. Some also felt that the movie had some flaws in its logic, continuity and climax.</p>
|
85 |
-
<h3>What were the awards and accolades that the movie received?</h3>
|
86 |
-
<p>Ayitha Ezhuthu received several awards and accolades for its excellence in various aspects of filmmaking. The movie won one Filmfare Award South for Best Music Director (A.R. Rahman) and one Tamil Nadu State Film Award for Best Film (Second Prize). The movie was also nominated for six Filmfare Awards South for Best Film, Best Director (Mani Ratnam), Best Actor (Suriya), Best Supporting Actor (Madhavan), Best Supporting Actress (Meera Jasmine) and Best Lyricist (Vairamuthu).</p>
|
87 |
-
<p>The movie also received recognition from various other prestigious platforms such as National Film Awards, International Indian Film Academy Awards, Zee Cine Awards, Screen Awards, Stardust Awards and Vijay Awards.</p>
|
88 |
-
<h3>What was the impact of the movie on Tamil cinema and culture?</h3>
|
89 |
-
<p>Ayitha Ezhuthu had a significant impact on Tamil cinema and culture. The movie inspired many filmmakers to experiment with different genres, styles and techniques of storytelling. The movie also influenced many actors to take up challenging and diverse roles that showcase their range and potential.</p>
|
90 |
-
<p>The movie also had an impact on Tamil society and politics. The movie raised awareness about various issues such as corruption, violence, education, youth empowerment and social change. The movie also motivated many young people to participate in politics and activism.</p>
|
91 |
-
<h2>Conclusion</h2>
|
92 |
-
<h3>Summary of the main points</h3>
|
93 |
-
<p>In conclusion, Ayitha Ezhuthu is a political thriller that changed Tamil cinema by offering a realistic, multi-layered, thought-provoking and engaging movie that deals with contemporary issues and themes. The movie follows three different men who are involved in a shooting incident on a bridge and shows how their lives are changed by it. The movie explores various aspects of politics and society through their stories. The movie also challenges the stereotypes and expectations of Tamil cinema by breaking away from the conventional formula of hero-centric, masala-oriented, melodramatic and escapist movies. The movie received mostly positive reviews from the critics and audience for its screenplay, direction, performances, music, cinematography and editing. The movie also received several awards and accolades for its excellence in various aspects of filmmaking. The movie also had a significant impact on Tamil cinema and culture by inspiring many filmmakers and actors to experiment with different genres, styles and techniques of storytelling. The movie also influenced many young people to participate in politics and activism.</p>
|
94 |
-
<h3>Personal opinion and recommendation</h3>
|
95 |
-
<p>Personally, I think Ayitha Ezhuthu is one of the best movies ever made in Tamil cinema. I think it is a masterpiece that showcases Mani Ratnam's brilliance as a writer and director. I think it is a movie that has everything: drama, action, romance, comedy, suspense, thrill, emotion, message and entertainment. I think it is a movie that makes you think, feel and act.</p>
|
96 |
-
<p>I would highly recommend Ayitha Ezhuthu to anyone who loves movies. I think it is a movie that everyone should watch at least once in their lifetime. I think it is a movie that will stay with you forever.</p>
|
97 |
-
**FAQs** <code>
|
98 |
-
Q: Where can I watch Ayitha Ezhuthu online? A: You can watch Ayitha Ezhuthu online on platforms such as Amazon Prime Video or Hotstar. Q: Is Ayitha Ezhuthu based on a true story? A: No, Ayitha Ezhuthu is not based on a true story. It is inspired by the Mexican film Amores Perros (2000), which tells three interconnected stories through a car accident. Q: What is the meaning of Ayitha Ezhuthu? A: Ayitha Ezhuthu means "three dots" in Tamil. It is also the name of a letter in the Tamil alphabet, ஃ , which is used as a diacritic mark to modify the sound of other letters. Q: Who composed the music for Ayitha Ezhuthu? A: A.R. Rahman composed the music for Ayitha Ezhuthu. He won one Filmfare Award South for Best Music Director for his work. Q: What are some other movies like Ayitha Ezhuthu? A: Some other movies like Ayitha Ezhuthu are Yuva (2004), which is the Hindi version of Ayitha Ezhuthu; Vettaiyaadu Vilaiyaadu (2006), which is another political thriller by Mani Ratnam; Ko (2011), which is another political thriller featuring Suriya; Sarkar (2018), which is another political thriller featuring Vijay; Kaappaan (2019), which is another political thriller featuring Suriya. </code>
|
99 |
-
</p> 0a6ba089eb<br />
|
100 |
-
<br />
|
101 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Bruno Mars Unorthodox Jukebox Rar 4shared..md
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Download Bruno Mars' Unorthodox Jukebox Album for Free</h1>
|
3 |
-
<p>If you are a fan of Bruno Mars, you might want to download his second studio album, Unorthodox Jukebox, for free. This album was released in 2012 and features 15 tracks, including hit singles like "Locked Out of Heaven", "When I Was Your Man", and "Treasure". The album showcases Bruno Mars' diverse musical influences, ranging from pop, rock, funk, soul, reggae, and R&B.</p>
|
4 |
-
<p>One way to download Unorthodox Jukebox for free is to use the file-sharing website 4shared[^3^]. This website allows users to upload and download files of various types, such as music, videos, documents, and more. You can find a link to the album in rar format on 4shared[^3^], which means you will need a software like WinRAR or 7-Zip to extract the files after downloading.</p>
|
5 |
-
<h2>bruno mars unorthodox jukebox rar 4shared.</h2><br /><p><b><b>Download</b> 🌟 <a href="https://byltly.com/2uKwuV">https://byltly.com/2uKwuV</a></b></p><br /><br />
|
6 |
-
<p>Another way to download Unorthodox Jukebox for free is to use the Internet Archive[^1^]. This website is a non-profit digital library that preserves and provides access to millions of free books, movies, music, and more. You can find a link to the album in ogg vorbis format on the Internet Archive[^1^], which means you will need a software like VLC or Foobar2000 to play the files after downloading.</p>
|
7 |
-
<p>Before you download Unorthodox Jukebox for free, you might want to learn more about the album and its lyrics. You can visit Genius[^2^], a website that provides annotations and explanations for songs, albums, artists, and more. You can find a link to the album page on Genius[^2^], where you can read the lyrics, watch the music videos, and discover the meanings behind Bruno Mars' songs.</p>
|
8 |
-
<p>Unorthodox Jukebox is a great album that showcases Bruno Mars' talent and versatility as a singer, songwriter, and producer. If you want to download it for free, you can use 4shared[^3^], the Internet Archive[^1^], or other similar websites. However, if you want to support Bruno Mars and his music, you can also buy the album from official sources like iTunes, Amazon, or Spotify.</p>
|
9 |
-
|
10 |
-
<p>Unorthodox Jukebox has received mostly positive reviews from critics, who praised Bruno Mars' musical versatility, vocal performance, and songwriting skills. The album has a Metascore of 70 out of 100 on Metacritic[^1^], based on 16 reviews. Some critics compared Bruno Mars to Michael Jackson, Prince, and Sting, while others noted his influences from various genres and eras of music.</p>
|
11 |
-
<p>The album was also a commercial success, selling over six million copies worldwide and topping the charts in several countries. It was nominated for four Grammy Awards, including Album of the Year and Best Pop Vocal Album, and won one for Best Pop Solo Performance for "When I Was Your Man". The album spawned five singles, all of which reached the top 10 on the Billboard Hot 100 chart. "Locked Out of Heaven" and "When I Was Your Man" both reached number one, making Bruno Mars the first male artist to achieve two number-one singles from the same album since Justin Timberlake in 2006.</p>
|
12 |
-
<p>Unorthodox Jukebox is a testament to Bruno Mars' talent and ambition as an artist who can transcend genres and styles with ease and flair. It is an album that showcases his range as a singer, his skill as a songwriter, and his vision as a producer. It is an album that will make you dance, sing, cry, and fall in love with Bruno Mars all over again.</p>
|
13 |
-
<p></p> 7b8c122e87<br />
|
14 |
-
<br />
|
15 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Caterpillar Software Keygen Maker Generate Factory Passwords for CAT ECM Programming[2].md
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Caterpillar Software Keygen Maker: What You Need to Know</h1>
|
3 |
-
<p>If you are a Caterpillar equipment owner, technician or dealer, you may have heard of Caterpillar Software Keygen Maker. This is a software tool that can generate factory passwords for various functions and parameters in the Caterpillar Electronic Technician (ET) software. In this article, we will explain what Caterpillar Software Keygen Maker is, why you need it, how to use it, and where to get it.</p>
|
4 |
-
<h2>Caterpillar Software Keygen Maker</h2><br /><p><b><b>DOWNLOAD</b> »»» <a href="https://byltly.com/2uKxp1">https://byltly.com/2uKxp1</a></b></p><br /><br />
|
5 |
-
<h2>Introduction</h2>
|
6 |
-
<h3>What is Caterpillar Software Keygen Maker?</h3>
|
7 |
-
<p>Caterpillar Software Keygen Maker is a software tool that can generate factory passwords for the Caterpillar Electronic Technician (ET) software. Factory passwords are required in order to perform certain functions and change certain parameters in the Caterpillar ET software, such as:</p>
|
8 |
-
<ul>
|
9 |
-
<li>Change the system configuration parameters</li>
|
10 |
-
<li>Rerate the engine to another engine family</li>
|
11 |
-
<li>Read customer passwords</li>
|
12 |
-
<li>Clear certain diagnostic trouble codes</li>
|
13 |
-
<li>Unlock a customer specified parameter that is locked</li>
|
14 |
-
<li>Change certain customer specified parameters</li>
|
15 |
-
</ul>
|
16 |
-
<p>Caterpillar Software Keygen Maker can generate factory passwords based on the information displayed by the Caterpillar ET software, such as:</p>
|
17 |
-
<ul>
|
18 |
-
<li>ECM serial number</li>
|
19 |
-
<li>Reason code</li>
|
20 |
-
<li>Request code</li>
|
21 |
-
<li>Challenge code</li>
|
22 |
-
</ul>
|
23 |
-
<p>Caterpillar Software Keygen Maker can generate factory passwords for different versions of Caterpillar ET software, such as 2016A-B-2022A.</p>
|
24 |
-
<h3>Why do you need Caterpillar Software Keygen Maker?</h3>
|
25 |
-
<p>You may need Caterpillar Software Keygen Maker if you want to perform certain functions or change certain parameters in the Caterpillar ET software that require factory passwords. For example, you may want to:</p>
|
26 |
-
<ul>
|
27 |
-
<li>Change the system configuration parameters when you replace the Engine Control Module (ECM)</li>
|
28 |
-
<li>Rerate the engine to another engine family for better performance or fuel efficiency</li>
|
29 |
-
<li>Read customer passwords to access or modify customer settings</li>
|
30 |
-
<li>Clear certain diagnostic trouble codes that cannot be cleared by normal methods</li>
|
31 |
-
<li>Unlock a customer specified parameter that is locked by mistake or by the previous owner</li>
|
32 |
-
<li>Change certain customer specified parameters to suit your needs or preferences</li>
|
33 |
-
</ul>
|
34 |
-
<p>Without Caterpillar Software Keygen Maker, you would have to contact the authorized Caterpillar dealer or service center to obtain the factory passwords. This may take time, money and hassle. With Caterpillar Software Keygen Maker, you can generate the factory passwords yourself and perform the functions or change the parameters in the Caterpillar ET software quickly and easily.</p>
|
35 |
-
<h3>How to use Caterpillar Software Keygen Maker?</h3>
|
36 |
-
<p>To use Caterpillar Software Keygen Maker, you need to have the following:</p>
|
37 |
-
<ul>
|
38 |
-
<li>A computer or device that can run Windows 2003/XP/Vista/7/8/10 32 and 64 bit operating systems</li>
|
39 |
-
<li>A USB key or a download link for the Caterpillar Software Keygen Maker software</li>
|
40 |
-
<li>A compatible version of Caterpillar ET software installed on your computer or device</li>
|
41 |
-
<li>A communication adapter that can connect your computer or device with your Caterpillar equipment</li>
|
42 |
-
</ul>
|
43 |
-
<p>The steps to use Caterpillar Software Keygen Maker are as follows:</p>
|
44 |
-
<p>Caterpillar SIS Keygen Generator<br />
|
45 |
-
Caterpillar ET License Key Maker<br />
|
46 |
-
Caterpillar Factory Password Keygen Software<br />
|
47 |
-
Caterpillar Diagnostic Tool Keygen Crack<br />
|
48 |
-
Caterpillar Electronic Technician Keygen Download<br />
|
49 |
-
Caterpillar Service Information System Keygen Torrent<br />
|
50 |
-
Caterpillar CAT Keygen Activation Code<br />
|
51 |
-
Caterpillar Flash File Keygen Serial<br />
|
52 |
-
Caterpillar Trim File Keygen Online<br />
|
53 |
-
Caterpillar Injector Code Keygen Free<br />
|
54 |
-
Caterpillar C15 Keygen Software Download<br />
|
55 |
-
Caterpillar DPF Delete Keygen Tool<br />
|
56 |
-
Caterpillar ECM Password Removal Keygen<br />
|
57 |
-
Caterpillar EcmSpy Keygen Software<br />
|
58 |
-
Caterpillar WinFlash Keygen Generator<br />
|
59 |
-
Caterpillar Perkins SPI2 Keygen Crack<br />
|
60 |
-
Caterpillar Olympian Compass Keygen Download<br />
|
61 |
-
Caterpillar Lift Truck Keygen Activation Code<br />
|
62 |
-
Caterpillar Forklift Keygen Serial Number<br />
|
63 |
-
Caterpillar Generator Set Keygen Online<br />
|
64 |
-
Caterpillar Marine Power Display Keygen Free<br />
|
65 |
-
Caterpillar C7 Keygen Software Download<br />
|
66 |
-
Caterpillar C13 Keygen Tool<br />
|
67 |
-
Caterpillar C18 Keygen Crack<br />
|
68 |
-
Caterpillar C32 Keygen Download<br />
|
69 |
-
Caterpillar 3406E Keygen Activation Code<br />
|
70 |
-
Caterpillar 3512B Keygen Serial<br />
|
71 |
-
Caterpillar 3516C Keygen Online<br />
|
72 |
-
Caterpillar Genset Configurator Keygen Free<br />
|
73 |
-
Caterpillar EMCP 4.4 Keygen Software Download<br />
|
74 |
-
Caterpillar EMCP 3.3 Keygen Tool<br />
|
75 |
-
Caterpillar EMCP 2.2 Keygen Crack<br />
|
76 |
-
Caterpillar EMCP 1.1 Keygen Download<br />
|
77 |
-
Caterpillar VR6 Voltage Regulator Keygen Activation Code<br />
|
78 |
-
Caterpillar SR4B Generator Control Panel Keygen Serial<br />
|
79 |
-
Caterpillar SR4 Generator Control Panel Keygen Online<br />
|
80 |
-
Caterpillar DSE8610 MKII Controller Keygen Free<br />
|
81 |
-
Caterpillar DSE7320 MKII Controller Keygen Software Download<br />
|
82 |
-
Caterpillar DSE4520 MKII Controller Keygen Tool<br />
|
83 |
-
Caterpillar DSE3110 Controller Keygen Crack<br />
|
84 |
-
Caterpillar DSE8610 Synchronising Controller Keygen Download<br />
|
85 |
-
Caterpillar DSE8660 Load Share Controller Keygen Activation Code<br />
|
86 |
-
Caterpillar DSE8610 Load Share Controller Keygen Serial<br />
|
87 |
-
Caterpillar DSE8660 Synchronising and Load Sharing Control Module (SLCM) Firmware Update Tool (FUT) v1.1.0.0 key generator <br />
|
88 |
-
CAT Communication Adapter III Toolkit v1.0 key maker <br />
|
89 |
-
CAT Electronic Technician (ET) 2021A v1.0 key generator <br />
|
90 |
-
CAT SIS 2021A v1.0 key maker <br />
|
91 |
-
CAT Flash Files DVD 2021A v1.0 key generator <br />
|
92 |
-
CAT Factory Passwords Change key maker <br />
|
93 |
-
CAT Service Report 2021A v1.0 key generator </p>
|
94 |
-
<ol>
|
95 |
-
<li>Connect your computer or device with your Caterpillar equipment using the communication adapter.</li>
|
96 |
-
<li>Launch the Caterpillar ET software and select the ECM that you want to work on.</li>
|
97 |
-
<li>Select the function or parameter that you want to perform or change in the Caterpillar ET software.</li>
|
98 |
-
<li>The Caterpillar ET software will request you to enter two passwords: a customer password and a factory password.</li>
|
99 |
-
<li>If you know the customer password, enter it. If not, leave it blank.</li>
|
100 |
-
<li>The Caterpillar ET software will display some information that is required to obtain the factory password, such as ECM serial number, reason code, request code and challenge code.</li>
|
101 |
-
<li>Launch the Caterpillar Software Keygen Maker software and enter the information displayed by the Caterpillar ET software.</li>
|
102 |
-
<li>The Caterpillar Software Keygen Maker software will generate a factory password based on the information entered.</li>
|
103 |
-
<li>Enter the factory password generated by the Caterpillar Software Keygen Maker software into the Caterpillar ET software.</li>
|
104 |
-
<li>The function or parameter will be performed or changed in the Caterpillar ET software.</li>
|
105 |
-
</ol>
|
106 |
-
<h2>Features and benefits of Caterpillar Software Keygen Maker</h2>
|
107 |
-
<h3>Support for different versions of Caterpillar Electronic Technician (ET)</h3>
|
108 |
-
<p>Caterpillar Software Keygen Maker can generate factory passwords for different versions of and connect with the ECM that you want to work on; Select the function or parameter that you want to perform or change in CAT ET software; The CAT ET software will request you to enter two passwords: a customer password and a factory password; If you know the customer password, enter it. If not, leave it blank; The CAT ET software will display some information that is required to obtain the factory password, such as ECM serial number, reason code, request code and challenge code; Launch Caterpillar Software Keygen Maker software and enter the information displayed by CAT ET software; The Caterpillar Software Keygen Maker software will generate a factory password based on the information entered; Enter the factory password generated by Caterpillar Software Keygen Maker software into CAT ET software; The function or parameter will be performed or changed in CAT ET software.</li>
|
109 |
-
</ol>
|
110 |
-
# FAQs <ol>
|
111 |
-
<li>What is CAT ET software?</li>
|
112 |
-
<li>CAT ET software is an electronic service tool that allows you to communicate with your Caterpillar equipment's Engine Control Module (ECM). You can use CAT ET software to diagnose problems, monitor performance, calibrate settings, program features, test components, etc.</li>
|
113 |
-
<li>What are factory passwords?</li>
|
114 |
-
<li>Factory passwords are special codes that are required in order to perform certain functions or change certain parameters in CAT ET software that are protected by the manufacturer. Factory passwords are different from customer passwords that are set by the equipment owner or operator.</li>
|
115 |
-
<li>Why do I need factory passwords?</li>
|
116 |
-
<li>You may need factory passwords if you want to perform certain functions or change certain parameters in CAT ET software that require factory passwords. For example, you may want to change the system configuration parameters when you replace the ECM, rerate the engine to another engine family, read customer passwords, clear certain diagnostic trouble codes, unlock a customer specified parameter that is locked, change certain customer specified parameters, etc.</li>
|
117 |
-
<li>How do I get factory passwords?</li>
|
118 |
-
<li>You can get factory passwords by using Caterpillar Software Keygen Maker, which is a software tool that can generate factory passwords based on the information displayed by CAT ET software. You can buy Caterpillar Software Keygen Maker from various online sources, such as , or . You can choose to buy it with a USB key or a download link.</li>
|
119 |
-
<li>How do I use Caterpillar Software Keygen Maker?</li>
|
120 |
-
<li>To use Caterpillar Software Keygen Maker, you need to have a computer or device that can run Windows 2003/XP/Vista/7/8/10 32 and 64 bit operating systems, a USB key or a download link for the Caterpillar Software Keygen Maker software, a compatible version of CAT ET software installed on your computer or device, and a communication adapter that can connect your computer or device with your Caterpillar equipment. You need to follow these steps: Connect your computer or device with your Caterpillar equipment using the communication adapter; Launch CAT ET software and connect with the ECM that you want to work on; Select the function or parameter that you want to perform or change in CAT ET software; The CAT ET software will request you to enter two passwords: a customer password and a factory password; If you know the customer password, enter it. If not, leave it blank; The CAT ET software will display some information that is required to obtain the factory password, such as ECM serial number, reason code, request code and challenge code; Launch Caterpillar Software Keygen Maker software and enter the information displayed by CAT ET software; The Caterpillar Software Keygen Maker software will generate a factory password based on the information entered; Enter the factory password generated by Caterpillar Software Keygen Maker software into CAT ET software; The function or parameter will be performed or changed in CAT ET software.</li>
|
121 |
-
</ol>
|
122 |
-
</p> 0a6ba089eb<br />
|
123 |
-
<br />
|
124 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Clone Drone In The Danger Zone V0.12.1.21 Crack Free.md
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<h2>Clone Drone in the Danger Zone v0.12.1.21 crack free</h2><br /><p><b><b>Download Zip</b> ⇒ <a href="https://imgfil.com/2uy0xz">https://imgfil.com/2uy0xz</a></b></p><br /><br />
|
2 |
-
<br />
|
3 |
-
Click on «Create new project» and select «Database Project» (in case you don't have previous projects, choose «Create new database» and select «Database Project».
|
4 |
-
|
5 |
-
Place a 'blank' database and name it in English (as a standard naming convention) and allow it to be created..
|
6 |
-
|
7 |
-
1.0.0.4) сглажить файл после загрузки файла. Иногда все эти редактирования приходятся выполнять при помощи программы. Для того, чтобы сгладить файл после загрузки, нажмите в прозрачной части окна этой программы, чтобы открыть окно «Сглаживание». Нажмите кнопку «Сглажить». Выберите файл, из которого вы хотите сгладить. Нажмите кнопку «Создать». Выберите такой пункт в списке «Источники», который будет с� 4fefd39f24<br />
|
8 |
-
<br />
|
9 |
-
<br />
|
10 |
-
<p></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Blue Dream MP3 by Jhen Aiko - Listen and Download from Souled Out (Deluxe).md
DELETED
@@ -1,106 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Jhené Aiko's Blue Dream: A Song Review</h1>
|
3 |
-
<p>If you are looking for a song that can transport you to a blissful state of love and happiness, you might want to check out Jhené Aiko's Blue Dream. This song is one of the bonus tracks from her debut album Souled Out, which was released in 2014. In this article, we will review the song and explore its lyrics, music, and meaning.</p>
|
4 |
-
<h2>Introduction</h2>
|
5 |
-
<h3>Who is Jhené Aiko?</h3>
|
6 |
-
<p>Jhené Aiko is an American singer and songwriter who was born in Los Angeles, California. She started her music career as a teenager, appearing on several R&B and hip-hop tracks. She gained more recognition after collaborating with artists like Drake, Big Sean, and Kendrick Lamar. She is known for her smooth and soulful voice, as well as her poetic and introspective lyrics. Some of her popular songs include The Worst, Sativa, Triggered, and B.S.</p>
|
7 |
-
<h2>jhene aiko blue dream mp3 download</h2><br /><p><b><b>Download</b> - <a href="https://urlin.us/2uSUYI">https://urlin.us/2uSUYI</a></b></p><br /><br />
|
8 |
-
<h3>What is Blue Dream about?</h3>
|
9 |
-
<p>Blue Dream is a song that expresses Jhené Aiko's love and admiration for someone who opened her eyes to the beauty of life. She describes how this person made her see the truth in things and be in a dreamlike state where nothing else matters. She also talks about how this feeling is something that is blissful and mystical, and how she does not want to wake up from it. The song title refers to a type of cannabis strain that is known for its euphoric and relaxing effects.</p>
|
10 |
-
<h2>Analysis of the song</h2>
|
11 |
-
<h3>The lyrics</h3>
|
12 |
-
<h4>The meaning of the verses</h4>
|
13 |
-
<p>The first verse sets the scene for the song, as Jhené Aiko recalls a time when she was with her lover on the coast. She says that he opened her eyes to the beauty of the ocean and the sky, which symbolize the vastness and depth of their love. She also says that she was blinded before, implying that she was unaware or unhappy with her life until he came along. She then asks him to be hers, showing her desire and commitment.</p>
|
14 |
-
<p>The second verse talks about how Jhené Aiko feels when she is with her lover. She says that she is still sleeping in her blue dream, meaning that she is still in love and content with him. She also says that she knows the meaning for all the seasons, suggesting that she understands the cycles and changes of life because of him. She then says that he is the reason for her love, indicating that he inspires and motivates her.</p>
|
15 |
-
<h4>The meaning of the chorus</h4>
|
16 |
-
<p>The chorus repeats the main theme of the song, which is Jhené Aiko's love for her lover. She says that she does not want to wake up because she is in love with all that he is. She also says that he makes her see the truth in things, meaning that he helps her see things clearly and realistically. She then says that he is the remedy for everything, implying that he heals and soothes her from any pain or problems. She also says that he is the truth itself, meaning that he is honest and genuine with her. Finally, she says that nothing else can take her so far, meaning that no one else can make her feel as happy and fulfilled as he does.</p>
|
17 |
-
<h4>The meaning of the bridge</h4>
|
18 |
-
<p>The bridge emphasizes the blissful and mystical nature of Jhené Aiko's love for her lover. She says that her afternoon dream is when the world is sleeping, meaning that she feels like they are in their own world where nothing else matters. She also says that she is still thinking of her blue dream, meaning that she is still in love and content with him. She also says that she is in love with all that he is, echoing the chorus. She then says that he is the truth in things, meaning that he is the essence and reality of everything. She also says that he is the remedy for everything, repeating the chorus. Finally, she says that nothing else can take her so far, ending the song with the same line as the chorus.</p>
|
19 |
-
<h3>The music</h3>
|
20 |
-
<h4>The genre and style</h4>
|
21 |
-
<p>Blue Dream is a song that belongs to the genre of neo-soul, which is a subgenre of R&B that incorporates elements of jazz, funk, hip-hop, and electronic music. The song has a smooth and laid-back style, with a slow tempo and a minimalistic production. The song also has a psychedelic and dreamy vibe, with a soft and ambient sound.</p>
|
22 |
-
<p>jhene aiko blue dream song download<br />
|
23 |
-
jhene aiko souled out blue dream mp3<br />
|
24 |
-
jhene aiko blue dream lyrics download<br />
|
25 |
-
jhene aiko blue dream audio download<br />
|
26 |
-
jhene aiko blue dream free mp3<br />
|
27 |
-
jhene aiko blue dream instrumental download<br />
|
28 |
-
jhene aiko blue dream album download<br />
|
29 |
-
jhene aiko blue dream video download<br />
|
30 |
-
jhene aiko blue dream remix mp3<br />
|
31 |
-
jhene aiko blue dream ringtone download<br />
|
32 |
-
jhene aiko blue dream spotify download<br />
|
33 |
-
jhene aiko blue dream soundcloud mp3<br />
|
34 |
-
jhene aiko blue dream live performance download<br />
|
35 |
-
jhene aiko blue dream acoustic version mp3<br />
|
36 |
-
jhene aiko blue dream deluxe edition download<br />
|
37 |
-
jhene aiko blue dream zip file download<br />
|
38 |
-
jhene aiko blue dream 320kbps mp3<br />
|
39 |
-
jhene aiko blue dream flac download<br />
|
40 |
-
jhene aiko blue dream itunes download<br />
|
41 |
-
jhene aiko blue dream amazon mp3<br />
|
42 |
-
jhene aiko blue dream google play download<br />
|
43 |
-
jhene aiko blue dream youtube mp3<br />
|
44 |
-
jhene aiko blue dream genius lyrics download<br />
|
45 |
-
jhene aiko blue dream shazam music download<br />
|
46 |
-
jhene aiko blue dream last.fm track download<br />
|
47 |
-
jhene aiko blue dream tidal download<br />
|
48 |
-
jhene aiko blue dream deezer download<br />
|
49 |
-
jhene aiko blue dream pandora download<br />
|
50 |
-
jhene aiko blue dream iheartradio download<br />
|
51 |
-
jhene aiko blue dream napster download<br />
|
52 |
-
jhene aiko blue dream slacker radio download<br />
|
53 |
-
jhene aiko blue dream tunein radio download<br />
|
54 |
-
jhene aiko blue dream audiomack download<br />
|
55 |
-
jhene aiko blue dream datpiff download<br />
|
56 |
-
jhene aiko blue dream spinrilla download<br />
|
57 |
-
jhene aiko blue dream mymixtapez download<br />
|
58 |
-
jhene aiko blue dream livemixtapes download<br />
|
59 |
-
jhene aiko blue dream hotnewhiphop download<br />
|
60 |
-
jhene aiko blue dream djbooth download<br />
|
61 |
-
jhene aiko blue dream rap-up download<br />
|
62 |
-
jhene aiko blue dream complex download<br />
|
63 |
-
jhene aiko blue dream billboard download<br />
|
64 |
-
jhene aiko blue dream rolling stone download<br />
|
65 |
-
jhene aiko blue dream pitchfork download<br />
|
66 |
-
jhene aiko blue dream stereogum download<br />
|
67 |
-
jhene aiko blue dream vibe download<br />
|
68 |
-
jhene aiko blue dream xxl download<br />
|
69 |
-
jhene aiko blue dream the fader download<br />
|
70 |
-
jhene aiko blue dream the source download</p>
|
71 |
-
<h4>The instruments and vocals</h4>
|
72 |
-
<p>The song features a simple and sparse instrumentation, consisting of a keyboard, a guitar, a bass, and a drum machine. The keyboard provides a mellow and soothing melody, while the guitar adds some subtle chords and riffs. The bass adds some low-end and groove, while the drum machine creates a steady and relaxed beat. The song also features some background vocals that harmonize with Jhené Aiko's voice, creating a rich and ethereal texture.</p>
|
73 |
-
<p>Jhené Aiko's vocals are the highlight of the song, as she delivers a captivating and expressive performance. Her voice is smooth and soulful, with a delicate and airy tone. She sings with a lot of emotion and nuance, conveying her feelings of love and happiness. She also uses some vocal techniques such as falsetto, vibrato, and melisma, adding some variation and flair to her singing.</p>
|
74 |
-
<h4>The mood and atmosphere</h4>
|
75 |
-
<p>The song creates a mood and atmosphere of bliss and ecstasy, as it reflects Jhené Aiko's love for her lover. The song evokes a sense of peace and joy, as well as a sense of wonder and awe. The song also creates a feeling of intimacy and connection, as it portrays Jhené Aiko's bond with her lover. The song transports the listener to a dreamlike state where nothing else matters but love.</p>
|
76 |
-
<h2>Conclusion</h2>
|
77 |
-
<h3>Why is Blue Dream a great song?</h3>
|
78 |
-
<p>Blue Dream is a great song because it showcases Jhené Aiko's talent and artistry as a singer and songwriter. The song is beautifully written and composed, with poetic and meaningful lyrics, and soothing and enchanting music. The song is also emotionally engaging and relatable, as it expresses Jhené Aiko's love for her lover in a genuine and heartfelt way. The song is a testament to Jhené Aiko's ability to create soulful and captivating songs that touch the listener's soul.</p>
|
79 |
-
<h3>Where can you listen to or download Blue Dream?</h3>
|
80 |
-
<p>If you want to listen to or download Blue Dream, you have several options available. You can stream the song on various music platforms such as Spotify, Apple Music, YouTube Music, or SoundCloud. You can also purchase or download the song from online stores such as iTunes, Amazon Music, or Google Play Music. Alternatively, you can watch the official lyric video of the song on YouTube, or listen to it on Jhené Aiko's official website.</p>
|
81 |
-
<table>
|
82 |
-
<tr><th>Platform</th><th>Link</th></tr>
|
83 |
-
<tr><td>Spotify</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
84 |
-
<tr><td>Apple Music</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
85 |
-
<tr><td>YouTube Music</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
86 |
-
<tr><td>SoundCloud</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
87 |
-
<tr><td>iTunes</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
88 |
-
<tr><td>Amazon Music</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
89 |
-
<tr><td>Google Play Music</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
90 |
-
<tr><td>YouTube</td><td><a href="">Jhené Aiko - Blue Dream (Lyric Video ))</a></td></tr>
|
91 |
-
<tr><td>Jhené Aiko's website</td><td><a href="">Jhené Aiko - Blue Dream</a></td></tr>
|
92 |
-
</table>
|
93 |
-
<p>We hope you enjoyed this article and learned more about Jhené Aiko's Blue Dream. If you have any questions or comments, feel free to leave them below. Thank you for reading!</p>
|
94 |
-
<h2>FAQs</h2>
|
95 |
-
<h3>What is the name of Jhené Aiko's debut album?</h3>
|
96 |
-
<p>Jhené Aiko's debut album is called Souled Out, which was released in 2014. The album features 14 tracks, including Blue Dream, which is one of the bonus tracks.</p>
|
97 |
-
<h3>Who produced Blue Dream?</h3>
|
98 |
-
<p>Blue Dream was produced by Fisticuffs, who is a duo of producers consisting of Brian Warfield and Mac Robinson. They have worked with Jhené Aiko on several other songs, such as The Worst, Bed Peace, and W.A.Y.S.</p>
|
99 |
-
<h3>What are some other songs by Jhené Aiko that are similar to Blue Dream?</h3>
|
100 |
-
<p>Some other songs by Jhené Aiko that are similar to Blue Dream in terms of genre, style, and theme are Eternal Sunshine, While We're Young, Spotless Mind, and Comfort Inn Ending.</p>
|
101 |
-
<h3>What are some of the awards and nominations that Jhené Aiko has received for her music?</h3>
|
102 |
-
<p>Jhené Aiko has received several awards and nominations for her music, such as three Grammy nominations, two BET Awards, one Soul Train Music Award, one NAACP Image Award, and one MTV Video Music Award.</p>
|
103 |
-
<h3>What are some of the influences and inspirations that Jhené Aiko has for her music?</h3>
|
104 |
-
<p>Jhené Aiko has cited various influences and inspirations for her music, such as Tupac Shakur, John Mayer, Sade, Lauryn Hill, Eminem, Kendrick Lamar, and her brother Miyagi Chilombo, who passed away in 2012.</p> 197e85843d<br />
|
105 |
-
<br />
|
106 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Ball Brick Breaker Game A Free and Easy to Play Brick Breaking Game for Everyone!.md
DELETED
@@ -1,90 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Ball Brick Breaker Game Download: How to Play and Enjoy this Fun Offline Game</h1>
|
3 |
-
<p>If you are looking for a fun and addictive game that you can play offline anytime, anywhere, you should download ball brick breaker game. Ball brick breaker game is a classic arcade game that requires you to aim and shoot balls to break bricks on the board. It is easy to play but hard to master. You need to find the best positions and angles to hit every brick and clear the stages. You also need to use power-ups and boosters to pass harder levels and collect gems and stars to unlock new balls. Ball brick breaker game has tons of unique puzzles and challenges that will keep you entertained for hours. You can also compete with your friends and other players worldwide to see who can break more bricks and get higher scores. In this article, we will show you how to play and enjoy ball brick breaker game, as well as how to download it from Google Play Store or App Store.</p>
|
4 |
-
<h2>ball brick breaker game download</h2><br /><p><b><b>DOWNLOAD</b> ☆ <a href="https://jinyurl.com/2uNJR3">https://jinyurl.com/2uNJR3</a></b></p><br /><br />
|
5 |
-
<h2>How to Play Ball Brick Breaker Game</h2>
|
6 |
-
<h3>Aim and Shoot to Break Bricks</h3>
|
7 |
-
<p>The basic gameplay of ball brick breaker game is simple. You just need to swipe or tap on the screen to shoot balls to wherever you touched. The balls will fly and bounce off the walls and bricks on the board. Each brick has a number on it that indicates how many times you need to hit it to break it. You need to break all the bricks on the board before they reach the bottom of the screen. If they do, you will lose a life and have to restart the level.</p>
|
8 |
-
<h3> Use Power-ups and Boosters to Pass Harder Levels</h3>
|
9 |
-
<p>As you progress in ball brick breaker game, you will encounter more difficult levels with more bricks and obstacles. To help you pass these levels, you can use power-ups and boosters that have different effects. For example, you can use the fireball to burn through bricks, the bomb to explode nearby bricks, the laser to shoot a beam of light that breaks bricks in a line, and the rainbow to change the color of the balls. You can also use the extra ball to add more balls to your shot, the aim line to see the trajectory of the balls, and the undo to undo your last shot. You can get power-ups and boosters by breaking special bricks or by watching ads.</p>
|
10 |
-
<h3>Collect Gems and Stars to Unlock New Balls</h3>
|
11 |
-
<p>Another way to make ball brick breaker game more fun and exciting is to collect gems and stars that are scattered on the board. Gems are used to buy new balls that have different shapes, colors, and patterns. Stars are used to unlock new worlds that have different themes, backgrounds, and music. You can also get gems and stars by completing achievements and daily missions. There are hundreds of balls and worlds to unlock in ball brick breaker game, so you will never get bored of playing it.</p>
|
12 |
-
<h2>How to Enjoy Ball Brick Breaker Game</h2>
|
13 |
-
<h3>Play Offline Anytime, Anywhere</h3>
|
14 |
-
<p>One of the best features of ball brick breaker game is that you can play it offline anytime, anywhere. You don't need an internet connection or wifi to enjoy this game. You can play it on your phone or tablet whenever you have some free time or need some relaxation. You can also pause and resume the game anytime you want. Ball brick breaker game is a perfect game for offline gaming.</p>
|
15 |
-
<h3>Compete with Friends and Other Players Worldwide</h3>
|
16 |
-
<p>If you want to add some challenge and competition to ball brick breaker game, you can also play it online with your friends and other players worldwide. You can connect your game account to Facebook or Google Play Games and see how your scores compare with others on the leaderboard. You can also invite your friends to play with you and see who can break more bricks and get higher scores. You can also chat with other players and share tips and tricks on how to play ball brick breaker game better.</p>
|
17 |
-
<p>ball brick breaker game download free<br />
|
18 |
-
ball brick breaker game download offline<br />
|
19 |
-
ball brick breaker game download for pc<br />
|
20 |
-
ball brick breaker game download for android<br />
|
21 |
-
ball brick breaker game download apk<br />
|
22 |
-
ball brick breaker game download ios<br />
|
23 |
-
ball brick breaker game download app store<br />
|
24 |
-
ball brick breaker game download google play<br />
|
25 |
-
ball brick breaker game download windows 10<br />
|
26 |
-
ball brick breaker game download mac<br />
|
27 |
-
ball brick breaker game download online<br />
|
28 |
-
ball brick breaker game download no ads<br />
|
29 |
-
ball brick breaker game download unlimited<br />
|
30 |
-
ball brick breaker game download mod<br />
|
31 |
-
ball brick breaker game download hack<br />
|
32 |
-
ball brick breaker game download cheats<br />
|
33 |
-
ball brick breaker game download tips<br />
|
34 |
-
ball brick breaker game download tricks<br />
|
35 |
-
ball brick breaker game download guide<br />
|
36 |
-
ball brick breaker game download review<br />
|
37 |
-
ball brick breaker game download rating<br />
|
38 |
-
ball brick breaker game download best<br />
|
39 |
-
ball brick breaker game download fun<br />
|
40 |
-
ball brick breaker game download addictive<br />
|
41 |
-
ball brick breaker game download challenging<br />
|
42 |
-
ball brick breaker game download classic<br />
|
43 |
-
ball brick breaker game download legend<br />
|
44 |
-
ball brick breaker game download quest<br />
|
45 |
-
ball brick breaker game download crusher<br />
|
46 |
-
ball brick breaker game download shooter<br />
|
47 |
-
ball brick breaker game download blast<br />
|
48 |
-
ball brick breaker game download smash<br />
|
49 |
-
ball brick breaker game download puzzle<br />
|
50 |
-
ball brick breaker game download arcade<br />
|
51 |
-
ball brick breaker game download casual<br />
|
52 |
-
ball brick breaker game download physics<br />
|
53 |
-
ball brick breaker game download strategy<br />
|
54 |
-
ball brick breaker game download levels<br />
|
55 |
-
ball brick breaker game download stages<br />
|
56 |
-
ball brick breaker game download balls<br />
|
57 |
-
ball brick breaker game download bricks<br />
|
58 |
-
ball brick breaker game download colors<br />
|
59 |
-
ball brick breaker game download power-ups<br />
|
60 |
-
ball brick breaker game download gems<br />
|
61 |
-
ball brick breaker game download stars<br />
|
62 |
-
ball brick breaker game download coins<br />
|
63 |
-
ball brick breaker game download rewards<br />
|
64 |
-
ball brick breaker game download leaderboard<br />
|
65 |
-
ball brick breaker game download multiplayer</p>
|
66 |
-
<h3>Explore Tons of Unique Puzzles and Challenges</h3>
|
67 |
-
<p>Ball brick breaker game is not just a simple arcade game that repeats the same levels over and over again. It is a game that has tons of unique puzzles and challenges that will test your skills and creativity. Each level has a different layout, design, and goal that you need to achieve. Some levels have moving bricks, rotating bricks, invisible bricks, or other special bricks that add more variety and fun to the game. Some levels also have time limits, score limits, or other conditions that make them more difficult and rewarding. Ball brick breaker game has over 1000 levels that you can play and enjoy.</p>
|
68 |
-
<h2>How to Download Ball Brick Breaker Game</h2>
|
69 |
-
<h3>Download from Google Play Store or App Store</h3>
|
70 |
-
<p>If you want to download ball brick breaker game on your device, you can easily do so from Google Play Store or App Store. Just search for "ball brick breaker game" on the store and tap on the install button. The game is free to download and play, but it contains ads and in-app purchases that you can disable if you want.</p>
|
71 |
-
<h3>Install and Launch the Game</h3>
|
72 |
-
<p>After downloading ball brick breaker game from the store, you just need to install it on your device and launch it. The game will start with a tutorial that will show you how to play the game and use the controls. You can skip the tutorial if you already know how to play or replay it if you need a refresher.</p>
|
73 |
-
<h3>Start Playing and Breaking Bricks</h3>
|
74 |
-
<p>Once you have installed and launched ball brick breaker game, you can start playing and breaking bricks right away. You can choose which world and level you want to play from the map screen or let the game choose for you randomly. You can also adjust the settings of the game such as the sound, music, vibration, language, etc. from the menu screen. You can also access your achievements, missions, leaderboard, shop, etc. from there.</p>
|
75 |
-
<h2>Conclusion: Ball Brick Breaker Game is a Fun and Addictive Game for Everyone</h2>
|
76 |
-
<p>In conclusion, ball brick breaker game is a fun and addictive game for everyone who loves arcade games. It is a game that requires you to aim and shoot balls to break bricks on the board. It is easy to play but hard to master. It has tons of unique puzzles and challenges that will keep you entertained for hours. You can also play it offline anytime, anywhere, or online with your friends and other players worldwide. You can also collect gems and stars to unlock new balls and worlds that have different themes and features. Ball brick breaker game is a game that you should download and play if you want to have some fun and relaxation.</p>
|
77 |
-
<h2>FAQs about Ball Brick Breaker Game</h2>
|
78 |
-
<p>Here are some of the frequently asked questions about ball brick breaker game that you might want to know:</p>
|
79 |
-
<p>Q1: Is ball brick breaker game free to play?</p>
|
80 |
-
<p>A1: Yes, ball brick breaker game is free to play. However, it contains ads and in-app purchases that you can disable if you want.</p>
|
81 |
-
<p>Q2: How many levels are there in ball brick breaker game?</p>
|
82 |
-
<p>A2: There are over 1000 levels in ball brick breaker game, each with a different layout, design, and goal. You can play them in any order or let the game choose for you randomly.</p>
|
83 |
-
<p>Q3: What are the best strategies to break bricks?</p>
|
84 |
-
<p>A3: Some of the best strategies to break bricks are to aim for the corners and edges of the board, to use power-ups and boosters wisely, to avoid hitting the bottom of the screen, and to plan your shots ahead.</p>
|
85 |
-
<p>Q4: How can I get more gems and stars?</p>
|
86 |
-
<p>A4: You can get more gems and stars by breaking special bricks, completing achievements and daily missions, watching ads, or buying them with real money.</p>
|
87 |
-
<p>Q5: How can I contact the developer of ball brick breaker game?</p>
|
88 |
-
<p>A5: You can contact the developer of ball brick breaker game by sending an email to [email protected] or by visiting their website at www.ballbrickbreaker.com.</p> 197e85843d<br />
|
89 |
-
<br />
|
90 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Black Adam English Subtitles How to Download and Enjoy the Epic Movie.md
DELETED
@@ -1,218 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Black Adam Movie English Subtitles Download: How to Watch the DC Superhero Film Online</h1>
|
3 |
-
<p>If you are a fan of DC Comics and superhero movies, you might be interested in watching <strong>Black Adam</strong>, the latest film in the DC Extended Universe (DCEU). But what if you are not a native English speaker, or you have trouble understanding the dialogue or accents in the movie? In that case, you might need to download English subtitles for Black Adam, so you can enjoy the film without missing any important details. In this article, we will tell you everything you need to know about Black Adam movie English subtitles download, including what the movie is about, why you need subtitles, how to download them, and how to watch the movie online with subtitles.</p>
|
4 |
-
<h2>What is Black Adam about?</h2>
|
5 |
-
<p>Black Adam is a spin-off of <em>Shazam!</em> (2019), another DCEU film that introduced the magical superhero Shazam, who is powered by the ancient wizard of the same name. Black Adam is Shazam's arch-nemesis, who was also given the powers of the wizard, but became corrupted and tried to conquer the world. He was banished by Shazam and returned to Earth after 5,000 years, seeking revenge and justice. He is an anti-hero who clashes with the Justice Society of America, a team of superheroes that includes Hawkman, Doctor Fate, Atom Smasher, and Cyclone.</p>
|
6 |
-
<h2>black adam movie english subtitles download</h2><br /><p><b><b>Download</b> ……… <a href="https://jinyurl.com/2uNJYm">https://jinyurl.com/2uNJYm</a></b></p><br /><br />
|
7 |
-
<h3>The plot of Black Adam</h3>
|
8 |
-
<p>The movie begins in 2600 BC, in the fictional kingdom of Kahndaq, where Teth-Adam (Dwayne Johnson) was born. He was enslaved by the evil King Ahk-Ton, who created the Crown of Sabbac to attain great power. Teth-Adam led a revolt against the king, and was given the powers of Shazam by the Council of Wizards. He became Kahndaq's champion and killed Ahk-Ton, but he also became ruthless and tyrannical. Shazam intervened and imprisoned Teth-Adam in a magic tomb.</p>
|
9 |
-
<p>In the present day, Kahndaq is oppressed by Intergang, a criminal organization that wants to find the Crown of Sabbac. Adrianna Tomaz (Sarah Shahi), an archaeologist and resistance fighter, tries to locate the crown with her brother Karim (Mohammed Amer) and their colleagues Samir (James Cusati-Moyer) and Ishmael (Marwan Kenzari). They accidentally free Teth-Adam from his tomb, who vows to liberate Kahndaq from Intergang and restore his glory.</p>
|
10 |
-
<p>Meanwhile, the Justice Society of America (JSA), a group of superheroes that works for the US government, learns about Teth-Adam's return and decides to stop him. The JSA consists of Hawkman (Aldis Hodge), Doctor Fate (Pierce Brosnan), Atom Smasher (Noah Centineo), and Cyclone (Quintessa Swindell). They confront Teth-Adam in Kahndaq, but he proves to be too powerful for them. He also reveals that he is Karim's father and Adrianna's husband, who were separated from him when he was imprisoned.</p>
|
11 |
-
<p>Teth-Adam eventually finds the Crown of Sabbac, which grants him even more power. He declares himself as Black Adam, the ruler of Kahndaq. He also offers Karim and Adrianna to join him, but they refuse, saying that he has become a monster. They join forces with the JSA to stop him from using the crown to destroy the world. A final battle ensues, where Black Adam faces Shazam (Zachary Levi), who arrives to help the JSA. The fate of Kahndaq and the world hangs in the balance.</p>
|
12 |
-
<h3>The cast of Black Adam</h3>
|
13 |
-
<p>The movie features a star-studded cast of actors, who bring the comic book characters to life. Here are some of the main cast members and their roles:</p>
|
14 |
-
<p>black adam film english subs download<br />
|
15 |
-
black adam 2022 english subtitles free download<br />
|
16 |
-
download black adam movie with english subtitles<br />
|
17 |
-
black adam full movie english subtitles download<br />
|
18 |
-
black adam english srt subtitles download<br />
|
19 |
-
black adam movie english subbed download<br />
|
20 |
-
black adam movie download in english subtitles<br />
|
21 |
-
black adam movie english subtitles online download<br />
|
22 |
-
black adam movie yify subtitles english download<br />
|
23 |
-
black adam movie webrip subtitles english download<br />
|
24 |
-
black adam movie bluray subtitles english download<br />
|
25 |
-
black adam movie hdrip subtitles english download<br />
|
26 |
-
black adam movie dvdrip subtitles english download<br />
|
27 |
-
black adam movie x264 subtitles english download<br />
|
28 |
-
black adam movie aac5.1 subtitles english download<br />
|
29 |
-
black adam movie repack subtitles english download<br />
|
30 |
-
black adam movie zip subtitles english download<br />
|
31 |
-
black adam movie srt file subtitles english download<br />
|
32 |
-
how to download black adam movie with english subtitles<br />
|
33 |
-
where to download black adam movie with english subtitles<br />
|
34 |
-
best site to download black adam movie with english subtitles<br />
|
35 |
-
fastest way to download black adam movie with english subtitles<br />
|
36 |
-
easiest way to download black adam movie with english subtitles<br />
|
37 |
-
safest way to download black adam movie with english subtitles<br />
|
38 |
-
legal way to download black adam movie with english subtitles<br />
|
39 |
-
watch black adam movie online with english subtitles download<br />
|
40 |
-
stream black adam movie online with english subtitles download<br />
|
41 |
-
torrent black adam movie with english subtitles download<br />
|
42 |
-
magnet link black adam movie with english subtitles download<br />
|
43 |
-
direct link black adam movie with english subtitles download<br />
|
44 |
-
google drive link black adam movie with english subtitles download<br />
|
45 |
-
mega link black adam movie with english subtitles download<br />
|
46 |
-
dropbox link black adam movie with english subtitles download<br />
|
47 |
-
mediafire link black adam movie with english subtitles download<br />
|
48 |
-
zippyshare link black adam movie with english subtitles download<br />
|
49 |
-
utorrent black adam movie with english subtitles download<br />
|
50 |
-
bittorrent black adam movie with english subtitles download<br />
|
51 |
-
vuze black adam movie with english subtitles download<br />
|
52 |
-
qbittorrent black adam movie with english subtitles download<br />
|
53 |
-
deluge black adam movie with english subtitles download</p>
|
54 |
-
<ul>
|
55 |
-
<li><strong>Dwayne Johnson</strong> as <strong>Teth-Adam / Black Adam</strong>: The main protagonist and anti-hero of the movie, who is an ancient warrior with the powers of Shazam. He is driven by a sense of justice and vengeance, but also has a dark and violent side.</li>
|
56 |
-
<li><strong>Sarah Shahi</strong> as <strong>Adrianna Tomaz / Isis</strong>: The main female lead and love interest of Black Adam, who is an archaeologist and resistance fighter in Kahndaq. She is also the mother of Karim, who is Black Adam's son.</li>
|
57 |
-
<li><strong>Aldis Hodge</strong> as <strong>Carter Hall / Hawkman</strong>: The leader of the JSA, who is a reincarnated warrior with the ability to fly and wield a mystical mace. He has a history with Black Adam, as they were enemies in their past lives.</li>
|
58 |
-
<li><strong>Pierce Brosnan</strong> as <strong>Kent Nelson / Doctor Fate</strong>: A member of the JSA, who is a powerful sorcerer and the host of Nabu, an ancient spirit of order. He wears the Helmet of Fate, which grants him various magical abilities.</li>
|
59 |
-
<li><strong>Noah Centineo</strong> as <strong>Al Rothstein / Atom Smasher</strong>: A member of the JSA, who is a young and cocky superhero with the ability to manipulate his size and strength. He idolizes Black Adam, but also questions his methods.</li>
|
60 |
-
<li><strong>Quintessa Swindell</strong> as <strong>Maxine Hunkel / Cyclone</strong>: A member of the JSA, who is a cheerful and optimistic superheroine with the ability to control wind and sound. She is the granddaughter of Ma Hunkel, the original Red Tornado.</li>
|
61 |
-
<li><strong>Zachary Levi</strong> as <strong>Billy Batson / Shazam</strong>: The main hero of <em>Shazam!</em>, who is a teenage boy with the ability to transform into an adult superhero with the powers of Shazam. He is Black Adam's arch-nemesis and ally of the JSA.</li>
|
62 |
-
<li><strong>Mohammed Amer</strong> as <strong>Karim Tomaz / Osiris</strong>: The son of Black Adam and Adrianna, who is unaware of his true heritage. He is a rebellious and adventurous teenager, who joins his mother in fighting against Intergang.</li>
|
63 |
-
<li><strong>James Cusati-Moyer</strong> as <strong>Samir</strong>: A colleague and friend of Adrianna, who is an expert in ancient languages and artifacts. He helps her in finding the Crown of Sabbac.</li>
|
64 |
-
<li><strong>Marwan Kenzari</strong> as <strong>Ishmael / Sabbac</strong>: The main antagonist of the movie, who is the leader of Intergang in Kahndaq. He is a ruthless and ambitious criminal, who wants to use the Crown of Sabbac to gain immense power.</li>
|
65 |
-
</ul>
|
66 |
-
<h3>The release date of Black Adam</h3>
|
67 |
-
<p>The movie was originally scheduled to be released on December 22, 2021, but it was delayed due to the COVID-19 pandemic. The new release date is July 29, 2022. The movie will be distributed by Warner Bros. Pictures and will be available in theaters and on HBO Max (for 31 days after theatrical release).</p>
|
68 |
-
<h2>Why do you need subtitles for Black Adam?</h2>
|
69 |
-
<p>If you are not a native English speaker, or you have difficulty understanding some parts of the movie, you might want to download subtitles for Black Adam. Subtitles are text versions of the dialogue or narration that appear on the screen, usually at the bottom. They can help you follow along with what is happening in the movie, and also improve your language skills. Here are some reasons why you might need subtitles for Black Adam:</p>
|
70 |
-
<h3>The benefits of subtitles for non-native speakers</h3>
|
71 |
-
<p>If English is not your first language, subtitles can help you in many ways:</p>
|
72 |
-
<ul>
|
73 |
-
<li><em>They can enhance your comprehension.</em> Subtitles can help you understand the plot, the characters, the emotions, and the jokes in the movie. They can also clarify any words or phrases that you might not know or hear clearly.</li>
|
74 |
-
<li><em>They can improve your vocabulary and grammar.</em> Subtitles can expose you to new words and expressions that you might not encounter in your everyday life. They can also show you how sentences are formed and punctuated in English.</li>
|
75 |
-
<li><em>They can boost your listening and speaking skills.</em> Subtitles can help you practice your pronunciation and intonation by mimicking the actors' voices. They can also help you improve your listening comprehension by matching the sounds with the written words.</li>
|
76 |
-
</ul>
|
77 |
-
<h3>The challenges of subtitles for different languages and dialects</h3>
|
78 |
-
<p>However, subtitles are not perfect, and they might have some limitations or drawbacks depending on the language and dialect of the movie. Here are some challenges that you might face when using subtitles for Black Adam:</p>
|
79 |
-
<ul>
|
80 |
-
<li><em>They might not be accurate or complete.</em> Subtitles are usually created by human translators or automated software, which might make mistakes or omit some information. For example, subtitles might not capture the nuances, idioms, slang, or humor of the original dialogue. They might also skip some words or sentences that are not essential for the plot, but might add some flavor or context to the movie.</li>
|
81 |
-
<li><em>They might not match the speed or timing of the dialogue.</em> Subtitles are usually synchronized with the audio of the movie, but sometimes they might be delayed or ahead of the speech. This might cause confusion or distraction for the viewers, who have to read and listen at the same time. Subtitles might also appear too fast or too slow for some viewers, depending on their reading level and preference.</li>
|
82 |
-
<li><em>They might not suit the style or tone of the movie.</em> Subtitles are usually written in a standard or formal way, which might not reflect the personality or mood of the characters or the movie. For example, subtitles might not convey the sarcasm, irony, anger, or excitement of the dialogue. They might also use different fonts, colors, or sizes that might clash with the aesthetics of the movie.</li>
|
83 |
-
</ul>
|
84 |
-
<h3>The availability of subtitles for Black Adam</h3>
|
85 |
-
<p>The good news is that subtitles for Black Adam are widely available online, both officially and unofficially. You can find subtitles in various languages and formats, such as SRT, SSA, ASS, SUB, IDX, etc. Here are some ways to access subtitles for Black Adam:</p>
|
86 |
-
<ul>
|
87 |
-
<li><em>You can check the official sources.</em> The movie itself might have subtitles embedded in it, either as a default option or as a selectable feature. You can also look for subtitles on the official website of the movie, or on the streaming platforms that host the movie, such as HBO Max. These sources are likely to have high-quality and reliable subtitles that match the movie.</li>
|
88 |
-
<li><em>You can search for fan-made subtitles.</em> There are many websites and communities that offer subtitles created by fans or volunteers, such as Subscene, OpenSubtitles, YIFY Subtitles, etc. These sources might have more variety and diversity of subtitles in terms of language and style. However, they might also have lower quality and accuracy of subtitles, and some of them might contain viruses or malware.</li>
|
89 |
-
</ul>
|
90 |
-
<h2>How to download subtitles for Black Adam?</h2>
|
91 |
-
<p>If you want to download subtitles for Black Adam, you need to be careful and responsible. Downloading subtitles is not illegal per se, but it might involve some legal and ethical issues depending on the source and use of the subtitles. Here are some things to consider before downloading subtitles for Black Adam:</p>
|
92 |
-
<h3>The legal and ethical issues of downloading subtitles</h3>
|
93 |
-
<p>Downloading subtitles is a form of file sharing, which might infringe on the intellectual property rights of the creators and owners of the movie and the subtitles. You might also violate the terms and conditions of the streaming platforms or websites that provide the movie and the subtitles. Here are some legal and ethical issues that you might encounter when downloading subtitles for Black Adam:</p>
|
94 |
-
<ul>
|
95 |
-
<li><em>You might be breaking the law.</em> Depending on the jurisdiction and the laws of your country, downloading subtitles might be considered as piracy, which is a criminal offense that can result in fines or imprisonment. You might also be liable for civil damages if you infringe on the copyrights or trademarks of the movie and the subtitles.</li>
|
96 |
-
<li><em>You might be harming the industry.</em> Downloading subtitles might reduce the revenue and profit of the movie and the subtitles, which can affect the livelihood and creativity of the filmmakers, actors, writers, translators, and other workers involved in the production and distribution of the movie and the subtitles. You might also discourage the creation and availability of more movies and subtitles in the future.</li>
|
97 |
-
<li><em>You might be disrespecting the culture.</em> Downloading subtitles might undermine the artistic and cultural value of the movie and the subtitles, which can reflect the vision, identity, and expression of the original creators and speakers of the movie and the subtitles. You might also miss out on some of the subtleties, nuances, and meanings of the movie and the subtitles that are lost or altered in translation.</li>
|
98 |
-
</ul>
|
99 |
-
<p>Therefore, before downloading subtitles for Black Adam, you should ask yourself these questions:</p>
|
100 |
-
<ul>
|
101 |
-
<li><em>Is it legal?</em> Check the laws and regulations of your country regarding downloading subtitles, and make sure you are not violating any of them.</li>
|
102 |
-
<li><em>Is it ethical?</em> Consider the impact and consequences of downloading subtitles on the movie industry, the subtitle community, and the movie culture, and make sure you are not harming or offending any of them.</li>
|
103 |
-
<li><em>Is it necessary?</em> Evaluate your needs and preferences for downloading subtitles, and make sure you are not doing it for frivolous or selfish reasons.</li>
|
104 |
-
</ul>
|
105 |
-
<h3>The best sources and websites for downloading subtitles</h3>
|
106 |
-
<p>If you decide to download subtitles for Black Adam, you should choose your sources and websites carefully. You should look for reputable and reliable sources and websites that offer high-quality and accurate subtitles that match the movie. You should also avoid sources and websites that offer low-quality or fake subtitles that might contain errors, spoilers, viruses, or malware. Here are some criteria to look for when choosing sources and websites for downloading subtitles:</p>
|
107 |
-
<ul>
|
108 |
-
<li><em>They have a good reputation and rating.</em> Check the reviews and feedback of other users who have downloaded subtitles from these sources and websites, and see if they are satisfied with their experience. You can also look for ratings or rankings from trusted websites or organizations that evaluate subtitle sources and websites based on their quality, reliability, security, etc.</li>
|
109 |
-
<li><em>They have a large and diverse collection of subtitles.</em> Look for sources and websites that offer a wide range of subtitles in different languages, formats, styles, etc. You can also look for sources and websites that offer subtitles that are compatible with the movie, such as the version, the quality, the resolution, etc.</li>
|
110 |
-
<li><em>They have a clear and easy interface and process.</em> Look for sources and websites that have a user-friendly and intuitive design and layout, that allow you to search, browse, select, and download subtitles with ease and convenience. You can also look for sources and websites that have clear and detailed instructions and guidelines on how to download subtitles.</li>
|
111 |
-
<li><em>They have a secure and safe system and policy.</em> Look for sources and websites that have a strong and reliable security and privacy system and policy, that protect your device and data from any potential threats or risks. You can also look for sources and websites that have a fair and transparent terms and conditions and disclaimer on their service and content.</li>
|
112 |
-
</ul>
|
113 |
-
<p>Based on these criteria, here are some of the best sources and websites for downloading subtitles for Black Adam:</p>
|
114 |
-
<table>
|
115 |
-
<tr>
|
116 |
-
<th>Source / Website</th>
|
117 |
-
<th>Description</th>
|
118 |
-
</tr>
|
119 |
-
<tr>
|
120 |
-
<td><a href="">Subscene</a></td>
|
121 |
-
<td>A popular and trusted website that offers subtitles in various languages, formats, styles, etc. It has a large and active community of subtitle creators and users, who upload, download, rate, comment, and request subtitles. It also has a simple and easy interface and process for downloading subtitles.</td>
|
122 |
-
</tr>
|
123 |
-
<tr>
|
124 |
-
<td><a href="">OpenSubtitles</a></td>
|
125 |
-
<td>A well-known and reputable website that offers subtitles in multiple languages, formats, styles, etc. It has a huge and diverse collection of subtitles for movies, TV shows, documentaries, etc. It also has a clear and detailed interface and process for downloading subtitles.</td>
|
126 |
-
</tr>
|
127 |
-
<tr>
|
128 |
-
<td><a href="">YIFY Subtitles</a></td>
|
129 |
-
<td>A dedicated and reliable website that offers subtitles for YIFY movies, which are high-quality movies with small file sizes. It has a wide range of subtitles in different languages, formats, styles, etc. It also has a user-friendly and convenient interface and process for downloading subtitles.</td>
|
130 |
-
</tr>
|
131 |
-
<tr>
|
132 |
-
<td><a href="">Podnapisi</a></td>
|
133 |
-
<td>A professional and quality website that offers subtitles in various languages, formats, styles, etc. It has a sophisticated and advanced system for creating, editing, syncing, translating, and downloading subtitles. It also has a clear and easy interface and process for downloading subtitles.</td>
|
134 |
-
</tr>
|
135 |
-
<tr>
|
136 |
-
<td><a href="">Addic7ed</a></td>
|
137 |
-
<td>A specialized and quality website that offers subtitles for TV shows, movies, web series, etc. It has a dedicated and passionate team of subtitle creators and users, who work together to provide accurate and timely subtitles. It also has a simple and easy interface and process for downloading subtitles.</td>
|
138 |
-
</tr>
|
139 |
-
</table>
|
140 |
-
<h3>The steps and tips for downloading subtitles</h3>
|
141 |
-
<p>If you have chosen your source and website for downloading subtitles for Black Adam, you can follow these general steps and tips for downloading subtitles:</p>
|
142 |
-
<ol>
|
143 |
-
<li><em>Search for the movie and the subtitle language.</em> Enter the name of the movie and the language of the subtitle that you want to download in the search box of the website. You can also use filters or categories to narrow down your search results.</li>
|
144 |
-
<li><em>Select the subtitle file that matches the movie.</em> Choose the subtitle file that has the same version, quality, resolution, etc. as the movie that you have or want to watch. You can also check the ratings, comments, or previews of the subtitle file to see if it is good or not.</li>
|
145 |
-
<li><em>Download the subtitle file to your device.</em> Click on the download button or link of the subtitle file, and save it to your device. You might need to unzip or extract the subtitle file if it is compressed or archived.</li>
|
146 |
-
<li><em>Rename and move the subtitle file to the same folder as the movie.</em> Rename the subtitle file to have the same name as the movie file, except for the extension. For example, if your movie file is called Black.Adam.2022.1080p.BluRay.x264.YIFY.mp4, your subtitle file should be called Black.Adam.2022.1080p.BluRay.x264.YIFY.srt. Then, move the subtitle file to the same folder or location as the movie file.</li>
|
147 |
-
<li><em>Play the movie with subtitles using a media player.</em> Open the movie file with a media player that supports subtitles, such as VLC, MPC-HC, KMPlayer, etc. The subtitles should appear automatically on the screen. If not, you can manually enable them by clicking on the subtitle button or menu of the media player.</li>
|
148 |
-
</ol>
|
149 |
-
<p>Here are some tips to make your subtitle downloading experience better:</p>
|
150 |
-
<ul>
|
151 |
-
<li><em>Use a VPN or proxy service.</em> If you are downloading subtitles from sources or websites that are blocked or restricted in your country or region, you might need to use a VPN (virtual private network) or proxy service to access them. A VPN or proxy service can hide your IP address and location, and allow you to browse anonymously and securely.</li>
|
152 |
-
<li><em>Use a malware scanner or antivirus software.</em> If you are downloading subtitles from sources or websites that are not verified or trusted, you might need to use a malware scanner or antivirus software to scan and protect your device and data from any potential threats or risks. A malware scanner or antivirus software can detect and remove any viruses, malware, spyware, etc. that might be hidden in the subtitle files.</li>
|
153 |
-
<li><em>Use a subtitle editor or converter.</em> If you are downloading subtitles that are not compatible or suitable for your movie or media player, you might need to use a subtitle editor or converter to edit or convert them. A subtitle editor or converter can help you adjust the timing, format, style, language, etc. of the subtitles to make them fit your needs and preferences.</li>
|
154 |
-
</ul>
|
155 |
-
<h2>How to watch Black Adam online with subtitles?</h2>
|
156 |
-
<p>If you have downloaded subtitles for Black Adam, you can watch the movie online with subtitles using various streaming platforms and devices. Streaming platforms are online services that allow you to watch movies and other content on demand, while devices are gadgets or tools that enable you to access and play the streaming platforms. Here are some ways to watch Black Adam online with subtitles:</p>
|
157 |
-
<h3>The streaming platforms and devices that support subtitles</h3>
|
158 |
-
<p>There are many streaming platforms and devices that support subtitles, but not all of them are compatible or available for Black Adam. You need to check the compatibility and availability of the streaming platforms and devices for Black Adam before choosing them. Here are some of the most popular and common streaming platforms and devices that support subtitles:</p>
|
159 |
-
<table>
|
160 |
-
<tr>
|
161 |
-
<th>Streaming Platform</th>
|
162 |
-
<th>Device</th>
|
163 |
-
<th>Description</th>
|
164 |
-
</tr>
|
165 |
-
<tr>
|
166 |
-
<td><a href="">HBO Max</a></td>
|
167 |
-
<td>Smart TV, laptop, desktop, tablet, smartphone, game console, etc.</td>
|
168 |
-
<td>The official and exclusive streaming platform for Black Adam, which offers the movie in HD quality and with subtitles in various languages. You need to subscribe to HBO Max to watch the movie, which costs $14.99 per month or $99.99 per year.</td>
|
169 |
-
</tr>
|
170 |
-
<tr>
|
171 |
-
<td><a href="">Amazon Prime Video</a></td>
|
172 |
-
<td>Smart TV, laptop, desktop, tablet, smartphone, game console, etc.</td>
|
173 |
-
<td>A popular and widely available streaming platform that offers a large collection of movies and other content, including Black Adam. You need to rent or buy the movie on Amazon Prime Video to watch it, which costs $5.99 to $19.99 depending on the quality and format. You can also watch the movie with subtitles in various languages.</td>
|
174 |
-
</tr>
|
175 |
-
<tr>
|
176 |
-
<td><a href="">Netflix</a></td>
|
177 |
-
<td>Smart TV, laptop, desktop, tablet, smartphone, game console, etc.</td>
|
178 |
-
<td>A well-known and global streaming platform that offers a huge variety of movies and other content, but not Black Adam. However, you can use a VPN or proxy service to access Netflix from other regions or countries that might have Black Adam available. You need to subscribe to Netflix to watch the movie, which costs $8.99 to $17.99 per month depending on the plan. You can also watch the movie with subtitles in various languages.</td>
|
179 |
-
</tr>
|
180 |
-
<tr>
|
181 |
-
<td><a href="">YouTube</a></td>
|
182 |
-
<td>Laptop, desktop, tablet, smartphone, game console, etc.</td>
|
183 |
-
<td>A free and universal streaming platform that offers a vast amount of movies and other content, but not Black Adam. However, you can use a VPN or proxy service to access YouTube from other regions or countries that might have Black Adam available. You can watch the movie for free or for a fee depending on the uploader and the quality. You can also watch the movie with subtitles in various languages.</td>
|
184 |
-
</tr>
|
185 |
-
</table>
|
186 |
-
<h3>The settings and options for enabling subtitles</h3>
|
187 |
-
<p>If you have chosen your streaming platform and device for watching Black Adam online, you need to enable subtitles on them. Enabling subtitles is usually a simple and easy process, but it might vary depending on the streaming platform and device that you use. Here are some general steps and tips for enabling subtitles:</p>
|
188 |
-
<ol>
|
189 |
-
<li><em>Launch the streaming platform and play the movie.</em> Open the streaming platform that you want to use on your device, and search for Black Adam. Then, click on the play button or link to start watching the movie.</li>
|
190 |
-
<li><em>Access the subtitle menu or button.</em> Look for the subtitle menu or button on the screen, which might be labeled as CC, Subtitles, Captions, etc. It might be located on the bottom, top, or side of the screen, or hidden under a settings or options icon. Click on the subtitle menu or button to open it.</li>
|
191 |
-
<li><em>Select the subtitle language and format.</em> Choose the subtitle language that you want to use from the list of available languages. You might also be able to choose the subtitle format, such as font, color, size, position, etc. from the list of available options. Click on the subtitle language and format that you prefer to apply them.</li>
|
192 |
-
<li><em>Enjoy the movie with subtitles.</em> The subtitles should appear on the screen according to your selection. You can adjust or change them at any time by accessing the subtitle menu or button again. You can also turn them off if you don't need them anymore.</li>
|
193 |
-
</ol>
|
194 |
-
<p>Here are some tips to make your subtitle watching experience better:</p>
|
195 |
-
<ul>
|
196 |
-
<li><em>Choose a subtitle language that matches your level and goal.</em> If you want to improve your English skills, you might want to choose English subtitles that match your level of proficiency and comprehension. If you want to learn a new language, you might want to choose subtitles in that language that match your goal and interest.</li>
|
197 |
-
<li><em>Choose a subtitle format that suits your preference and comfort.</em> If you want to read the subtitles easily and clearly, you might want to choose a subtitle format that has a high contrast and visibility with the background and the movie. If you want to avoid distraction or clutter on the screen, you might want to choose a subtitle format that has a low profile and minimalism with the movie.</li>
|
198 |
-
<li><em>Sync the subtitles with the audio and video of the movie.</em> If you notice that the subtitles are not in sync with the audio or video of the movie, you might want to adjust the timing or speed of the subtitles to match them. You can do this by using the subtitle menu or button, or by using a subtitle editor or converter.</li>
|
199 |
-
<li><em>Compare and contrast the subtitles with the audio and video of the movie.</em> If you want to enhance your learning and enjoyment of the movie, you might want to compare and contrast the subtitles with the audio and video of the movie. You can do this by paying attention to the differences and similarities between the written and spoken words, the expressions and emotions of the actors, the context and culture of the movie, etc.</li>
|
200 |
-
</ul>
|
201 |
-
<h2>Conclusion</h2>
|
202 |
-
<p>Black Adam is a movie that you might want to watch online with subtitles, especially if you are not a native English speaker, or you have trouble understanding some parts of the movie. Subtitles can help you comprehend, enjoy, and learn from the movie, but they also have some challenges and limitations. Therefore, you need to be careful and responsible when downloading and using subtitles for Black Adam. You also need to choose the best sources and websites for downloading subtitles, and the best streaming platforms and devices for watching the movie online with subtitles. By following these tips and steps, you can have a great subtitle watching experience with Black Adam.</p>
|
203 |
-
<h2>FAQs</h2>
|
204 |
-
<p>Here are some frequently asked questions (FAQs) about Black Adam movie English subtitles download:</p>
|
205 |
-
<ol>
|
206 |
-
<li><strong>Q: Is Black Adam a sequel or a prequel to Shazam?</strong></li>
|
207 |
-
<li><strong>A: Black Adam is neither a sequel nor a prequel to Shazam. It is a spin-off that takes place in the same universe as Shazam, but focuses on a different character and story. However, Black Adam and Shazam are connected by their origin and powers, and they might meet in a future crossover movie.</strong></li>
|
208 |
-
<li><strong>Q: How long is Black Adam?</strong></li>
|
209 |
-
<li><strong>A: The official runtime of Black Adam is not yet confirmed, but it is estimated to be around 2 hours and 15 minutes. This might change depending on the final editing and post-production of the movie.</strong></li>
|
210 |
-
<li><strong>Q: Where can I watch Black Adam online legally?</strong></li>
|
211 |
-
<li><strong>A: The only legal and official way to watch Black Adam online is through HBO Max, which is the exclusive streaming platform for Black Adam. You need to subscribe to HBO Max to watch Black Adam online, which costs $14.99 per month or $99.99 per year. You can also watch Black Adam in theaters if they are open and safe in your area.</strong></li>
|
212 |
-
<li><strong>Q: How can I download Black Adam online legally?</strong></li>
|
213 |
-
<li><strong>A: The only legal and official way to download Black Adam online is through Amazon Prime Video, which offers the movie for rent or purchase. You need to pay a fee to download Black Adam on Amazon Prime Video, which costs $5.99 to $19.99 depending on the quality and format. You can also download Black Adam from other sources or websites, but they might not be legal or safe.</strong></li>
|
214 |
-
<li><strong>Q: How can I get subtitles for Black Adam online legally?</strong></li>
|
215 |
-
<li><strong>A: The easiest and safest way to get subtitles for Black Adam online is to use the official sources and websites that provide the movie and the subtitles, such as HBO Max and Amazon Prime Video. They offer subtitles in various languages and formats that match the movie. You can also get subtitles from other sources or websites, but they might not be legal or reliable.</strong></li>
|
216 |
-
</ol></p> 401be4b1e0<br />
|
217 |
-
<br />
|
218 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Challenge Opponents from Around the World in F1 Mobile Racing 2021 The Best F1 Multiplayer Game.md
DELETED
@@ -1,114 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Download F1 Mobile Racing 2021: The Official Game of the FIA Formula One World Championship</h1>
|
3 |
-
<p>If you are a fan of Formula One, you will love F1 Mobile Racing 2021, the official free-to-play game of the 2021 FIA Formula One World Championship. This game lets you experience the thrill of racing against real players from around the world, as well as the official teams, drivers, and circuits of this season. You can also customize your own F1 car and upgrade it with new performance parts to dominate the grid. With stunning audio and visual quality, regular content updates, and exciting events, F1 Mobile Racing 2021 is the ultimate F1 game for your mobile device. In this article, we will show you how to download and play this amazing game.</p>
|
4 |
-
<h2>Features of F1 Mobile Racing 2021</h2>
|
5 |
-
<p>F1 Mobile Racing 2021 has many features that make it stand out from other racing games. Here are some of them:</p>
|
6 |
-
<h2>download f1 mobile racing 2021</h2><br /><p><b><b>DOWNLOAD</b> ⇔ <a href="https://jinyurl.com/2uNKIy">https://jinyurl.com/2uNKIy</a></b></p><br /><br />
|
7 |
-
<ul>
|
8 |
-
<li><b>Real-time PvP racing with players from around the world</b>: You can challenge other players in fast-paced duels or join global leagues and tournaments to compete for glory. You can also race against your friends or rivals in custom lobbies.</li>
|
9 |
-
<li><b>Official teams, drivers, and circuits of the 2021 season</b>: You can choose to represent one of the ten teams from this season's F1 grid, such as Mercedes, Red Bull, Ferrari, McLaren, or Aston Martin. You can also race as one of the twenty drivers, including Lewis Hamilton, Max Verstappen, Charles Leclerc, Lando Norris, or Sebastian Vettel. You can also race on all the official circuits of this season, such as Bahrain, Monaco, Silverstone, Spa-Francorchamps, or Abu Dhabi.</li>
|
10 |
-
<li><b>Customizable F1 car design and performance parts</b>: You can create your own F1 car and personalize it with different liveries, helmets, stickers, and more. You can also discover new performance parts and upgrade your car's engine, chassis, aerodynamics, brakes, and tyres. You can also use different setups and strategies to suit different tracks and conditions.</li>
|
11 |
-
<li><b>Immersive audio and visual quality</b>: You can enjoy realistic sound effects and music that capture the atmosphere of a real F1 race. You can also admire the stunning graphics and animations that bring the cars and tracks to life. You can also adjust the camera angles and views to suit your preference.</li>
|
12 |
-
<li><b>Regular content updates and events</b>: You can always find something new and exciting in F1 Mobile Racing 2021. The game is updated regularly with new features, improvements, bug fixes, and more. You can also participate in special events that offer unique challenges and rewards. For example, you can join the Grand Prix™ events that follow the real-life F1 calendar or try out the Time-Limited events that test your skills on different tracks.</li>
|
13 |
-
</ul>
|
14 |
-
<h2>How to Download F1 Mobile Racing 2021</h2>
|
15 |
-
<p>F1 Mobile Racing 2021 is available for both iOS and Android devices. Here are some things you need to know before downloading the game:</p>
|
16 |
-
<ul>
|
17 |
-
<li><b>Requirements and compatibility for iOS and Android devices</b>: F1 Mobile Racing 2021 requires iOS 12.0 or later and Android 6.0 or later to run. The game also requires a stable internet connection and at least 2.5 GB of free storage space. The game is compatible with most devices, but some older or low-end devices may experience performance issues or crashes. You can check the list of supported devices on the game's official website.</li>
|
18 |
-
<li><b>Steps to download and install the game from the App Store or Google Play Store</b>: To download the game, you need to follow these simple steps: <ol>
|
19 |
-
<li>Open the App Store or Google Play Store on your device and search for "F1 Mobile Racing 2021".</li>
|
20 |
-
<li>Tap on the game icon and then tap on the "Get" or "Install" button.</li>
|
21 |
-
<li>Wait for the game to download and install on your device. This may take a few minutes depending on your internet speed and device performance.</li>
|
22 |
-
<li>Once the game is installed, tap on the game icon to launch it and enjoy!</li>
|
23 |
-
</ol>
|
24 |
-
</li>
|
25 |
-
<li><b>Tips to optimize the game settings and performance</b>: To ensure a smooth and enjoyable gaming experience, you can follow these tips: <ul>
|
26 |
-
<li>Close any other apps running in the background before launching the game.</li>
|
27 |
-
<li>Adjust the graphics quality and frame rate settings in the game options to suit your device capabilities.</li>
|
28 |
-
<li>Use a Wi-Fi connection instead of mobile data to avoid lag or disconnection issues.</li>
|
29 |
-
<li>Keep your device updated with the latest software and security patches.</li>
|
30 |
-
<li>Contact the game's customer support if you encounter any problems or bugs.</li>
|
31 |
-
</ul>
|
32 |
-
</li>
|
33 |
-
</ul>
|
34 |
-
<h2>How to Play F1 Mobile Racing 2021</h2>
|
35 |
-
<p>F1 Mobile Racing 2021 is easy to play but hard to master. Here are some things you need to know before you start racing:</p>
|
36 |
-
<ul>
|
37 |
-
<li><b>Game modes: Career, Duels, Events, and more</b>: F1 Mobile Racing 2021 offers various game modes for different levels of challenge and fun. You can choose from: <ul>
|
38 |
-
<li>Career: This is where you start your journey as an F1 driver. You can create your own team, customize your car, and compete in different seasons and championships. You can also unlock new performance parts, liveries, helmets, stickers, and more as you progress.</li>
|
39 |
-
<li>Duels: This is where you race against other players in real-time PvP matches. You can choose from different race types, such as Sprint, Grid Start, Qualifying, or Endurance. You can also earn trophies, XP, credits, and rewards based on your performance.</li>
|
40 |
-
<li>Events: This is where you participate in special events that follow the real-life F1 calendar or offer unique challenges. You can race on different tracks, with different weather conditions, car setups, and rules. You can also win exclusive prizes, such as rare performance parts, legendary liveries, or even real F1 merchandise.</li>
|
41 |
-
<li>Other modes: You can also try out other modes, such as Time Trial, Practice, or Test Drive. These modes allow you to practice your skills, test your car's performance, or just have fun without any pressure.</li>
|
42 |
-
</ul>
|
43 |
-
</li>
|
44 |
-
<li><b>Controls and gameplay tips</b>: F1 Mobile Racing 2021 has intuitive and responsive controls that let you steer, accelerate, brake, and use DRS and ERS with ease. You can choose from different control schemes, such as Tilt, Touch, or Virtual Wheel. You can also adjust the sensitivity and feedback settings in the game options. Here are some gameplay tips to help you race better: <ul>
|
45 |
-
<li>Follow the racing line: The racing line is a colored line that shows you the optimal path to take on each corner. It changes from green to yellow to red depending on your speed and braking point. Try to follow the racing line as much as possible to avoid losing time or crashing.</li>
|
46 |
-
<li>Use DRS and ERS wisely: DRS (Drag Reduction System) and ERS (Energy Recovery System) are two features that can boost your speed and performance. DRS allows you to open a flap on your rear wing to reduce drag and increase top speed on certain straights. ERS allows you to harvest energy from braking and use it to boost your engine power on demand. You can activate DRS and ERS by tapping on their icons on the screen. However , you need to use them strategically, as they have limited availability and can affect your car's handling and fuel consumption.</li>
|
47 |
-
<li>Manage your tyres and brakes: Your tyres and brakes are essential for your car's performance and safety. However, they can wear out and overheat over time, affecting your grip and braking. You need to monitor your tyre and brake temperatures and adjust your driving style accordingly. You can also choose different tyre compounds and brake modes to suit different tracks and conditions.</li>
|
48 |
-
<li>Learn from the best: You can watch replays of your own races or other players' races to learn from their mistakes and successes. You can also follow the tips and tutorials in the game to improve your skills and knowledge.</li>
|
49 |
-
</ul>
|
50 |
-
</li>
|
51 |
-
<li><b>Progression and rewards system</b>: F1 Mobile Racing 2021 has a rewarding progression system that lets you level up, earn credits, unlock new items, and more. Here are some ways you can progress and earn rewards in the game: <ul>
|
52 |
-
<li>Complete missions: Missions are tasks that challenge you to achieve certain goals or milestones in the game. For example, you may be asked to win a certain number of races, reach a certain league, or use a certain car part. Completing missions will reward you with XP, credits, or other prizes.</li>
|
53 |
-
<li>Open crates: Crates are boxes that contain random items, such as performance parts, liveries, helmets, stickers, or credits. You can earn crates by winning races, completing missions, or participating in events. You can also buy crates with real money or watch ads to get free crates.</li>
|
54 |
-
<li>Join the F1 Pass: The F1 Pass is a subscription service that gives you access to exclusive benefits and rewards. For example, you can get more XP, credits, crates, performance parts, liveries, helmets, stickers, and more. You can also get access to premium events and content. You can choose from different F1 Pass plans depending on your budget and preference.</li>
|
55 |
-
</ul>
|
56 |
-
</li>
|
57 |
-
</ul>
|
58 |
-
<h2>Conclusion</h2>
|
59 |
-
<p>F1 Mobile Racing 2021 is the ultimate F1 game for your mobile device. It lets you race against real players from around the world, as well as the official teams, drivers, and circuits of this season. It also lets you customize your own F1 car and upgrade it with new performance parts. It also offers immersive audio and visual quality, regular content updates, and exciting events. F1 Mobile Racing 2021 is easy to download and play, but hard to master. It offers various game modes, controls, and gameplay tips to suit different levels of challenge and fun. It also has a rewarding progression system that lets you level up, earn credits, unlock new items, and more.</p>
|
60 |
-
<p>If you are a fan of Formula One, you should not miss this game. Download F1 Mobile Racing 2021 today and join the F1 community. You will have a blast racing against other players and experiencing the thrill of F1.</p>
|
61 |
-
<p>How to download f1 mobile racing 2021 for free<br />
|
62 |
-
Download f1 mobile racing 2021 apk mod<br />
|
63 |
-
F1 mobile racing 2021 tips and tricks<br />
|
64 |
-
F1 mobile racing 2021 best car setup<br />
|
65 |
-
F1 mobile racing 2021 career mode guide<br />
|
66 |
-
F1 mobile racing 2021 cheats and hacks<br />
|
67 |
-
F1 mobile racing 2021 review and ratings<br />
|
68 |
-
F1 mobile racing 2021 gameplay and features<br />
|
69 |
-
F1 mobile racing 2021 official game from codemasters<br />
|
70 |
-
F1 mobile racing 2021 season update and news<br />
|
71 |
-
F1 mobile racing 2021 multiplayer duels and events<br />
|
72 |
-
F1 mobile racing 2021 download for android and ios<br />
|
73 |
-
F1 mobile racing 2021 system requirements and compatibility<br />
|
74 |
-
F1 mobile racing 2021 r&d system and upgrades<br />
|
75 |
-
F1 mobile racing 2021 teams and drivers<br />
|
76 |
-
F1 mobile racing 2021 circuits and tracks<br />
|
77 |
-
F1 mobile racing 2021 graphics and performance<br />
|
78 |
-
F1 mobile racing 2021 codes and rewards<br />
|
79 |
-
F1 mobile racing 2021 support and help<br />
|
80 |
-
F1 mobile racing 2021 community and forums<br />
|
81 |
-
Download f1 mobile racing 2020 vs 2021 comparison<br />
|
82 |
-
Download f1 mobile racing 2022 beta version<br />
|
83 |
-
Download f1 mobile racing 2023 season preview<br />
|
84 |
-
Download f1 mobile racing legends edition<br />
|
85 |
-
Download f1 mobile racing ultimate edition<br />
|
86 |
-
Download f1 mobile racing deluxe edition<br />
|
87 |
-
Download f1 mobile racing standard edition<br />
|
88 |
-
Download f1 mobile racing free trial version<br />
|
89 |
-
Download f1 mobile racing offline mode<br />
|
90 |
-
Download f1 mobile racing online mode<br />
|
91 |
-
Download f1 mobile racing vr mode<br />
|
92 |
-
Download f1 mobile racing controller support<br />
|
93 |
-
Download f1 mobile racing customisation options<br />
|
94 |
-
Download f1 mobile racing leaderboards and rankings<br />
|
95 |
-
Download f1 mobile racing achievements and trophies<br />
|
96 |
-
Download f1 mobile racing wallpapers and themes<br />
|
97 |
-
Download f1 mobile racing soundtracks and music<br />
|
98 |
-
Download f1 mobile racing videos and trailers<br />
|
99 |
-
Download f</p>
|
100 |
-
<h3>FAQs</h3>
|
101 |
-
<ul>
|
102 |
-
<li><b>Q: Is F1 Mobile Racing 2021 free to play?</b></li>
|
103 |
-
<li>A: Yes, F1 Mobile Racing 2021 is free to play. However, it also offers in-app purchases that can enhance your gaming experience.</li>
|
104 |
-
<li><b>Q: How can I contact the game's customer support?</b></li>
|
105 |
-
<li>A: You can contact the game's customer support by tapping on the settings icon on the main menu and then tapping on the help button. You can also visit the game's official website or social media pages for more information.</li>
|
106 |
-
<li><b>Q: How can I connect with other players?</b></li>
|
107 |
-
<li>A: You can connect with other players by joining the game's official Discord server or Facebook group. You can also follow the game's official Twitter or Instagram accounts for news and updates.</li>
|
108 |
-
<li><b>Q: How can I give feedback or suggestions for the game?</b></li>
|
109 |
-
<li>A: You can give feedback or suggestions for the game by tapping on the settings icon on the main menu and then tapping on the feedback button. You can also rate and review the game on the App Store or Google Play Store.</li>
|
110 |
-
<li><b>Q: How can I support the game's development?</b></li>
|
111 |
-
<li>A: You can support the game's development by buying in-app purchases or subscribing to the F1 Pass. You can also share the game with your friends or family or write a positive review for the game.</li>
|
112 |
-
</ul></p> 401be4b1e0<br />
|
113 |
-
<br />
|
114 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Enjoy Instagram with No Ads No Seen and More - Download Instagram MOD APK (286.0.0.20.69) for Android.md
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Download Instagram Mod Apk Latest Version 2023</h1>
|
3 |
-
<p>Instagram is one of the most popular social media platforms in the world, with over one billion active users. It allows you to share photos and videos with your followers, discover new content and creators, shop for products, chat with friends, and more. But what if you want to unlock some extra features that are not available in the official app? That's where Instagram mod apk comes in.</p>
|
4 |
-
<h2>download instagram mod apk latest version 2023</h2><br /><p><b><b>Download Zip</b> · <a href="https://jinyurl.com/2uNM5f">https://jinyurl.com/2uNM5f</a></b></p><br /><br />
|
5 |
-
<p>Instagram mod apk is a modified version of the official app that offers many extras, such as removing ads, hiding view live and seen status, downloading media, disabling stories, locking Instagram with a PIN code, and more. It gives you more control over your privacy and user experience, as well as some fun and useful functions. In this article, we will show you how to download and install Instagram mod apk on your Android device, as well as the features and risks of using it.</p>
|
6 |
-
<h2>How to Download and Install Instagram Mod Apk on Android</h2>
|
7 |
-
<p>Before you can download and install Instagram mod apk on your Android device, you need to do two things: allow unknown apps from your browser and install a file manager app. Here are the steps:</p>
|
8 |
-
<ol>
|
9 |
-
<li>Go to your device settings and tap Apps & Notifications (or Apps in older versions of Android).</li>
|
10 |
-
<li>Tap the three dots in the upper-right corner.</li>
|
11 |
-
<li>Tap Special access.</li>
|
12 |
-
<li>Tap Install unknown apps.</li>
|
13 |
-
<li>Tap Chrome (or whichever web browser you use).</li>
|
14 |
-
<li>Move Allow from this source to the On position.</li>
|
15 |
-
</ol>
|
16 |
-
<p>This will let you download APK files (Android application packages) from your browser. APK files are like packages for Android apps; if you have the APK file, you can install the app on your device.</p>
|
17 |
-
<p>Next, you need a file manager app to find the APK file on your device after you download it. You can use the default file manager app on your device, or download one from Google Play Store. For example, you can use Cx File Explorer or File Manager.</p>
|
18 |
-
<p>download instagram mod apk latest version 2023 with no ads<br />
|
19 |
-
how to download instagram mod apk latest version 2023 for android<br />
|
20 |
-
download instagram mod apk latest version 2023 with live ghost mode<br />
|
21 |
-
download instagram mod apk latest version 2023 with unfollow tracker<br />
|
22 |
-
download instagram mod apk latest version 2023 with pin lock<br />
|
23 |
-
download instagram mod apk latest version 2023 with profile picture zoom<br />
|
24 |
-
download instagram mod apk latest version 2023 with voice message downloader<br />
|
25 |
-
download instagram mod apk latest version 2023 with story downloader<br />
|
26 |
-
download instagram mod apk latest version 2023 with disable seen feature<br />
|
27 |
-
download instagram mod apk latest version 2023 with hide typing status feature<br />
|
28 |
-
download instagram mod apk latest version 2023 with rearrange feed feature<br />
|
29 |
-
download instagram mod apk latest version 2023 with copy comments feature<br />
|
30 |
-
download instagram mod apk latest version 2023 with premium features unlocked<br />
|
31 |
-
download instagram mod apk latest version 2023 safe and reliable<br />
|
32 |
-
download instagram mod apk latest version 2023 direct link<br />
|
33 |
-
download instagram mod apk latest version 2023 free and easy<br />
|
34 |
-
download instagram mod apk latest version 2023 without root<br />
|
35 |
-
download instagram mod apk latest version 2023 updated and working<br />
|
36 |
-
download instagram mod apk latest version 2023 for social media marketing<br />
|
37 |
-
download instagram mod apk latest version 2023 for more engagement and followers<br />
|
38 |
-
download instagram mod apk latest version 2023 for better privacy and security<br />
|
39 |
-
download instagram mod apk latest version 2023 for more fun and entertainment<br />
|
40 |
-
download instagram mod apk latest version 2023 for unlimited energy and creativity<br />
|
41 |
-
download instagram mod apk latest version 2023 for android devices only<br />
|
42 |
-
download instagram mod apk latest version 2023 from tecnoandroid.net[^1^]</p>
|
43 |
-
<p>Now that you have prepared your device, you can download Instagram mod apk from a reputable website. There are many websites that offer APK files for various apps, but some of them may be unsafe or contain malware. One of the most trusted sources for APK files is APK Mirror. You can visit their website and search for Instagram mod apk. Make sure you download the latest version that is compatible with your device.</p>
|
44 |
-
<p>Once you have downloaded the APK file, open your file manager app and locate it in your Downloads folder. Tap on it and follow the instructions to install it. You may need to accept some pop-ups or permissions before installing it. Once it is installed, you can open it and enjoy all the extra features of Instagram mod apk.</p>
|
45 |
-
<h2>Features of Instagram Mod Apk</h2>
|
46 |
-
<p>Instagram mod apk has many features that are not available in the official app. Some of them are:</p>
|
47 |
-
<ul>
|
48 |
-
<li><b>Remove ads and stories</b>: You can get rid of annoying ads and stories that clutter your feed and waste your data.</li>
|
49 |
-
<li><b>Hide view live and seen status</b>: You can watch live videos and stories without letting the other person know that you have seen them. You can also hide your own seen status from others.</li>
|
50 |
-
<li><b>Download videos, photos, stories, IGTV videos, and voice messages</b>: You can download any media that you see on Instagram with just one tap. You can also save voice messages from direct messages.</li>
|
51 |
-
<li><b>Disable stories and typing status</b>: You can disable the stories feature completely if you don't want to see or post them. You can also disable the typing status indicator in direct messages.</li>
|
52 |
-
<li><b>View full profile pictures and copy comments</b>: You can view the full size of any profile picture by tapping on it. You can also copy any comment that you see on Instagram.</li>
|
53 |
-
<li><b>Lock Instagram with PIN code and rearrange tabs</b>: You can protect your privacy by locking Instagram with a four-digit PIN code. You can also rearrange the tabs at the bottom of the app according to your preference.</li>
|
54 |
-
</ul>
|
55 |
-
<p>These are just some of the features of Instagram mod apk. There are many more that you can explore and enjoy.</p>
|
56 |
-
<h2>Risks of Instagram Mod Apk</h2>
|
57 |
-
<p>While Instagram mod apk may sound tempting, it is not without risks. Using a modified app can expose you to various dangers, such as:</p>
|
58 |
-
<ul>
|
59 |
-
<li><b>Predators and mature content</b>: Instagram mod apk may allow you to access content that is not suitable for your age or preferences. You may encounter predators who may try to exploit you or harm you in some way. You may also see violent, sexual, or disturbing content that may affect your mental health.</li>
|
60 |
-
<li><b>Cyberbullying and viral exposure</b>: Instagram mod apk may make you more vulnerable to cyberbullying and viral exposure. You may receive hateful or abusive messages from strangers or people you know. You may also become a target of online harassment or ridicule if your posts or activities are leaked or shared without your consent.</li>
|
61 |
-
<li><b>Hackers and data breach</b>: Instagram mod apk may compromise your security and privacy. Hackers may use the app to access your personal information, such as your name, email, phone number, location, photos, videos, messages, and more. They may use this information to blackmail you, steal your identity, or harm you in other ways.</li>
|
62 |
-
<li><b>Mental health problems and dangerous challenges</b>: Instagram mod apk may affect your mental health and well-being. You may develop an addiction to the app or suffer from low self-esteem, anxiety, depression, or other mental disorders. You may also participate in dangerous challenges or trends that may put your life at risk.</li>
|
63 |
-
<li><b>Private messaging and phishing links</b>: Instagram mod apk may expose you to private messaging and phishing links. You may receive unsolicited messages from unknown or fake accounts that may contain malware, viruses, or spyware. You may also click on phishing links that may redirect you to malicious websites that may steal your information or infect your device.</li>
|
64 |
-
</ul>
|
65 |
-
<p>These are just some of the risks of using Instagram mod apk. There may be more that you are not aware of.</p>
|
66 |
-
<h2>Conclusion</h2>
|
67 |
-
<p>Instagram mod apk is a modified version of the official app that offers many extra features, such as removing ads, hiding view live and seen status, downloading media, disabling stories, locking Instagram with a PIN code, and more. It gives you more control over your privacy and user experience, as well as some fun and useful functions.</p>
|
68 |
-
<p>However, using Instagram mod apk also comes with many risks, such as predators and mature content, cyberbullying and viral exposure, hackers and data breach, mental health problems and dangerous challenges, private messaging and phishing links, and more. These risks can harm you physically, emotionally, financially, or legally.</p>
|
69 |
-
<p>Therefore, before you download and install Instagram mod apk on your Android device, you should weigh the pros and cons carefully. You should also take some precautions to stay safe on Instagram, such as:</p>
|
70 |
-
<ul>
|
71 |
-
<li>Use a strong password and enable two-factor authentication for your account.</li>
|
72 |
-
<li>Do not share your personal information or photos with strangers or people you don't trust.</li>
|
73 |
-
<li>Do not click on suspicious links or download unknown files from messages or comments.</li>
|
74 |
-
<li>Report and block any abusive or inappropriate content or users.</li>
|
75 |
-
<li>Limit your screen time and take breaks from the app regularly.</li>
|
76 |
-
</ul>
|
77 |
-
<p>We hope this article has helped you understand what Instagram mod apk is, how to download and install it on your Android device, what features it offers, and what risks it poses. If you have any feedback or questions about this topic, please feel free to share them with us in the comments section below. We would love to hear from you!</p>
|
78 |
-
<h3>Frequently Asked Questions</h3>
|
79 |
-
<p>Here are some of the most common questions that people ask about Instagram mod apk:</p>
|
80 |
-
<h4>Is Instagram mod apk legal?</h4>
|
81 |
-
<p>No, Instagram mod apk is not legal. It violates the terms of service of Instagram and may result in your account being banned or suspended. It also infringes the intellectual property rights of Instagram and its developers. Therefore, we do not recommend using Instagram mod apk or any other modified app.</p>
|
82 |
-
<h4>Is Instagram mod apk safe?</h4>
|
83 |
-
<p>No, Instagram mod apk is not safe. It may contain malware, viruses, or spyware that can harm your device or steal your information. It may also expose you to various dangers, such as predators, cyberbullying, hackers, mental health problems, and more. Therefore, we do not recommend using Instagram mod apk or any other modified app.</p>
|
84 |
-
<h4>Can I use Instagram mod apk with my original account?</h4>
|
85 |
-
<p>No, you cannot use Instagram mod apk with your original account. If you try to log in with your original account, you may get an error message or a warning that your account is at risk. You may also lose access to your account or get banned or suspended by Instagram. Therefore, we do not recommend using Instagram mod apk or any other modified app.</p>
|
86 |
-
<h4>Can I update Instagram mod apk?</h4>
|
87 |
-
<p>No, you cannot update Instagram mod apk. If you try to update it from Google Play Store or the official app, you may lose all the extra features or get an incompatible version. You may also get detected by Instagram and face consequences. Therefore, we do not recommend using Instagram mod apk or any other modified app.</p>
|
88 |
-
<h4>Where can I download Instagram mod apk?</h4>
|
89 |
-
<p>You can download Instagram mod apk from various websites that offer APK files for different apps. However, we do not recommend doing so, as these websites may be unsafe or contain malware. One of the most trusted sources for APK files is APK Mirror, but even they cannot guarantee the safety or legality of the files. Therefore, we do not recommend using Instagram mod apk or any other modified app.</p> 197e85843d<br />
|
90 |
-
<br />
|
91 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Enjoy the Ultimate Soccer Experience with FIFA APK Day.md
DELETED
@@ -1,125 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>FIFA apk dayı: A Guide to the Ultimate Mobile Soccer Experience</h1>
|
3 |
-
<p>If you are a fan of soccer games, you might have heard of FIFA Mobile, the official mobile game of the FIFA World Cup 2022™. But did you know that there is a modded version of this game that offers more features and benefits? It's called FIFA apk dayı, and it's one of the most popular soccer games for Android devices. In this article, we will tell you everything you need to know about FIFA apk dayı, including what it is, how to download and install it, how to play it, and some tips and tricks to help you win more matches.</p>
|
4 |
-
<h2>What is FIFA apk dayı?</h2>
|
5 |
-
<h3>A modded version of FIFA Mobile 2023</h3>
|
6 |
-
<p>FIFA apk dayı is a modified version of FIFA Mobile 2023, the latest update of the official mobile game of the FIFA World Cup 2022™. It is developed by a Turkish developer who goes by the name of Dayı, which means uncle in Turkish. The modded version adds new features and improvements to the original game, such as:</p>
|
7 |
-
<h2>fifa apk dayı</h2><br /><p><b><b>Download File</b> <a href="https://jinyurl.com/2uNN6i">https://jinyurl.com/2uNN6i</a></b></p><br /><br />
|
8 |
-
<ul>
|
9 |
-
<li>Unlimited coins and gems</li>
|
10 |
-
<li>All players unlocked and upgraded</li>
|
11 |
-
<li>All teams and leagues updated</li>
|
12 |
-
<li>New kits and badges</li>
|
13 |
-
<li>New stadiums and balls</li>
|
14 |
-
<li>No ads or in-app purchases</li>
|
15 |
-
</ul>
|
16 |
-
<h3>Features and benefits of FIFA apk dayı</h3>
|
17 |
-
<p>By playing FIFA apk dayı, you can enjoy the ultimate mobile soccer experience with more freedom and fun. Some of the features and benefits of this game are:</p>
|
18 |
-
<ul>
|
19 |
-
<li>Build your dream team with over 15,000 authentic soccer stars from over 600 teams, including world-class talent like Kylian Mbappé, Christian Pulisic, Vinicius Jr, and Son Heung-min.</li>
|
20 |
-
<li>Relive the world‘s greatest soccer tournament with the only licensed FIFA World Cup 2022™ mobile game. Replay the official tournament brackets with any of the 32 qualified nations or rewrite history with 15 non-qualified nations.</li>
|
21 |
-
<li>Compete against the best in pvp modes, including Head-to-Head, VS Attack, Manager Mode, and more. Dominate your opponents with new ways to pass, shoot, dribble, and tackle.</li>
|
22 |
-
<li>Immerse yourself in realistic soccer simulation with new graphics, animations, sounds, commentary, and stadiums.</li>
|
23 |
-
<li>Learn new skills and tactics with The Academy mode. Play through various drills and challenges to improve your gameplay.</li>
|
24 |
-
</ul>
|
25 |
-
<h2>How to download and install FIFA apk dayı?</h2>
|
26 |
-
<h3>Requirements and precautions</h3>
|
27 |
-
<p>Before you download and install FIFA apk dayı, you need to make sure that your device meets the following requirements:</p>
|
28 |
-
<ul>
|
29 |
-
<li>Android version 4.4 or higher</li>
|
30 |
-
<li>At least 1 GB of RAM</li>
|
31 |
-
<li>At least 1.5 GB of free storage space</li>
|
32 |
-
<li>A stable internet connection</li>
|
33 |
-
</ul>
|
34 |
-
<p>You also need to take some precautions before installing the game:</p>
|
35 |
-
<ul>
|
36 |
-
<li>Backup your data from the original FIFA Mobile game if you have it installed. You can use Google Play Games or any other cloud service to do this.</li>
|
37 |
-
<li>Enable unknown sources on your device settings. This will allow you to install apps from sources other than Google Play Store.</li>
|
38 |
-
<li <h3>Steps to download and install</h3>
|
39 |
-
<p>Once you have met the requirements and taken the precautions, you can follow these steps to download and install FIFA apk dayı:</p>
|
40 |
-
<ol>
|
41 |
-
<li>Go to the official website of FIFA apk dayı at [fifaapkdayi.com] and click on the download button.</li>
|
42 |
-
<li>Wait for the download to finish and locate the apk file in your device's file manager.</li>
|
43 |
-
<li>Tap on the apk file and follow the instructions to install the game.</li>
|
44 |
-
<li>Launch the game and enjoy!</li>
|
45 |
-
</ol>
|
46 |
-
<h2>How to play FIFA apk dayı?</h2>
|
47 |
-
<h3>Build your Ultimate Team with star players</h3>
|
48 |
-
<p>The main mode of FIFA apk dayı is Ultimate Team, where you can create your own custom squad with your favorite players. You can choose from over 15,000 soccer stars from over 600 teams, including legends like Pelé, Maradona, Ronaldo, Messi, and more. You can also customize your team's kits, badges, and formations. To get new players, you can use coins and gems to buy packs or trade with other players in the market. You can also upgrade your players' skills and attributes by training them or using special items.</p>
|
49 |
-
<p>fifa mobile 2023 apk download<br />
|
50 |
-
fifa soccer mod apk unlimited money<br />
|
51 |
-
fifa world cup 2022 android game<br />
|
52 |
-
fifa 23 apk obb data offline<br />
|
53 |
-
fifa soccer hack apk no root<br />
|
54 |
-
fifa mobile 2023 release date<br />
|
55 |
-
fifa soccer apk latest version<br />
|
56 |
-
fifa world cup 2022 qualifiers game<br />
|
57 |
-
fifa 23 mod apk android 1<br />
|
58 |
-
fifa soccer cheats apk free download<br />
|
59 |
-
fifa mobile 2023 beta apk<br />
|
60 |
-
fifa soccer mod apk revdl<br />
|
61 |
-
fifa world cup 2022 tickets app<br />
|
62 |
-
fifa 23 apk obb data highly compressed<br />
|
63 |
-
fifa soccer mod apk unlimited coins and points<br />
|
64 |
-
fifa mobile 2023 new features<br />
|
65 |
-
fifa soccer apk old version<br />
|
66 |
-
fifa world cup 2022 schedule app<br />
|
67 |
-
fifa 23 mod apk rexdl<br />
|
68 |
-
fifa soccer hack apk download<br />
|
69 |
-
fifa mobile 2023 system requirements<br />
|
70 |
-
fifa soccer mod apk unlimited energy<br />
|
71 |
-
fifa world cup 2022 live streaming app<br />
|
72 |
-
fifa 23 apk obb data download for android<br />
|
73 |
-
fifa soccer mod apk offline<br />
|
74 |
-
fifa mobile 2023 pre register<br />
|
75 |
-
fifa soccer apk pure<br />
|
76 |
-
fifa world cup 2022 official game android<br />
|
77 |
-
fifa 23 mod apk obb offline<br />
|
78 |
-
fifa soccer hack apk ios<br />
|
79 |
-
fifa mobile 2023 trailer<br />
|
80 |
-
fifa soccer mod apk all unlocked<br />
|
81 |
-
fifa world cup 2022 theme song app<br />
|
82 |
-
fifa 23 apk obb data file download<br />
|
83 |
-
fifa soccer mod apk unlimited everything<br />
|
84 |
-
fifa mobile 2023 gameplay<br />
|
85 |
-
fifa soccer apk mirror<br />
|
86 |
-
fifa world cup 2022 countdown app<br />
|
87 |
-
fifa 23 mod apk unlimited money and points offline download <br />
|
88 |
-
fifa soccer hack apk online generator</p>
|
89 |
-
<h3>Relive the FIFA World Cup 2022™ mode</h3>
|
90 |
-
<p>If you want to experience the thrill of the world's biggest soccer tournament, you can play the FIFA World Cup 2022™ mode in FIFA apk dayı. This mode lets you replay the official tournament brackets with any of the 32 qualified nations or rewrite history with 15 non-qualified nations. You can also play through the qualifying stages and earn rewards along the way. The mode features authentic stadiums, kits, balls, and teams from the FIFA World Cup 2022™.</p>
|
91 |
-
<h3>Compete in various pvp modes and events</h3>
|
92 |
-
<p>If you want to test your skills against other players, you can play in various pvp modes and events in FIFA apk dayı. Some of the modes and events are:</p>
|
93 |
-
<ul>
|
94 |
-
<li>Head-to-Head: Play real-time matches against other players in a 11v11 format. Use your own tactics and strategies to outsmart your opponent.</li>
|
95 |
-
<li>VS Attack: Play fast-paced matches against other players in a 4-minute turn-based format. Score as many goals as you can while defending your own goal.</li>
|
96 |
-
<li>Manager Mode: Play as a manager and control your team's tactics, substitutions, and formations. Watch the match unfold and make adjustments as needed.</li>
|
97 |
-
<li>Tournaments: Play in weekly tournaments and earn rewards based on your performance. Climb up the leaderboards and compete with the best.</li>
|
98 |
-
<li>Seasons: Play in different seasons and leagues based on your team's rating. Earn points and prizes as you progress through the divisions.</li>
|
99 |
-
<li>Events: Play in special events based on real-life soccer scenarios. Complete objectives and challenges to earn rewards.</li>
|
100 |
-
</ul>
|
101 |
-
<h2>Tips and tricks for FIFA apk dayı</h2>
|
102 |
-
<h3>Use a combination of tap and button controls</h3>
|
103 |
-
<p>FIFA apk dayı offers two types of controls for playing the game: tap and button. Tap controls allow you to tap on the screen to pass, shoot, dribble, and tackle. Button controls allow you to use virtual buttons on the screen to perform these actions. You can also use gestures to perform advanced moves like skill moves, finesse shots, lob passes, etc. You can switch between tap and button controls anytime during the game by tapping on the settings icon. You can also customize your button layout and size in the settings menu.</p>
|
104 |
-
<h3>Choose the best tactics and formations for your team</h3>
|
105 |
-
<p>FIFA apk dayı gives you the option to choose from different tactics and formations for your team. Tactics affect how your team plays on the pitch, such as attacking style, defensive style, width, depth, etc. Formations affect how your players are positioned on the pitch, such as 4-4-2, 4-3-3, 3-5-2, etc. You can change your tactics and formations before or during a match by tapping on the settings icon. You can also create your own custom tactics and formations in the settings menu.</p>
|
106 |
-
<h3>Train your players and improve their chemistry</h3>
|
107 |
-
<p>FIFA apk dayı allows you to train your players and improve their chemistry. Training your players increases their skills and attributes, making them perform better on the pitch. You can train your players by using training items or coins in the Ultimate Team menu. Improving your chemistry increases your team's overall rating and performance, making them play better together. You can improve your chemistry by using players from the same nation, league, team, or position. You can check your chemistry by looking at the green, yellow, or red lines connecting your players in the Ultimate Team menu.</p>
|
108 |
-
<h2>Conclusion</h2>
|
109 |
-
<p>FIFA apk dayı is a modded version of FIFA Mobile 2023 that offers more features and benefits than the original game. It allows you to build your dream team with star players, relive the FIFA World Cup 2022™ mode, compete in various pvp modes and events, and enjoy realistic soccer simulation. You can download and install FIFA apk dayı from its official website and play it on your Android device. You can also use some tips and tricks to improve your gameplay and win more matches. FIFA apk dayı is a must-have game for any soccer fan who wants to have the ultimate mobile soccer experience.</p>
|
110 |
-
<h2>FAQs</h2>
|
111 |
-
<p>Here are some frequently asked questions about FIFA apk dayı:</p>
|
112 |
-
<ol>
|
113 |
-
<li>Is FIFA apk dayı safe to download and install?</li>
|
114 |
-
<p>Yes, FIFA apk dayı is safe to download and install, as long as you get it from its official website. However, you should always backup your data from the original FIFA Mobile game before installing the modded version, as it may overwrite or delete your data.</p>
|
115 |
-
<li>Is FIFA apk dayı compatible with other devices?</li>
|
116 |
-
<p>FIFA apk dayı is only compatible with Android devices that meet the requirements mentioned above. It is not compatible with iOS devices or other platforms.</p>
|
117 |
-
<li>Is FIFA apk dayı legal to play?</li>
|
118 |
-
<p>FIFA apk dayı is not an official product of EA Sports or FIFA, and it is not endorsed or supported by them. It is a fan-made mod that violates the terms of service of the original game. Therefore, playing FIFA apk dayı may result in a ban or suspension from the original game or other consequences. Play at your own risk.</p>
|
119 |
-
<li>How can I update FIFA apk dayı?</li>
|
120 |
-
<p>FIFA apk dayı is updated regularly by its developer to fix bugs, add new features, and keep up with the latest updates of the original game. You can check for updates on its official website or follow its social media accounts for announcements. To update FIFA apk dayı, you need to download and install the latest version of the apk file from its website.</p>
|
121 |
-
<li>How can I contact the developer of FIFA apk dayı?</li>
|
122 |
-
<p>You can contact the developer of FIFA apk dayı by sending an email to [[email protected]] or by visiting their Facebook page at [facebook.com/fifaapkdayi]. You can also leave a comment or a review on their website or social media accounts.</p>
|
123 |
-
</ol></p> 401be4b1e0<br />
|
124 |
-
<br />
|
125 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/801artistry/RVC801/tools/app.py
DELETED
@@ -1,148 +0,0 @@
|
|
1 |
-
import logging
|
2 |
-
import os
|
3 |
-
|
4 |
-
# os.system("wget -P cvec/ https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt")
|
5 |
-
import gradio as gr
|
6 |
-
from dotenv import load_dotenv
|
7 |
-
|
8 |
-
from configs.config import Config
|
9 |
-
from i18n import I18nAuto
|
10 |
-
from infer.modules.vc.pipeline import Pipeline
|
11 |
-
VC = Pipeline
|
12 |
-
|
13 |
-
logging.getLogger("numba").setLevel(logging.WARNING)
|
14 |
-
logging.getLogger("markdown_it").setLevel(logging.WARNING)
|
15 |
-
logging.getLogger("urllib3").setLevel(logging.WARNING)
|
16 |
-
logging.getLogger("matplotlib").setLevel(logging.WARNING)
|
17 |
-
logger = logging.getLogger(__name__)
|
18 |
-
|
19 |
-
i18n = I18nAuto()
|
20 |
-
#(i18n)
|
21 |
-
|
22 |
-
load_dotenv()
|
23 |
-
config = Config()
|
24 |
-
vc = VC(config)
|
25 |
-
|
26 |
-
weight_root = os.getenv("weight_root")
|
27 |
-
weight_uvr5_root = os.getenv("weight_uvr5_root")
|
28 |
-
index_root = os.getenv("index_root")
|
29 |
-
names = []
|
30 |
-
hubert_model = None
|
31 |
-
for name in os.listdir(weight_root):
|
32 |
-
if name.endswith(".pth"):
|
33 |
-
names.append(name)
|
34 |
-
index_paths = []
|
35 |
-
for root, dirs, files in os.walk(index_root, topdown=False):
|
36 |
-
for name in files:
|
37 |
-
if name.endswith(".index") and "trained" not in name:
|
38 |
-
index_paths.append("%s/%s" % (root, name))
|
39 |
-
|
40 |
-
|
41 |
-
app = gr.Blocks()
|
42 |
-
with app:
|
43 |
-
with gr.Tabs():
|
44 |
-
with gr.TabItem("在线demo"):
|
45 |
-
gr.Markdown(
|
46 |
-
value="""
|
47 |
-
RVC 在线demo
|
48 |
-
"""
|
49 |
-
)
|
50 |
-
sid = gr.Dropdown(label=i18n("推理音色"), choices=sorted(names))
|
51 |
-
with gr.Column():
|
52 |
-
spk_item = gr.Slider(
|
53 |
-
minimum=0,
|
54 |
-
maximum=2333,
|
55 |
-
step=1,
|
56 |
-
label=i18n("请选择说话人id"),
|
57 |
-
value=0,
|
58 |
-
visible=False,
|
59 |
-
interactive=True,
|
60 |
-
)
|
61 |
-
sid.change(fn=vc.get_vc, inputs=[sid], outputs=[spk_item])
|
62 |
-
gr.Markdown(
|
63 |
-
value=i18n("男转女推荐+12key, 女转男推荐-12key, 如果音域爆炸导致音色失真也可以自己调整到合适音域. ")
|
64 |
-
)
|
65 |
-
vc_input3 = gr.Audio(label="上传音频(长度小于90秒)")
|
66 |
-
vc_transform0 = gr.Number(label=i18n("变调(整数, 半音数量, 升八度12降八度-12)"), value=0)
|
67 |
-
f0method0 = gr.Radio(
|
68 |
-
label=i18n("选择音高提取算法,输入歌声可用pm提速,harvest低音好但巨慢无比,crepe效果好但吃GPU"),
|
69 |
-
choices=["pm", "harvest", "crepe", "rmvpe"],
|
70 |
-
value="pm",
|
71 |
-
interactive=True,
|
72 |
-
)
|
73 |
-
filter_radius0 = gr.Slider(
|
74 |
-
minimum=0,
|
75 |
-
maximum=7,
|
76 |
-
label=i18n(">=3则使用对harvest音高识别的结果使用中值滤波,数值为滤波半径,使用可以削弱哑音"),
|
77 |
-
value=3,
|
78 |
-
step=1,
|
79 |
-
interactive=True,
|
80 |
-
)
|
81 |
-
with gr.Column():
|
82 |
-
file_index1 = gr.Textbox(
|
83 |
-
label=i18n("特征检索库文件路径,为空则使用下拉的选择结果"),
|
84 |
-
value="",
|
85 |
-
interactive=False,
|
86 |
-
visible=False,
|
87 |
-
)
|
88 |
-
file_index2 = gr.Dropdown(
|
89 |
-
label=i18n("自动检测index路径,下拉式选择(dropdown)"),
|
90 |
-
choices=sorted(index_paths),
|
91 |
-
interactive=True,
|
92 |
-
)
|
93 |
-
index_rate1 = gr.Slider(
|
94 |
-
minimum=0,
|
95 |
-
maximum=1,
|
96 |
-
label=i18n("检索特征占比"),
|
97 |
-
value=0.88,
|
98 |
-
interactive=True,
|
99 |
-
)
|
100 |
-
resample_sr0 = gr.Slider(
|
101 |
-
minimum=0,
|
102 |
-
maximum=48000,
|
103 |
-
label=i18n("后处理重采样至最终采样率,0为不进行重采样"),
|
104 |
-
value=0,
|
105 |
-
step=1,
|
106 |
-
interactive=True,
|
107 |
-
)
|
108 |
-
rms_mix_rate0 = gr.Slider(
|
109 |
-
minimum=0,
|
110 |
-
maximum=1,
|
111 |
-
label=i18n("输入源音量包络替换输出音量包络融合比例,越靠近1越使用输出包络"),
|
112 |
-
value=1,
|
113 |
-
interactive=True,
|
114 |
-
)
|
115 |
-
protect0 = gr.Slider(
|
116 |
-
minimum=0,
|
117 |
-
maximum=0.5,
|
118 |
-
label=i18n("保护清辅音和呼吸声,防止电音撕裂等artifact,拉满0.5不开启,调低加大保护力度但可能降低索引效果"),
|
119 |
-
value=0.33,
|
120 |
-
step=0.01,
|
121 |
-
interactive=True,
|
122 |
-
)
|
123 |
-
f0_file = gr.File(label=i18n("F0曲线文件, 可选, 一行一个音高, 代替默认F0及升降调"))
|
124 |
-
but0 = gr.Button(i18n("转换"), variant="primary")
|
125 |
-
vc_output1 = gr.Textbox(label=i18n("输出信息"))
|
126 |
-
vc_output2 = gr.Audio(label=i18n("输出音频(右下角三个点,点了可以下载)"))
|
127 |
-
but0.click(
|
128 |
-
vc.vc_single,
|
129 |
-
[
|
130 |
-
spk_item,
|
131 |
-
vc_input3,
|
132 |
-
vc_transform0,
|
133 |
-
f0_file,
|
134 |
-
f0method0,
|
135 |
-
file_index1,
|
136 |
-
file_index2,
|
137 |
-
# file_big_npy1,
|
138 |
-
index_rate1,
|
139 |
-
filter_radius0,
|
140 |
-
resample_sr0,
|
141 |
-
rms_mix_rate0,
|
142 |
-
protect0,
|
143 |
-
],
|
144 |
-
[vc_output1, vc_output2],
|
145 |
-
)
|
146 |
-
|
147 |
-
|
148 |
-
app.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/A00001/bingothoo/src/pages/api/blob.ts
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
'use server'
|
2 |
-
|
3 |
-
import { NextApiRequest, NextApiResponse } from 'next'
|
4 |
-
import { Readable } from 'node:stream'
|
5 |
-
import { fetch } from '@/lib/isomorphic'
|
6 |
-
|
7 |
-
const API_DOMAIN = 'https://www.bing.com'
|
8 |
-
|
9 |
-
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
|
10 |
-
try {
|
11 |
-
const { bcid } = req.query
|
12 |
-
|
13 |
-
const { headers, body } = await fetch(`${API_DOMAIN}/images/blob?bcid=${bcid}`,
|
14 |
-
{
|
15 |
-
method: 'GET',
|
16 |
-
headers: {
|
17 |
-
"sec-ch-ua": "\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\"",
|
18 |
-
"sec-ch-ua-mobile": "?0",
|
19 |
-
"sec-ch-ua-platform": "\"Windows\"",
|
20 |
-
"Referrer-Policy": "origin-when-cross-origin",
|
21 |
-
},
|
22 |
-
},
|
23 |
-
)
|
24 |
-
|
25 |
-
res.writeHead(200, {
|
26 |
-
'Content-Length': headers.get('content-length')!,
|
27 |
-
'Content-Type': headers.get('content-type')!,
|
28 |
-
})
|
29 |
-
// @ts-ignore
|
30 |
-
return Readable.fromWeb(body!).pipe(res)
|
31 |
-
} catch (e) {
|
32 |
-
console.log('Error', e)
|
33 |
-
return res.json({
|
34 |
-
result: {
|
35 |
-
value: 'UploadFailed',
|
36 |
-
message: `${e}`
|
37 |
-
}
|
38 |
-
})
|
39 |
-
}
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AI-Hobbyist/Hoyo-RVC/infer/train-index -v2.py
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
"""
|
2 |
-
格式:直接cid为自带的index位;aid放不下了,通过字典来查,反正就5w个
|
3 |
-
"""
|
4 |
-
import faiss, numpy as np, os
|
5 |
-
|
6 |
-
# ###########如果是原始特征要先写save
|
7 |
-
inp_root = r"./logs/nene/3_feature768"
|
8 |
-
npys = []
|
9 |
-
listdir_res = list(os.listdir(inp_root))
|
10 |
-
for name in sorted(listdir_res):
|
11 |
-
phone = np.load("%s/%s" % (inp_root, name))
|
12 |
-
npys.append(phone)
|
13 |
-
big_npy = np.concatenate(npys, 0)
|
14 |
-
big_npy_idx = np.arange(big_npy.shape[0])
|
15 |
-
np.random.shuffle(big_npy_idx)
|
16 |
-
big_npy = big_npy[big_npy_idx]
|
17 |
-
print(big_npy.shape) # (6196072, 192)#fp32#4.43G
|
18 |
-
np.save("infer/big_src_feature_mi.npy", big_npy)
|
19 |
-
|
20 |
-
##################train+add
|
21 |
-
# big_npy=np.load("/bili-coeus/jupyter/jupyterhub-liujing04/vits_ch/inference_f0/big_src_feature_mi.npy")
|
22 |
-
n_ivf = min(int(16 * np.sqrt(big_npy.shape[0])), big_npy.shape[0] // 39)
|
23 |
-
index = faiss.index_factory(768, "IVF%s,Flat" % n_ivf) # mi
|
24 |
-
print("training")
|
25 |
-
index_ivf = faiss.extract_index_ivf(index) #
|
26 |
-
index_ivf.nprobe = 1
|
27 |
-
index.train(big_npy)
|
28 |
-
faiss.write_index(
|
29 |
-
index, "infer/trained_IVF%s_Flat_baseline_src_feat_v2.index" % (n_ivf)
|
30 |
-
)
|
31 |
-
print("adding")
|
32 |
-
batch_size_add = 8192
|
33 |
-
for i in range(0, big_npy.shape[0], batch_size_add):
|
34 |
-
index.add(big_npy[i : i + batch_size_add])
|
35 |
-
faiss.write_index(index, "infer/added_IVF%s_Flat_mi_baseline_src_feat.index" % (n_ivf))
|
36 |
-
"""
|
37 |
-
大小(都是FP32)
|
38 |
-
big_src_feature 2.95G
|
39 |
-
(3098036, 256)
|
40 |
-
big_emb 4.43G
|
41 |
-
(6196072, 192)
|
42 |
-
big_emb双倍是因为求特征要repeat后再加pitch
|
43 |
-
|
44 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AI-ZTH-03-23/8.Datasets-NER-Biomed-ClinicalTerms/app.py
DELETED
@@ -1,268 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import pandas as pd
|
3 |
-
import json
|
4 |
-
from collections import defaultdict
|
5 |
-
|
6 |
-
# Create tokenizer for biomed model
|
7 |
-
from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassification
|
8 |
-
tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all") # https://huggingface.co/d4data/biomedical-ner-all?text=asthma
|
9 |
-
model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all")
|
10 |
-
pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
|
11 |
-
|
12 |
-
# Matplotlib for entity graph
|
13 |
-
import matplotlib.pyplot as plt
|
14 |
-
plt.switch_backend("Agg")
|
15 |
-
|
16 |
-
# Load examples from JSON
|
17 |
-
import os
|
18 |
-
|
19 |
-
# Load terminology datasets:
|
20 |
-
basedir = os.path.dirname(__file__)
|
21 |
-
#dataLOINC = pd.read_csv(basedir + "\\" + f'LoincTableCore.csv')
|
22 |
-
#dataPanels = pd.read_csv(basedir + "\\" + f'PanelsAndForms-ACW1208Labeled.csv')
|
23 |
-
#dataSNOMED = pd.read_csv(basedir + "\\" + f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
|
24 |
-
#dataOMS = pd.read_csv(basedir + "\\" + f'SnomedOMS.csv')
|
25 |
-
#dataICD10 = pd.read_csv(basedir + "\\" + f'ICD10Diagnosis.csv')
|
26 |
-
|
27 |
-
dataLOINC = pd.read_csv(f'LoincTableCore.csv')
|
28 |
-
dataPanels = pd.read_csv(f'PanelsAndForms-ACW1208Labeled.csv')
|
29 |
-
dataSNOMED = pd.read_csv(f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
|
30 |
-
dataOMS = pd.read_csv(f'SnomedOMS.csv')
|
31 |
-
dataICD10 = pd.read_csv(f'ICD10Diagnosis.csv')
|
32 |
-
|
33 |
-
dir_path = os.path.dirname(os.path.realpath(__file__))
|
34 |
-
EXAMPLES = {}
|
35 |
-
#with open(dir_path + "\\" + "examples.json", "r") as f:
|
36 |
-
with open("examples.json", "r") as f:
|
37 |
-
example_json = json.load(f)
|
38 |
-
EXAMPLES = {x["text"]: x["label"] for x in example_json}
|
39 |
-
|
40 |
-
def MatchLOINC(name):
|
41 |
-
#basedir = os.path.dirname(__file__)
|
42 |
-
pd.set_option("display.max_rows", None)
|
43 |
-
#data = pd.read_csv(basedir + "\\" + f'LoincTableCore.csv')
|
44 |
-
data = dataLOINC
|
45 |
-
swith=data.loc[data['COMPONENT'].str.contains(name, case=False, na=False)]
|
46 |
-
return swith
|
47 |
-
|
48 |
-
def MatchLOINCPanelsandForms(name):
|
49 |
-
#basedir = os.path.dirname(__file__)
|
50 |
-
#data = pd.read_csv(basedir + "\\" + f'PanelsAndForms-ACW1208Labeled.csv')
|
51 |
-
data = dataPanels
|
52 |
-
# Assessment Name:
|
53 |
-
#swith=data.loc[data['ParentName'].str.contains(name, case=False, na=False)]
|
54 |
-
# Assessment Question:
|
55 |
-
swith=data.loc[data['LoincName'].str.contains(name, case=False, na=False)]
|
56 |
-
return swith
|
57 |
-
|
58 |
-
def MatchSNOMED(name):
|
59 |
-
#basedir = os.path.dirname(__file__)
|
60 |
-
#data = pd.read_csv(basedir + "\\" + f'sct2_TextDefinition_Full-en_US1000124_20220901.txt',sep='\t')
|
61 |
-
data = dataSNOMED
|
62 |
-
swith=data.loc[data['term'].str.contains(name, case=False, na=False)]
|
63 |
-
return swith
|
64 |
-
|
65 |
-
def MatchOMS(name):
|
66 |
-
#basedir = os.path.dirname(__file__)
|
67 |
-
#data = pd.read_csv(basedir + "\\" + f'SnomedOMS.csv')
|
68 |
-
data = dataOMS
|
69 |
-
swith=data.loc[data['SNOMED CT'].str.contains(name, case=False, na=False)]
|
70 |
-
return swith
|
71 |
-
|
72 |
-
def MatchICD10(name):
|
73 |
-
#basedir = os.path.dirname(__file__)
|
74 |
-
#data = pd.read_csv(basedir + "\\" + f'ICD10Diagnosis.csv')
|
75 |
-
data = dataICD10
|
76 |
-
swith=data.loc[data['Description'].str.contains(name, case=False, na=False)]
|
77 |
-
return swith
|
78 |
-
|
79 |
-
def SaveResult(text, outputfileName):
|
80 |
-
#try:
|
81 |
-
basedir = os.path.dirname(__file__)
|
82 |
-
savePath = outputfileName
|
83 |
-
print("Saving: " + text + " to " + savePath)
|
84 |
-
from os.path import exists
|
85 |
-
file_exists = exists(savePath)
|
86 |
-
if file_exists:
|
87 |
-
with open(outputfileName, "a") as f: #append
|
88 |
-
#for line in text:
|
89 |
-
f.write(str(text.replace("\n"," ")))
|
90 |
-
f.write('\n')
|
91 |
-
else:
|
92 |
-
with open(outputfileName, "w") as f: #write
|
93 |
-
#for line in text:
|
94 |
-
f.write(str(text.replace("\n"," ")))
|
95 |
-
f.write('\n')
|
96 |
-
#except ValueError as err:
|
97 |
-
# raise ValueError("File Save Error in SaveResult \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
|
98 |
-
|
99 |
-
return
|
100 |
-
|
101 |
-
def loadFile(filename):
|
102 |
-
try:
|
103 |
-
basedir = os.path.dirname(__file__)
|
104 |
-
loadPath = basedir + "\\" + filename
|
105 |
-
|
106 |
-
print("Loading: " + loadPath)
|
107 |
-
|
108 |
-
from os.path import exists
|
109 |
-
file_exists = exists(loadPath)
|
110 |
-
|
111 |
-
if file_exists:
|
112 |
-
with open(loadPath, "r") as f: #read
|
113 |
-
contents = f.read()
|
114 |
-
print(contents)
|
115 |
-
return contents
|
116 |
-
|
117 |
-
except ValueError as err:
|
118 |
-
raise ValueError("File Save Error in SaveResult \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
|
119 |
-
|
120 |
-
return ""
|
121 |
-
|
122 |
-
def get_today_filename():
|
123 |
-
from datetime import datetime
|
124 |
-
date = datetime.now().strftime("%Y_%m_%d-%I.%M.%S.%p")
|
125 |
-
#print(f"filename_{date}") 'filename_2023_01_12-03-29-22_AM'
|
126 |
-
return f"MedNER_{date}.csv"
|
127 |
-
|
128 |
-
def get_base(filename):
|
129 |
-
basedir = os.path.dirname(__file__)
|
130 |
-
loadPath = basedir + "\\" + filename
|
131 |
-
#print("Loading: " + loadPath)
|
132 |
-
return loadPath
|
133 |
-
|
134 |
-
def group_by_entity(raw):
|
135 |
-
outputFile = get_base(get_today_filename())
|
136 |
-
out = defaultdict(int)
|
137 |
-
|
138 |
-
for ent in raw:
|
139 |
-
out[ent["entity_group"]] += 1
|
140 |
-
myEntityGroup = ent["entity_group"]
|
141 |
-
print("Found entity group type: " + myEntityGroup)
|
142 |
-
|
143 |
-
if (myEntityGroup in ['Sign_symptom', 'Detailed_description', 'History', 'Activity', 'Medication' ]):
|
144 |
-
eterm = ent["word"].replace('#','')
|
145 |
-
minlength = 3
|
146 |
-
if len(eterm) > minlength:
|
147 |
-
print("Found eterm: " + eterm)
|
148 |
-
eterm.replace("#","")
|
149 |
-
g1=MatchLOINC(eterm)
|
150 |
-
g2=MatchLOINCPanelsandForms(eterm)
|
151 |
-
g3=MatchSNOMED(eterm)
|
152 |
-
g4=MatchOMS(eterm)
|
153 |
-
g5=MatchICD10(eterm)
|
154 |
-
sAll = ""
|
155 |
-
|
156 |
-
print("Saving to output file " + outputFile)
|
157 |
-
# Create harmonisation output format of input to output code, name, Text
|
158 |
-
|
159 |
-
try: # 18 fields, output to labeled CSV dataset for results teaching on scored regret changes to action plan with data inputs
|
160 |
-
col = " 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19"
|
161 |
-
|
162 |
-
#LOINC
|
163 |
-
g11 = g1['LOINC_NUM'].to_string().replace(","," ").replace("\n"," ")
|
164 |
-
g12 = g1['COMPONENT'].to_string().replace(","," ").replace("\n"," ")
|
165 |
-
s1 = ("LOINC," + myEntityGroup + "," + eterm + ",questions of ," + g12 + "," + g11 + ", Label,Value, Label,Value, Label,Value ")
|
166 |
-
if g11 != 'Series([] )': SaveResult(s1, outputFile)
|
167 |
-
|
168 |
-
#LOINC Panels
|
169 |
-
g21 = g2['Loinc'].to_string().replace(","," ").replace("\n"," ")
|
170 |
-
g22 = g2['LoincName'].to_string().replace(","," ").replace("\n"," ")
|
171 |
-
g23 = g2['ParentLoinc'].to_string().replace(","," ").replace("\n"," ")
|
172 |
-
g24 = g2['ParentName'].to_string().replace(","," ").replace("\n"," ")
|
173 |
-
# s2 = ("LOINC Panel," + myEntityGroup + "," + eterm + ",name of ," + g22 + "," + g21 + ", and Parent codes of ," + g23 + ", with Parent names of ," + g24 + ", Label,Value ")
|
174 |
-
s2 = ("LOINC Panel," + myEntityGroup + "," + eterm + ",name of ," + g22 + "," + g21 + "," + g24 + ", and Parent codes of ," + g23 + "," + ", Label,Value ")
|
175 |
-
if g21 != 'Series([] )': SaveResult(s2, outputFile)
|
176 |
-
|
177 |
-
#SNOMED
|
178 |
-
g31 = g3['conceptId'].to_string().replace(","," ").replace("\n"," ").replace("\l"," ").replace("\r"," ")
|
179 |
-
g32 = g3['term'].to_string().replace(","," ").replace("\n"," ").replace("\l"," ").replace("\r"," ")
|
180 |
-
s3 = ("SNOMED Concept," + myEntityGroup + "," + eterm + ",terms of ," + g32 + "," + g31 + ", Label,Value, Label,Value, Label,Value ")
|
181 |
-
if g31 != 'Series([] )': SaveResult(s3, outputFile)
|
182 |
-
|
183 |
-
#OMS
|
184 |
-
g41 = g4['Omaha Code'].to_string().replace(","," ").replace("\n"," ")
|
185 |
-
g42 = g4['SNOMED CT concept ID'].to_string().replace(","," ").replace("\n"," ")
|
186 |
-
g43 = g4['SNOMED CT'].to_string().replace(","," ").replace("\n"," ")
|
187 |
-
g44 = g4['PR'].to_string().replace(","," ").replace("\n"," ")
|
188 |
-
g45 = g4['S&S'].to_string().replace(","," ").replace("\n"," ")
|
189 |
-
s4 = ("OMS," + myEntityGroup + "," + eterm + ",concepts of ," + g44 + "," + g45 + ", and SNOMED codes of ," + g43 + ", and OMS problem of ," + g42 + ", and OMS Sign Symptom of ," + g41)
|
190 |
-
if g41 != 'Series([] )': SaveResult(s4, outputFile)
|
191 |
-
|
192 |
-
#ICD10
|
193 |
-
g51 = g5['Code'].to_string().replace(","," ").replace("\n"," ")
|
194 |
-
g52 = g5['Description'].to_string().replace(","," ").replace("\n"," ")
|
195 |
-
s5 = ("ICD10," + myEntityGroup + "," + eterm + ",descriptions of ," + g52 + "," + g51 + ", Label,Value, Label,Value, Label,Value ")
|
196 |
-
if g51 != 'Series([] )': SaveResult(s5, outputFile)
|
197 |
-
|
198 |
-
except ValueError as err:
|
199 |
-
raise ValueError("Error in group by entity \n" + format_tb(err.__traceback__)[0] + err.args[0] + "\nEnd of error message.") from None
|
200 |
-
|
201 |
-
return outputFile
|
202 |
-
|
203 |
-
|
204 |
-
def plot_to_figure(grouped):
|
205 |
-
fig = plt.figure()
|
206 |
-
plt.bar(x=list(grouped.keys()), height=list(grouped.values()))
|
207 |
-
plt.margins(0.2)
|
208 |
-
plt.subplots_adjust(bottom=0.4)
|
209 |
-
plt.xticks(rotation=90)
|
210 |
-
return fig
|
211 |
-
|
212 |
-
|
213 |
-
def ner(text):
|
214 |
-
raw = pipe(text)
|
215 |
-
ner_content = {
|
216 |
-
"text": text,
|
217 |
-
"entities": [
|
218 |
-
{
|
219 |
-
"entity": x["entity_group"],
|
220 |
-
"word": x["word"],
|
221 |
-
"score": x["score"],
|
222 |
-
"start": x["start"],
|
223 |
-
"end": x["end"],
|
224 |
-
}
|
225 |
-
for x in raw
|
226 |
-
],
|
227 |
-
}
|
228 |
-
|
229 |
-
outputFile = group_by_entity(raw)
|
230 |
-
label = EXAMPLES.get(text, "Unknown")
|
231 |
-
outputDataframe = pd.read_csv(outputFile)
|
232 |
-
return (ner_content, outputDataframe, outputFile)
|
233 |
-
|
234 |
-
demo = gr.Blocks()
|
235 |
-
with demo:
|
236 |
-
gr.Markdown(
|
237 |
-
"""
|
238 |
-
# 🩺⚕️NLP Clinical Ontology Biomedical NER
|
239 |
-
"""
|
240 |
-
)
|
241 |
-
input = gr.Textbox(label="Note text", value="")
|
242 |
-
|
243 |
-
with gr.Tab("Biomedical Entity Recognition"):
|
244 |
-
output=[
|
245 |
-
gr.HighlightedText(label="NER", combine_adjacent=True),
|
246 |
-
#gr.JSON(label="Entity Counts"),
|
247 |
-
#gr.Label(label="Rating"),
|
248 |
-
#gr.Plot(label="Bar"),
|
249 |
-
gr.Dataframe(label="Dataframe"),
|
250 |
-
gr.File(label="File"),
|
251 |
-
]
|
252 |
-
examples=list(EXAMPLES.keys())
|
253 |
-
gr.Examples(examples, inputs=input)
|
254 |
-
input.change(fn=ner, inputs=input, outputs=output)
|
255 |
-
|
256 |
-
with gr.Tab("Clinical Terminology Resolution"):
|
257 |
-
with gr.Row(variant="compact"):
|
258 |
-
btnLOINC = gr.Button("LOINC")
|
259 |
-
btnPanels = gr.Button("Panels")
|
260 |
-
btnSNOMED = gr.Button("SNOMED")
|
261 |
-
btnOMS = gr.Button("OMS")
|
262 |
-
btnICD10 = gr.Button("ICD10")
|
263 |
-
|
264 |
-
examples=list(EXAMPLES.keys())
|
265 |
-
gr.Examples(examples, inputs=input)
|
266 |
-
input.change(fn=ner, inputs=input, outputs=output)
|
267 |
-
#layout="vertical"
|
268 |
-
demo.launch(debug=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/optimizers/__init__.py
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
from torch.optim import * # NOQA
|
2 |
-
from .radam import * # NOQA
|
|
|
|
|
|
spaces/AIGText/GlyphControl/ldm/modules/diffusionmodules/openaimodel.py
DELETED
@@ -1,790 +0,0 @@
|
|
1 |
-
from abc import abstractmethod
|
2 |
-
import math
|
3 |
-
|
4 |
-
import numpy as np
|
5 |
-
import torch as th
|
6 |
-
import torch.nn as nn
|
7 |
-
import torch.nn.functional as F
|
8 |
-
|
9 |
-
from ldm.modules.diffusionmodules.util import (
|
10 |
-
checkpoint,
|
11 |
-
conv_nd,
|
12 |
-
linear,
|
13 |
-
avg_pool_nd,
|
14 |
-
zero_module,
|
15 |
-
normalization,
|
16 |
-
timestep_embedding,
|
17 |
-
)
|
18 |
-
from ldm.modules.attention import SpatialTransformer
|
19 |
-
from ldm.util import exists
|
20 |
-
|
21 |
-
|
22 |
-
# dummy replace
|
23 |
-
def convert_module_to_f16(x):
|
24 |
-
pass
|
25 |
-
|
26 |
-
def convert_module_to_f32(x):
|
27 |
-
pass
|
28 |
-
|
29 |
-
|
30 |
-
## go
|
31 |
-
class AttentionPool2d(nn.Module):
|
32 |
-
"""
|
33 |
-
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
|
34 |
-
"""
|
35 |
-
|
36 |
-
def __init__(
|
37 |
-
self,
|
38 |
-
spacial_dim: int,
|
39 |
-
embed_dim: int,
|
40 |
-
num_heads_channels: int,
|
41 |
-
output_dim: int = None,
|
42 |
-
):
|
43 |
-
super().__init__()
|
44 |
-
self.positional_embedding = nn.Parameter(th.randn(embed_dim, spacial_dim ** 2 + 1) / embed_dim ** 0.5)
|
45 |
-
self.qkv_proj = conv_nd(1, embed_dim, 3 * embed_dim, 1)
|
46 |
-
self.c_proj = conv_nd(1, embed_dim, output_dim or embed_dim, 1)
|
47 |
-
self.num_heads = embed_dim // num_heads_channels
|
48 |
-
self.attention = QKVAttention(self.num_heads)
|
49 |
-
|
50 |
-
def forward(self, x):
|
51 |
-
b, c, *_spatial = x.shape
|
52 |
-
x = x.reshape(b, c, -1) # NC(HW)
|
53 |
-
x = th.cat([x.mean(dim=-1, keepdim=True), x], dim=-1) # NC(HW+1)
|
54 |
-
x = x + self.positional_embedding[None, :, :].to(x.dtype) # NC(HW+1)
|
55 |
-
x = self.qkv_proj(x)
|
56 |
-
x = self.attention(x)
|
57 |
-
x = self.c_proj(x)
|
58 |
-
return x[:, :, 0]
|
59 |
-
|
60 |
-
|
61 |
-
class TimestepBlock(nn.Module):
|
62 |
-
"""
|
63 |
-
Any module where forward() takes timestep embeddings as a second argument.
|
64 |
-
"""
|
65 |
-
|
66 |
-
@abstractmethod
|
67 |
-
def forward(self, x, emb):
|
68 |
-
"""
|
69 |
-
Apply the module to `x` given `emb` timestep embeddings.
|
70 |
-
"""
|
71 |
-
|
72 |
-
|
73 |
-
class TimestepEmbedSequential(nn.Sequential, TimestepBlock):
|
74 |
-
"""
|
75 |
-
A sequential module that passes timestep embeddings to the children that
|
76 |
-
support it as an extra input.
|
77 |
-
"""
|
78 |
-
|
79 |
-
def forward(self, x, emb, context=None):
|
80 |
-
for layer in self:
|
81 |
-
if isinstance(layer, TimestepBlock):
|
82 |
-
x = layer(x, emb)
|
83 |
-
elif isinstance(layer, SpatialTransformer):
|
84 |
-
x = layer(x, context)
|
85 |
-
else:
|
86 |
-
x = layer(x)
|
87 |
-
return x
|
88 |
-
|
89 |
-
|
90 |
-
class Upsample(nn.Module):
|
91 |
-
"""
|
92 |
-
An upsampling layer with an optional convolution.
|
93 |
-
:param channels: channels in the inputs and outputs.
|
94 |
-
:param use_conv: a bool determining if a convolution is applied.
|
95 |
-
:param dims: determines if the signal is 1D, 2D, or 3D. If 3D, then
|
96 |
-
upsampling occurs in the inner-two dimensions.
|
97 |
-
"""
|
98 |
-
|
99 |
-
def __init__(self, channels, use_conv, dims=2, out_channels=None, padding=1):
|
100 |
-
super().__init__()
|
101 |
-
self.channels = channels
|
102 |
-
self.out_channels = out_channels or channels
|
103 |
-
self.use_conv = use_conv
|
104 |
-
self.dims = dims
|
105 |
-
if use_conv:
|
106 |
-
self.conv = conv_nd(dims, self.channels, self.out_channels, 3, padding=padding)
|
107 |
-
|
108 |
-
def forward(self, x):
|
109 |
-
assert x.shape[1] == self.channels
|
110 |
-
if self.dims == 3:
|
111 |
-
x = F.interpolate(
|
112 |
-
x, (x.shape[2], x.shape[3] * 2, x.shape[4] * 2), mode="nearest"
|
113 |
-
)
|
114 |
-
else:
|
115 |
-
x = F.interpolate(x, scale_factor=2, mode="nearest")
|
116 |
-
if self.use_conv:
|
117 |
-
x = self.conv(x)
|
118 |
-
return x
|
119 |
-
|
120 |
-
class TransposedUpsample(nn.Module):
|
121 |
-
'Learned 2x upsampling without padding'
|
122 |
-
def __init__(self, channels, out_channels=None, ks=5):
|
123 |
-
super().__init__()
|
124 |
-
self.channels = channels
|
125 |
-
self.out_channels = out_channels or channels
|
126 |
-
|
127 |
-
self.up = nn.ConvTranspose2d(self.channels,self.out_channels,kernel_size=ks,stride=2)
|
128 |
-
|
129 |
-
def forward(self,x):
|
130 |
-
return self.up(x)
|
131 |
-
|
132 |
-
|
133 |
-
class Downsample(nn.Module):
|
134 |
-
"""
|
135 |
-
A downsampling layer with an optional convolution.
|
136 |
-
:param channels: channels in the inputs and outputs.
|
137 |
-
:param use_conv: a bool determining if a convolution is applied.
|
138 |
-
:param dims: determines if the signal is 1D, 2D, or 3D. If 3D, then
|
139 |
-
downsampling occurs in the inner-two dimensions.
|
140 |
-
"""
|
141 |
-
|
142 |
-
def __init__(self, channels, use_conv, dims=2, out_channels=None,padding=1):
|
143 |
-
super().__init__()
|
144 |
-
self.channels = channels
|
145 |
-
self.out_channels = out_channels or channels
|
146 |
-
self.use_conv = use_conv
|
147 |
-
self.dims = dims
|
148 |
-
stride = 2 if dims != 3 else (1, 2, 2)
|
149 |
-
if use_conv:
|
150 |
-
self.op = conv_nd(
|
151 |
-
dims, self.channels, self.out_channels, 3, stride=stride, padding=padding
|
152 |
-
)
|
153 |
-
else:
|
154 |
-
assert self.channels == self.out_channels
|
155 |
-
self.op = avg_pool_nd(dims, kernel_size=stride, stride=stride)
|
156 |
-
|
157 |
-
def forward(self, x):
|
158 |
-
assert x.shape[1] == self.channels
|
159 |
-
return self.op(x)
|
160 |
-
|
161 |
-
|
162 |
-
class ResBlock(TimestepBlock):
|
163 |
-
"""
|
164 |
-
A residual block that can optionally change the number of channels.
|
165 |
-
:param channels: the number of input channels.
|
166 |
-
:param emb_channels: the number of timestep embedding channels.
|
167 |
-
:param dropout: the rate of dropout.
|
168 |
-
:param out_channels: if specified, the number of out channels.
|
169 |
-
:param use_conv: if True and out_channels is specified, use a spatial
|
170 |
-
convolution instead of a smaller 1x1 convolution to change the
|
171 |
-
channels in the skip connection.
|
172 |
-
:param dims: determines if the signal is 1D, 2D, or 3D.
|
173 |
-
:param use_checkpoint: if True, use gradient checkpointing on this module.
|
174 |
-
:param up: if True, use this block for upsampling.
|
175 |
-
:param down: if True, use this block for downsampling.
|
176 |
-
"""
|
177 |
-
|
178 |
-
def __init__(
|
179 |
-
self,
|
180 |
-
channels,
|
181 |
-
emb_channels,
|
182 |
-
dropout,
|
183 |
-
out_channels=None,
|
184 |
-
use_conv=False,
|
185 |
-
use_scale_shift_norm=False,
|
186 |
-
dims=2,
|
187 |
-
use_checkpoint=False,
|
188 |
-
up=False,
|
189 |
-
down=False,
|
190 |
-
):
|
191 |
-
super().__init__()
|
192 |
-
self.channels = channels
|
193 |
-
self.emb_channels = emb_channels
|
194 |
-
self.dropout = dropout
|
195 |
-
self.out_channels = out_channels or channels
|
196 |
-
self.use_conv = use_conv
|
197 |
-
self.use_checkpoint = use_checkpoint
|
198 |
-
self.use_scale_shift_norm = use_scale_shift_norm
|
199 |
-
|
200 |
-
self.in_layers = nn.Sequential(
|
201 |
-
normalization(channels),
|
202 |
-
nn.SiLU(),
|
203 |
-
conv_nd(dims, channels, self.out_channels, 3, padding=1),
|
204 |
-
)
|
205 |
-
|
206 |
-
self.updown = up or down
|
207 |
-
|
208 |
-
if up:
|
209 |
-
self.h_upd = Upsample(channels, False, dims)
|
210 |
-
self.x_upd = Upsample(channels, False, dims)
|
211 |
-
elif down:
|
212 |
-
self.h_upd = Downsample(channels, False, dims)
|
213 |
-
self.x_upd = Downsample(channels, False, dims)
|
214 |
-
else:
|
215 |
-
self.h_upd = self.x_upd = nn.Identity()
|
216 |
-
|
217 |
-
self.emb_layers = nn.Sequential(
|
218 |
-
nn.SiLU(),
|
219 |
-
linear(
|
220 |
-
emb_channels,
|
221 |
-
2 * self.out_channels if use_scale_shift_norm else self.out_channels,
|
222 |
-
),
|
223 |
-
)
|
224 |
-
self.out_layers = nn.Sequential(
|
225 |
-
normalization(self.out_channels),
|
226 |
-
nn.SiLU(),
|
227 |
-
nn.Dropout(p=dropout),
|
228 |
-
zero_module(
|
229 |
-
conv_nd(dims, self.out_channels, self.out_channels, 3, padding=1)
|
230 |
-
),
|
231 |
-
)
|
232 |
-
|
233 |
-
if self.out_channels == channels:
|
234 |
-
self.skip_connection = nn.Identity()
|
235 |
-
elif use_conv:
|
236 |
-
self.skip_connection = conv_nd(
|
237 |
-
dims, channels, self.out_channels, 3, padding=1
|
238 |
-
)
|
239 |
-
else:
|
240 |
-
self.skip_connection = conv_nd(dims, channels, self.out_channels, 1)
|
241 |
-
|
242 |
-
def forward(self, x, emb):
|
243 |
-
"""
|
244 |
-
Apply the block to a Tensor, conditioned on a timestep embedding.
|
245 |
-
:param x: an [N x C x ...] Tensor of features.
|
246 |
-
:param emb: an [N x emb_channels] Tensor of timestep embeddings.
|
247 |
-
:return: an [N x C x ...] Tensor of outputs.
|
248 |
-
"""
|
249 |
-
return checkpoint(
|
250 |
-
self._forward, (x, emb), self.parameters(), self.use_checkpoint
|
251 |
-
)
|
252 |
-
|
253 |
-
|
254 |
-
def _forward(self, x, emb):
|
255 |
-
if self.updown:
|
256 |
-
in_rest, in_conv = self.in_layers[:-1], self.in_layers[-1]
|
257 |
-
h = in_rest(x)
|
258 |
-
h = self.h_upd(h)
|
259 |
-
x = self.x_upd(x)
|
260 |
-
h = in_conv(h)
|
261 |
-
else:
|
262 |
-
h = self.in_layers(x)
|
263 |
-
emb_out = self.emb_layers(emb).type(h.dtype)
|
264 |
-
while len(emb_out.shape) < len(h.shape):
|
265 |
-
emb_out = emb_out[..., None]
|
266 |
-
if self.use_scale_shift_norm:
|
267 |
-
out_norm, out_rest = self.out_layers[0], self.out_layers[1:]
|
268 |
-
scale, shift = th.chunk(emb_out, 2, dim=1)
|
269 |
-
h = out_norm(h) * (1 + scale) + shift
|
270 |
-
h = out_rest(h)
|
271 |
-
else:
|
272 |
-
h = h + emb_out
|
273 |
-
h = self.out_layers(h)
|
274 |
-
return self.skip_connection(x) + h
|
275 |
-
|
276 |
-
|
277 |
-
class AttentionBlock(nn.Module):
|
278 |
-
"""
|
279 |
-
An attention block that allows spatial positions to attend to each other.
|
280 |
-
Originally ported from here, but adapted to the N-d case.
|
281 |
-
https://github.com/hojonathanho/diffusion/blob/1e0dceb3b3495bbe19116a5e1b3596cd0706c543/diffusion_tf/models/unet.py#L66.
|
282 |
-
"""
|
283 |
-
|
284 |
-
def __init__(
|
285 |
-
self,
|
286 |
-
channels,
|
287 |
-
num_heads=1,
|
288 |
-
num_head_channels=-1,
|
289 |
-
use_checkpoint=False,
|
290 |
-
use_new_attention_order=False,
|
291 |
-
):
|
292 |
-
super().__init__()
|
293 |
-
self.channels = channels
|
294 |
-
if num_head_channels == -1:
|
295 |
-
self.num_heads = num_heads
|
296 |
-
else:
|
297 |
-
assert (
|
298 |
-
channels % num_head_channels == 0
|
299 |
-
), f"q,k,v channels {channels} is not divisible by num_head_channels {num_head_channels}"
|
300 |
-
self.num_heads = channels // num_head_channels
|
301 |
-
self.use_checkpoint = use_checkpoint
|
302 |
-
self.norm = normalization(channels)
|
303 |
-
self.qkv = conv_nd(1, channels, channels * 3, 1)
|
304 |
-
if use_new_attention_order:
|
305 |
-
# split qkv before split heads
|
306 |
-
self.attention = QKVAttention(self.num_heads)
|
307 |
-
else:
|
308 |
-
# split heads before split qkv
|
309 |
-
self.attention = QKVAttentionLegacy(self.num_heads)
|
310 |
-
|
311 |
-
self.proj_out = zero_module(conv_nd(1, channels, channels, 1))
|
312 |
-
|
313 |
-
def forward(self, x):
|
314 |
-
return checkpoint(self._forward, (x,), self.parameters(), True) # TODO: check checkpoint usage, is True # TODO: fix the .half call!!!
|
315 |
-
#return pt_checkpoint(self._forward, x) # pytorch
|
316 |
-
|
317 |
-
def _forward(self, x):
|
318 |
-
b, c, *spatial = x.shape
|
319 |
-
x = x.reshape(b, c, -1)
|
320 |
-
qkv = self.qkv(self.norm(x))
|
321 |
-
h = self.attention(qkv)
|
322 |
-
h = self.proj_out(h)
|
323 |
-
return (x + h).reshape(b, c, *spatial)
|
324 |
-
|
325 |
-
|
326 |
-
def count_flops_attn(model, _x, y):
|
327 |
-
"""
|
328 |
-
A counter for the `thop` package to count the operations in an
|
329 |
-
attention operation.
|
330 |
-
Meant to be used like:
|
331 |
-
macs, params = thop.profile(
|
332 |
-
model,
|
333 |
-
inputs=(inputs, timestamps),
|
334 |
-
custom_ops={QKVAttention: QKVAttention.count_flops},
|
335 |
-
)
|
336 |
-
"""
|
337 |
-
b, c, *spatial = y[0].shape
|
338 |
-
num_spatial = int(np.prod(spatial))
|
339 |
-
# We perform two matmuls with the same number of ops.
|
340 |
-
# The first computes the weight matrix, the second computes
|
341 |
-
# the combination of the value vectors.
|
342 |
-
matmul_ops = 2 * b * (num_spatial ** 2) * c
|
343 |
-
model.total_ops += th.DoubleTensor([matmul_ops])
|
344 |
-
|
345 |
-
|
346 |
-
class QKVAttentionLegacy(nn.Module):
|
347 |
-
"""
|
348 |
-
A module which performs QKV attention. Matches legacy QKVAttention + input/ouput heads shaping
|
349 |
-
"""
|
350 |
-
|
351 |
-
def __init__(self, n_heads):
|
352 |
-
super().__init__()
|
353 |
-
self.n_heads = n_heads
|
354 |
-
|
355 |
-
def forward(self, qkv):
|
356 |
-
"""
|
357 |
-
Apply QKV attention.
|
358 |
-
:param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs.
|
359 |
-
:return: an [N x (H * C) x T] tensor after attention.
|
360 |
-
"""
|
361 |
-
bs, width, length = qkv.shape
|
362 |
-
assert width % (3 * self.n_heads) == 0
|
363 |
-
ch = width // (3 * self.n_heads)
|
364 |
-
q, k, v = qkv.reshape(bs * self.n_heads, ch * 3, length).split(ch, dim=1)
|
365 |
-
scale = 1 / math.sqrt(math.sqrt(ch))
|
366 |
-
weight = th.einsum(
|
367 |
-
"bct,bcs->bts", q * scale, k * scale
|
368 |
-
) # More stable with f16 than dividing afterwards
|
369 |
-
weight = th.softmax(weight.float(), dim=-1).type(weight.dtype)
|
370 |
-
a = th.einsum("bts,bcs->bct", weight, v)
|
371 |
-
return a.reshape(bs, -1, length)
|
372 |
-
|
373 |
-
@staticmethod
|
374 |
-
def count_flops(model, _x, y):
|
375 |
-
return count_flops_attn(model, _x, y)
|
376 |
-
|
377 |
-
|
378 |
-
class QKVAttention(nn.Module):
|
379 |
-
"""
|
380 |
-
A module which performs QKV attention and splits in a different order.
|
381 |
-
"""
|
382 |
-
|
383 |
-
def __init__(self, n_heads):
|
384 |
-
super().__init__()
|
385 |
-
self.n_heads = n_heads
|
386 |
-
|
387 |
-
def forward(self, qkv):
|
388 |
-
"""
|
389 |
-
Apply QKV attention.
|
390 |
-
:param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs.
|
391 |
-
:return: an [N x (H * C) x T] tensor after attention.
|
392 |
-
"""
|
393 |
-
bs, width, length = qkv.shape
|
394 |
-
assert width % (3 * self.n_heads) == 0
|
395 |
-
ch = width // (3 * self.n_heads)
|
396 |
-
q, k, v = qkv.chunk(3, dim=1)
|
397 |
-
scale = 1 / math.sqrt(math.sqrt(ch))
|
398 |
-
weight = th.einsum(
|
399 |
-
"bct,bcs->bts",
|
400 |
-
(q * scale).view(bs * self.n_heads, ch, length),
|
401 |
-
(k * scale).view(bs * self.n_heads, ch, length),
|
402 |
-
) # More stable with f16 than dividing afterwards
|
403 |
-
weight = th.softmax(weight.float(), dim=-1).type(weight.dtype)
|
404 |
-
a = th.einsum("bts,bcs->bct", weight, v.reshape(bs * self.n_heads, ch, length))
|
405 |
-
return a.reshape(bs, -1, length)
|
406 |
-
|
407 |
-
@staticmethod
|
408 |
-
def count_flops(model, _x, y):
|
409 |
-
return count_flops_attn(model, _x, y)
|
410 |
-
|
411 |
-
|
412 |
-
class UNetModel(nn.Module):
|
413 |
-
"""
|
414 |
-
The full UNet model with attention and timestep embedding.
|
415 |
-
:param in_channels: channels in the input Tensor.
|
416 |
-
:param model_channels: base channel count for the model.
|
417 |
-
:param out_channels: channels in the output Tensor.
|
418 |
-
:param num_res_blocks: number of residual blocks per downsample.
|
419 |
-
:param attention_resolutions: a collection of downsample rates at which
|
420 |
-
attention will take place. May be a set, list, or tuple.
|
421 |
-
For example, if this contains 4, then at 4x downsampling, attention
|
422 |
-
will be used.
|
423 |
-
:param dropout: the dropout probability.
|
424 |
-
:param channel_mult: channel multiplier for each level of the UNet.
|
425 |
-
:param conv_resample: if True, use learned convolutions for upsampling and
|
426 |
-
downsampling.
|
427 |
-
:param dims: determines if the signal is 1D, 2D, or 3D.
|
428 |
-
:param num_classes: if specified (as an int), then this model will be
|
429 |
-
class-conditional with `num_classes` classes.
|
430 |
-
:param use_checkpoint: use gradient checkpointing to reduce memory usage.
|
431 |
-
:param num_heads: the number of attention heads in each attention layer.
|
432 |
-
:param num_heads_channels: if specified, ignore num_heads and instead use
|
433 |
-
a fixed channel width per attention head.
|
434 |
-
:param num_heads_upsample: works with num_heads to set a different number
|
435 |
-
of heads for upsampling. Deprecated.
|
436 |
-
:param use_scale_shift_norm: use a FiLM-like conditioning mechanism.
|
437 |
-
:param resblock_updown: use residual blocks for up/downsampling.
|
438 |
-
:param use_new_attention_order: use a different attention pattern for potentially
|
439 |
-
increased efficiency.
|
440 |
-
"""
|
441 |
-
|
442 |
-
def __init__(
|
443 |
-
self,
|
444 |
-
image_size,
|
445 |
-
in_channels,
|
446 |
-
model_channels,
|
447 |
-
out_channels,
|
448 |
-
num_res_blocks,
|
449 |
-
attention_resolutions,
|
450 |
-
dropout=0,
|
451 |
-
channel_mult=(1, 2, 4, 8),
|
452 |
-
conv_resample=True,
|
453 |
-
dims=2,
|
454 |
-
num_classes=None,
|
455 |
-
use_checkpoint=False,
|
456 |
-
use_fp16=False,
|
457 |
-
num_heads=-1,
|
458 |
-
num_head_channels=-1,
|
459 |
-
num_heads_upsample=-1,
|
460 |
-
use_scale_shift_norm=False,
|
461 |
-
resblock_updown=False,
|
462 |
-
use_new_attention_order=False,
|
463 |
-
use_spatial_transformer=False, # custom transformer support
|
464 |
-
transformer_depth=1, # custom transformer support
|
465 |
-
context_dim=None, # custom transformer support
|
466 |
-
n_embed=None, # custom support for prediction of discrete ids into codebook of first stage vq model
|
467 |
-
legacy=True,
|
468 |
-
disable_self_attentions=None,
|
469 |
-
num_attention_blocks=None,
|
470 |
-
disable_middle_self_attn=False,
|
471 |
-
use_linear_in_transformer=False,
|
472 |
-
):
|
473 |
-
super().__init__()
|
474 |
-
if use_spatial_transformer:
|
475 |
-
assert context_dim is not None, 'Fool!! You forgot to include the dimension of your cross-attention conditioning...'
|
476 |
-
|
477 |
-
if context_dim is not None:
|
478 |
-
assert use_spatial_transformer, 'Fool!! You forgot to use the spatial transformer for your cross-attention conditioning...'
|
479 |
-
from omegaconf.listconfig import ListConfig
|
480 |
-
if type(context_dim) == ListConfig:
|
481 |
-
context_dim = list(context_dim)
|
482 |
-
|
483 |
-
if num_heads_upsample == -1:
|
484 |
-
num_heads_upsample = num_heads
|
485 |
-
|
486 |
-
if num_heads == -1:
|
487 |
-
assert num_head_channels != -1, 'Either num_heads or num_head_channels has to be set'
|
488 |
-
|
489 |
-
if num_head_channels == -1:
|
490 |
-
assert num_heads != -1, 'Either num_heads or num_head_channels has to be set'
|
491 |
-
|
492 |
-
self.image_size = image_size
|
493 |
-
self.in_channels = in_channels
|
494 |
-
self.model_channels = model_channels
|
495 |
-
self.out_channels = out_channels
|
496 |
-
if isinstance(num_res_blocks, int):
|
497 |
-
self.num_res_blocks = len(channel_mult) * [num_res_blocks]
|
498 |
-
else:
|
499 |
-
if len(num_res_blocks) != len(channel_mult):
|
500 |
-
raise ValueError("provide num_res_blocks either as an int (globally constant) or "
|
501 |
-
"as a list/tuple (per-level) with the same length as channel_mult")
|
502 |
-
self.num_res_blocks = num_res_blocks
|
503 |
-
if disable_self_attentions is not None:
|
504 |
-
# should be a list of booleans, indicating whether to disable self-attention in TransformerBlocks or not
|
505 |
-
assert len(disable_self_attentions) == len(channel_mult)
|
506 |
-
if num_attention_blocks is not None:
|
507 |
-
assert len(num_attention_blocks) == len(self.num_res_blocks)
|
508 |
-
assert all(map(lambda i: self.num_res_blocks[i] >= num_attention_blocks[i], range(len(num_attention_blocks))))
|
509 |
-
print(f"Constructor of UNetModel received num_attention_blocks={num_attention_blocks}. "
|
510 |
-
f"This option has LESS priority than attention_resolutions {attention_resolutions}, "
|
511 |
-
f"i.e., in cases where num_attention_blocks[i] > 0 but 2**i not in attention_resolutions, "
|
512 |
-
f"attention will still not be set.")
|
513 |
-
|
514 |
-
self.attention_resolutions = attention_resolutions
|
515 |
-
self.dropout = dropout
|
516 |
-
self.channel_mult = channel_mult
|
517 |
-
self.conv_resample = conv_resample
|
518 |
-
self.num_classes = num_classes
|
519 |
-
self.use_checkpoint = use_checkpoint
|
520 |
-
self.dtype = th.float16 if use_fp16 else th.float32
|
521 |
-
self.num_heads = num_heads
|
522 |
-
self.num_head_channels = num_head_channels
|
523 |
-
self.num_heads_upsample = num_heads_upsample
|
524 |
-
self.predict_codebook_ids = n_embed is not None
|
525 |
-
# time embedding
|
526 |
-
time_embed_dim = model_channels * 4
|
527 |
-
self.time_embed = nn.Sequential(
|
528 |
-
linear(model_channels, time_embed_dim),
|
529 |
-
nn.SiLU(),
|
530 |
-
linear(time_embed_dim, time_embed_dim),
|
531 |
-
)
|
532 |
-
# class-related
|
533 |
-
if self.num_classes is not None:
|
534 |
-
if isinstance(self.num_classes, int):
|
535 |
-
self.label_emb = nn.Embedding(num_classes, time_embed_dim)
|
536 |
-
elif self.num_classes == "continuous":
|
537 |
-
print("setting up linear c_adm embedding layer")
|
538 |
-
self.label_emb = nn.Linear(1, time_embed_dim)
|
539 |
-
else:
|
540 |
-
raise ValueError()
|
541 |
-
# input blocks
|
542 |
-
self.input_blocks = nn.ModuleList(
|
543 |
-
[
|
544 |
-
TimestepEmbedSequential(
|
545 |
-
conv_nd(dims, in_channels, model_channels, 3, padding=1)
|
546 |
-
)
|
547 |
-
]
|
548 |
-
)
|
549 |
-
self._feature_size = model_channels
|
550 |
-
input_block_chans = [model_channels]
|
551 |
-
ch = model_channels
|
552 |
-
ds = 1
|
553 |
-
for level, mult in enumerate(channel_mult):
|
554 |
-
for nr in range(self.num_res_blocks[level]):
|
555 |
-
layers = [
|
556 |
-
ResBlock(
|
557 |
-
ch,
|
558 |
-
time_embed_dim,
|
559 |
-
dropout,
|
560 |
-
out_channels=mult * model_channels,
|
561 |
-
dims=dims,
|
562 |
-
use_checkpoint=use_checkpoint,
|
563 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
564 |
-
)
|
565 |
-
]
|
566 |
-
ch = mult * model_channels
|
567 |
-
if ds in attention_resolutions:
|
568 |
-
if num_head_channels == -1:
|
569 |
-
dim_head = ch // num_heads
|
570 |
-
else:
|
571 |
-
num_heads = ch // num_head_channels
|
572 |
-
dim_head = num_head_channels
|
573 |
-
if legacy:
|
574 |
-
#num_heads = 1
|
575 |
-
dim_head = ch // num_heads if use_spatial_transformer else num_head_channels
|
576 |
-
if exists(disable_self_attentions):
|
577 |
-
disabled_sa = disable_self_attentions[level]
|
578 |
-
else:
|
579 |
-
disabled_sa = False
|
580 |
-
|
581 |
-
if not exists(num_attention_blocks) or nr < num_attention_blocks[level]:
|
582 |
-
layers.append(
|
583 |
-
AttentionBlock(
|
584 |
-
ch,
|
585 |
-
use_checkpoint=use_checkpoint,
|
586 |
-
num_heads=num_heads,
|
587 |
-
num_head_channels=dim_head,
|
588 |
-
use_new_attention_order=use_new_attention_order,
|
589 |
-
) if not use_spatial_transformer else SpatialTransformer(
|
590 |
-
ch, num_heads, dim_head, depth=transformer_depth, context_dim=context_dim,
|
591 |
-
disable_self_attn=disabled_sa, use_linear=use_linear_in_transformer,
|
592 |
-
use_checkpoint=use_checkpoint
|
593 |
-
)
|
594 |
-
)
|
595 |
-
self.input_blocks.append(TimestepEmbedSequential(*layers))
|
596 |
-
self._feature_size += ch
|
597 |
-
input_block_chans.append(ch)
|
598 |
-
if level != len(channel_mult) - 1:
|
599 |
-
out_ch = ch
|
600 |
-
self.input_blocks.append(
|
601 |
-
TimestepEmbedSequential(
|
602 |
-
ResBlock(
|
603 |
-
ch,
|
604 |
-
time_embed_dim,
|
605 |
-
dropout,
|
606 |
-
out_channels=out_ch,
|
607 |
-
dims=dims,
|
608 |
-
use_checkpoint=use_checkpoint,
|
609 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
610 |
-
down=True,
|
611 |
-
)
|
612 |
-
if resblock_updown
|
613 |
-
else Downsample(
|
614 |
-
ch, conv_resample, dims=dims, out_channels=out_ch
|
615 |
-
)
|
616 |
-
)
|
617 |
-
)
|
618 |
-
ch = out_ch
|
619 |
-
input_block_chans.append(ch)
|
620 |
-
ds *= 2
|
621 |
-
self._feature_size += ch
|
622 |
-
|
623 |
-
if num_head_channels == -1:
|
624 |
-
dim_head = ch // num_heads
|
625 |
-
else:
|
626 |
-
num_heads = ch // num_head_channels
|
627 |
-
dim_head = num_head_channels
|
628 |
-
if legacy:
|
629 |
-
#num_heads = 1
|
630 |
-
dim_head = ch // num_heads if use_spatial_transformer else num_head_channels
|
631 |
-
self.middle_block = TimestepEmbedSequential(
|
632 |
-
ResBlock(
|
633 |
-
ch,
|
634 |
-
time_embed_dim,
|
635 |
-
dropout,
|
636 |
-
dims=dims,
|
637 |
-
use_checkpoint=use_checkpoint,
|
638 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
639 |
-
),
|
640 |
-
AttentionBlock(
|
641 |
-
ch,
|
642 |
-
use_checkpoint=use_checkpoint,
|
643 |
-
num_heads=num_heads,
|
644 |
-
num_head_channels=dim_head,
|
645 |
-
use_new_attention_order=use_new_attention_order,
|
646 |
-
) if not use_spatial_transformer else SpatialTransformer( # always uses a self-attn
|
647 |
-
ch, num_heads, dim_head, depth=transformer_depth, context_dim=context_dim,
|
648 |
-
disable_self_attn=disable_middle_self_attn, use_linear=use_linear_in_transformer,
|
649 |
-
use_checkpoint=use_checkpoint
|
650 |
-
),
|
651 |
-
ResBlock(
|
652 |
-
ch,
|
653 |
-
time_embed_dim,
|
654 |
-
dropout,
|
655 |
-
dims=dims,
|
656 |
-
use_checkpoint=use_checkpoint,
|
657 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
658 |
-
),
|
659 |
-
)
|
660 |
-
self._feature_size += ch
|
661 |
-
# output blocks
|
662 |
-
self.output_blocks = nn.ModuleList([])
|
663 |
-
for level, mult in list(enumerate(channel_mult))[::-1]:
|
664 |
-
for i in range(self.num_res_blocks[level] + 1):
|
665 |
-
ich = input_block_chans.pop()
|
666 |
-
layers = [
|
667 |
-
ResBlock(
|
668 |
-
ch + ich,
|
669 |
-
time_embed_dim,
|
670 |
-
dropout,
|
671 |
-
out_channels=model_channels * mult,
|
672 |
-
dims=dims,
|
673 |
-
use_checkpoint=use_checkpoint,
|
674 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
675 |
-
)
|
676 |
-
]
|
677 |
-
ch = model_channels * mult
|
678 |
-
if ds in attention_resolutions:
|
679 |
-
if num_head_channels == -1:
|
680 |
-
dim_head = ch // num_heads
|
681 |
-
else:
|
682 |
-
num_heads = ch // num_head_channels
|
683 |
-
dim_head = num_head_channels
|
684 |
-
if legacy:
|
685 |
-
#num_heads = 1
|
686 |
-
dim_head = ch // num_heads if use_spatial_transformer else num_head_channels
|
687 |
-
if exists(disable_self_attentions):
|
688 |
-
disabled_sa = disable_self_attentions[level]
|
689 |
-
else:
|
690 |
-
disabled_sa = False
|
691 |
-
|
692 |
-
if not exists(num_attention_blocks) or i < num_attention_blocks[level]:
|
693 |
-
layers.append(
|
694 |
-
AttentionBlock(
|
695 |
-
ch,
|
696 |
-
use_checkpoint=use_checkpoint,
|
697 |
-
num_heads=num_heads_upsample,
|
698 |
-
num_head_channels=dim_head,
|
699 |
-
use_new_attention_order=use_new_attention_order,
|
700 |
-
) if not use_spatial_transformer else SpatialTransformer(
|
701 |
-
ch, num_heads, dim_head, depth=transformer_depth, context_dim=context_dim,
|
702 |
-
disable_self_attn=disabled_sa, use_linear=use_linear_in_transformer,
|
703 |
-
use_checkpoint=use_checkpoint
|
704 |
-
)
|
705 |
-
)
|
706 |
-
if level and i == self.num_res_blocks[level]:
|
707 |
-
out_ch = ch
|
708 |
-
layers.append(
|
709 |
-
ResBlock(
|
710 |
-
ch,
|
711 |
-
time_embed_dim,
|
712 |
-
dropout,
|
713 |
-
out_channels=out_ch,
|
714 |
-
dims=dims,
|
715 |
-
use_checkpoint=use_checkpoint,
|
716 |
-
use_scale_shift_norm=use_scale_shift_norm,
|
717 |
-
up=True,
|
718 |
-
)
|
719 |
-
if resblock_updown
|
720 |
-
else Upsample(ch, conv_resample, dims=dims, out_channels=out_ch)
|
721 |
-
)
|
722 |
-
ds //= 2
|
723 |
-
self.output_blocks.append(TimestepEmbedSequential(*layers))
|
724 |
-
self._feature_size += ch
|
725 |
-
|
726 |
-
self.out = nn.Sequential(
|
727 |
-
normalization(ch),
|
728 |
-
nn.SiLU(),
|
729 |
-
zero_module(conv_nd(dims, model_channels, out_channels, 3, padding=1)),
|
730 |
-
)
|
731 |
-
if self.predict_codebook_ids:
|
732 |
-
self.id_predictor = nn.Sequential(
|
733 |
-
normalization(ch),
|
734 |
-
conv_nd(dims, model_channels, n_embed, 1),
|
735 |
-
#nn.LogSoftmax(dim=1) # change to cross_entropy and produce non-normalized logits
|
736 |
-
)
|
737 |
-
self.context_dim = context_dim
|
738 |
-
|
739 |
-
def convert_to_fp16(self):
|
740 |
-
"""
|
741 |
-
Convert the torso of the model to float16.
|
742 |
-
"""
|
743 |
-
self.input_blocks.apply(convert_module_to_f16)
|
744 |
-
self.middle_block.apply(convert_module_to_f16)
|
745 |
-
self.output_blocks.apply(convert_module_to_f16)
|
746 |
-
|
747 |
-
def convert_to_fp32(self):
|
748 |
-
"""
|
749 |
-
Convert the torso of the model to float32.
|
750 |
-
"""
|
751 |
-
self.input_blocks.apply(convert_module_to_f32)
|
752 |
-
self.middle_block.apply(convert_module_to_f32)
|
753 |
-
self.output_blocks.apply(convert_module_to_f32)
|
754 |
-
|
755 |
-
def forward(self, x, timesteps=None, context=None, y=None,**kwargs):
|
756 |
-
"""
|
757 |
-
Apply the model to an input batch.
|
758 |
-
:param x: an [N x C x ...] Tensor of inputs.
|
759 |
-
:param timesteps: a 1-D batch of timesteps.
|
760 |
-
:param context: conditioning plugged in via crossattn
|
761 |
-
:param y: an [N] Tensor of labels, if class-conditional.
|
762 |
-
:return: an [N x C x ...] Tensor of outputs.
|
763 |
-
"""
|
764 |
-
assert (y is not None) == (
|
765 |
-
self.num_classes is not None
|
766 |
-
), "must specify y if and only if the model is class-conditional"
|
767 |
-
hs = []
|
768 |
-
t_emb = timestep_embedding(timesteps, self.model_channels, repeat_only=False)
|
769 |
-
emb = self.time_embed(t_emb)
|
770 |
-
|
771 |
-
if self.num_classes is not None:
|
772 |
-
assert y.shape[0] == x.shape[0]
|
773 |
-
emb = emb + self.label_emb(y) # class condition added to the time embedding
|
774 |
-
|
775 |
-
h = x.type(self.dtype)
|
776 |
-
for module in self.input_blocks:
|
777 |
-
h = module(h, emb, context)
|
778 |
-
hs.append(h)
|
779 |
-
h = self.middle_block(h, emb, context)
|
780 |
-
for module in self.output_blocks:
|
781 |
-
h = th.cat([h, hs.pop()], dim=1)
|
782 |
-
h = module(h, emb, context)
|
783 |
-
h = h.type(x.dtype)
|
784 |
-
if self.predict_codebook_ids:
|
785 |
-
return self.id_predictor(h)
|
786 |
-
else:
|
787 |
-
out = self.out(h)
|
788 |
-
# if True in np.isnan(out.detach().cpu().numpy()):
|
789 |
-
# aa = 1
|
790 |
-
return out
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIZero2HeroBootcamp/ExperimentalChatGPTv1/app.py
DELETED
@@ -1,442 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import openai
|
3 |
-
import os
|
4 |
-
import base64
|
5 |
-
import glob
|
6 |
-
import json
|
7 |
-
import mistune
|
8 |
-
import pytz
|
9 |
-
import math
|
10 |
-
import requests
|
11 |
-
import time
|
12 |
-
import re
|
13 |
-
import textract
|
14 |
-
|
15 |
-
from datetime import datetime
|
16 |
-
from openai import ChatCompletion
|
17 |
-
from xml.etree import ElementTree as ET
|
18 |
-
from bs4 import BeautifulSoup
|
19 |
-
from collections import deque
|
20 |
-
from audio_recorder_streamlit import audio_recorder
|
21 |
-
|
22 |
-
from dotenv import load_dotenv
|
23 |
-
from PyPDF2 import PdfReader
|
24 |
-
from langchain.text_splitter import CharacterTextSplitter
|
25 |
-
from langchain.embeddings import OpenAIEmbeddings
|
26 |
-
from langchain.vectorstores import FAISS
|
27 |
-
from langchain.chat_models import ChatOpenAI
|
28 |
-
from langchain.memory import ConversationBufferMemory
|
29 |
-
from langchain.chains import ConversationalRetrievalChain
|
30 |
-
from templates import css, bot_template, user_template
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
def generate_filename(prompt, file_type):
|
35 |
-
central = pytz.timezone('US/Central')
|
36 |
-
safe_date_time = datetime.now(central).strftime("%m%d_%H%M") # Date and time DD-HHMM
|
37 |
-
safe_prompt = "".join(x for x in prompt if x.isalnum())[:90] # Limit file name size and trim whitespace
|
38 |
-
return f"{safe_date_time}_{safe_prompt}.{file_type}" # Return a safe file name
|
39 |
-
|
40 |
-
|
41 |
-
def transcribe_audio(openai_key, file_path, model):
|
42 |
-
OPENAI_API_URL = "https://api.openai.com/v1/audio/transcriptions"
|
43 |
-
headers = {
|
44 |
-
"Authorization": f"Bearer {openai_key}",
|
45 |
-
}
|
46 |
-
with open(file_path, 'rb') as f:
|
47 |
-
data = {'file': f}
|
48 |
-
response = requests.post(OPENAI_API_URL, headers=headers, files=data, data={'model': model})
|
49 |
-
if response.status_code == 200:
|
50 |
-
st.write(response.json())
|
51 |
-
chatResponse = chat_with_model(response.json().get('text'), '') # *************************************
|
52 |
-
transcript = response.json().get('text')
|
53 |
-
#st.write('Responses:')
|
54 |
-
#st.write(chatResponse)
|
55 |
-
filename = generate_filename(transcript, 'txt')
|
56 |
-
create_file(filename, transcript, chatResponse)
|
57 |
-
return transcript
|
58 |
-
else:
|
59 |
-
st.write(response.json())
|
60 |
-
st.error("Error in API call.")
|
61 |
-
return None
|
62 |
-
|
63 |
-
def save_and_play_audio(audio_recorder):
|
64 |
-
audio_bytes = audio_recorder()
|
65 |
-
if audio_bytes:
|
66 |
-
filename = generate_filename("Recording", "wav")
|
67 |
-
with open(filename, 'wb') as f:
|
68 |
-
f.write(audio_bytes)
|
69 |
-
st.audio(audio_bytes, format="audio/wav")
|
70 |
-
return filename
|
71 |
-
return None
|
72 |
-
|
73 |
-
def create_file(filename, prompt, response):
|
74 |
-
if filename.endswith(".txt"):
|
75 |
-
with open(filename, 'w') as file:
|
76 |
-
file.write(f"{prompt}\n{response}")
|
77 |
-
elif filename.endswith(".htm"):
|
78 |
-
with open(filename, 'w') as file:
|
79 |
-
file.write(f"{prompt} {response}")
|
80 |
-
elif filename.endswith(".md"):
|
81 |
-
with open(filename, 'w') as file:
|
82 |
-
file.write(f"{prompt}\n\n{response}")
|
83 |
-
|
84 |
-
def truncate_document(document, length):
|
85 |
-
return document[:length]
|
86 |
-
def divide_document(document, max_length):
|
87 |
-
return [document[i:i+max_length] for i in range(0, len(document), max_length)]
|
88 |
-
|
89 |
-
def get_table_download_link(file_path):
|
90 |
-
with open(file_path, 'r') as file:
|
91 |
-
try:
|
92 |
-
data = file.read()
|
93 |
-
except:
|
94 |
-
st.write('')
|
95 |
-
return file_path
|
96 |
-
b64 = base64.b64encode(data.encode()).decode()
|
97 |
-
file_name = os.path.basename(file_path)
|
98 |
-
ext = os.path.splitext(file_name)[1] # get the file extension
|
99 |
-
if ext == '.txt':
|
100 |
-
mime_type = 'text/plain'
|
101 |
-
elif ext == '.py':
|
102 |
-
mime_type = 'text/plain'
|
103 |
-
elif ext == '.xlsx':
|
104 |
-
mime_type = 'text/plain'
|
105 |
-
elif ext == '.csv':
|
106 |
-
mime_type = 'text/plain'
|
107 |
-
elif ext == '.htm':
|
108 |
-
mime_type = 'text/html'
|
109 |
-
elif ext == '.md':
|
110 |
-
mime_type = 'text/markdown'
|
111 |
-
else:
|
112 |
-
mime_type = 'application/octet-stream' # general binary data type
|
113 |
-
href = f'<a href="data:{mime_type};base64,{b64}" target="_blank" download="{file_name}">{file_name}</a>'
|
114 |
-
return href
|
115 |
-
|
116 |
-
def CompressXML(xml_text):
|
117 |
-
root = ET.fromstring(xml_text)
|
118 |
-
for elem in list(root.iter()):
|
119 |
-
if isinstance(elem.tag, str) and 'Comment' in elem.tag:
|
120 |
-
elem.parent.remove(elem)
|
121 |
-
return ET.tostring(root, encoding='unicode', method="xml")
|
122 |
-
|
123 |
-
def read_file_content(file,max_length):
|
124 |
-
if file.type == "application/json":
|
125 |
-
content = json.load(file)
|
126 |
-
return str(content)
|
127 |
-
elif file.type == "text/html" or file.type == "text/htm":
|
128 |
-
content = BeautifulSoup(file, "html.parser")
|
129 |
-
return content.text
|
130 |
-
elif file.type == "application/xml" or file.type == "text/xml":
|
131 |
-
tree = ET.parse(file)
|
132 |
-
root = tree.getroot()
|
133 |
-
xml = CompressXML(ET.tostring(root, encoding='unicode'))
|
134 |
-
return xml
|
135 |
-
elif file.type == "text/markdown" or file.type == "text/md":
|
136 |
-
md = mistune.create_markdown()
|
137 |
-
content = md(file.read().decode())
|
138 |
-
return content
|
139 |
-
elif file.type == "text/plain":
|
140 |
-
return file.getvalue().decode()
|
141 |
-
else:
|
142 |
-
return ""
|
143 |
-
|
144 |
-
def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):
|
145 |
-
model = model_choice
|
146 |
-
conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
|
147 |
-
conversation.append({'role': 'user', 'content': prompt})
|
148 |
-
if len(document_section)>0:
|
149 |
-
conversation.append({'role': 'assistant', 'content': document_section})
|
150 |
-
|
151 |
-
start_time = time.time()
|
152 |
-
report = []
|
153 |
-
res_box = st.empty()
|
154 |
-
collected_chunks = []
|
155 |
-
collected_messages = []
|
156 |
-
|
157 |
-
for chunk in openai.ChatCompletion.create(
|
158 |
-
model='gpt-3.5-turbo',
|
159 |
-
messages=conversation,
|
160 |
-
temperature=0.5,
|
161 |
-
stream=True
|
162 |
-
):
|
163 |
-
|
164 |
-
collected_chunks.append(chunk) # save the event response
|
165 |
-
chunk_message = chunk['choices'][0]['delta'] # extract the message
|
166 |
-
collected_messages.append(chunk_message) # save the message
|
167 |
-
|
168 |
-
content=chunk["choices"][0].get("delta",{}).get("content")
|
169 |
-
|
170 |
-
try:
|
171 |
-
report.append(content)
|
172 |
-
if len(content) > 0:
|
173 |
-
result = "".join(report).strip()
|
174 |
-
#result = result.replace("\n", "")
|
175 |
-
res_box.markdown(f'*{result}*')
|
176 |
-
except:
|
177 |
-
st.write(' ')
|
178 |
-
|
179 |
-
full_reply_content = ''.join([m.get('content', '') for m in collected_messages])
|
180 |
-
st.write("Elapsed time:")
|
181 |
-
st.write(time.time() - start_time)
|
182 |
-
return full_reply_content
|
183 |
-
|
184 |
-
def chat_with_file_contents(prompt, file_content, model_choice='gpt-3.5-turbo'):
|
185 |
-
conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
|
186 |
-
conversation.append({'role': 'user', 'content': prompt})
|
187 |
-
if len(file_content)>0:
|
188 |
-
conversation.append({'role': 'assistant', 'content': file_content})
|
189 |
-
response = openai.ChatCompletion.create(model=model_choice, messages=conversation)
|
190 |
-
return response['choices'][0]['message']['content']
|
191 |
-
|
192 |
-
def extract_mime_type(file):
|
193 |
-
# Check if the input is a string
|
194 |
-
if isinstance(file, str):
|
195 |
-
pattern = r"type='(.*?)'"
|
196 |
-
match = re.search(pattern, file)
|
197 |
-
if match:
|
198 |
-
return match.group(1)
|
199 |
-
else:
|
200 |
-
raise ValueError(f"Unable to extract MIME type from {file}")
|
201 |
-
# If it's not a string, assume it's a streamlit.UploadedFile object
|
202 |
-
elif isinstance(file, streamlit.UploadedFile):
|
203 |
-
return file.type
|
204 |
-
else:
|
205 |
-
raise TypeError("Input should be a string or a streamlit.UploadedFile object")
|
206 |
-
|
207 |
-
from io import BytesIO
|
208 |
-
import re
|
209 |
-
|
210 |
-
def extract_file_extension(file):
|
211 |
-
# get the file name directly from the UploadedFile object
|
212 |
-
file_name = file.name
|
213 |
-
pattern = r".*?\.(.*?)$"
|
214 |
-
match = re.search(pattern, file_name)
|
215 |
-
if match:
|
216 |
-
return match.group(1)
|
217 |
-
else:
|
218 |
-
raise ValueError(f"Unable to extract file extension from {file_name}")
|
219 |
-
|
220 |
-
def pdf2txt(docs):
|
221 |
-
text = ""
|
222 |
-
for file in docs:
|
223 |
-
file_extension = extract_file_extension(file)
|
224 |
-
# print the file extension
|
225 |
-
st.write(f"File type extension: {file_extension}")
|
226 |
-
|
227 |
-
# read the file according to its extension
|
228 |
-
try:
|
229 |
-
if file_extension.lower() in ['py', 'txt', 'html', 'htm', 'xml', 'json']:
|
230 |
-
text += file.getvalue().decode('utf-8')
|
231 |
-
elif file_extension.lower() == 'pdf':
|
232 |
-
from PyPDF2 import PdfReader
|
233 |
-
pdf = PdfReader(BytesIO(file.getvalue()))
|
234 |
-
for page in range(len(pdf.pages)):
|
235 |
-
text += pdf.pages[page].extract_text() # new PyPDF2 syntax
|
236 |
-
except Exception as e:
|
237 |
-
st.write(f"Error processing file {file.name}: {e}")
|
238 |
-
|
239 |
-
return text
|
240 |
-
|
241 |
-
def pdf2txt_old(pdf_docs):
|
242 |
-
st.write(pdf_docs)
|
243 |
-
for file in pdf_docs:
|
244 |
-
mime_type = extract_mime_type(file)
|
245 |
-
st.write(f"MIME type of file: {mime_type}")
|
246 |
-
|
247 |
-
text = ""
|
248 |
-
for pdf in pdf_docs:
|
249 |
-
pdf_reader = PdfReader(pdf)
|
250 |
-
for page in pdf_reader.pages:
|
251 |
-
text += page.extract_text()
|
252 |
-
return text
|
253 |
-
|
254 |
-
def txt2chunks(text):
|
255 |
-
text_splitter = CharacterTextSplitter(separator="\n", chunk_size=1000, chunk_overlap=200, length_function=len)
|
256 |
-
return text_splitter.split_text(text)
|
257 |
-
|
258 |
-
def vector_store(text_chunks):
|
259 |
-
key = os.getenv('OPENAI_API_KEY')
|
260 |
-
embeddings = OpenAIEmbeddings(openai_api_key=key)
|
261 |
-
return FAISS.from_texts(texts=text_chunks, embedding=embeddings)
|
262 |
-
|
263 |
-
def get_chain(vectorstore):
|
264 |
-
llm = ChatOpenAI()
|
265 |
-
memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True)
|
266 |
-
return ConversationalRetrievalChain.from_llm(llm=llm, retriever=vectorstore.as_retriever(), memory=memory)
|
267 |
-
|
268 |
-
def process_user_input(user_question):
|
269 |
-
response = st.session_state.conversation({'question': user_question})
|
270 |
-
st.session_state.chat_history = response['chat_history']
|
271 |
-
for i, message in enumerate(st.session_state.chat_history):
|
272 |
-
template = user_template if i % 2 == 0 else bot_template
|
273 |
-
st.write(template.replace("{{MSG}}", message.content), unsafe_allow_html=True)
|
274 |
-
# Save file output from PDF query results
|
275 |
-
filename = generate_filename(user_question, 'txt')
|
276 |
-
create_file(filename, user_question, message.content)
|
277 |
-
|
278 |
-
#st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
279 |
-
|
280 |
-
def divide_prompt(prompt, max_length):
|
281 |
-
words = prompt.split()
|
282 |
-
chunks = []
|
283 |
-
current_chunk = []
|
284 |
-
current_length = 0
|
285 |
-
for word in words:
|
286 |
-
if len(word) + current_length <= max_length:
|
287 |
-
current_length += len(word) + 1 # Adding 1 to account for spaces
|
288 |
-
current_chunk.append(word)
|
289 |
-
else:
|
290 |
-
chunks.append(' '.join(current_chunk))
|
291 |
-
current_chunk = [word]
|
292 |
-
current_length = len(word)
|
293 |
-
chunks.append(' '.join(current_chunk)) # Append the final chunk
|
294 |
-
return chunks
|
295 |
-
|
296 |
-
def main():
|
297 |
-
# Sidebar and global
|
298 |
-
openai.api_key = os.getenv('OPENAI_API_KEY')
|
299 |
-
st.set_page_config(page_title="GPT Streamlit Document Reasoner",layout="wide")
|
300 |
-
|
301 |
-
# File type for output, model choice
|
302 |
-
menu = ["txt", "htm", "xlsx", "csv", "md", "py"] #619
|
303 |
-
choice = st.sidebar.selectbox("Output File Type:", menu)
|
304 |
-
model_choice = st.sidebar.radio("Select Model:", ('gpt-3.5-turbo', 'gpt-3.5-turbo-0301'))
|
305 |
-
|
306 |
-
# Audio, transcribe, GPT:
|
307 |
-
filename = save_and_play_audio(audio_recorder)
|
308 |
-
if filename is not None:
|
309 |
-
transcription = transcribe_audio(openai.api_key, filename, "whisper-1")
|
310 |
-
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
311 |
-
filename=None # since transcription is finished next time just use the saved transcript
|
312 |
-
|
313 |
-
# prompt interfaces
|
314 |
-
user_prompt = st.text_area("Enter prompts, instructions & questions:", '', height=100)
|
315 |
-
|
316 |
-
# file section interface for prompts against large documents as context
|
317 |
-
collength, colupload = st.columns([2,3]) # adjust the ratio as needed
|
318 |
-
with collength:
|
319 |
-
max_length = st.slider("File section length for large files", min_value=1000, max_value=128000, value=12000, step=1000)
|
320 |
-
with colupload:
|
321 |
-
uploaded_file = st.file_uploader("Add a file for context:", type=["pdf", "xml", "json", "xlsx","csv","html", "htm", "md", "txt"])
|
322 |
-
|
323 |
-
# Document section chat
|
324 |
-
document_sections = deque()
|
325 |
-
document_responses = {}
|
326 |
-
if uploaded_file is not None:
|
327 |
-
file_content = read_file_content(uploaded_file, max_length)
|
328 |
-
document_sections.extend(divide_document(file_content, max_length))
|
329 |
-
if len(document_sections) > 0:
|
330 |
-
if st.button("👁️ View Upload"):
|
331 |
-
st.markdown("**Sections of the uploaded file:**")
|
332 |
-
for i, section in enumerate(list(document_sections)):
|
333 |
-
st.markdown(f"**Section {i+1}**\n{section}")
|
334 |
-
st.markdown("**Chat with the model:**")
|
335 |
-
for i, section in enumerate(list(document_sections)):
|
336 |
-
if i in document_responses:
|
337 |
-
st.markdown(f"**Section {i+1}**\n{document_responses[i]}")
|
338 |
-
else:
|
339 |
-
if st.button(f"Chat about Section {i+1}"):
|
340 |
-
st.write('Reasoning with your inputs...')
|
341 |
-
response = chat_with_model(user_prompt, section, model_choice) # *************************************
|
342 |
-
st.write('Response:')
|
343 |
-
st.write(response)
|
344 |
-
document_responses[i] = response
|
345 |
-
filename = generate_filename(f"{user_prompt}_section_{i+1}", choice)
|
346 |
-
create_file(filename, user_prompt, response)
|
347 |
-
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
348 |
-
|
349 |
-
if st.button('💬 Chat'):
|
350 |
-
st.write('Reasoning with your inputs...')
|
351 |
-
|
352 |
-
#response = chat_with_model(user_prompt, ''.join(list(document_sections,)), model_choice) # *************************************
|
353 |
-
|
354 |
-
# Divide the user_prompt into smaller sections
|
355 |
-
user_prompt_sections = divide_prompt(user_prompt, max_length)
|
356 |
-
full_response = ''
|
357 |
-
for prompt_section in user_prompt_sections:
|
358 |
-
# Process each section with the model
|
359 |
-
response = chat_with_model(prompt_section, ''.join(list(document_sections)), model_choice)
|
360 |
-
full_response += response + '\n' # Combine the responses
|
361 |
-
|
362 |
-
#st.write('Response:')
|
363 |
-
#st.write(full_response)
|
364 |
-
|
365 |
-
response = full_response
|
366 |
-
st.write('Response:')
|
367 |
-
st.write(response)
|
368 |
-
|
369 |
-
filename = generate_filename(user_prompt, choice)
|
370 |
-
create_file(filename, user_prompt, response)
|
371 |
-
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
372 |
-
|
373 |
-
all_files = glob.glob("*.*")
|
374 |
-
all_files = [file for file in all_files if len(os.path.splitext(file)[0]) >= 20] # exclude files with short names
|
375 |
-
all_files.sort(key=lambda x: (os.path.splitext(x)[1], x), reverse=True) # sort by file type and file name in descending order
|
376 |
-
|
377 |
-
# sidebar of files
|
378 |
-
file_contents=''
|
379 |
-
next_action=''
|
380 |
-
for file in all_files:
|
381 |
-
col1, col2, col3, col4, col5 = st.sidebar.columns([1,6,1,1,1]) # adjust the ratio as needed
|
382 |
-
with col1:
|
383 |
-
if st.button("🌐", key="md_"+file): # md emoji button
|
384 |
-
with open(file, 'r') as f:
|
385 |
-
file_contents = f.read()
|
386 |
-
next_action='md'
|
387 |
-
with col2:
|
388 |
-
st.markdown(get_table_download_link(file), unsafe_allow_html=True)
|
389 |
-
with col3:
|
390 |
-
if st.button("📂", key="open_"+file): # open emoji button
|
391 |
-
with open(file, 'r') as f:
|
392 |
-
file_contents = f.read()
|
393 |
-
next_action='open'
|
394 |
-
with col4:
|
395 |
-
if st.button("🔍", key="read_"+file): # search emoji button
|
396 |
-
with open(file, 'r') as f:
|
397 |
-
file_contents = f.read()
|
398 |
-
next_action='search'
|
399 |
-
with col5:
|
400 |
-
if st.button("🗑", key="delete_"+file):
|
401 |
-
os.remove(file)
|
402 |
-
st.experimental_rerun()
|
403 |
-
|
404 |
-
if len(file_contents) > 0:
|
405 |
-
if next_action=='open':
|
406 |
-
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
407 |
-
if next_action=='md':
|
408 |
-
st.markdown(file_contents)
|
409 |
-
if next_action=='search':
|
410 |
-
file_content_area = st.text_area("File Contents:", file_contents, height=500)
|
411 |
-
st.write('Reasoning with your inputs...')
|
412 |
-
response = chat_with_model(user_prompt, file_contents, model_choice)
|
413 |
-
filename = generate_filename(file_contents, choice)
|
414 |
-
create_file(filename, file_contents, response)
|
415 |
-
|
416 |
-
st.experimental_rerun()
|
417 |
-
#st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
418 |
-
|
419 |
-
if __name__ == "__main__":
|
420 |
-
main()
|
421 |
-
|
422 |
-
load_dotenv()
|
423 |
-
st.write(css, unsafe_allow_html=True)
|
424 |
-
|
425 |
-
st.header("Chat with documents :books:")
|
426 |
-
user_question = st.text_input("Ask a question about your documents:")
|
427 |
-
if user_question:
|
428 |
-
process_user_input(user_question)
|
429 |
-
|
430 |
-
with st.sidebar:
|
431 |
-
st.subheader("Your documents")
|
432 |
-
docs = st.file_uploader("import documents", accept_multiple_files=True)
|
433 |
-
with st.spinner("Processing"):
|
434 |
-
raw = pdf2txt(docs)
|
435 |
-
if len(raw) > 0:
|
436 |
-
length = str(len(raw))
|
437 |
-
text_chunks = txt2chunks(raw)
|
438 |
-
vectorstore = vector_store(text_chunks)
|
439 |
-
st.session_state.conversation = get_chain(vectorstore)
|
440 |
-
st.markdown('# AI Search Index of Length:' + length + ' Created.') # add timing
|
441 |
-
filename = generate_filename(raw, 'txt')
|
442 |
-
create_file(filename, raw, '')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Aabdelhamidaz/animals/README.md
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Animals
|
3 |
-
emoji: 🐠
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: pink
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.1.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/Abhilashvj/planogram-compliance/README.md
DELETED
@@ -1,166 +0,0 @@
|
|
1 |
-
---
|
2 |
-
sdk: streamlit
|
3 |
-
sdk_version: 1.10.0 # The latest supported version
|
4 |
-
app_file: app.py
|
5 |
-
pinned: false
|
6 |
-
fullWidth: True
|
7 |
-
---
|
8 |
-
## <div align="center">Planogram Scoring</div>
|
9 |
-
<p>
|
10 |
-
|
11 |
-
</p>
|
12 |
-
- Train a Yolo Model on the available products in our data base to detect them on a shelf
|
13 |
-
- https://wandb.ai/abhilash001vj/YOLOv5/runs/1v6yh7nk?workspace=user-abhilash001vj
|
14 |
-
- Have the master planogram data captured as a matrix of products encoded as numbers (label encoding by looking the products names saved in a list of all - the available product names )
|
15 |
-
- Detect the products on real images from stores.
|
16 |
-
- Arrange the detected products in the captured photograph to rows and columns
|
17 |
-
- Compare the product arrangement of captured photograph to the existing master planogram and produce the compliance score for correctly placed products
|
18 |
-
|
19 |
-
</div>
|
20 |
-
|
21 |
-
## <div align="center">YOLOv5</div>
|
22 |
-
<p>
|
23 |
-
YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset, and represents <a href="https://ultralytics.com">Ultralytics</a>
|
24 |
-
open-source research into future vision AI methods, incorporating lessons learned and best practices evolved over thousands of hours of research and development.
|
25 |
-
</p>
|
26 |
-
|
27 |
-
</div>
|
28 |
-
|
29 |
-
## <div align="center">Documentation</div>
|
30 |
-
|
31 |
-
See the [YOLOv5 Docs](https://docs.ultralytics.com) for full documentation on training, testing and deployment.
|
32 |
-
|
33 |
-
## <div align="center">Quick Start Examples</div>
|
34 |
-
|
35 |
-
<details open>
|
36 |
-
<summary>Install</summary>
|
37 |
-
|
38 |
-
[**Python>=3.6.0**](https://www.python.org/) is required with all
|
39 |
-
[requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) installed including
|
40 |
-
[**PyTorch>=1.7**](https://pytorch.org/get-started/locally/):
|
41 |
-
<!-- $ sudo apt update && apt install -y libgl1-mesa-glx libsm6 libxext6 libxrender-dev -->
|
42 |
-
|
43 |
-
```bash
|
44 |
-
$ git clone https://github.com/ultralytics/yolov5
|
45 |
-
$ cd yolov5
|
46 |
-
$ pip install -r requirements.txt
|
47 |
-
```
|
48 |
-
|
49 |
-
</details>
|
50 |
-
|
51 |
-
<details open>
|
52 |
-
<summary>Inference</summary>
|
53 |
-
|
54 |
-
Inference with YOLOv5 and [PyTorch Hub](https://github.com/ultralytics/yolov5/issues/36). Models automatically download
|
55 |
-
from the [latest YOLOv5 release](https://github.com/ultralytics/yolov5/releases).
|
56 |
-
|
57 |
-
```python
|
58 |
-
import torch
|
59 |
-
|
60 |
-
# Model
|
61 |
-
model = torch.hub.load('ultralytics/yolov5', 'yolov5s') # or yolov5m, yolov5l, yolov5x, custom
|
62 |
-
|
63 |
-
# Images
|
64 |
-
img = 'https://ultralytics.com/images/zidane.jpg' # or file, Path, PIL, OpenCV, numpy, list
|
65 |
-
|
66 |
-
# Inference
|
67 |
-
results = model(img)
|
68 |
-
|
69 |
-
# Results
|
70 |
-
results.print() # or .show(), .save(), .crop(), .pandas(), etc.
|
71 |
-
```
|
72 |
-
|
73 |
-
</details>
|
74 |
-
|
75 |
-
|
76 |
-
## <div align="center">Why YOLOv5</div>
|
77 |
-
|
78 |
-
<p align="center"><img width="800" src="https://user-images.githubusercontent.com/26833433/114313216-f0a5e100-9af5-11eb-8445-c682b60da2e3.png"></p>
|
79 |
-
<details>
|
80 |
-
<summary>YOLOv5-P5 640 Figure (click to expand)</summary>
|
81 |
-
|
82 |
-
<p align="center"><img width="800" src="https://user-images.githubusercontent.com/26833433/114313219-f1d70e00-9af5-11eb-9973-52b1f98d321a.png"></p>
|
83 |
-
</details>
|
84 |
-
<details>
|
85 |
-
<summary>Figure Notes (click to expand)</summary>
|
86 |
-
|
87 |
-
* GPU Speed measures end-to-end time per image averaged over 5000 COCO val2017 images using a V100 GPU with batch size
|
88 |
-
32, and includes image preprocessing, PyTorch FP16 inference, postprocessing and NMS.
|
89 |
-
* EfficientDet data from [google/automl](https://github.com/google/automl) at batch size 8.
|
90 |
-
* **Reproduce** by
|
91 |
-
`python val.py --task study --data coco.yaml --iou 0.7 --weights yolov5s6.pt yolov5m6.pt yolov5l6.pt yolov5x6.pt`
|
92 |
-
|
93 |
-
</details>
|
94 |
-
|
95 |
-
### Pretrained Checkpoints
|
96 |
-
|
97 |
-
[assets]: https://github.com/ultralytics/yolov5/releases
|
98 |
-
|
99 |
-
|Model |size<br><sup>(pixels) |mAP<sup>val<br>0.5:0.95 |mAP<sup>test<br>0.5:0.95 |mAP<sup>val<br>0.5 |Speed<br><sup>V100 (ms) | |params<br><sup>(M) |FLOPs<br><sup>640 (B)
|
100 |
-
|--- |--- |--- |--- |--- |--- |---|--- |---
|
101 |
-
|[YOLOv5s][assets] |640 |36.7 |36.7 |55.4 |**2.0** | |7.3 |17.0
|
102 |
-
|[YOLOv5m][assets] |640 |44.5 |44.5 |63.1 |2.7 | |21.4 |51.3
|
103 |
-
|[YOLOv5l][assets] |640 |48.2 |48.2 |66.9 |3.8 | |47.0 |115.4
|
104 |
-
|[YOLOv5x][assets] |640 |**50.4** |**50.4** |**68.8** |6.1 | |87.7 |218.8
|
105 |
-
| | | | | | | | |
|
106 |
-
|[YOLOv5s6][assets] |1280 |43.3 |43.3 |61.9 |**4.3** | |12.7 |17.4
|
107 |
-
|[YOLOv5m6][assets] |1280 |50.5 |50.5 |68.7 |8.4 | |35.9 |52.4
|
108 |
-
|[YOLOv5l6][assets] |1280 |53.4 |53.4 |71.1 |12.3 | |77.2 |117.7
|
109 |
-
|[YOLOv5x6][assets] |1280 |**54.4** |**54.4** |**72.0** |22.4 | |141.8 |222.9
|
110 |
-
| | | | | | | | |
|
111 |
-
|[YOLOv5x6][assets] TTA |1280 |**55.0** |**55.0** |**72.0** |70.8 | |- |-
|
112 |
-
|
113 |
-
<details>
|
114 |
-
<summary>Table Notes (click to expand)</summary>
|
115 |
-
|
116 |
-
* AP<sup>test</sup> denotes COCO [test-dev2017](http://cocodataset.org/#upload) server results, all other AP results
|
117 |
-
denote val2017 accuracy.
|
118 |
-
* AP values are for single-model single-scale unless otherwise noted. **Reproduce mAP**
|
119 |
-
by `python val.py --data coco.yaml --img 640 --conf 0.001 --iou 0.65`
|
120 |
-
* Speed<sub>GPU</sub> averaged over 5000 COCO val2017 images using a
|
121 |
-
GCP [n1-standard-16](https://cloud.google.com/compute/docs/machine-types#n1_standard_machine_types) V100 instance, and
|
122 |
-
includes FP16 inference, postprocessing and NMS. **Reproduce speed**
|
123 |
-
by `python val.py --data coco.yaml --img 640 --conf 0.25 --iou 0.45 --half`
|
124 |
-
* All checkpoints are trained to 300 epochs with default settings and hyperparameters (no autoaugmentation).
|
125 |
-
* Test Time Augmentation ([TTA](https://github.com/ultralytics/yolov5/issues/303)) includes reflection and scale
|
126 |
-
augmentation. **Reproduce TTA** by `python val.py --data coco.yaml --img 1536 --iou 0.7 --augment`
|
127 |
-
|
128 |
-
</details>
|
129 |
-
|
130 |
-
## <div align="center">Contribute</div>
|
131 |
-
|
132 |
-
We love your input! We want to make contributing to YOLOv5 as easy and transparent as possible. Please see
|
133 |
-
our [Contributing Guide](CONTRIBUTING.md) to get started.
|
134 |
-
|
135 |
-
## <div align="center">Contact</div>
|
136 |
-
|
137 |
-
For issues running YOLOv5 please visit [GitHub Issues](https://github.com/ultralytics/yolov5/issues). For business or
|
138 |
-
professional support requests please visit [https://ultralytics.com/contact](https://ultralytics.com/contact).
|
139 |
-
|
140 |
-
<br>
|
141 |
-
|
142 |
-
<div align="center">
|
143 |
-
<a href="https://github.com/ultralytics">
|
144 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-github.png" width="3%"/>
|
145 |
-
</a>
|
146 |
-
<img width="3%" />
|
147 |
-
<a href="https://www.linkedin.com/company/ultralytics">
|
148 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-linkedin.png" width="3%"/>
|
149 |
-
</a>
|
150 |
-
<img width="3%" />
|
151 |
-
<a href="https://twitter.com/ultralytics">
|
152 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-twitter.png" width="3%"/>
|
153 |
-
</a>
|
154 |
-
<img width="3%" />
|
155 |
-
<a href="https://youtube.com/ultralytics">
|
156 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-youtube.png" width="3%"/>
|
157 |
-
</a>
|
158 |
-
<img width="3%" />
|
159 |
-
<a href="https://www.facebook.com/ultralytics">
|
160 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-facebook.png" width="3%"/>
|
161 |
-
</a>
|
162 |
-
<img width="3%" />
|
163 |
-
<a href="https://www.instagram.com/ultralytics/">
|
164 |
-
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-instagram.png" width="3%"/>
|
165 |
-
</a>
|
166 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/spinner/clock/Clock.js
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
import Base from '../base/Base.js';
|
2 |
-
import { Circle, Line } from '../utils/Geoms.js'
|
3 |
-
|
4 |
-
const RadToDeg = Phaser.Math.RadToDeg;
|
5 |
-
const WrapDegrees = Phaser.Math.Angle.WrapDegrees;
|
6 |
-
const WrapRad = Phaser.Math.Angle.Wrap;
|
7 |
-
const ShortestBetween = Phaser.Math.Angle.ShortestBetween;
|
8 |
-
const DegToRad = Phaser.Math.DegToRad;
|
9 |
-
const Rad270 = Phaser.Math.DegToRad(270);
|
10 |
-
|
11 |
-
class Clock extends Base {
|
12 |
-
constructor(scene, config) {
|
13 |
-
super(scene, config);
|
14 |
-
this.type = 'rexSpinnerClock';
|
15 |
-
|
16 |
-
this.minuteHandAngle = 0;
|
17 |
-
this.hourHandAngle = 0;
|
18 |
-
}
|
19 |
-
|
20 |
-
buildShapes() {
|
21 |
-
this.addShape((new Circle()).setName('border'));
|
22 |
-
this.addShape((new Line()).setName('minuteHand'));
|
23 |
-
this.addShape((new Line()).setName('hourHand'));
|
24 |
-
}
|
25 |
-
|
26 |
-
updateShapes() {
|
27 |
-
var centerX = this.centerX;
|
28 |
-
var centerY = this.centerY;
|
29 |
-
var radius = this.radius;
|
30 |
-
var lineWidth = Math.ceil(radius / 25);
|
31 |
-
var borderRadius = radius - (lineWidth / 2);
|
32 |
-
var minuteHandLength = radius * 0.8;
|
33 |
-
var hourHandLength = radius * 0.5;
|
34 |
-
|
35 |
-
var prevMinuteHandAngle = this.minuteHandAngle;
|
36 |
-
this.minuteHandAngle = Math.PI * 2 * this.value;
|
37 |
-
var angle0 = WrapDegrees(RadToDeg(prevMinuteHandAngle));
|
38 |
-
var angle1 = WrapDegrees(RadToDeg(this.minuteHandAngle));
|
39 |
-
var deltaAngle = ShortestBetween(angle0, angle1);
|
40 |
-
this.hourHandAngle = WrapRad(this.hourHandAngle + (DegToRad(deltaAngle) / 12))
|
41 |
-
|
42 |
-
this.getShape('border')
|
43 |
-
.lineStyle(lineWidth, this.color)
|
44 |
-
.setRadius(borderRadius)
|
45 |
-
.setCenterPosition(centerX, centerY);
|
46 |
-
|
47 |
-
var angle = this.minuteHandAngle + Rad270;
|
48 |
-
this.getShape('minuteHand')
|
49 |
-
.lineStyle(lineWidth, this.color)
|
50 |
-
.setP0(centerX, centerY)
|
51 |
-
.setP1(
|
52 |
-
centerX + (Math.cos(angle) * minuteHandLength),
|
53 |
-
centerY + (Math.sin(angle) * minuteHandLength)
|
54 |
-
)
|
55 |
-
|
56 |
-
var angle = this.hourHandAngle + Rad270;
|
57 |
-
this.getShape('hourHand')
|
58 |
-
.lineStyle(lineWidth, this.color)
|
59 |
-
.setP0(centerX, centerY)
|
60 |
-
.setP1(
|
61 |
-
centerX + (Math.cos(angle) * hourHandLength),
|
62 |
-
centerY + (Math.sin(angle) * hourHandLength)
|
63 |
-
)
|
64 |
-
}
|
65 |
-
}
|
66 |
-
|
67 |
-
export default Clock;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/spinner/los/Los.d.ts
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
import Base from '../base/Base';
|
2 |
-
export default class Los extends Base { }
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/pan/Factory.d.ts
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
// import * as Phaser from 'phaser';
|
2 |
-
import Pan from "./Pan";
|
3 |
-
|
4 |
-
export default function (
|
5 |
-
gameObject: Phaser.GameObjects.GameObject | Phaser.Scene,
|
6 |
-
config?: Pan.IConfig
|
7 |
-
): Pan;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AkitoP/umamusume_bert_vits2/monotonic_align/core.py
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
import numba
|
2 |
-
|
3 |
-
|
4 |
-
@numba.jit(
|
5 |
-
numba.void(
|
6 |
-
numba.int32[:, :, ::1],
|
7 |
-
numba.float32[:, :, ::1],
|
8 |
-
numba.int32[::1],
|
9 |
-
numba.int32[::1],
|
10 |
-
),
|
11 |
-
nopython=True,
|
12 |
-
nogil=True,
|
13 |
-
)
|
14 |
-
def maximum_path_jit(paths, values, t_ys, t_xs):
|
15 |
-
b = paths.shape[0]
|
16 |
-
max_neg_val = -1e9
|
17 |
-
for i in range(int(b)):
|
18 |
-
path = paths[i]
|
19 |
-
value = values[i]
|
20 |
-
t_y = t_ys[i]
|
21 |
-
t_x = t_xs[i]
|
22 |
-
|
23 |
-
v_prev = v_cur = 0.0
|
24 |
-
index = t_x - 1
|
25 |
-
|
26 |
-
for y in range(t_y):
|
27 |
-
for x in range(max(0, t_x + y - t_y), min(t_x, y + 1)):
|
28 |
-
if x == y:
|
29 |
-
v_cur = max_neg_val
|
30 |
-
else:
|
31 |
-
v_cur = value[y - 1, x]
|
32 |
-
if x == 0:
|
33 |
-
if y == 0:
|
34 |
-
v_prev = 0.0
|
35 |
-
else:
|
36 |
-
v_prev = max_neg_val
|
37 |
-
else:
|
38 |
-
v_prev = value[y - 1, x - 1]
|
39 |
-
value[y, x] += max(v_prev, v_cur)
|
40 |
-
|
41 |
-
for y in range(t_y - 1, -1, -1):
|
42 |
-
path[y, index] = 1
|
43 |
-
if index != 0 and (
|
44 |
-
index == y or value[y - 1, index] < value[y - 1, index - 1]
|
45 |
-
):
|
46 |
-
index = index - 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AkshayKollimarala/MygenAI/app.py
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import gradio as gr
|
3 |
-
from langchain.chat_models import ChatOpenAI
|
4 |
-
from langchain import LLMChain, PromptTemplate
|
5 |
-
from langchain.memory import ConversationBufferMemory
|
6 |
-
|
7 |
-
OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|
8 |
-
|
9 |
-
template = """Meet Riya, your youthful and witty personal assistant! At 21 years old, she's full of energy and always eager to help. Riya's goal is to assist you with any questions or problems you might have. Her enthusiasm shines through in every response, making interactions with her enjoyable and engaging.
|
10 |
-
{chat_history}
|
11 |
-
User: {user_message}
|
12 |
-
Chatbot:"""
|
13 |
-
|
14 |
-
prompt = PromptTemplate(
|
15 |
-
input_variables=["chat_history", "user_message"], template=template
|
16 |
-
)
|
17 |
-
|
18 |
-
memory = ConversationBufferMemory(memory_key="chat_history")
|
19 |
-
|
20 |
-
llm_chain = LLMChain(
|
21 |
-
llm=ChatOpenAI(temperature='0.5', model_name="gpt-3.5-turbo"),
|
22 |
-
prompt=prompt,
|
23 |
-
verbose=True,
|
24 |
-
memory=memory,
|
25 |
-
)
|
26 |
-
|
27 |
-
def get_text_response(user_message,history):
|
28 |
-
response = llm_chain.predict(user_message = user_message)
|
29 |
-
return response
|
30 |
-
|
31 |
-
demo = gr.ChatInterface(get_text_response)
|
32 |
-
|
33 |
-
if __name__ == "__main__":
|
34 |
-
demo.launch() #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Aloento/9Nine-PITS/text/frontend/zh_normalization/chronology.py
DELETED
@@ -1,134 +0,0 @@
|
|
1 |
-
# Copyright (c) 2021 PaddlePaddle Authors. 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 re
|
15 |
-
|
16 |
-
from .num import DIGITS
|
17 |
-
from .num import num2str
|
18 |
-
from .num import verbalize_cardinal
|
19 |
-
from .num import verbalize_digit
|
20 |
-
|
21 |
-
|
22 |
-
def _time_num2str(num_string: str) -> str:
|
23 |
-
"""A special case for verbalizing number in time."""
|
24 |
-
result = num2str(num_string.lstrip('0'))
|
25 |
-
if num_string.startswith('0'):
|
26 |
-
result = DIGITS['0'] + result
|
27 |
-
return result
|
28 |
-
|
29 |
-
|
30 |
-
# 时刻表达式
|
31 |
-
RE_TIME = re.compile(r'([0-1]?[0-9]|2[0-3])'
|
32 |
-
r':([0-5][0-9])'
|
33 |
-
r'(:([0-5][0-9]))?')
|
34 |
-
|
35 |
-
# 时间范围,如8:30-12:30
|
36 |
-
RE_TIME_RANGE = re.compile(r'([0-1]?[0-9]|2[0-3])'
|
37 |
-
r':([0-5][0-9])'
|
38 |
-
r'(:([0-5][0-9]))?'
|
39 |
-
r'(~|-)'
|
40 |
-
r'([0-1]?[0-9]|2[0-3])'
|
41 |
-
r':([0-5][0-9])'
|
42 |
-
r'(:([0-5][0-9]))?')
|
43 |
-
|
44 |
-
|
45 |
-
def replace_time(match) -> str:
|
46 |
-
"""
|
47 |
-
Args:
|
48 |
-
match (re.Match)
|
49 |
-
Returns:
|
50 |
-
str
|
51 |
-
"""
|
52 |
-
|
53 |
-
is_range = len(match.groups()) > 5
|
54 |
-
|
55 |
-
hour = match.group(1)
|
56 |
-
minute = match.group(2)
|
57 |
-
second = match.group(4)
|
58 |
-
|
59 |
-
if is_range:
|
60 |
-
hour_2 = match.group(6)
|
61 |
-
minute_2 = match.group(7)
|
62 |
-
second_2 = match.group(9)
|
63 |
-
|
64 |
-
result = f"{num2str(hour)}点"
|
65 |
-
if minute.lstrip('0'):
|
66 |
-
if int(minute) == 30:
|
67 |
-
result += "半"
|
68 |
-
else:
|
69 |
-
result += f"{_time_num2str(minute)}分"
|
70 |
-
if second and second.lstrip('0'):
|
71 |
-
result += f"{_time_num2str(second)}秒"
|
72 |
-
|
73 |
-
if is_range:
|
74 |
-
result += "至"
|
75 |
-
result += f"{num2str(hour_2)}点"
|
76 |
-
if minute_2.lstrip('0'):
|
77 |
-
if int(minute) == 30:
|
78 |
-
result += "半"
|
79 |
-
else:
|
80 |
-
result += f"{_time_num2str(minute_2)}分"
|
81 |
-
if second_2 and second_2.lstrip('0'):
|
82 |
-
result += f"{_time_num2str(second_2)}秒"
|
83 |
-
|
84 |
-
return result
|
85 |
-
|
86 |
-
|
87 |
-
RE_DATE = re.compile(r'(\d{4}|\d{2})年'
|
88 |
-
r'((0?[1-9]|1[0-2])月)?'
|
89 |
-
r'(((0?[1-9])|((1|2)[0-9])|30|31)([日号]))?')
|
90 |
-
|
91 |
-
|
92 |
-
def replace_date(match) -> str:
|
93 |
-
"""
|
94 |
-
Args:
|
95 |
-
match (re.Match)
|
96 |
-
Returns:
|
97 |
-
str
|
98 |
-
"""
|
99 |
-
year = match.group(1)
|
100 |
-
month = match.group(3)
|
101 |
-
day = match.group(5)
|
102 |
-
result = ""
|
103 |
-
if year:
|
104 |
-
result += f"{verbalize_digit(year)}年"
|
105 |
-
if month:
|
106 |
-
result += f"{verbalize_cardinal(month)}月"
|
107 |
-
if day:
|
108 |
-
result += f"{verbalize_cardinal(day)}{match.group(9)}"
|
109 |
-
return result
|
110 |
-
|
111 |
-
|
112 |
-
# 用 / 或者 - 分隔的 YY/MM/DD 或者 YY-MM-DD 日期
|
113 |
-
RE_DATE2 = re.compile(
|
114 |
-
r'(\d{4})([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])')
|
115 |
-
|
116 |
-
|
117 |
-
def replace_date2(match) -> str:
|
118 |
-
"""
|
119 |
-
Args:
|
120 |
-
match (re.Match)
|
121 |
-
Returns:
|
122 |
-
str
|
123 |
-
"""
|
124 |
-
year = match.group(1)
|
125 |
-
month = match.group(3)
|
126 |
-
day = match.group(4)
|
127 |
-
result = ""
|
128 |
-
if year:
|
129 |
-
result += f"{verbalize_digit(year)}年"
|
130 |
-
if month:
|
131 |
-
result += f"{verbalize_cardinal(month)}月"
|
132 |
-
if day:
|
133 |
-
result += f"{verbalize_cardinal(day)}日"
|
134 |
-
return result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AnTo2209/3D_Zeroshot_Neural_Style_Transfer/src/dataset/blender_dataset.py
DELETED
@@ -1,164 +0,0 @@
|
|
1 |
-
import numpy as np
|
2 |
-
import torch, cv2
|
3 |
-
from torch.utils.data import Dataset
|
4 |
-
import json
|
5 |
-
from tqdm import tqdm
|
6 |
-
import os
|
7 |
-
from PIL import Image
|
8 |
-
from torchvision import transforms as T
|
9 |
-
|
10 |
-
from .ray_utils import *
|
11 |
-
|
12 |
-
|
13 |
-
class BlenderDataset(Dataset):
|
14 |
-
def __init__(self, datadir, split='train', downsample=1.0, is_stack=False, N_vis=-1):
|
15 |
-
self.N_vis = N_vis
|
16 |
-
self.root_dir = datadir
|
17 |
-
self.split = split
|
18 |
-
self.is_stack = is_stack
|
19 |
-
self.img_wh = (int(800 / downsample), int(800 / downsample))
|
20 |
-
self.define_transforms()
|
21 |
-
|
22 |
-
self.scene_bbox = torch.tensor([[-1.5, -1.5, -1.5], [1.5, 1.5, 1.5]])
|
23 |
-
self.blender2opencv = np.array([[1, 0, 0, 0], [0, -1, 0, 0], [0, 0, -1, 0], [0, 0, 0, 1]])
|
24 |
-
self.read_meta()
|
25 |
-
self.define_proj_mat()
|
26 |
-
|
27 |
-
self.white_bg = True
|
28 |
-
self.near_far = [2.0, 6.0]
|
29 |
-
|
30 |
-
self.center = torch.mean(self.scene_bbox, axis=0).float().view(1, 1, 3)
|
31 |
-
self.radius = (self.scene_bbox[1] - self.center).float().view(1, 1, 3)
|
32 |
-
self.downsample = downsample
|
33 |
-
|
34 |
-
def read_depth(self, filename):
|
35 |
-
depth = np.array(read_pfm(filename)[0], dtype=np.float32) # (800, 800)
|
36 |
-
return depth
|
37 |
-
|
38 |
-
def read_meta(self):
|
39 |
-
|
40 |
-
with open(os.path.join(self.root_dir, f"transforms_{self.split}.json"), 'r') as f:
|
41 |
-
self.meta = json.load(f)
|
42 |
-
|
43 |
-
w, h = self.img_wh
|
44 |
-
self.focal = 0.5 * 800 / np.tan(0.5 * self.meta['camera_angle_x']) # original focal length
|
45 |
-
self.focal *= self.img_wh[0] / 800 # modify focal length to match size self.img_wh
|
46 |
-
|
47 |
-
# ray directions for all pixels, same for all images (same H, W, focal)
|
48 |
-
self.directions = get_ray_directions(h, w, [self.focal, self.focal]) # (h, w, 3)
|
49 |
-
self.directions = self.directions / torch.norm(self.directions, dim=-1, keepdim=True)
|
50 |
-
self.intrinsics = torch.tensor([[self.focal, 0, w / 2], [0, self.focal, h / 2], [0, 0, 1]]).float()
|
51 |
-
|
52 |
-
self.image_paths = []
|
53 |
-
self.poses = []
|
54 |
-
self.all_rays = []
|
55 |
-
self.all_rgbs = []
|
56 |
-
self.all_masks = []
|
57 |
-
self.all_depth = []
|
58 |
-
self.downsample = 1.0
|
59 |
-
|
60 |
-
img_eval_interval = 1 if self.N_vis < 0 else len(self.meta['frames']) // self.N_vis
|
61 |
-
idxs = list(range(0, len(self.meta['frames']), img_eval_interval))
|
62 |
-
for i in tqdm(idxs, desc=f'Loading data {self.split} ({len(idxs)})'): # img_list:#
|
63 |
-
|
64 |
-
frame = self.meta['frames'][i]
|
65 |
-
pose = np.array(frame['transform_matrix']) @ self.blender2opencv
|
66 |
-
c2w = torch.FloatTensor(pose)
|
67 |
-
self.poses += [c2w]
|
68 |
-
|
69 |
-
image_path = os.path.join(self.root_dir, f"{frame['file_path']}.png")
|
70 |
-
self.image_paths += [image_path]
|
71 |
-
img = Image.open(image_path)
|
72 |
-
|
73 |
-
if self.downsample != 1.0:
|
74 |
-
img = img.resize(self.img_wh, Image.LANCZOS)
|
75 |
-
img = self.transform(img) # (4, h, w)
|
76 |
-
img = img.view(4, -1).permute(1, 0) # (h*w, 4) RGBA
|
77 |
-
self.all_masks.append(img[:, -1:].reshape(h, w, 1)) # (h, w, 1) A
|
78 |
-
img = img[:, :3] * img[:, -1:] + (1 - img[:, -1:]) # blend A to RGB
|
79 |
-
self.all_rgbs += [img]
|
80 |
-
|
81 |
-
rays_o, rays_d = get_rays(self.directions, c2w) # both (h*w, 3)
|
82 |
-
self.all_rays += [torch.cat([rays_o, rays_d], 1)] # (h*w, 6)
|
83 |
-
|
84 |
-
self.all_masks = torch.stack(self.all_masks) # (n_frames, h, w, 1)
|
85 |
-
self.poses = torch.stack(self.poses)
|
86 |
-
all_rays = self.all_rays
|
87 |
-
all_rgbs = self.all_rgbs
|
88 |
-
|
89 |
-
self.all_rays = torch.cat(self.all_rays, 0) # (len(self.meta['frames])*h*w,6)
|
90 |
-
self.all_rgbs = torch.cat(self.all_rgbs, 0) # (len(self.meta['frames])*h*w,3)
|
91 |
-
|
92 |
-
if self.is_stack:
|
93 |
-
self.all_rays_stack = torch.stack(all_rays, 0).reshape(-1, *self.img_wh[::-1],
|
94 |
-
6) # (len(self.meta['frames]),h,w,6)
|
95 |
-
avg_pool = torch.nn.AvgPool2d(4, ceil_mode=True)
|
96 |
-
self.ds_all_rays_stack = avg_pool(self.all_rays_stack.permute(0, 3, 1, 2)).permute(0, 2, 3,
|
97 |
-
1) # (len(self.meta['frames]),h/4,w/4,6)
|
98 |
-
self.all_rgbs_stack = torch.stack(all_rgbs, 0).reshape(-1, *self.img_wh[::-1],
|
99 |
-
3) # (len(self.meta['frames]),h,w,3)
|
100 |
-
|
101 |
-
@torch.no_grad()
|
102 |
-
def prepare_feature_data(self, encoder, chunk=8):
|
103 |
-
'''
|
104 |
-
Prepare feature maps as training data.
|
105 |
-
'''
|
106 |
-
assert self.is_stack, 'Dataset should contain original stacked taining data!'
|
107 |
-
print('====> prepare_feature_data ...')
|
108 |
-
|
109 |
-
frames_num, h, w, _ = self.all_rgbs_stack.size()
|
110 |
-
features = []
|
111 |
-
|
112 |
-
for chunk_idx in range(frames_num // chunk + int(frames_num % chunk > 0)):
|
113 |
-
print(chunk_idx, frames_num // chunk + int(frames_num % chunk > 0))
|
114 |
-
rgbs_chunk = self.all_rgbs_stack[chunk_idx * chunk: (chunk_idx + 1) * chunk].cuda()
|
115 |
-
features_chunk = encoder(normalize_vgg(rgbs_chunk.permute(0, 3, 1, 2))).relu3_1
|
116 |
-
# resize to the size of rgb map so that rays can match
|
117 |
-
features_chunk = T.functional.resize(features_chunk, size=(h, w),
|
118 |
-
interpolation=T.InterpolationMode.BILINEAR)
|
119 |
-
|
120 |
-
features.append(features_chunk.detach().cpu().requires_grad_(False))
|
121 |
-
|
122 |
-
self.all_features_stack = torch.cat(features).permute(0, 2, 3, 1) # (len(self.meta['frames]),h,w,256)
|
123 |
-
self.all_features = self.all_features_stack.reshape(-1, 256)
|
124 |
-
print('prepare_feature_data Done!')
|
125 |
-
|
126 |
-
def define_transforms(self):
|
127 |
-
self.transform = T.ToTensor()
|
128 |
-
|
129 |
-
def define_proj_mat(self):
|
130 |
-
self.proj_mat = self.intrinsics.unsqueeze(0) @ torch.inverse(self.poses)[:, :3]
|
131 |
-
|
132 |
-
def world2ndc(self, points, lindisp=None):
|
133 |
-
device = points.device
|
134 |
-
return (points - self.center.to(device)) / self.radius.to(device)
|
135 |
-
|
136 |
-
def __len__(self):
|
137 |
-
return len(self.all_rgbs)
|
138 |
-
|
139 |
-
def __getitem__(self, idx):
|
140 |
-
|
141 |
-
if self.split == 'train': # use data in the buffers
|
142 |
-
sample = {'rays': self.all_rays[idx],
|
143 |
-
'rgbs': self.all_rgbs[idx]}
|
144 |
-
|
145 |
-
else: # create data for each image separately
|
146 |
-
|
147 |
-
img = self.all_rgbs[idx]
|
148 |
-
rays = self.all_rays[idx]
|
149 |
-
mask = self.all_masks[idx] # for quantity evaluation
|
150 |
-
|
151 |
-
sample = {'rays': rays,
|
152 |
-
'rgbs': img,
|
153 |
-
'mask': mask}
|
154 |
-
return sample
|
155 |
-
|
156 |
-
if __name__ == '__main__':
|
157 |
-
train_loader = BlenderDataset('data/nerf_synthetic/lego')
|
158 |
-
for idx, data in enumerate(train_loader):
|
159 |
-
print(idx, data)
|
160 |
-
print("Ray: ", data['rays'])
|
161 |
-
print("Ray shape: ", data['rays'].shape)
|
162 |
-
print("RGB: ", data['rgbs'])
|
163 |
-
print("RGB shape: ", data['rgbs'].shape)
|
164 |
-
break
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_detection/configs/lvis/mask_rcnn_x101_64x4d_fpn_sample1e-3_mstrain_1x_lvis_v1.py
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
_base_ = './mask_rcnn_r50_fpn_sample1e-3_mstrain_1x_lvis_v1.py'
|
2 |
-
model = dict(
|
3 |
-
pretrained='open-mmlab://resnext101_64x4d',
|
4 |
-
backbone=dict(
|
5 |
-
type='ResNeXt',
|
6 |
-
depth=101,
|
7 |
-
groups=64,
|
8 |
-
base_width=4,
|
9 |
-
num_stages=4,
|
10 |
-
out_indices=(0, 1, 2, 3),
|
11 |
-
frozen_stages=1,
|
12 |
-
norm_cfg=dict(type='BN', requires_grad=True),
|
13 |
-
style='pytorch'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_detection/configs/retinanet/retinanet_r50_fpn_1x_coco.py
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
_base_ = [
|
2 |
-
'../_base_/models/retinanet_r50_fpn.py',
|
3 |
-
'../_base_/datasets/coco_detection.py',
|
4 |
-
'../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
|
5 |
-
]
|
6 |
-
# optimizer
|
7 |
-
optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_segmentation/configs/ccnet/ccnet_r101-d8_512x512_20k_voc12aug.py
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
_base_ = './ccnet_r50-d8_512x512_20k_voc12aug.py'
|
2 |
-
model = dict(pretrained='open-mmlab://resnet101_v1c', backbone=dict(depth=101))
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101b-d8_769x769_80k_cityscapes.py
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
_base_ = './deeplabv3plus_r50-d8_769x769_80k_cityscapes.py'
|
2 |
-
model = dict(
|
3 |
-
pretrained='torchvision://resnet101',
|
4 |
-
backbone=dict(type='ResNet', depth=101))
|
|
|
|
|
|
|
|
|
|
spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmseg/datasets/custom.py
DELETED
@@ -1,400 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import os.path as osp
|
3 |
-
from collections import OrderedDict
|
4 |
-
from functools import reduce
|
5 |
-
|
6 |
-
import annotator.uniformer.mmcv as mmcv
|
7 |
-
import numpy as np
|
8 |
-
from annotator.uniformer.mmcv.utils import print_log
|
9 |
-
from prettytable import PrettyTable
|
10 |
-
from torch.utils.data import Dataset
|
11 |
-
|
12 |
-
from annotator.uniformer.mmseg.core import eval_metrics
|
13 |
-
from annotator.uniformer.mmseg.utils import get_root_logger
|
14 |
-
from .builder import DATASETS
|
15 |
-
from .pipelines import Compose
|
16 |
-
|
17 |
-
|
18 |
-
@DATASETS.register_module()
|
19 |
-
class CustomDataset(Dataset):
|
20 |
-
"""Custom dataset for semantic segmentation. An example of file structure
|
21 |
-
is as followed.
|
22 |
-
|
23 |
-
.. code-block:: none
|
24 |
-
|
25 |
-
├── data
|
26 |
-
│ ├── my_dataset
|
27 |
-
│ │ ├── img_dir
|
28 |
-
│ │ │ ├── train
|
29 |
-
│ │ │ │ ├── xxx{img_suffix}
|
30 |
-
│ │ │ │ ├── yyy{img_suffix}
|
31 |
-
│ │ │ │ ├── zzz{img_suffix}
|
32 |
-
│ │ │ ├── val
|
33 |
-
│ │ ├── ann_dir
|
34 |
-
│ │ │ ├── train
|
35 |
-
│ │ │ │ ├── xxx{seg_map_suffix}
|
36 |
-
│ │ │ │ ├── yyy{seg_map_suffix}
|
37 |
-
│ │ │ │ ├── zzz{seg_map_suffix}
|
38 |
-
│ │ │ ├── val
|
39 |
-
|
40 |
-
The img/gt_semantic_seg pair of CustomDataset should be of the same
|
41 |
-
except suffix. A valid img/gt_semantic_seg filename pair should be like
|
42 |
-
``xxx{img_suffix}`` and ``xxx{seg_map_suffix}`` (extension is also included
|
43 |
-
in the suffix). If split is given, then ``xxx`` is specified in txt file.
|
44 |
-
Otherwise, all files in ``img_dir/``and ``ann_dir`` will be loaded.
|
45 |
-
Please refer to ``docs/tutorials/new_dataset.md`` for more details.
|
46 |
-
|
47 |
-
|
48 |
-
Args:
|
49 |
-
pipeline (list[dict]): Processing pipeline
|
50 |
-
img_dir (str): Path to image directory
|
51 |
-
img_suffix (str): Suffix of images. Default: '.jpg'
|
52 |
-
ann_dir (str, optional): Path to annotation directory. Default: None
|
53 |
-
seg_map_suffix (str): Suffix of segmentation maps. Default: '.png'
|
54 |
-
split (str, optional): Split txt file. If split is specified, only
|
55 |
-
file with suffix in the splits will be loaded. Otherwise, all
|
56 |
-
images in img_dir/ann_dir will be loaded. Default: None
|
57 |
-
data_root (str, optional): Data root for img_dir/ann_dir. Default:
|
58 |
-
None.
|
59 |
-
test_mode (bool): If test_mode=True, gt wouldn't be loaded.
|
60 |
-
ignore_index (int): The label index to be ignored. Default: 255
|
61 |
-
reduce_zero_label (bool): Whether to mark label zero as ignored.
|
62 |
-
Default: False
|
63 |
-
classes (str | Sequence[str], optional): Specify classes to load.
|
64 |
-
If is None, ``cls.CLASSES`` will be used. Default: None.
|
65 |
-
palette (Sequence[Sequence[int]]] | np.ndarray | None):
|
66 |
-
The palette of segmentation map. If None is given, and
|
67 |
-
self.PALETTE is None, random palette will be generated.
|
68 |
-
Default: None
|
69 |
-
"""
|
70 |
-
|
71 |
-
CLASSES = None
|
72 |
-
|
73 |
-
PALETTE = None
|
74 |
-
|
75 |
-
def __init__(self,
|
76 |
-
pipeline,
|
77 |
-
img_dir,
|
78 |
-
img_suffix='.jpg',
|
79 |
-
ann_dir=None,
|
80 |
-
seg_map_suffix='.png',
|
81 |
-
split=None,
|
82 |
-
data_root=None,
|
83 |
-
test_mode=False,
|
84 |
-
ignore_index=255,
|
85 |
-
reduce_zero_label=False,
|
86 |
-
classes=None,
|
87 |
-
palette=None):
|
88 |
-
self.pipeline = Compose(pipeline)
|
89 |
-
self.img_dir = img_dir
|
90 |
-
self.img_suffix = img_suffix
|
91 |
-
self.ann_dir = ann_dir
|
92 |
-
self.seg_map_suffix = seg_map_suffix
|
93 |
-
self.split = split
|
94 |
-
self.data_root = data_root
|
95 |
-
self.test_mode = test_mode
|
96 |
-
self.ignore_index = ignore_index
|
97 |
-
self.reduce_zero_label = reduce_zero_label
|
98 |
-
self.label_map = None
|
99 |
-
self.CLASSES, self.PALETTE = self.get_classes_and_palette(
|
100 |
-
classes, palette)
|
101 |
-
|
102 |
-
# join paths if data_root is specified
|
103 |
-
if self.data_root is not None:
|
104 |
-
if not osp.isabs(self.img_dir):
|
105 |
-
self.img_dir = osp.join(self.data_root, self.img_dir)
|
106 |
-
if not (self.ann_dir is None or osp.isabs(self.ann_dir)):
|
107 |
-
self.ann_dir = osp.join(self.data_root, self.ann_dir)
|
108 |
-
if not (self.split is None or osp.isabs(self.split)):
|
109 |
-
self.split = osp.join(self.data_root, self.split)
|
110 |
-
|
111 |
-
# load annotations
|
112 |
-
self.img_infos = self.load_annotations(self.img_dir, self.img_suffix,
|
113 |
-
self.ann_dir,
|
114 |
-
self.seg_map_suffix, self.split)
|
115 |
-
|
116 |
-
def __len__(self):
|
117 |
-
"""Total number of samples of data."""
|
118 |
-
return len(self.img_infos)
|
119 |
-
|
120 |
-
def load_annotations(self, img_dir, img_suffix, ann_dir, seg_map_suffix,
|
121 |
-
split):
|
122 |
-
"""Load annotation from directory.
|
123 |
-
|
124 |
-
Args:
|
125 |
-
img_dir (str): Path to image directory
|
126 |
-
img_suffix (str): Suffix of images.
|
127 |
-
ann_dir (str|None): Path to annotation directory.
|
128 |
-
seg_map_suffix (str|None): Suffix of segmentation maps.
|
129 |
-
split (str|None): Split txt file. If split is specified, only file
|
130 |
-
with suffix in the splits will be loaded. Otherwise, all images
|
131 |
-
in img_dir/ann_dir will be loaded. Default: None
|
132 |
-
|
133 |
-
Returns:
|
134 |
-
list[dict]: All image info of dataset.
|
135 |
-
"""
|
136 |
-
|
137 |
-
img_infos = []
|
138 |
-
if split is not None:
|
139 |
-
with open(split) as f:
|
140 |
-
for line in f:
|
141 |
-
img_name = line.strip()
|
142 |
-
img_info = dict(filename=img_name + img_suffix)
|
143 |
-
if ann_dir is not None:
|
144 |
-
seg_map = img_name + seg_map_suffix
|
145 |
-
img_info['ann'] = dict(seg_map=seg_map)
|
146 |
-
img_infos.append(img_info)
|
147 |
-
else:
|
148 |
-
for img in mmcv.scandir(img_dir, img_suffix, recursive=True):
|
149 |
-
img_info = dict(filename=img)
|
150 |
-
if ann_dir is not None:
|
151 |
-
seg_map = img.replace(img_suffix, seg_map_suffix)
|
152 |
-
img_info['ann'] = dict(seg_map=seg_map)
|
153 |
-
img_infos.append(img_info)
|
154 |
-
|
155 |
-
print_log(f'Loaded {len(img_infos)} images', logger=get_root_logger())
|
156 |
-
return img_infos
|
157 |
-
|
158 |
-
def get_ann_info(self, idx):
|
159 |
-
"""Get annotation by index.
|
160 |
-
|
161 |
-
Args:
|
162 |
-
idx (int): Index of data.
|
163 |
-
|
164 |
-
Returns:
|
165 |
-
dict: Annotation info of specified index.
|
166 |
-
"""
|
167 |
-
|
168 |
-
return self.img_infos[idx]['ann']
|
169 |
-
|
170 |
-
def pre_pipeline(self, results):
|
171 |
-
"""Prepare results dict for pipeline."""
|
172 |
-
results['seg_fields'] = []
|
173 |
-
results['img_prefix'] = self.img_dir
|
174 |
-
results['seg_prefix'] = self.ann_dir
|
175 |
-
if self.custom_classes:
|
176 |
-
results['label_map'] = self.label_map
|
177 |
-
|
178 |
-
def __getitem__(self, idx):
|
179 |
-
"""Get training/test data after pipeline.
|
180 |
-
|
181 |
-
Args:
|
182 |
-
idx (int): Index of data.
|
183 |
-
|
184 |
-
Returns:
|
185 |
-
dict: Training/test data (with annotation if `test_mode` is set
|
186 |
-
False).
|
187 |
-
"""
|
188 |
-
|
189 |
-
if self.test_mode:
|
190 |
-
return self.prepare_test_img(idx)
|
191 |
-
else:
|
192 |
-
return self.prepare_train_img(idx)
|
193 |
-
|
194 |
-
def prepare_train_img(self, idx):
|
195 |
-
"""Get training data and annotations after pipeline.
|
196 |
-
|
197 |
-
Args:
|
198 |
-
idx (int): Index of data.
|
199 |
-
|
200 |
-
Returns:
|
201 |
-
dict: Training data and annotation after pipeline with new keys
|
202 |
-
introduced by pipeline.
|
203 |
-
"""
|
204 |
-
|
205 |
-
img_info = self.img_infos[idx]
|
206 |
-
ann_info = self.get_ann_info(idx)
|
207 |
-
results = dict(img_info=img_info, ann_info=ann_info)
|
208 |
-
self.pre_pipeline(results)
|
209 |
-
return self.pipeline(results)
|
210 |
-
|
211 |
-
def prepare_test_img(self, idx):
|
212 |
-
"""Get testing data after pipeline.
|
213 |
-
|
214 |
-
Args:
|
215 |
-
idx (int): Index of data.
|
216 |
-
|
217 |
-
Returns:
|
218 |
-
dict: Testing data after pipeline with new keys introduced by
|
219 |
-
pipeline.
|
220 |
-
"""
|
221 |
-
|
222 |
-
img_info = self.img_infos[idx]
|
223 |
-
results = dict(img_info=img_info)
|
224 |
-
self.pre_pipeline(results)
|
225 |
-
return self.pipeline(results)
|
226 |
-
|
227 |
-
def format_results(self, results, **kwargs):
|
228 |
-
"""Place holder to format result to dataset specific output."""
|
229 |
-
|
230 |
-
def get_gt_seg_maps(self, efficient_test=False):
|
231 |
-
"""Get ground truth segmentation maps for evaluation."""
|
232 |
-
gt_seg_maps = []
|
233 |
-
for img_info in self.img_infos:
|
234 |
-
seg_map = osp.join(self.ann_dir, img_info['ann']['seg_map'])
|
235 |
-
if efficient_test:
|
236 |
-
gt_seg_map = seg_map
|
237 |
-
else:
|
238 |
-
gt_seg_map = mmcv.imread(
|
239 |
-
seg_map, flag='unchanged', backend='pillow')
|
240 |
-
gt_seg_maps.append(gt_seg_map)
|
241 |
-
return gt_seg_maps
|
242 |
-
|
243 |
-
def get_classes_and_palette(self, classes=None, palette=None):
|
244 |
-
"""Get class names of current dataset.
|
245 |
-
|
246 |
-
Args:
|
247 |
-
classes (Sequence[str] | str | None): If classes is None, use
|
248 |
-
default CLASSES defined by builtin dataset. If classes is a
|
249 |
-
string, take it as a file name. The file contains the name of
|
250 |
-
classes where each line contains one class name. If classes is
|
251 |
-
a tuple or list, override the CLASSES defined by the dataset.
|
252 |
-
palette (Sequence[Sequence[int]]] | np.ndarray | None):
|
253 |
-
The palette of segmentation map. If None is given, random
|
254 |
-
palette will be generated. Default: None
|
255 |
-
"""
|
256 |
-
if classes is None:
|
257 |
-
self.custom_classes = False
|
258 |
-
return self.CLASSES, self.PALETTE
|
259 |
-
|
260 |
-
self.custom_classes = True
|
261 |
-
if isinstance(classes, str):
|
262 |
-
# take it as a file path
|
263 |
-
class_names = mmcv.list_from_file(classes)
|
264 |
-
elif isinstance(classes, (tuple, list)):
|
265 |
-
class_names = classes
|
266 |
-
else:
|
267 |
-
raise ValueError(f'Unsupported type {type(classes)} of classes.')
|
268 |
-
|
269 |
-
if self.CLASSES:
|
270 |
-
if not set(classes).issubset(self.CLASSES):
|
271 |
-
raise ValueError('classes is not a subset of CLASSES.')
|
272 |
-
|
273 |
-
# dictionary, its keys are the old label ids and its values
|
274 |
-
# are the new label ids.
|
275 |
-
# used for changing pixel labels in load_annotations.
|
276 |
-
self.label_map = {}
|
277 |
-
for i, c in enumerate(self.CLASSES):
|
278 |
-
if c not in class_names:
|
279 |
-
self.label_map[i] = -1
|
280 |
-
else:
|
281 |
-
self.label_map[i] = classes.index(c)
|
282 |
-
|
283 |
-
palette = self.get_palette_for_custom_classes(class_names, palette)
|
284 |
-
|
285 |
-
return class_names, palette
|
286 |
-
|
287 |
-
def get_palette_for_custom_classes(self, class_names, palette=None):
|
288 |
-
|
289 |
-
if self.label_map is not None:
|
290 |
-
# return subset of palette
|
291 |
-
palette = []
|
292 |
-
for old_id, new_id in sorted(
|
293 |
-
self.label_map.items(), key=lambda x: x[1]):
|
294 |
-
if new_id != -1:
|
295 |
-
palette.append(self.PALETTE[old_id])
|
296 |
-
palette = type(self.PALETTE)(palette)
|
297 |
-
|
298 |
-
elif palette is None:
|
299 |
-
if self.PALETTE is None:
|
300 |
-
palette = np.random.randint(0, 255, size=(len(class_names), 3))
|
301 |
-
else:
|
302 |
-
palette = self.PALETTE
|
303 |
-
|
304 |
-
return palette
|
305 |
-
|
306 |
-
def evaluate(self,
|
307 |
-
results,
|
308 |
-
metric='mIoU',
|
309 |
-
logger=None,
|
310 |
-
efficient_test=False,
|
311 |
-
**kwargs):
|
312 |
-
"""Evaluate the dataset.
|
313 |
-
|
314 |
-
Args:
|
315 |
-
results (list): Testing results of the dataset.
|
316 |
-
metric (str | list[str]): Metrics to be evaluated. 'mIoU',
|
317 |
-
'mDice' and 'mFscore' are supported.
|
318 |
-
logger (logging.Logger | None | str): Logger used for printing
|
319 |
-
related information during evaluation. Default: None.
|
320 |
-
|
321 |
-
Returns:
|
322 |
-
dict[str, float]: Default metrics.
|
323 |
-
"""
|
324 |
-
|
325 |
-
if isinstance(metric, str):
|
326 |
-
metric = [metric]
|
327 |
-
allowed_metrics = ['mIoU', 'mDice', 'mFscore']
|
328 |
-
if not set(metric).issubset(set(allowed_metrics)):
|
329 |
-
raise KeyError('metric {} is not supported'.format(metric))
|
330 |
-
eval_results = {}
|
331 |
-
gt_seg_maps = self.get_gt_seg_maps(efficient_test)
|
332 |
-
if self.CLASSES is None:
|
333 |
-
num_classes = len(
|
334 |
-
reduce(np.union1d, [np.unique(_) for _ in gt_seg_maps]))
|
335 |
-
else:
|
336 |
-
num_classes = len(self.CLASSES)
|
337 |
-
ret_metrics = eval_metrics(
|
338 |
-
results,
|
339 |
-
gt_seg_maps,
|
340 |
-
num_classes,
|
341 |
-
self.ignore_index,
|
342 |
-
metric,
|
343 |
-
label_map=self.label_map,
|
344 |
-
reduce_zero_label=self.reduce_zero_label)
|
345 |
-
|
346 |
-
if self.CLASSES is None:
|
347 |
-
class_names = tuple(range(num_classes))
|
348 |
-
else:
|
349 |
-
class_names = self.CLASSES
|
350 |
-
|
351 |
-
# summary table
|
352 |
-
ret_metrics_summary = OrderedDict({
|
353 |
-
ret_metric: np.round(np.nanmean(ret_metric_value) * 100, 2)
|
354 |
-
for ret_metric, ret_metric_value in ret_metrics.items()
|
355 |
-
})
|
356 |
-
|
357 |
-
# each class table
|
358 |
-
ret_metrics.pop('aAcc', None)
|
359 |
-
ret_metrics_class = OrderedDict({
|
360 |
-
ret_metric: np.round(ret_metric_value * 100, 2)
|
361 |
-
for ret_metric, ret_metric_value in ret_metrics.items()
|
362 |
-
})
|
363 |
-
ret_metrics_class.update({'Class': class_names})
|
364 |
-
ret_metrics_class.move_to_end('Class', last=False)
|
365 |
-
|
366 |
-
# for logger
|
367 |
-
class_table_data = PrettyTable()
|
368 |
-
for key, val in ret_metrics_class.items():
|
369 |
-
class_table_data.add_column(key, val)
|
370 |
-
|
371 |
-
summary_table_data = PrettyTable()
|
372 |
-
for key, val in ret_metrics_summary.items():
|
373 |
-
if key == 'aAcc':
|
374 |
-
summary_table_data.add_column(key, [val])
|
375 |
-
else:
|
376 |
-
summary_table_data.add_column('m' + key, [val])
|
377 |
-
|
378 |
-
print_log('per class results:', logger)
|
379 |
-
print_log('\n' + class_table_data.get_string(), logger=logger)
|
380 |
-
print_log('Summary:', logger)
|
381 |
-
print_log('\n' + summary_table_data.get_string(), logger=logger)
|
382 |
-
|
383 |
-
# each metric dict
|
384 |
-
for key, value in ret_metrics_summary.items():
|
385 |
-
if key == 'aAcc':
|
386 |
-
eval_results[key] = value / 100.0
|
387 |
-
else:
|
388 |
-
eval_results['m' + key] = value / 100.0
|
389 |
-
|
390 |
-
ret_metrics_class.pop('Class', None)
|
391 |
-
for key, value in ret_metrics_class.items():
|
392 |
-
eval_results.update({
|
393 |
-
key + '.' + str(name): value[idx] / 100.0
|
394 |
-
for idx, name in enumerate(class_names)
|
395 |
-
})
|
396 |
-
|
397 |
-
if mmcv.is_list_of(results, str):
|
398 |
-
for file_name in results:
|
399 |
-
os.remove(file_name)
|
400 |
-
return eval_results
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Artrajz/vits-simple-api/bert_vits2/text/__init__.py
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
from bert_vits2.text.symbols import *
|
2 |
-
from bert_vits2.text.bert_handler import BertHandler
|
3 |
-
|
4 |
-
|
5 |
-
def cleaned_text_to_sequence(cleaned_text, tones, language, _symbol_to_id):
|
6 |
-
"""Converts a string of text to a sequence of IDs corresponding to the symbols in the text.
|
7 |
-
Args:
|
8 |
-
text: string to convert to a sequence
|
9 |
-
Returns:
|
10 |
-
List of integers corresponding to the symbols in the text
|
11 |
-
"""
|
12 |
-
phones = [_symbol_to_id[symbol] for symbol in cleaned_text]
|
13 |
-
tone_start = language_tone_start_map[language]
|
14 |
-
tones = [i + tone_start for i in tones]
|
15 |
-
lang_id = language_id_map[language]
|
16 |
-
lang_ids = [lang_id for i in phones]
|
17 |
-
return phones, tones, lang_ids
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Artrajz/vits-simple-api/vits/mel_processing.py
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
import torch
|
2 |
-
import torch.utils.data
|
3 |
-
from librosa.filters import mel as librosa_mel_fn
|
4 |
-
|
5 |
-
MAX_WAV_VALUE = 32768.0
|
6 |
-
|
7 |
-
|
8 |
-
def dynamic_range_compression_torch(x, C=1, clip_val=1e-5):
|
9 |
-
"""
|
10 |
-
PARAMS
|
11 |
-
------
|
12 |
-
C: compression factor
|
13 |
-
"""
|
14 |
-
return torch.log(torch.clamp(x, min=clip_val) * C)
|
15 |
-
|
16 |
-
|
17 |
-
def dynamic_range_decompression_torch(x, C=1):
|
18 |
-
"""
|
19 |
-
PARAMS
|
20 |
-
------
|
21 |
-
C: compression factor used to compress
|
22 |
-
"""
|
23 |
-
return torch.exp(x) / C
|
24 |
-
|
25 |
-
|
26 |
-
def spectral_normalize_torch(magnitudes):
|
27 |
-
output = dynamic_range_compression_torch(magnitudes)
|
28 |
-
return output
|
29 |
-
|
30 |
-
|
31 |
-
def spectral_de_normalize_torch(magnitudes):
|
32 |
-
output = dynamic_range_decompression_torch(magnitudes)
|
33 |
-
return output
|
34 |
-
|
35 |
-
|
36 |
-
mel_basis = {}
|
37 |
-
hann_window = {}
|
38 |
-
|
39 |
-
|
40 |
-
def spectrogram_torch(y, n_fft, sampling_rate, hop_size, win_size, center=False):
|
41 |
-
if torch.min(y) < -1.:
|
42 |
-
print('min value is ', torch.min(y))
|
43 |
-
if torch.max(y) > 1.:
|
44 |
-
print('max value is ', torch.max(y))
|
45 |
-
|
46 |
-
global hann_window
|
47 |
-
dtype_device = str(y.dtype) + '_' + str(y.device)
|
48 |
-
wnsize_dtype_device = str(win_size) + '_' + dtype_device
|
49 |
-
if wnsize_dtype_device not in hann_window:
|
50 |
-
hann_window[wnsize_dtype_device] = torch.hann_window(win_size).to(dtype=y.dtype, device=y.device)
|
51 |
-
|
52 |
-
y = torch.nn.functional.pad(y.unsqueeze(1), (int((n_fft-hop_size)/2), int((n_fft-hop_size)/2)), mode='reflect')
|
53 |
-
y = y.squeeze(1)
|
54 |
-
|
55 |
-
spec = torch.stft(y, n_fft, hop_length=hop_size, win_length=win_size, window=hann_window[wnsize_dtype_device],
|
56 |
-
center=center, pad_mode='reflect', normalized=False, onesided=True, return_complex=False)
|
57 |
-
|
58 |
-
spec = torch.sqrt(spec.pow(2).sum(-1) + 1e-6)
|
59 |
-
return spec
|
60 |
-
|
61 |
-
|
62 |
-
def spec_to_mel_torch(spec, n_fft, num_mels, sampling_rate, fmin, fmax):
|
63 |
-
global mel_basis
|
64 |
-
dtype_device = str(spec.dtype) + '_' + str(spec.device)
|
65 |
-
fmax_dtype_device = str(fmax) + '_' + dtype_device
|
66 |
-
if fmax_dtype_device not in mel_basis:
|
67 |
-
mel = librosa_mel_fn(sampling_rate, n_fft, num_mels, fmin, fmax)
|
68 |
-
mel_basis[fmax_dtype_device] = torch.from_numpy(mel).to(dtype=spec.dtype, device=spec.device)
|
69 |
-
spec = torch.matmul(mel_basis[fmax_dtype_device], spec)
|
70 |
-
spec = spectral_normalize_torch(spec)
|
71 |
-
return spec
|
72 |
-
|
73 |
-
|
74 |
-
def mel_spectrogram_torch(y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False):
|
75 |
-
if torch.min(y) < -1.:
|
76 |
-
print('min value is ', torch.min(y))
|
77 |
-
if torch.max(y) > 1.:
|
78 |
-
print('max value is ', torch.max(y))
|
79 |
-
|
80 |
-
global mel_basis, hann_window
|
81 |
-
dtype_device = str(y.dtype) + '_' + str(y.device)
|
82 |
-
fmax_dtype_device = str(fmax) + '_' + dtype_device
|
83 |
-
wnsize_dtype_device = str(win_size) + '_' + dtype_device
|
84 |
-
if fmax_dtype_device not in mel_basis:
|
85 |
-
mel = librosa_mel_fn(sampling_rate, n_fft, num_mels, fmin, fmax)
|
86 |
-
mel_basis[fmax_dtype_device] = torch.from_numpy(mel).to(dtype=y.dtype, device=y.device)
|
87 |
-
if wnsize_dtype_device not in hann_window:
|
88 |
-
hann_window[wnsize_dtype_device] = torch.hann_window(win_size).to(dtype=y.dtype, device=y.device)
|
89 |
-
|
90 |
-
y = torch.nn.functional.pad(y.unsqueeze(1), (int((n_fft-hop_size)/2), int((n_fft-hop_size)/2)), mode='reflect')
|
91 |
-
y = y.squeeze(1)
|
92 |
-
|
93 |
-
spec = torch.stft(y, n_fft, hop_length=hop_size, win_length=win_size, window=hann_window[wnsize_dtype_device],
|
94 |
-
center=center, pad_mode='reflect', normalized=False, onesided=True)
|
95 |
-
|
96 |
-
spec = torch.sqrt(spec.pow(2).sum(-1) + 1e-6)
|
97 |
-
|
98 |
-
spec = torch.matmul(mel_basis[fmax_dtype_device], spec)
|
99 |
-
spec = spectral_normalize_torch(spec)
|
100 |
-
|
101 |
-
return spec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Artrajz/vits-simple-api/vits/text/shanghainese.py
DELETED
@@ -1,80 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import re
|
3 |
-
import cn2an
|
4 |
-
import opencc
|
5 |
-
import config
|
6 |
-
from utils.download import download_and_verify
|
7 |
-
|
8 |
-
URLS = [
|
9 |
-
"https://github.com/CjangCjengh/chinese-dialect-lexicons/releases/download/v1.0.3/chinese_dialects.7z",
|
10 |
-
"https://ghproxy.com/https://github.com/CjangCjengh/chinese-dialect-lexicons/releases/download/v1.0.3/chinese_dialects.7z",
|
11 |
-
]
|
12 |
-
TARGET_PATH = os.path.join(config.ABS_PATH, "vits/text/chinese_dialects.7z")
|
13 |
-
EXTRACT_DESTINATION = os.path.join(config.ABS_PATH, "vits/text/chinese_dialect_lexicons/")
|
14 |
-
EXPECTED_MD5 = None
|
15 |
-
OPENCC_FILE_PATH = os.path.join(config.ABS_PATH, "vits/text/chinese_dialect_lexicons/zaonhe.json")
|
16 |
-
|
17 |
-
if not os.path.exists(OPENCC_FILE_PATH):
|
18 |
-
success, message = download_and_verify(URLS, TARGET_PATH, EXPECTED_MD5, EXTRACT_DESTINATION)
|
19 |
-
|
20 |
-
converter = opencc.OpenCC(OPENCC_FILE_PATH)
|
21 |
-
|
22 |
-
# List of (Latin alphabet, ipa) pairs:
|
23 |
-
_latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
|
24 |
-
('A', 'ᴇ'),
|
25 |
-
('B', 'bi'),
|
26 |
-
('C', 'si'),
|
27 |
-
('D', 'di'),
|
28 |
-
('E', 'i'),
|
29 |
-
('F', 'ᴇf'),
|
30 |
-
('G', 'dʑi'),
|
31 |
-
('H', 'ᴇtɕʰ'),
|
32 |
-
('I', 'ᴀi'),
|
33 |
-
('J', 'dʑᴇ'),
|
34 |
-
('K', 'kʰᴇ'),
|
35 |
-
('L', 'ᴇl'),
|
36 |
-
('M', 'ᴇm'),
|
37 |
-
('N', 'ᴇn'),
|
38 |
-
('O', 'o'),
|
39 |
-
('P', 'pʰi'),
|
40 |
-
('Q', 'kʰiu'),
|
41 |
-
('R', 'ᴀl'),
|
42 |
-
('S', 'ᴇs'),
|
43 |
-
('T', 'tʰi'),
|
44 |
-
('U', 'ɦiu'),
|
45 |
-
('V', 'vi'),
|
46 |
-
('W', 'dᴀbɤliu'),
|
47 |
-
('X', 'ᴇks'),
|
48 |
-
('Y', 'uᴀi'),
|
49 |
-
('Z', 'zᴇ')
|
50 |
-
]]
|
51 |
-
|
52 |
-
|
53 |
-
def _number_to_shanghainese(num):
|
54 |
-
num = cn2an.an2cn(num).replace('一十', '十').replace('二十', '廿').replace('二', '两')
|
55 |
-
return re.sub(r'((?:^|[^三四五六七八九])十|廿)两', r'\1二', num)
|
56 |
-
|
57 |
-
|
58 |
-
def number_to_shanghainese(text):
|
59 |
-
return re.sub(r'\d+(?:\.?\d+)?', lambda x: _number_to_shanghainese(x.group()), text)
|
60 |
-
|
61 |
-
|
62 |
-
def latin_to_ipa(text):
|
63 |
-
for regex, replacement in _latin_to_ipa:
|
64 |
-
text = re.sub(regex, replacement, text)
|
65 |
-
return text
|
66 |
-
|
67 |
-
|
68 |
-
def shanghainese_to_ipa(text):
|
69 |
-
from vits.text.mandarin import symbols_to_chinese
|
70 |
-
text = symbols_to_chinese(text)
|
71 |
-
text = number_to_shanghainese(text.upper())
|
72 |
-
text = converter.convert(text).replace('-', '').replace('$', ' ')
|
73 |
-
text = re.sub(r'[A-Z]', lambda x: latin_to_ipa(x.group()) + ' ', text)
|
74 |
-
text = re.sub(r'[、;:]', ',', text)
|
75 |
-
text = re.sub(r'\s*,\s*', ', ', text)
|
76 |
-
text = re.sub(r'\s*。\s*', '. ', text)
|
77 |
-
text = re.sub(r'\s*?\s*', '? ', text)
|
78 |
-
text = re.sub(r'\s*!\s*', '! ', text)
|
79 |
-
text = re.sub(r'\s*$', '', text)
|
80 |
-
return text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/idna/idnadata.py
DELETED
@@ -1,2151 +0,0 @@
|
|
1 |
-
# This file is automatically generated by tools/idna-data
|
2 |
-
|
3 |
-
__version__ = '15.0.0'
|
4 |
-
scripts = {
|
5 |
-
'Greek': (
|
6 |
-
0x37000000374,
|
7 |
-
0x37500000378,
|
8 |
-
0x37a0000037e,
|
9 |
-
0x37f00000380,
|
10 |
-
0x38400000385,
|
11 |
-
0x38600000387,
|
12 |
-
0x3880000038b,
|
13 |
-
0x38c0000038d,
|
14 |
-
0x38e000003a2,
|
15 |
-
0x3a3000003e2,
|
16 |
-
0x3f000000400,
|
17 |
-
0x1d2600001d2b,
|
18 |
-
0x1d5d00001d62,
|
19 |
-
0x1d6600001d6b,
|
20 |
-
0x1dbf00001dc0,
|
21 |
-
0x1f0000001f16,
|
22 |
-
0x1f1800001f1e,
|
23 |
-
0x1f2000001f46,
|
24 |
-
0x1f4800001f4e,
|
25 |
-
0x1f5000001f58,
|
26 |
-
0x1f5900001f5a,
|
27 |
-
0x1f5b00001f5c,
|
28 |
-
0x1f5d00001f5e,
|
29 |
-
0x1f5f00001f7e,
|
30 |
-
0x1f8000001fb5,
|
31 |
-
0x1fb600001fc5,
|
32 |
-
0x1fc600001fd4,
|
33 |
-
0x1fd600001fdc,
|
34 |
-
0x1fdd00001ff0,
|
35 |
-
0x1ff200001ff5,
|
36 |
-
0x1ff600001fff,
|
37 |
-
0x212600002127,
|
38 |
-
0xab650000ab66,
|
39 |
-
0x101400001018f,
|
40 |
-
0x101a0000101a1,
|
41 |
-
0x1d2000001d246,
|
42 |
-
),
|
43 |
-
'Han': (
|
44 |
-
0x2e8000002e9a,
|
45 |
-
0x2e9b00002ef4,
|
46 |
-
0x2f0000002fd6,
|
47 |
-
0x300500003006,
|
48 |
-
0x300700003008,
|
49 |
-
0x30210000302a,
|
50 |
-
0x30380000303c,
|
51 |
-
0x340000004dc0,
|
52 |
-
0x4e000000a000,
|
53 |
-
0xf9000000fa6e,
|
54 |
-
0xfa700000fada,
|
55 |
-
0x16fe200016fe4,
|
56 |
-
0x16ff000016ff2,
|
57 |
-
0x200000002a6e0,
|
58 |
-
0x2a7000002b73a,
|
59 |
-
0x2b7400002b81e,
|
60 |
-
0x2b8200002cea2,
|
61 |
-
0x2ceb00002ebe1,
|
62 |
-
0x2f8000002fa1e,
|
63 |
-
0x300000003134b,
|
64 |
-
0x31350000323b0,
|
65 |
-
),
|
66 |
-
'Hebrew': (
|
67 |
-
0x591000005c8,
|
68 |
-
0x5d0000005eb,
|
69 |
-
0x5ef000005f5,
|
70 |
-
0xfb1d0000fb37,
|
71 |
-
0xfb380000fb3d,
|
72 |
-
0xfb3e0000fb3f,
|
73 |
-
0xfb400000fb42,
|
74 |
-
0xfb430000fb45,
|
75 |
-
0xfb460000fb50,
|
76 |
-
),
|
77 |
-
'Hiragana': (
|
78 |
-
0x304100003097,
|
79 |
-
0x309d000030a0,
|
80 |
-
0x1b0010001b120,
|
81 |
-
0x1b1320001b133,
|
82 |
-
0x1b1500001b153,
|
83 |
-
0x1f2000001f201,
|
84 |
-
),
|
85 |
-
'Katakana': (
|
86 |
-
0x30a1000030fb,
|
87 |
-
0x30fd00003100,
|
88 |
-
0x31f000003200,
|
89 |
-
0x32d0000032ff,
|
90 |
-
0x330000003358,
|
91 |
-
0xff660000ff70,
|
92 |
-
0xff710000ff9e,
|
93 |
-
0x1aff00001aff4,
|
94 |
-
0x1aff50001affc,
|
95 |
-
0x1affd0001afff,
|
96 |
-
0x1b0000001b001,
|
97 |
-
0x1b1200001b123,
|
98 |
-
0x1b1550001b156,
|
99 |
-
0x1b1640001b168,
|
100 |
-
),
|
101 |
-
}
|
102 |
-
joining_types = {
|
103 |
-
0x600: 85,
|
104 |
-
0x601: 85,
|
105 |
-
0x602: 85,
|
106 |
-
0x603: 85,
|
107 |
-
0x604: 85,
|
108 |
-
0x605: 85,
|
109 |
-
0x608: 85,
|
110 |
-
0x60b: 85,
|
111 |
-
0x620: 68,
|
112 |
-
0x621: 85,
|
113 |
-
0x622: 82,
|
114 |
-
0x623: 82,
|
115 |
-
0x624: 82,
|
116 |
-
0x625: 82,
|
117 |
-
0x626: 68,
|
118 |
-
0x627: 82,
|
119 |
-
0x628: 68,
|
120 |
-
0x629: 82,
|
121 |
-
0x62a: 68,
|
122 |
-
0x62b: 68,
|
123 |
-
0x62c: 68,
|
124 |
-
0x62d: 68,
|
125 |
-
0x62e: 68,
|
126 |
-
0x62f: 82,
|
127 |
-
0x630: 82,
|
128 |
-
0x631: 82,
|
129 |
-
0x632: 82,
|
130 |
-
0x633: 68,
|
131 |
-
0x634: 68,
|
132 |
-
0x635: 68,
|
133 |
-
0x636: 68,
|
134 |
-
0x637: 68,
|
135 |
-
0x638: 68,
|
136 |
-
0x639: 68,
|
137 |
-
0x63a: 68,
|
138 |
-
0x63b: 68,
|
139 |
-
0x63c: 68,
|
140 |
-
0x63d: 68,
|
141 |
-
0x63e: 68,
|
142 |
-
0x63f: 68,
|
143 |
-
0x640: 67,
|
144 |
-
0x641: 68,
|
145 |
-
0x642: 68,
|
146 |
-
0x643: 68,
|
147 |
-
0x644: 68,
|
148 |
-
0x645: 68,
|
149 |
-
0x646: 68,
|
150 |
-
0x647: 68,
|
151 |
-
0x648: 82,
|
152 |
-
0x649: 68,
|
153 |
-
0x64a: 68,
|
154 |
-
0x66e: 68,
|
155 |
-
0x66f: 68,
|
156 |
-
0x671: 82,
|
157 |
-
0x672: 82,
|
158 |
-
0x673: 82,
|
159 |
-
0x674: 85,
|
160 |
-
0x675: 82,
|
161 |
-
0x676: 82,
|
162 |
-
0x677: 82,
|
163 |
-
0x678: 68,
|
164 |
-
0x679: 68,
|
165 |
-
0x67a: 68,
|
166 |
-
0x67b: 68,
|
167 |
-
0x67c: 68,
|
168 |
-
0x67d: 68,
|
169 |
-
0x67e: 68,
|
170 |
-
0x67f: 68,
|
171 |
-
0x680: 68,
|
172 |
-
0x681: 68,
|
173 |
-
0x682: 68,
|
174 |
-
0x683: 68,
|
175 |
-
0x684: 68,
|
176 |
-
0x685: 68,
|
177 |
-
0x686: 68,
|
178 |
-
0x687: 68,
|
179 |
-
0x688: 82,
|
180 |
-
0x689: 82,
|
181 |
-
0x68a: 82,
|
182 |
-
0x68b: 82,
|
183 |
-
0x68c: 82,
|
184 |
-
0x68d: 82,
|
185 |
-
0x68e: 82,
|
186 |
-
0x68f: 82,
|
187 |
-
0x690: 82,
|
188 |
-
0x691: 82,
|
189 |
-
0x692: 82,
|
190 |
-
0x693: 82,
|
191 |
-
0x694: 82,
|
192 |
-
0x695: 82,
|
193 |
-
0x696: 82,
|
194 |
-
0x697: 82,
|
195 |
-
0x698: 82,
|
196 |
-
0x699: 82,
|
197 |
-
0x69a: 68,
|
198 |
-
0x69b: 68,
|
199 |
-
0x69c: 68,
|
200 |
-
0x69d: 68,
|
201 |
-
0x69e: 68,
|
202 |
-
0x69f: 68,
|
203 |
-
0x6a0: 68,
|
204 |
-
0x6a1: 68,
|
205 |
-
0x6a2: 68,
|
206 |
-
0x6a3: 68,
|
207 |
-
0x6a4: 68,
|
208 |
-
0x6a5: 68,
|
209 |
-
0x6a6: 68,
|
210 |
-
0x6a7: 68,
|
211 |
-
0x6a8: 68,
|
212 |
-
0x6a9: 68,
|
213 |
-
0x6aa: 68,
|
214 |
-
0x6ab: 68,
|
215 |
-
0x6ac: 68,
|
216 |
-
0x6ad: 68,
|
217 |
-
0x6ae: 68,
|
218 |
-
0x6af: 68,
|
219 |
-
0x6b0: 68,
|
220 |
-
0x6b1: 68,
|
221 |
-
0x6b2: 68,
|
222 |
-
0x6b3: 68,
|
223 |
-
0x6b4: 68,
|
224 |
-
0x6b5: 68,
|
225 |
-
0x6b6: 68,
|
226 |
-
0x6b7: 68,
|
227 |
-
0x6b8: 68,
|
228 |
-
0x6b9: 68,
|
229 |
-
0x6ba: 68,
|
230 |
-
0x6bb: 68,
|
231 |
-
0x6bc: 68,
|
232 |
-
0x6bd: 68,
|
233 |
-
0x6be: 68,
|
234 |
-
0x6bf: 68,
|
235 |
-
0x6c0: 82,
|
236 |
-
0x6c1: 68,
|
237 |
-
0x6c2: 68,
|
238 |
-
0x6c3: 82,
|
239 |
-
0x6c4: 82,
|
240 |
-
0x6c5: 82,
|
241 |
-
0x6c6: 82,
|
242 |
-
0x6c7: 82,
|
243 |
-
0x6c8: 82,
|
244 |
-
0x6c9: 82,
|
245 |
-
0x6ca: 82,
|
246 |
-
0x6cb: 82,
|
247 |
-
0x6cc: 68,
|
248 |
-
0x6cd: 82,
|
249 |
-
0x6ce: 68,
|
250 |
-
0x6cf: 82,
|
251 |
-
0x6d0: 68,
|
252 |
-
0x6d1: 68,
|
253 |
-
0x6d2: 82,
|
254 |
-
0x6d3: 82,
|
255 |
-
0x6d5: 82,
|
256 |
-
0x6dd: 85,
|
257 |
-
0x6ee: 82,
|
258 |
-
0x6ef: 82,
|
259 |
-
0x6fa: 68,
|
260 |
-
0x6fb: 68,
|
261 |
-
0x6fc: 68,
|
262 |
-
0x6ff: 68,
|
263 |
-
0x70f: 84,
|
264 |
-
0x710: 82,
|
265 |
-
0x712: 68,
|
266 |
-
0x713: 68,
|
267 |
-
0x714: 68,
|
268 |
-
0x715: 82,
|
269 |
-
0x716: 82,
|
270 |
-
0x717: 82,
|
271 |
-
0x718: 82,
|
272 |
-
0x719: 82,
|
273 |
-
0x71a: 68,
|
274 |
-
0x71b: 68,
|
275 |
-
0x71c: 68,
|
276 |
-
0x71d: 68,
|
277 |
-
0x71e: 82,
|
278 |
-
0x71f: 68,
|
279 |
-
0x720: 68,
|
280 |
-
0x721: 68,
|
281 |
-
0x722: 68,
|
282 |
-
0x723: 68,
|
283 |
-
0x724: 68,
|
284 |
-
0x725: 68,
|
285 |
-
0x726: 68,
|
286 |
-
0x727: 68,
|
287 |
-
0x728: 82,
|
288 |
-
0x729: 68,
|
289 |
-
0x72a: 82,
|
290 |
-
0x72b: 68,
|
291 |
-
0x72c: 82,
|
292 |
-
0x72d: 68,
|
293 |
-
0x72e: 68,
|
294 |
-
0x72f: 82,
|
295 |
-
0x74d: 82,
|
296 |
-
0x74e: 68,
|
297 |
-
0x74f: 68,
|
298 |
-
0x750: 68,
|
299 |
-
0x751: 68,
|
300 |
-
0x752: 68,
|
301 |
-
0x753: 68,
|
302 |
-
0x754: 68,
|
303 |
-
0x755: 68,
|
304 |
-
0x756: 68,
|
305 |
-
0x757: 68,
|
306 |
-
0x758: 68,
|
307 |
-
0x759: 82,
|
308 |
-
0x75a: 82,
|
309 |
-
0x75b: 82,
|
310 |
-
0x75c: 68,
|
311 |
-
0x75d: 68,
|
312 |
-
0x75e: 68,
|
313 |
-
0x75f: 68,
|
314 |
-
0x760: 68,
|
315 |
-
0x761: 68,
|
316 |
-
0x762: 68,
|
317 |
-
0x763: 68,
|
318 |
-
0x764: 68,
|
319 |
-
0x765: 68,
|
320 |
-
0x766: 68,
|
321 |
-
0x767: 68,
|
322 |
-
0x768: 68,
|
323 |
-
0x769: 68,
|
324 |
-
0x76a: 68,
|
325 |
-
0x76b: 82,
|
326 |
-
0x76c: 82,
|
327 |
-
0x76d: 68,
|
328 |
-
0x76e: 68,
|
329 |
-
0x76f: 68,
|
330 |
-
0x770: 68,
|
331 |
-
0x771: 82,
|
332 |
-
0x772: 68,
|
333 |
-
0x773: 82,
|
334 |
-
0x774: 82,
|
335 |
-
0x775: 68,
|
336 |
-
0x776: 68,
|
337 |
-
0x777: 68,
|
338 |
-
0x778: 82,
|
339 |
-
0x779: 82,
|
340 |
-
0x77a: 68,
|
341 |
-
0x77b: 68,
|
342 |
-
0x77c: 68,
|
343 |
-
0x77d: 68,
|
344 |
-
0x77e: 68,
|
345 |
-
0x77f: 68,
|
346 |
-
0x7ca: 68,
|
347 |
-
0x7cb: 68,
|
348 |
-
0x7cc: 68,
|
349 |
-
0x7cd: 68,
|
350 |
-
0x7ce: 68,
|
351 |
-
0x7cf: 68,
|
352 |
-
0x7d0: 68,
|
353 |
-
0x7d1: 68,
|
354 |
-
0x7d2: 68,
|
355 |
-
0x7d3: 68,
|
356 |
-
0x7d4: 68,
|
357 |
-
0x7d5: 68,
|
358 |
-
0x7d6: 68,
|
359 |
-
0x7d7: 68,
|
360 |
-
0x7d8: 68,
|
361 |
-
0x7d9: 68,
|
362 |
-
0x7da: 68,
|
363 |
-
0x7db: 68,
|
364 |
-
0x7dc: 68,
|
365 |
-
0x7dd: 68,
|
366 |
-
0x7de: 68,
|
367 |
-
0x7df: 68,
|
368 |
-
0x7e0: 68,
|
369 |
-
0x7e1: 68,
|
370 |
-
0x7e2: 68,
|
371 |
-
0x7e3: 68,
|
372 |
-
0x7e4: 68,
|
373 |
-
0x7e5: 68,
|
374 |
-
0x7e6: 68,
|
375 |
-
0x7e7: 68,
|
376 |
-
0x7e8: 68,
|
377 |
-
0x7e9: 68,
|
378 |
-
0x7ea: 68,
|
379 |
-
0x7fa: 67,
|
380 |
-
0x840: 82,
|
381 |
-
0x841: 68,
|
382 |
-
0x842: 68,
|
383 |
-
0x843: 68,
|
384 |
-
0x844: 68,
|
385 |
-
0x845: 68,
|
386 |
-
0x846: 82,
|
387 |
-
0x847: 82,
|
388 |
-
0x848: 68,
|
389 |
-
0x849: 82,
|
390 |
-
0x84a: 68,
|
391 |
-
0x84b: 68,
|
392 |
-
0x84c: 68,
|
393 |
-
0x84d: 68,
|
394 |
-
0x84e: 68,
|
395 |
-
0x84f: 68,
|
396 |
-
0x850: 68,
|
397 |
-
0x851: 68,
|
398 |
-
0x852: 68,
|
399 |
-
0x853: 68,
|
400 |
-
0x854: 82,
|
401 |
-
0x855: 68,
|
402 |
-
0x856: 82,
|
403 |
-
0x857: 82,
|
404 |
-
0x858: 82,
|
405 |
-
0x860: 68,
|
406 |
-
0x861: 85,
|
407 |
-
0x862: 68,
|
408 |
-
0x863: 68,
|
409 |
-
0x864: 68,
|
410 |
-
0x865: 68,
|
411 |
-
0x866: 85,
|
412 |
-
0x867: 82,
|
413 |
-
0x868: 68,
|
414 |
-
0x869: 82,
|
415 |
-
0x86a: 82,
|
416 |
-
0x870: 82,
|
417 |
-
0x871: 82,
|
418 |
-
0x872: 82,
|
419 |
-
0x873: 82,
|
420 |
-
0x874: 82,
|
421 |
-
0x875: 82,
|
422 |
-
0x876: 82,
|
423 |
-
0x877: 82,
|
424 |
-
0x878: 82,
|
425 |
-
0x879: 82,
|
426 |
-
0x87a: 82,
|
427 |
-
0x87b: 82,
|
428 |
-
0x87c: 82,
|
429 |
-
0x87d: 82,
|
430 |
-
0x87e: 82,
|
431 |
-
0x87f: 82,
|
432 |
-
0x880: 82,
|
433 |
-
0x881: 82,
|
434 |
-
0x882: 82,
|
435 |
-
0x883: 67,
|
436 |
-
0x884: 67,
|
437 |
-
0x885: 67,
|
438 |
-
0x886: 68,
|
439 |
-
0x887: 85,
|
440 |
-
0x888: 85,
|
441 |
-
0x889: 68,
|
442 |
-
0x88a: 68,
|
443 |
-
0x88b: 68,
|
444 |
-
0x88c: 68,
|
445 |
-
0x88d: 68,
|
446 |
-
0x88e: 82,
|
447 |
-
0x890: 85,
|
448 |
-
0x891: 85,
|
449 |
-
0x8a0: 68,
|
450 |
-
0x8a1: 68,
|
451 |
-
0x8a2: 68,
|
452 |
-
0x8a3: 68,
|
453 |
-
0x8a4: 68,
|
454 |
-
0x8a5: 68,
|
455 |
-
0x8a6: 68,
|
456 |
-
0x8a7: 68,
|
457 |
-
0x8a8: 68,
|
458 |
-
0x8a9: 68,
|
459 |
-
0x8aa: 82,
|
460 |
-
0x8ab: 82,
|
461 |
-
0x8ac: 82,
|
462 |
-
0x8ad: 85,
|
463 |
-
0x8ae: 82,
|
464 |
-
0x8af: 68,
|
465 |
-
0x8b0: 68,
|
466 |
-
0x8b1: 82,
|
467 |
-
0x8b2: 82,
|
468 |
-
0x8b3: 68,
|
469 |
-
0x8b4: 68,
|
470 |
-
0x8b5: 68,
|
471 |
-
0x8b6: 68,
|
472 |
-
0x8b7: 68,
|
473 |
-
0x8b8: 68,
|
474 |
-
0x8b9: 82,
|
475 |
-
0x8ba: 68,
|
476 |
-
0x8bb: 68,
|
477 |
-
0x8bc: 68,
|
478 |
-
0x8bd: 68,
|
479 |
-
0x8be: 68,
|
480 |
-
0x8bf: 68,
|
481 |
-
0x8c0: 68,
|
482 |
-
0x8c1: 68,
|
483 |
-
0x8c2: 68,
|
484 |
-
0x8c3: 68,
|
485 |
-
0x8c4: 68,
|
486 |
-
0x8c5: 68,
|
487 |
-
0x8c6: 68,
|
488 |
-
0x8c7: 68,
|
489 |
-
0x8c8: 68,
|
490 |
-
0x8e2: 85,
|
491 |
-
0x1806: 85,
|
492 |
-
0x1807: 68,
|
493 |
-
0x180a: 67,
|
494 |
-
0x180e: 85,
|
495 |
-
0x1820: 68,
|
496 |
-
0x1821: 68,
|
497 |
-
0x1822: 68,
|
498 |
-
0x1823: 68,
|
499 |
-
0x1824: 68,
|
500 |
-
0x1825: 68,
|
501 |
-
0x1826: 68,
|
502 |
-
0x1827: 68,
|
503 |
-
0x1828: 68,
|
504 |
-
0x1829: 68,
|
505 |
-
0x182a: 68,
|
506 |
-
0x182b: 68,
|
507 |
-
0x182c: 68,
|
508 |
-
0x182d: 68,
|
509 |
-
0x182e: 68,
|
510 |
-
0x182f: 68,
|
511 |
-
0x1830: 68,
|
512 |
-
0x1831: 68,
|
513 |
-
0x1832: 68,
|
514 |
-
0x1833: 68,
|
515 |
-
0x1834: 68,
|
516 |
-
0x1835: 68,
|
517 |
-
0x1836: 68,
|
518 |
-
0x1837: 68,
|
519 |
-
0x1838: 68,
|
520 |
-
0x1839: 68,
|
521 |
-
0x183a: 68,
|
522 |
-
0x183b: 68,
|
523 |
-
0x183c: 68,
|
524 |
-
0x183d: 68,
|
525 |
-
0x183e: 68,
|
526 |
-
0x183f: 68,
|
527 |
-
0x1840: 68,
|
528 |
-
0x1841: 68,
|
529 |
-
0x1842: 68,
|
530 |
-
0x1843: 68,
|
531 |
-
0x1844: 68,
|
532 |
-
0x1845: 68,
|
533 |
-
0x1846: 68,
|
534 |
-
0x1847: 68,
|
535 |
-
0x1848: 68,
|
536 |
-
0x1849: 68,
|
537 |
-
0x184a: 68,
|
538 |
-
0x184b: 68,
|
539 |
-
0x184c: 68,
|
540 |
-
0x184d: 68,
|
541 |
-
0x184e: 68,
|
542 |
-
0x184f: 68,
|
543 |
-
0x1850: 68,
|
544 |
-
0x1851: 68,
|
545 |
-
0x1852: 68,
|
546 |
-
0x1853: 68,
|
547 |
-
0x1854: 68,
|
548 |
-
0x1855: 68,
|
549 |
-
0x1856: 68,
|
550 |
-
0x1857: 68,
|
551 |
-
0x1858: 68,
|
552 |
-
0x1859: 68,
|
553 |
-
0x185a: 68,
|
554 |
-
0x185b: 68,
|
555 |
-
0x185c: 68,
|
556 |
-
0x185d: 68,
|
557 |
-
0x185e: 68,
|
558 |
-
0x185f: 68,
|
559 |
-
0x1860: 68,
|
560 |
-
0x1861: 68,
|
561 |
-
0x1862: 68,
|
562 |
-
0x1863: 68,
|
563 |
-
0x1864: 68,
|
564 |
-
0x1865: 68,
|
565 |
-
0x1866: 68,
|
566 |
-
0x1867: 68,
|
567 |
-
0x1868: 68,
|
568 |
-
0x1869: 68,
|
569 |
-
0x186a: 68,
|
570 |
-
0x186b: 68,
|
571 |
-
0x186c: 68,
|
572 |
-
0x186d: 68,
|
573 |
-
0x186e: 68,
|
574 |
-
0x186f: 68,
|
575 |
-
0x1870: 68,
|
576 |
-
0x1871: 68,
|
577 |
-
0x1872: 68,
|
578 |
-
0x1873: 68,
|
579 |
-
0x1874: 68,
|
580 |
-
0x1875: 68,
|
581 |
-
0x1876: 68,
|
582 |
-
0x1877: 68,
|
583 |
-
0x1878: 68,
|
584 |
-
0x1880: 85,
|
585 |
-
0x1881: 85,
|
586 |
-
0x1882: 85,
|
587 |
-
0x1883: 85,
|
588 |
-
0x1884: 85,
|
589 |
-
0x1885: 84,
|
590 |
-
0x1886: 84,
|
591 |
-
0x1887: 68,
|
592 |
-
0x1888: 68,
|
593 |
-
0x1889: 68,
|
594 |
-
0x188a: 68,
|
595 |
-
0x188b: 68,
|
596 |
-
0x188c: 68,
|
597 |
-
0x188d: 68,
|
598 |
-
0x188e: 68,
|
599 |
-
0x188f: 68,
|
600 |
-
0x1890: 68,
|
601 |
-
0x1891: 68,
|
602 |
-
0x1892: 68,
|
603 |
-
0x1893: 68,
|
604 |
-
0x1894: 68,
|
605 |
-
0x1895: 68,
|
606 |
-
0x1896: 68,
|
607 |
-
0x1897: 68,
|
608 |
-
0x1898: 68,
|
609 |
-
0x1899: 68,
|
610 |
-
0x189a: 68,
|
611 |
-
0x189b: 68,
|
612 |
-
0x189c: 68,
|
613 |
-
0x189d: 68,
|
614 |
-
0x189e: 68,
|
615 |
-
0x189f: 68,
|
616 |
-
0x18a0: 68,
|
617 |
-
0x18a1: 68,
|
618 |
-
0x18a2: 68,
|
619 |
-
0x18a3: 68,
|
620 |
-
0x18a4: 68,
|
621 |
-
0x18a5: 68,
|
622 |
-
0x18a6: 68,
|
623 |
-
0x18a7: 68,
|
624 |
-
0x18a8: 68,
|
625 |
-
0x18aa: 68,
|
626 |
-
0x200c: 85,
|
627 |
-
0x200d: 67,
|
628 |
-
0x202f: 85,
|
629 |
-
0x2066: 85,
|
630 |
-
0x2067: 85,
|
631 |
-
0x2068: 85,
|
632 |
-
0x2069: 85,
|
633 |
-
0xa840: 68,
|
634 |
-
0xa841: 68,
|
635 |
-
0xa842: 68,
|
636 |
-
0xa843: 68,
|
637 |
-
0xa844: 68,
|
638 |
-
0xa845: 68,
|
639 |
-
0xa846: 68,
|
640 |
-
0xa847: 68,
|
641 |
-
0xa848: 68,
|
642 |
-
0xa849: 68,
|
643 |
-
0xa84a: 68,
|
644 |
-
0xa84b: 68,
|
645 |
-
0xa84c: 68,
|
646 |
-
0xa84d: 68,
|
647 |
-
0xa84e: 68,
|
648 |
-
0xa84f: 68,
|
649 |
-
0xa850: 68,
|
650 |
-
0xa851: 68,
|
651 |
-
0xa852: 68,
|
652 |
-
0xa853: 68,
|
653 |
-
0xa854: 68,
|
654 |
-
0xa855: 68,
|
655 |
-
0xa856: 68,
|
656 |
-
0xa857: 68,
|
657 |
-
0xa858: 68,
|
658 |
-
0xa859: 68,
|
659 |
-
0xa85a: 68,
|
660 |
-
0xa85b: 68,
|
661 |
-
0xa85c: 68,
|
662 |
-
0xa85d: 68,
|
663 |
-
0xa85e: 68,
|
664 |
-
0xa85f: 68,
|
665 |
-
0xa860: 68,
|
666 |
-
0xa861: 68,
|
667 |
-
0xa862: 68,
|
668 |
-
0xa863: 68,
|
669 |
-
0xa864: 68,
|
670 |
-
0xa865: 68,
|
671 |
-
0xa866: 68,
|
672 |
-
0xa867: 68,
|
673 |
-
0xa868: 68,
|
674 |
-
0xa869: 68,
|
675 |
-
0xa86a: 68,
|
676 |
-
0xa86b: 68,
|
677 |
-
0xa86c: 68,
|
678 |
-
0xa86d: 68,
|
679 |
-
0xa86e: 68,
|
680 |
-
0xa86f: 68,
|
681 |
-
0xa870: 68,
|
682 |
-
0xa871: 68,
|
683 |
-
0xa872: 76,
|
684 |
-
0xa873: 85,
|
685 |
-
0x10ac0: 68,
|
686 |
-
0x10ac1: 68,
|
687 |
-
0x10ac2: 68,
|
688 |
-
0x10ac3: 68,
|
689 |
-
0x10ac4: 68,
|
690 |
-
0x10ac5: 82,
|
691 |
-
0x10ac6: 85,
|
692 |
-
0x10ac7: 82,
|
693 |
-
0x10ac8: 85,
|
694 |
-
0x10ac9: 82,
|
695 |
-
0x10aca: 82,
|
696 |
-
0x10acb: 85,
|
697 |
-
0x10acc: 85,
|
698 |
-
0x10acd: 76,
|
699 |
-
0x10ace: 82,
|
700 |
-
0x10acf: 82,
|
701 |
-
0x10ad0: 82,
|
702 |
-
0x10ad1: 82,
|
703 |
-
0x10ad2: 82,
|
704 |
-
0x10ad3: 68,
|
705 |
-
0x10ad4: 68,
|
706 |
-
0x10ad5: 68,
|
707 |
-
0x10ad6: 68,
|
708 |
-
0x10ad7: 76,
|
709 |
-
0x10ad8: 68,
|
710 |
-
0x10ad9: 68,
|
711 |
-
0x10ada: 68,
|
712 |
-
0x10adb: 68,
|
713 |
-
0x10adc: 68,
|
714 |
-
0x10add: 82,
|
715 |
-
0x10ade: 68,
|
716 |
-
0x10adf: 68,
|
717 |
-
0x10ae0: 68,
|
718 |
-
0x10ae1: 82,
|
719 |
-
0x10ae2: 85,
|
720 |
-
0x10ae3: 85,
|
721 |
-
0x10ae4: 82,
|
722 |
-
0x10aeb: 68,
|
723 |
-
0x10aec: 68,
|
724 |
-
0x10aed: 68,
|
725 |
-
0x10aee: 68,
|
726 |
-
0x10aef: 82,
|
727 |
-
0x10b80: 68,
|
728 |
-
0x10b81: 82,
|
729 |
-
0x10b82: 68,
|
730 |
-
0x10b83: 82,
|
731 |
-
0x10b84: 82,
|
732 |
-
0x10b85: 82,
|
733 |
-
0x10b86: 68,
|
734 |
-
0x10b87: 68,
|
735 |
-
0x10b88: 68,
|
736 |
-
0x10b89: 82,
|
737 |
-
0x10b8a: 68,
|
738 |
-
0x10b8b: 68,
|
739 |
-
0x10b8c: 82,
|
740 |
-
0x10b8d: 68,
|
741 |
-
0x10b8e: 82,
|
742 |
-
0x10b8f: 82,
|
743 |
-
0x10b90: 68,
|
744 |
-
0x10b91: 82,
|
745 |
-
0x10ba9: 82,
|
746 |
-
0x10baa: 82,
|
747 |
-
0x10bab: 82,
|
748 |
-
0x10bac: 82,
|
749 |
-
0x10bad: 68,
|
750 |
-
0x10bae: 68,
|
751 |
-
0x10baf: 85,
|
752 |
-
0x10d00: 76,
|
753 |
-
0x10d01: 68,
|
754 |
-
0x10d02: 68,
|
755 |
-
0x10d03: 68,
|
756 |
-
0x10d04: 68,
|
757 |
-
0x10d05: 68,
|
758 |
-
0x10d06: 68,
|
759 |
-
0x10d07: 68,
|
760 |
-
0x10d08: 68,
|
761 |
-
0x10d09: 68,
|
762 |
-
0x10d0a: 68,
|
763 |
-
0x10d0b: 68,
|
764 |
-
0x10d0c: 68,
|
765 |
-
0x10d0d: 68,
|
766 |
-
0x10d0e: 68,
|
767 |
-
0x10d0f: 68,
|
768 |
-
0x10d10: 68,
|
769 |
-
0x10d11: 68,
|
770 |
-
0x10d12: 68,
|
771 |
-
0x10d13: 68,
|
772 |
-
0x10d14: 68,
|
773 |
-
0x10d15: 68,
|
774 |
-
0x10d16: 68,
|
775 |
-
0x10d17: 68,
|
776 |
-
0x10d18: 68,
|
777 |
-
0x10d19: 68,
|
778 |
-
0x10d1a: 68,
|
779 |
-
0x10d1b: 68,
|
780 |
-
0x10d1c: 68,
|
781 |
-
0x10d1d: 68,
|
782 |
-
0x10d1e: 68,
|
783 |
-
0x10d1f: 68,
|
784 |
-
0x10d20: 68,
|
785 |
-
0x10d21: 68,
|
786 |
-
0x10d22: 82,
|
787 |
-
0x10d23: 68,
|
788 |
-
0x10f30: 68,
|
789 |
-
0x10f31: 68,
|
790 |
-
0x10f32: 68,
|
791 |
-
0x10f33: 82,
|
792 |
-
0x10f34: 68,
|
793 |
-
0x10f35: 68,
|
794 |
-
0x10f36: 68,
|
795 |
-
0x10f37: 68,
|
796 |
-
0x10f38: 68,
|
797 |
-
0x10f39: 68,
|
798 |
-
0x10f3a: 68,
|
799 |
-
0x10f3b: 68,
|
800 |
-
0x10f3c: 68,
|
801 |
-
0x10f3d: 68,
|
802 |
-
0x10f3e: 68,
|
803 |
-
0x10f3f: 68,
|
804 |
-
0x10f40: 68,
|
805 |
-
0x10f41: 68,
|
806 |
-
0x10f42: 68,
|
807 |
-
0x10f43: 68,
|
808 |
-
0x10f44: 68,
|
809 |
-
0x10f45: 85,
|
810 |
-
0x10f51: 68,
|
811 |
-
0x10f52: 68,
|
812 |
-
0x10f53: 68,
|
813 |
-
0x10f54: 82,
|
814 |
-
0x10f70: 68,
|
815 |
-
0x10f71: 68,
|
816 |
-
0x10f72: 68,
|
817 |
-
0x10f73: 68,
|
818 |
-
0x10f74: 82,
|
819 |
-
0x10f75: 82,
|
820 |
-
0x10f76: 68,
|
821 |
-
0x10f77: 68,
|
822 |
-
0x10f78: 68,
|
823 |
-
0x10f79: 68,
|
824 |
-
0x10f7a: 68,
|
825 |
-
0x10f7b: 68,
|
826 |
-
0x10f7c: 68,
|
827 |
-
0x10f7d: 68,
|
828 |
-
0x10f7e: 68,
|
829 |
-
0x10f7f: 68,
|
830 |
-
0x10f80: 68,
|
831 |
-
0x10f81: 68,
|
832 |
-
0x10fb0: 68,
|
833 |
-
0x10fb1: 85,
|
834 |
-
0x10fb2: 68,
|
835 |
-
0x10fb3: 68,
|
836 |
-
0x10fb4: 82,
|
837 |
-
0x10fb5: 82,
|
838 |
-
0x10fb6: 82,
|
839 |
-
0x10fb7: 85,
|
840 |
-
0x10fb8: 68,
|
841 |
-
0x10fb9: 82,
|
842 |
-
0x10fba: 82,
|
843 |
-
0x10fbb: 68,
|
844 |
-
0x10fbc: 68,
|
845 |
-
0x10fbd: 82,
|
846 |
-
0x10fbe: 68,
|
847 |
-
0x10fbf: 68,
|
848 |
-
0x10fc0: 85,
|
849 |
-
0x10fc1: 68,
|
850 |
-
0x10fc2: 82,
|
851 |
-
0x10fc3: 82,
|
852 |
-
0x10fc4: 68,
|
853 |
-
0x10fc5: 85,
|
854 |
-
0x10fc6: 85,
|
855 |
-
0x10fc7: 85,
|
856 |
-
0x10fc8: 85,
|
857 |
-
0x10fc9: 82,
|
858 |
-
0x10fca: 68,
|
859 |
-
0x10fcb: 76,
|
860 |
-
0x110bd: 85,
|
861 |
-
0x110cd: 85,
|
862 |
-
0x1e900: 68,
|
863 |
-
0x1e901: 68,
|
864 |
-
0x1e902: 68,
|
865 |
-
0x1e903: 68,
|
866 |
-
0x1e904: 68,
|
867 |
-
0x1e905: 68,
|
868 |
-
0x1e906: 68,
|
869 |
-
0x1e907: 68,
|
870 |
-
0x1e908: 68,
|
871 |
-
0x1e909: 68,
|
872 |
-
0x1e90a: 68,
|
873 |
-
0x1e90b: 68,
|
874 |
-
0x1e90c: 68,
|
875 |
-
0x1e90d: 68,
|
876 |
-
0x1e90e: 68,
|
877 |
-
0x1e90f: 68,
|
878 |
-
0x1e910: 68,
|
879 |
-
0x1e911: 68,
|
880 |
-
0x1e912: 68,
|
881 |
-
0x1e913: 68,
|
882 |
-
0x1e914: 68,
|
883 |
-
0x1e915: 68,
|
884 |
-
0x1e916: 68,
|
885 |
-
0x1e917: 68,
|
886 |
-
0x1e918: 68,
|
887 |
-
0x1e919: 68,
|
888 |
-
0x1e91a: 68,
|
889 |
-
0x1e91b: 68,
|
890 |
-
0x1e91c: 68,
|
891 |
-
0x1e91d: 68,
|
892 |
-
0x1e91e: 68,
|
893 |
-
0x1e91f: 68,
|
894 |
-
0x1e920: 68,
|
895 |
-
0x1e921: 68,
|
896 |
-
0x1e922: 68,
|
897 |
-
0x1e923: 68,
|
898 |
-
0x1e924: 68,
|
899 |
-
0x1e925: 68,
|
900 |
-
0x1e926: 68,
|
901 |
-
0x1e927: 68,
|
902 |
-
0x1e928: 68,
|
903 |
-
0x1e929: 68,
|
904 |
-
0x1e92a: 68,
|
905 |
-
0x1e92b: 68,
|
906 |
-
0x1e92c: 68,
|
907 |
-
0x1e92d: 68,
|
908 |
-
0x1e92e: 68,
|
909 |
-
0x1e92f: 68,
|
910 |
-
0x1e930: 68,
|
911 |
-
0x1e931: 68,
|
912 |
-
0x1e932: 68,
|
913 |
-
0x1e933: 68,
|
914 |
-
0x1e934: 68,
|
915 |
-
0x1e935: 68,
|
916 |
-
0x1e936: 68,
|
917 |
-
0x1e937: 68,
|
918 |
-
0x1e938: 68,
|
919 |
-
0x1e939: 68,
|
920 |
-
0x1e93a: 68,
|
921 |
-
0x1e93b: 68,
|
922 |
-
0x1e93c: 68,
|
923 |
-
0x1e93d: 68,
|
924 |
-
0x1e93e: 68,
|
925 |
-
0x1e93f: 68,
|
926 |
-
0x1e940: 68,
|
927 |
-
0x1e941: 68,
|
928 |
-
0x1e942: 68,
|
929 |
-
0x1e943: 68,
|
930 |
-
0x1e94b: 84,
|
931 |
-
}
|
932 |
-
codepoint_classes = {
|
933 |
-
'PVALID': (
|
934 |
-
0x2d0000002e,
|
935 |
-
0x300000003a,
|
936 |
-
0x610000007b,
|
937 |
-
0xdf000000f7,
|
938 |
-
0xf800000100,
|
939 |
-
0x10100000102,
|
940 |
-
0x10300000104,
|
941 |
-
0x10500000106,
|
942 |
-
0x10700000108,
|
943 |
-
0x1090000010a,
|
944 |
-
0x10b0000010c,
|
945 |
-
0x10d0000010e,
|
946 |
-
0x10f00000110,
|
947 |
-
0x11100000112,
|
948 |
-
0x11300000114,
|
949 |
-
0x11500000116,
|
950 |
-
0x11700000118,
|
951 |
-
0x1190000011a,
|
952 |
-
0x11b0000011c,
|
953 |
-
0x11d0000011e,
|
954 |
-
0x11f00000120,
|
955 |
-
0x12100000122,
|
956 |
-
0x12300000124,
|
957 |
-
0x12500000126,
|
958 |
-
0x12700000128,
|
959 |
-
0x1290000012a,
|
960 |
-
0x12b0000012c,
|
961 |
-
0x12d0000012e,
|
962 |
-
0x12f00000130,
|
963 |
-
0x13100000132,
|
964 |
-
0x13500000136,
|
965 |
-
0x13700000139,
|
966 |
-
0x13a0000013b,
|
967 |
-
0x13c0000013d,
|
968 |
-
0x13e0000013f,
|
969 |
-
0x14200000143,
|
970 |
-
0x14400000145,
|
971 |
-
0x14600000147,
|
972 |
-
0x14800000149,
|
973 |
-
0x14b0000014c,
|
974 |
-
0x14d0000014e,
|
975 |
-
0x14f00000150,
|
976 |
-
0x15100000152,
|
977 |
-
0x15300000154,
|
978 |
-
0x15500000156,
|
979 |
-
0x15700000158,
|
980 |
-
0x1590000015a,
|
981 |
-
0x15b0000015c,
|
982 |
-
0x15d0000015e,
|
983 |
-
0x15f00000160,
|
984 |
-
0x16100000162,
|
985 |
-
0x16300000164,
|
986 |
-
0x16500000166,
|
987 |
-
0x16700000168,
|
988 |
-
0x1690000016a,
|
989 |
-
0x16b0000016c,
|
990 |
-
0x16d0000016e,
|
991 |
-
0x16f00000170,
|
992 |
-
0x17100000172,
|
993 |
-
0x17300000174,
|
994 |
-
0x17500000176,
|
995 |
-
0x17700000178,
|
996 |
-
0x17a0000017b,
|
997 |
-
0x17c0000017d,
|
998 |
-
0x17e0000017f,
|
999 |
-
0x18000000181,
|
1000 |
-
0x18300000184,
|
1001 |
-
0x18500000186,
|
1002 |
-
0x18800000189,
|
1003 |
-
0x18c0000018e,
|
1004 |
-
0x19200000193,
|
1005 |
-
0x19500000196,
|
1006 |
-
0x1990000019c,
|
1007 |
-
0x19e0000019f,
|
1008 |
-
0x1a1000001a2,
|
1009 |
-
0x1a3000001a4,
|
1010 |
-
0x1a5000001a6,
|
1011 |
-
0x1a8000001a9,
|
1012 |
-
0x1aa000001ac,
|
1013 |
-
0x1ad000001ae,
|
1014 |
-
0x1b0000001b1,
|
1015 |
-
0x1b4000001b5,
|
1016 |
-
0x1b6000001b7,
|
1017 |
-
0x1b9000001bc,
|
1018 |
-
0x1bd000001c4,
|
1019 |
-
0x1ce000001cf,
|
1020 |
-
0x1d0000001d1,
|
1021 |
-
0x1d2000001d3,
|
1022 |
-
0x1d4000001d5,
|
1023 |
-
0x1d6000001d7,
|
1024 |
-
0x1d8000001d9,
|
1025 |
-
0x1da000001db,
|
1026 |
-
0x1dc000001de,
|
1027 |
-
0x1df000001e0,
|
1028 |
-
0x1e1000001e2,
|
1029 |
-
0x1e3000001e4,
|
1030 |
-
0x1e5000001e6,
|
1031 |
-
0x1e7000001e8,
|
1032 |
-
0x1e9000001ea,
|
1033 |
-
0x1eb000001ec,
|
1034 |
-
0x1ed000001ee,
|
1035 |
-
0x1ef000001f1,
|
1036 |
-
0x1f5000001f6,
|
1037 |
-
0x1f9000001fa,
|
1038 |
-
0x1fb000001fc,
|
1039 |
-
0x1fd000001fe,
|
1040 |
-
0x1ff00000200,
|
1041 |
-
0x20100000202,
|
1042 |
-
0x20300000204,
|
1043 |
-
0x20500000206,
|
1044 |
-
0x20700000208,
|
1045 |
-
0x2090000020a,
|
1046 |
-
0x20b0000020c,
|
1047 |
-
0x20d0000020e,
|
1048 |
-
0x20f00000210,
|
1049 |
-
0x21100000212,
|
1050 |
-
0x21300000214,
|
1051 |
-
0x21500000216,
|
1052 |
-
0x21700000218,
|
1053 |
-
0x2190000021a,
|
1054 |
-
0x21b0000021c,
|
1055 |
-
0x21d0000021e,
|
1056 |
-
0x21f00000220,
|
1057 |
-
0x22100000222,
|
1058 |
-
0x22300000224,
|
1059 |
-
0x22500000226,
|
1060 |
-
0x22700000228,
|
1061 |
-
0x2290000022a,
|
1062 |
-
0x22b0000022c,
|
1063 |
-
0x22d0000022e,
|
1064 |
-
0x22f00000230,
|
1065 |
-
0x23100000232,
|
1066 |
-
0x2330000023a,
|
1067 |
-
0x23c0000023d,
|
1068 |
-
0x23f00000241,
|
1069 |
-
0x24200000243,
|
1070 |
-
0x24700000248,
|
1071 |
-
0x2490000024a,
|
1072 |
-
0x24b0000024c,
|
1073 |
-
0x24d0000024e,
|
1074 |
-
0x24f000002b0,
|
1075 |
-
0x2b9000002c2,
|
1076 |
-
0x2c6000002d2,
|
1077 |
-
0x2ec000002ed,
|
1078 |
-
0x2ee000002ef,
|
1079 |
-
0x30000000340,
|
1080 |
-
0x34200000343,
|
1081 |
-
0x3460000034f,
|
1082 |
-
0x35000000370,
|
1083 |
-
0x37100000372,
|
1084 |
-
0x37300000374,
|
1085 |
-
0x37700000378,
|
1086 |
-
0x37b0000037e,
|
1087 |
-
0x39000000391,
|
1088 |
-
0x3ac000003cf,
|
1089 |
-
0x3d7000003d8,
|
1090 |
-
0x3d9000003da,
|
1091 |
-
0x3db000003dc,
|
1092 |
-
0x3dd000003de,
|
1093 |
-
0x3df000003e0,
|
1094 |
-
0x3e1000003e2,
|
1095 |
-
0x3e3000003e4,
|
1096 |
-
0x3e5000003e6,
|
1097 |
-
0x3e7000003e8,
|
1098 |
-
0x3e9000003ea,
|
1099 |
-
0x3eb000003ec,
|
1100 |
-
0x3ed000003ee,
|
1101 |
-
0x3ef000003f0,
|
1102 |
-
0x3f3000003f4,
|
1103 |
-
0x3f8000003f9,
|
1104 |
-
0x3fb000003fd,
|
1105 |
-
0x43000000460,
|
1106 |
-
0x46100000462,
|
1107 |
-
0x46300000464,
|
1108 |
-
0x46500000466,
|
1109 |
-
0x46700000468,
|
1110 |
-
0x4690000046a,
|
1111 |
-
0x46b0000046c,
|
1112 |
-
0x46d0000046e,
|
1113 |
-
0x46f00000470,
|
1114 |
-
0x47100000472,
|
1115 |
-
0x47300000474,
|
1116 |
-
0x47500000476,
|
1117 |
-
0x47700000478,
|
1118 |
-
0x4790000047a,
|
1119 |
-
0x47b0000047c,
|
1120 |
-
0x47d0000047e,
|
1121 |
-
0x47f00000480,
|
1122 |
-
0x48100000482,
|
1123 |
-
0x48300000488,
|
1124 |
-
0x48b0000048c,
|
1125 |
-
0x48d0000048e,
|
1126 |
-
0x48f00000490,
|
1127 |
-
0x49100000492,
|
1128 |
-
0x49300000494,
|
1129 |
-
0x49500000496,
|
1130 |
-
0x49700000498,
|
1131 |
-
0x4990000049a,
|
1132 |
-
0x49b0000049c,
|
1133 |
-
0x49d0000049e,
|
1134 |
-
0x49f000004a0,
|
1135 |
-
0x4a1000004a2,
|
1136 |
-
0x4a3000004a4,
|
1137 |
-
0x4a5000004a6,
|
1138 |
-
0x4a7000004a8,
|
1139 |
-
0x4a9000004aa,
|
1140 |
-
0x4ab000004ac,
|
1141 |
-
0x4ad000004ae,
|
1142 |
-
0x4af000004b0,
|
1143 |
-
0x4b1000004b2,
|
1144 |
-
0x4b3000004b4,
|
1145 |
-
0x4b5000004b6,
|
1146 |
-
0x4b7000004b8,
|
1147 |
-
0x4b9000004ba,
|
1148 |
-
0x4bb000004bc,
|
1149 |
-
0x4bd000004be,
|
1150 |
-
0x4bf000004c0,
|
1151 |
-
0x4c2000004c3,
|
1152 |
-
0x4c4000004c5,
|
1153 |
-
0x4c6000004c7,
|
1154 |
-
0x4c8000004c9,
|
1155 |
-
0x4ca000004cb,
|
1156 |
-
0x4cc000004cd,
|
1157 |
-
0x4ce000004d0,
|
1158 |
-
0x4d1000004d2,
|
1159 |
-
0x4d3000004d4,
|
1160 |
-
0x4d5000004d6,
|
1161 |
-
0x4d7000004d8,
|
1162 |
-
0x4d9000004da,
|
1163 |
-
0x4db000004dc,
|
1164 |
-
0x4dd000004de,
|
1165 |
-
0x4df000004e0,
|
1166 |
-
0x4e1000004e2,
|
1167 |
-
0x4e3000004e4,
|
1168 |
-
0x4e5000004e6,
|
1169 |
-
0x4e7000004e8,
|
1170 |
-
0x4e9000004ea,
|
1171 |
-
0x4eb000004ec,
|
1172 |
-
0x4ed000004ee,
|
1173 |
-
0x4ef000004f0,
|
1174 |
-
0x4f1000004f2,
|
1175 |
-
0x4f3000004f4,
|
1176 |
-
0x4f5000004f6,
|
1177 |
-
0x4f7000004f8,
|
1178 |
-
0x4f9000004fa,
|
1179 |
-
0x4fb000004fc,
|
1180 |
-
0x4fd000004fe,
|
1181 |
-
0x4ff00000500,
|
1182 |
-
0x50100000502,
|
1183 |
-
0x50300000504,
|
1184 |
-
0x50500000506,
|
1185 |
-
0x50700000508,
|
1186 |
-
0x5090000050a,
|
1187 |
-
0x50b0000050c,
|
1188 |
-
0x50d0000050e,
|
1189 |
-
0x50f00000510,
|
1190 |
-
0x51100000512,
|
1191 |
-
0x51300000514,
|
1192 |
-
0x51500000516,
|
1193 |
-
0x51700000518,
|
1194 |
-
0x5190000051a,
|
1195 |
-
0x51b0000051c,
|
1196 |
-
0x51d0000051e,
|
1197 |
-
0x51f00000520,
|
1198 |
-
0x52100000522,
|
1199 |
-
0x52300000524,
|
1200 |
-
0x52500000526,
|
1201 |
-
0x52700000528,
|
1202 |
-
0x5290000052a,
|
1203 |
-
0x52b0000052c,
|
1204 |
-
0x52d0000052e,
|
1205 |
-
0x52f00000530,
|
1206 |
-
0x5590000055a,
|
1207 |
-
0x56000000587,
|
1208 |
-
0x58800000589,
|
1209 |
-
0x591000005be,
|
1210 |
-
0x5bf000005c0,
|
1211 |
-
0x5c1000005c3,
|
1212 |
-
0x5c4000005c6,
|
1213 |
-
0x5c7000005c8,
|
1214 |
-
0x5d0000005eb,
|
1215 |
-
0x5ef000005f3,
|
1216 |
-
0x6100000061b,
|
1217 |
-
0x62000000640,
|
1218 |
-
0x64100000660,
|
1219 |
-
0x66e00000675,
|
1220 |
-
0x679000006d4,
|
1221 |
-
0x6d5000006dd,
|
1222 |
-
0x6df000006e9,
|
1223 |
-
0x6ea000006f0,
|
1224 |
-
0x6fa00000700,
|
1225 |
-
0x7100000074b,
|
1226 |
-
0x74d000007b2,
|
1227 |
-
0x7c0000007f6,
|
1228 |
-
0x7fd000007fe,
|
1229 |
-
0x8000000082e,
|
1230 |
-
0x8400000085c,
|
1231 |
-
0x8600000086b,
|
1232 |
-
0x87000000888,
|
1233 |
-
0x8890000088f,
|
1234 |
-
0x898000008e2,
|
1235 |
-
0x8e300000958,
|
1236 |
-
0x96000000964,
|
1237 |
-
0x96600000970,
|
1238 |
-
0x97100000984,
|
1239 |
-
0x9850000098d,
|
1240 |
-
0x98f00000991,
|
1241 |
-
0x993000009a9,
|
1242 |
-
0x9aa000009b1,
|
1243 |
-
0x9b2000009b3,
|
1244 |
-
0x9b6000009ba,
|
1245 |
-
0x9bc000009c5,
|
1246 |
-
0x9c7000009c9,
|
1247 |
-
0x9cb000009cf,
|
1248 |
-
0x9d7000009d8,
|
1249 |
-
0x9e0000009e4,
|
1250 |
-
0x9e6000009f2,
|
1251 |
-
0x9fc000009fd,
|
1252 |
-
0x9fe000009ff,
|
1253 |
-
0xa0100000a04,
|
1254 |
-
0xa0500000a0b,
|
1255 |
-
0xa0f00000a11,
|
1256 |
-
0xa1300000a29,
|
1257 |
-
0xa2a00000a31,
|
1258 |
-
0xa3200000a33,
|
1259 |
-
0xa3500000a36,
|
1260 |
-
0xa3800000a3a,
|
1261 |
-
0xa3c00000a3d,
|
1262 |
-
0xa3e00000a43,
|
1263 |
-
0xa4700000a49,
|
1264 |
-
0xa4b00000a4e,
|
1265 |
-
0xa5100000a52,
|
1266 |
-
0xa5c00000a5d,
|
1267 |
-
0xa6600000a76,
|
1268 |
-
0xa8100000a84,
|
1269 |
-
0xa8500000a8e,
|
1270 |
-
0xa8f00000a92,
|
1271 |
-
0xa9300000aa9,
|
1272 |
-
0xaaa00000ab1,
|
1273 |
-
0xab200000ab4,
|
1274 |
-
0xab500000aba,
|
1275 |
-
0xabc00000ac6,
|
1276 |
-
0xac700000aca,
|
1277 |
-
0xacb00000ace,
|
1278 |
-
0xad000000ad1,
|
1279 |
-
0xae000000ae4,
|
1280 |
-
0xae600000af0,
|
1281 |
-
0xaf900000b00,
|
1282 |
-
0xb0100000b04,
|
1283 |
-
0xb0500000b0d,
|
1284 |
-
0xb0f00000b11,
|
1285 |
-
0xb1300000b29,
|
1286 |
-
0xb2a00000b31,
|
1287 |
-
0xb3200000b34,
|
1288 |
-
0xb3500000b3a,
|
1289 |
-
0xb3c00000b45,
|
1290 |
-
0xb4700000b49,
|
1291 |
-
0xb4b00000b4e,
|
1292 |
-
0xb5500000b58,
|
1293 |
-
0xb5f00000b64,
|
1294 |
-
0xb6600000b70,
|
1295 |
-
0xb7100000b72,
|
1296 |
-
0xb8200000b84,
|
1297 |
-
0xb8500000b8b,
|
1298 |
-
0xb8e00000b91,
|
1299 |
-
0xb9200000b96,
|
1300 |
-
0xb9900000b9b,
|
1301 |
-
0xb9c00000b9d,
|
1302 |
-
0xb9e00000ba0,
|
1303 |
-
0xba300000ba5,
|
1304 |
-
0xba800000bab,
|
1305 |
-
0xbae00000bba,
|
1306 |
-
0xbbe00000bc3,
|
1307 |
-
0xbc600000bc9,
|
1308 |
-
0xbca00000bce,
|
1309 |
-
0xbd000000bd1,
|
1310 |
-
0xbd700000bd8,
|
1311 |
-
0xbe600000bf0,
|
1312 |
-
0xc0000000c0d,
|
1313 |
-
0xc0e00000c11,
|
1314 |
-
0xc1200000c29,
|
1315 |
-
0xc2a00000c3a,
|
1316 |
-
0xc3c00000c45,
|
1317 |
-
0xc4600000c49,
|
1318 |
-
0xc4a00000c4e,
|
1319 |
-
0xc5500000c57,
|
1320 |
-
0xc5800000c5b,
|
1321 |
-
0xc5d00000c5e,
|
1322 |
-
0xc6000000c64,
|
1323 |
-
0xc6600000c70,
|
1324 |
-
0xc8000000c84,
|
1325 |
-
0xc8500000c8d,
|
1326 |
-
0xc8e00000c91,
|
1327 |
-
0xc9200000ca9,
|
1328 |
-
0xcaa00000cb4,
|
1329 |
-
0xcb500000cba,
|
1330 |
-
0xcbc00000cc5,
|
1331 |
-
0xcc600000cc9,
|
1332 |
-
0xcca00000cce,
|
1333 |
-
0xcd500000cd7,
|
1334 |
-
0xcdd00000cdf,
|
1335 |
-
0xce000000ce4,
|
1336 |
-
0xce600000cf0,
|
1337 |
-
0xcf100000cf4,
|
1338 |
-
0xd0000000d0d,
|
1339 |
-
0xd0e00000d11,
|
1340 |
-
0xd1200000d45,
|
1341 |
-
0xd4600000d49,
|
1342 |
-
0xd4a00000d4f,
|
1343 |
-
0xd5400000d58,
|
1344 |
-
0xd5f00000d64,
|
1345 |
-
0xd6600000d70,
|
1346 |
-
0xd7a00000d80,
|
1347 |
-
0xd8100000d84,
|
1348 |
-
0xd8500000d97,
|
1349 |
-
0xd9a00000db2,
|
1350 |
-
0xdb300000dbc,
|
1351 |
-
0xdbd00000dbe,
|
1352 |
-
0xdc000000dc7,
|
1353 |
-
0xdca00000dcb,
|
1354 |
-
0xdcf00000dd5,
|
1355 |
-
0xdd600000dd7,
|
1356 |
-
0xdd800000de0,
|
1357 |
-
0xde600000df0,
|
1358 |
-
0xdf200000df4,
|
1359 |
-
0xe0100000e33,
|
1360 |
-
0xe3400000e3b,
|
1361 |
-
0xe4000000e4f,
|
1362 |
-
0xe5000000e5a,
|
1363 |
-
0xe8100000e83,
|
1364 |
-
0xe8400000e85,
|
1365 |
-
0xe8600000e8b,
|
1366 |
-
0xe8c00000ea4,
|
1367 |
-
0xea500000ea6,
|
1368 |
-
0xea700000eb3,
|
1369 |
-
0xeb400000ebe,
|
1370 |
-
0xec000000ec5,
|
1371 |
-
0xec600000ec7,
|
1372 |
-
0xec800000ecf,
|
1373 |
-
0xed000000eda,
|
1374 |
-
0xede00000ee0,
|
1375 |
-
0xf0000000f01,
|
1376 |
-
0xf0b00000f0c,
|
1377 |
-
0xf1800000f1a,
|
1378 |
-
0xf2000000f2a,
|
1379 |
-
0xf3500000f36,
|
1380 |
-
0xf3700000f38,
|
1381 |
-
0xf3900000f3a,
|
1382 |
-
0xf3e00000f43,
|
1383 |
-
0xf4400000f48,
|
1384 |
-
0xf4900000f4d,
|
1385 |
-
0xf4e00000f52,
|
1386 |
-
0xf5300000f57,
|
1387 |
-
0xf5800000f5c,
|
1388 |
-
0xf5d00000f69,
|
1389 |
-
0xf6a00000f6d,
|
1390 |
-
0xf7100000f73,
|
1391 |
-
0xf7400000f75,
|
1392 |
-
0xf7a00000f81,
|
1393 |
-
0xf8200000f85,
|
1394 |
-
0xf8600000f93,
|
1395 |
-
0xf9400000f98,
|
1396 |
-
0xf9900000f9d,
|
1397 |
-
0xf9e00000fa2,
|
1398 |
-
0xfa300000fa7,
|
1399 |
-
0xfa800000fac,
|
1400 |
-
0xfad00000fb9,
|
1401 |
-
0xfba00000fbd,
|
1402 |
-
0xfc600000fc7,
|
1403 |
-
0x10000000104a,
|
1404 |
-
0x10500000109e,
|
1405 |
-
0x10d0000010fb,
|
1406 |
-
0x10fd00001100,
|
1407 |
-
0x120000001249,
|
1408 |
-
0x124a0000124e,
|
1409 |
-
0x125000001257,
|
1410 |
-
0x125800001259,
|
1411 |
-
0x125a0000125e,
|
1412 |
-
0x126000001289,
|
1413 |
-
0x128a0000128e,
|
1414 |
-
0x1290000012b1,
|
1415 |
-
0x12b2000012b6,
|
1416 |
-
0x12b8000012bf,
|
1417 |
-
0x12c0000012c1,
|
1418 |
-
0x12c2000012c6,
|
1419 |
-
0x12c8000012d7,
|
1420 |
-
0x12d800001311,
|
1421 |
-
0x131200001316,
|
1422 |
-
0x13180000135b,
|
1423 |
-
0x135d00001360,
|
1424 |
-
0x138000001390,
|
1425 |
-
0x13a0000013f6,
|
1426 |
-
0x14010000166d,
|
1427 |
-
0x166f00001680,
|
1428 |
-
0x16810000169b,
|
1429 |
-
0x16a0000016eb,
|
1430 |
-
0x16f1000016f9,
|
1431 |
-
0x170000001716,
|
1432 |
-
0x171f00001735,
|
1433 |
-
0x174000001754,
|
1434 |
-
0x17600000176d,
|
1435 |
-
0x176e00001771,
|
1436 |
-
0x177200001774,
|
1437 |
-
0x1780000017b4,
|
1438 |
-
0x17b6000017d4,
|
1439 |
-
0x17d7000017d8,
|
1440 |
-
0x17dc000017de,
|
1441 |
-
0x17e0000017ea,
|
1442 |
-
0x18100000181a,
|
1443 |
-
0x182000001879,
|
1444 |
-
0x1880000018ab,
|
1445 |
-
0x18b0000018f6,
|
1446 |
-
0x19000000191f,
|
1447 |
-
0x19200000192c,
|
1448 |
-
0x19300000193c,
|
1449 |
-
0x19460000196e,
|
1450 |
-
0x197000001975,
|
1451 |
-
0x1980000019ac,
|
1452 |
-
0x19b0000019ca,
|
1453 |
-
0x19d0000019da,
|
1454 |
-
0x1a0000001a1c,
|
1455 |
-
0x1a2000001a5f,
|
1456 |
-
0x1a6000001a7d,
|
1457 |
-
0x1a7f00001a8a,
|
1458 |
-
0x1a9000001a9a,
|
1459 |
-
0x1aa700001aa8,
|
1460 |
-
0x1ab000001abe,
|
1461 |
-
0x1abf00001acf,
|
1462 |
-
0x1b0000001b4d,
|
1463 |
-
0x1b5000001b5a,
|
1464 |
-
0x1b6b00001b74,
|
1465 |
-
0x1b8000001bf4,
|
1466 |
-
0x1c0000001c38,
|
1467 |
-
0x1c4000001c4a,
|
1468 |
-
0x1c4d00001c7e,
|
1469 |
-
0x1cd000001cd3,
|
1470 |
-
0x1cd400001cfb,
|
1471 |
-
0x1d0000001d2c,
|
1472 |
-
0x1d2f00001d30,
|
1473 |
-
0x1d3b00001d3c,
|
1474 |
-
0x1d4e00001d4f,
|
1475 |
-
0x1d6b00001d78,
|
1476 |
-
0x1d7900001d9b,
|
1477 |
-
0x1dc000001e00,
|
1478 |
-
0x1e0100001e02,
|
1479 |
-
0x1e0300001e04,
|
1480 |
-
0x1e0500001e06,
|
1481 |
-
0x1e0700001e08,
|
1482 |
-
0x1e0900001e0a,
|
1483 |
-
0x1e0b00001e0c,
|
1484 |
-
0x1e0d00001e0e,
|
1485 |
-
0x1e0f00001e10,
|
1486 |
-
0x1e1100001e12,
|
1487 |
-
0x1e1300001e14,
|
1488 |
-
0x1e1500001e16,
|
1489 |
-
0x1e1700001e18,
|
1490 |
-
0x1e1900001e1a,
|
1491 |
-
0x1e1b00001e1c,
|
1492 |
-
0x1e1d00001e1e,
|
1493 |
-
0x1e1f00001e20,
|
1494 |
-
0x1e2100001e22,
|
1495 |
-
0x1e2300001e24,
|
1496 |
-
0x1e2500001e26,
|
1497 |
-
0x1e2700001e28,
|
1498 |
-
0x1e2900001e2a,
|
1499 |
-
0x1e2b00001e2c,
|
1500 |
-
0x1e2d00001e2e,
|
1501 |
-
0x1e2f00001e30,
|
1502 |
-
0x1e3100001e32,
|
1503 |
-
0x1e3300001e34,
|
1504 |
-
0x1e3500001e36,
|
1505 |
-
0x1e3700001e38,
|
1506 |
-
0x1e3900001e3a,
|
1507 |
-
0x1e3b00001e3c,
|
1508 |
-
0x1e3d00001e3e,
|
1509 |
-
0x1e3f00001e40,
|
1510 |
-
0x1e4100001e42,
|
1511 |
-
0x1e4300001e44,
|
1512 |
-
0x1e4500001e46,
|
1513 |
-
0x1e4700001e48,
|
1514 |
-
0x1e4900001e4a,
|
1515 |
-
0x1e4b00001e4c,
|
1516 |
-
0x1e4d00001e4e,
|
1517 |
-
0x1e4f00001e50,
|
1518 |
-
0x1e5100001e52,
|
1519 |
-
0x1e5300001e54,
|
1520 |
-
0x1e5500001e56,
|
1521 |
-
0x1e5700001e58,
|
1522 |
-
0x1e5900001e5a,
|
1523 |
-
0x1e5b00001e5c,
|
1524 |
-
0x1e5d00001e5e,
|
1525 |
-
0x1e5f00001e60,
|
1526 |
-
0x1e6100001e62,
|
1527 |
-
0x1e6300001e64,
|
1528 |
-
0x1e6500001e66,
|
1529 |
-
0x1e6700001e68,
|
1530 |
-
0x1e6900001e6a,
|
1531 |
-
0x1e6b00001e6c,
|
1532 |
-
0x1e6d00001e6e,
|
1533 |
-
0x1e6f00001e70,
|
1534 |
-
0x1e7100001e72,
|
1535 |
-
0x1e7300001e74,
|
1536 |
-
0x1e7500001e76,
|
1537 |
-
0x1e7700001e78,
|
1538 |
-
0x1e7900001e7a,
|
1539 |
-
0x1e7b00001e7c,
|
1540 |
-
0x1e7d00001e7e,
|
1541 |
-
0x1e7f00001e80,
|
1542 |
-
0x1e8100001e82,
|
1543 |
-
0x1e8300001e84,
|
1544 |
-
0x1e8500001e86,
|
1545 |
-
0x1e8700001e88,
|
1546 |
-
0x1e8900001e8a,
|
1547 |
-
0x1e8b00001e8c,
|
1548 |
-
0x1e8d00001e8e,
|
1549 |
-
0x1e8f00001e90,
|
1550 |
-
0x1e9100001e92,
|
1551 |
-
0x1e9300001e94,
|
1552 |
-
0x1e9500001e9a,
|
1553 |
-
0x1e9c00001e9e,
|
1554 |
-
0x1e9f00001ea0,
|
1555 |
-
0x1ea100001ea2,
|
1556 |
-
0x1ea300001ea4,
|
1557 |
-
0x1ea500001ea6,
|
1558 |
-
0x1ea700001ea8,
|
1559 |
-
0x1ea900001eaa,
|
1560 |
-
0x1eab00001eac,
|
1561 |
-
0x1ead00001eae,
|
1562 |
-
0x1eaf00001eb0,
|
1563 |
-
0x1eb100001eb2,
|
1564 |
-
0x1eb300001eb4,
|
1565 |
-
0x1eb500001eb6,
|
1566 |
-
0x1eb700001eb8,
|
1567 |
-
0x1eb900001eba,
|
1568 |
-
0x1ebb00001ebc,
|
1569 |
-
0x1ebd00001ebe,
|
1570 |
-
0x1ebf00001ec0,
|
1571 |
-
0x1ec100001ec2,
|
1572 |
-
0x1ec300001ec4,
|
1573 |
-
0x1ec500001ec6,
|
1574 |
-
0x1ec700001ec8,
|
1575 |
-
0x1ec900001eca,
|
1576 |
-
0x1ecb00001ecc,
|
1577 |
-
0x1ecd00001ece,
|
1578 |
-
0x1ecf00001ed0,
|
1579 |
-
0x1ed100001ed2,
|
1580 |
-
0x1ed300001ed4,
|
1581 |
-
0x1ed500001ed6,
|
1582 |
-
0x1ed700001ed8,
|
1583 |
-
0x1ed900001eda,
|
1584 |
-
0x1edb00001edc,
|
1585 |
-
0x1edd00001ede,
|
1586 |
-
0x1edf00001ee0,
|
1587 |
-
0x1ee100001ee2,
|
1588 |
-
0x1ee300001ee4,
|
1589 |
-
0x1ee500001ee6,
|
1590 |
-
0x1ee700001ee8,
|
1591 |
-
0x1ee900001eea,
|
1592 |
-
0x1eeb00001eec,
|
1593 |
-
0x1eed00001eee,
|
1594 |
-
0x1eef00001ef0,
|
1595 |
-
0x1ef100001ef2,
|
1596 |
-
0x1ef300001ef4,
|
1597 |
-
0x1ef500001ef6,
|
1598 |
-
0x1ef700001ef8,
|
1599 |
-
0x1ef900001efa,
|
1600 |
-
0x1efb00001efc,
|
1601 |
-
0x1efd00001efe,
|
1602 |
-
0x1eff00001f08,
|
1603 |
-
0x1f1000001f16,
|
1604 |
-
0x1f2000001f28,
|
1605 |
-
0x1f3000001f38,
|
1606 |
-
0x1f4000001f46,
|
1607 |
-
0x1f5000001f58,
|
1608 |
-
0x1f6000001f68,
|
1609 |
-
0x1f7000001f71,
|
1610 |
-
0x1f7200001f73,
|
1611 |
-
0x1f7400001f75,
|
1612 |
-
0x1f7600001f77,
|
1613 |
-
0x1f7800001f79,
|
1614 |
-
0x1f7a00001f7b,
|
1615 |
-
0x1f7c00001f7d,
|
1616 |
-
0x1fb000001fb2,
|
1617 |
-
0x1fb600001fb7,
|
1618 |
-
0x1fc600001fc7,
|
1619 |
-
0x1fd000001fd3,
|
1620 |
-
0x1fd600001fd8,
|
1621 |
-
0x1fe000001fe3,
|
1622 |
-
0x1fe400001fe8,
|
1623 |
-
0x1ff600001ff7,
|
1624 |
-
0x214e0000214f,
|
1625 |
-
0x218400002185,
|
1626 |
-
0x2c3000002c60,
|
1627 |
-
0x2c6100002c62,
|
1628 |
-
0x2c6500002c67,
|
1629 |
-
0x2c6800002c69,
|
1630 |
-
0x2c6a00002c6b,
|
1631 |
-
0x2c6c00002c6d,
|
1632 |
-
0x2c7100002c72,
|
1633 |
-
0x2c7300002c75,
|
1634 |
-
0x2c7600002c7c,
|
1635 |
-
0x2c8100002c82,
|
1636 |
-
0x2c8300002c84,
|
1637 |
-
0x2c8500002c86,
|
1638 |
-
0x2c8700002c88,
|
1639 |
-
0x2c8900002c8a,
|
1640 |
-
0x2c8b00002c8c,
|
1641 |
-
0x2c8d00002c8e,
|
1642 |
-
0x2c8f00002c90,
|
1643 |
-
0x2c9100002c92,
|
1644 |
-
0x2c9300002c94,
|
1645 |
-
0x2c9500002c96,
|
1646 |
-
0x2c9700002c98,
|
1647 |
-
0x2c9900002c9a,
|
1648 |
-
0x2c9b00002c9c,
|
1649 |
-
0x2c9d00002c9e,
|
1650 |
-
0x2c9f00002ca0,
|
1651 |
-
0x2ca100002ca2,
|
1652 |
-
0x2ca300002ca4,
|
1653 |
-
0x2ca500002ca6,
|
1654 |
-
0x2ca700002ca8,
|
1655 |
-
0x2ca900002caa,
|
1656 |
-
0x2cab00002cac,
|
1657 |
-
0x2cad00002cae,
|
1658 |
-
0x2caf00002cb0,
|
1659 |
-
0x2cb100002cb2,
|
1660 |
-
0x2cb300002cb4,
|
1661 |
-
0x2cb500002cb6,
|
1662 |
-
0x2cb700002cb8,
|
1663 |
-
0x2cb900002cba,
|
1664 |
-
0x2cbb00002cbc,
|
1665 |
-
0x2cbd00002cbe,
|
1666 |
-
0x2cbf00002cc0,
|
1667 |
-
0x2cc100002cc2,
|
1668 |
-
0x2cc300002cc4,
|
1669 |
-
0x2cc500002cc6,
|
1670 |
-
0x2cc700002cc8,
|
1671 |
-
0x2cc900002cca,
|
1672 |
-
0x2ccb00002ccc,
|
1673 |
-
0x2ccd00002cce,
|
1674 |
-
0x2ccf00002cd0,
|
1675 |
-
0x2cd100002cd2,
|
1676 |
-
0x2cd300002cd4,
|
1677 |
-
0x2cd500002cd6,
|
1678 |
-
0x2cd700002cd8,
|
1679 |
-
0x2cd900002cda,
|
1680 |
-
0x2cdb00002cdc,
|
1681 |
-
0x2cdd00002cde,
|
1682 |
-
0x2cdf00002ce0,
|
1683 |
-
0x2ce100002ce2,
|
1684 |
-
0x2ce300002ce5,
|
1685 |
-
0x2cec00002ced,
|
1686 |
-
0x2cee00002cf2,
|
1687 |
-
0x2cf300002cf4,
|
1688 |
-
0x2d0000002d26,
|
1689 |
-
0x2d2700002d28,
|
1690 |
-
0x2d2d00002d2e,
|
1691 |
-
0x2d3000002d68,
|
1692 |
-
0x2d7f00002d97,
|
1693 |
-
0x2da000002da7,
|
1694 |
-
0x2da800002daf,
|
1695 |
-
0x2db000002db7,
|
1696 |
-
0x2db800002dbf,
|
1697 |
-
0x2dc000002dc7,
|
1698 |
-
0x2dc800002dcf,
|
1699 |
-
0x2dd000002dd7,
|
1700 |
-
0x2dd800002ddf,
|
1701 |
-
0x2de000002e00,
|
1702 |
-
0x2e2f00002e30,
|
1703 |
-
0x300500003008,
|
1704 |
-
0x302a0000302e,
|
1705 |
-
0x303c0000303d,
|
1706 |
-
0x304100003097,
|
1707 |
-
0x30990000309b,
|
1708 |
-
0x309d0000309f,
|
1709 |
-
0x30a1000030fb,
|
1710 |
-
0x30fc000030ff,
|
1711 |
-
0x310500003130,
|
1712 |
-
0x31a0000031c0,
|
1713 |
-
0x31f000003200,
|
1714 |
-
0x340000004dc0,
|
1715 |
-
0x4e000000a48d,
|
1716 |
-
0xa4d00000a4fe,
|
1717 |
-
0xa5000000a60d,
|
1718 |
-
0xa6100000a62c,
|
1719 |
-
0xa6410000a642,
|
1720 |
-
0xa6430000a644,
|
1721 |
-
0xa6450000a646,
|
1722 |
-
0xa6470000a648,
|
1723 |
-
0xa6490000a64a,
|
1724 |
-
0xa64b0000a64c,
|
1725 |
-
0xa64d0000a64e,
|
1726 |
-
0xa64f0000a650,
|
1727 |
-
0xa6510000a652,
|
1728 |
-
0xa6530000a654,
|
1729 |
-
0xa6550000a656,
|
1730 |
-
0xa6570000a658,
|
1731 |
-
0xa6590000a65a,
|
1732 |
-
0xa65b0000a65c,
|
1733 |
-
0xa65d0000a65e,
|
1734 |
-
0xa65f0000a660,
|
1735 |
-
0xa6610000a662,
|
1736 |
-
0xa6630000a664,
|
1737 |
-
0xa6650000a666,
|
1738 |
-
0xa6670000a668,
|
1739 |
-
0xa6690000a66a,
|
1740 |
-
0xa66b0000a66c,
|
1741 |
-
0xa66d0000a670,
|
1742 |
-
0xa6740000a67e,
|
1743 |
-
0xa67f0000a680,
|
1744 |
-
0xa6810000a682,
|
1745 |
-
0xa6830000a684,
|
1746 |
-
0xa6850000a686,
|
1747 |
-
0xa6870000a688,
|
1748 |
-
0xa6890000a68a,
|
1749 |
-
0xa68b0000a68c,
|
1750 |
-
0xa68d0000a68e,
|
1751 |
-
0xa68f0000a690,
|
1752 |
-
0xa6910000a692,
|
1753 |
-
0xa6930000a694,
|
1754 |
-
0xa6950000a696,
|
1755 |
-
0xa6970000a698,
|
1756 |
-
0xa6990000a69a,
|
1757 |
-
0xa69b0000a69c,
|
1758 |
-
0xa69e0000a6e6,
|
1759 |
-
0xa6f00000a6f2,
|
1760 |
-
0xa7170000a720,
|
1761 |
-
0xa7230000a724,
|
1762 |
-
0xa7250000a726,
|
1763 |
-
0xa7270000a728,
|
1764 |
-
0xa7290000a72a,
|
1765 |
-
0xa72b0000a72c,
|
1766 |
-
0xa72d0000a72e,
|
1767 |
-
0xa72f0000a732,
|
1768 |
-
0xa7330000a734,
|
1769 |
-
0xa7350000a736,
|
1770 |
-
0xa7370000a738,
|
1771 |
-
0xa7390000a73a,
|
1772 |
-
0xa73b0000a73c,
|
1773 |
-
0xa73d0000a73e,
|
1774 |
-
0xa73f0000a740,
|
1775 |
-
0xa7410000a742,
|
1776 |
-
0xa7430000a744,
|
1777 |
-
0xa7450000a746,
|
1778 |
-
0xa7470000a748,
|
1779 |
-
0xa7490000a74a,
|
1780 |
-
0xa74b0000a74c,
|
1781 |
-
0xa74d0000a74e,
|
1782 |
-
0xa74f0000a750,
|
1783 |
-
0xa7510000a752,
|
1784 |
-
0xa7530000a754,
|
1785 |
-
0xa7550000a756,
|
1786 |
-
0xa7570000a758,
|
1787 |
-
0xa7590000a75a,
|
1788 |
-
0xa75b0000a75c,
|
1789 |
-
0xa75d0000a75e,
|
1790 |
-
0xa75f0000a760,
|
1791 |
-
0xa7610000a762,
|
1792 |
-
0xa7630000a764,
|
1793 |
-
0xa7650000a766,
|
1794 |
-
0xa7670000a768,
|
1795 |
-
0xa7690000a76a,
|
1796 |
-
0xa76b0000a76c,
|
1797 |
-
0xa76d0000a76e,
|
1798 |
-
0xa76f0000a770,
|
1799 |
-
0xa7710000a779,
|
1800 |
-
0xa77a0000a77b,
|
1801 |
-
0xa77c0000a77d,
|
1802 |
-
0xa77f0000a780,
|
1803 |
-
0xa7810000a782,
|
1804 |
-
0xa7830000a784,
|
1805 |
-
0xa7850000a786,
|
1806 |
-
0xa7870000a789,
|
1807 |
-
0xa78c0000a78d,
|
1808 |
-
0xa78e0000a790,
|
1809 |
-
0xa7910000a792,
|
1810 |
-
0xa7930000a796,
|
1811 |
-
0xa7970000a798,
|
1812 |
-
0xa7990000a79a,
|
1813 |
-
0xa79b0000a79c,
|
1814 |
-
0xa79d0000a79e,
|
1815 |
-
0xa79f0000a7a0,
|
1816 |
-
0xa7a10000a7a2,
|
1817 |
-
0xa7a30000a7a4,
|
1818 |
-
0xa7a50000a7a6,
|
1819 |
-
0xa7a70000a7a8,
|
1820 |
-
0xa7a90000a7aa,
|
1821 |
-
0xa7af0000a7b0,
|
1822 |
-
0xa7b50000a7b6,
|
1823 |
-
0xa7b70000a7b8,
|
1824 |
-
0xa7b90000a7ba,
|
1825 |
-
0xa7bb0000a7bc,
|
1826 |
-
0xa7bd0000a7be,
|
1827 |
-
0xa7bf0000a7c0,
|
1828 |
-
0xa7c10000a7c2,
|
1829 |
-
0xa7c30000a7c4,
|
1830 |
-
0xa7c80000a7c9,
|
1831 |
-
0xa7ca0000a7cb,
|
1832 |
-
0xa7d10000a7d2,
|
1833 |
-
0xa7d30000a7d4,
|
1834 |
-
0xa7d50000a7d6,
|
1835 |
-
0xa7d70000a7d8,
|
1836 |
-
0xa7d90000a7da,
|
1837 |
-
0xa7f20000a7f5,
|
1838 |
-
0xa7f60000a7f8,
|
1839 |
-
0xa7fa0000a828,
|
1840 |
-
0xa82c0000a82d,
|
1841 |
-
0xa8400000a874,
|
1842 |
-
0xa8800000a8c6,
|
1843 |
-
0xa8d00000a8da,
|
1844 |
-
0xa8e00000a8f8,
|
1845 |
-
0xa8fb0000a8fc,
|
1846 |
-
0xa8fd0000a92e,
|
1847 |
-
0xa9300000a954,
|
1848 |
-
0xa9800000a9c1,
|
1849 |
-
0xa9cf0000a9da,
|
1850 |
-
0xa9e00000a9ff,
|
1851 |
-
0xaa000000aa37,
|
1852 |
-
0xaa400000aa4e,
|
1853 |
-
0xaa500000aa5a,
|
1854 |
-
0xaa600000aa77,
|
1855 |
-
0xaa7a0000aac3,
|
1856 |
-
0xaadb0000aade,
|
1857 |
-
0xaae00000aaf0,
|
1858 |
-
0xaaf20000aaf7,
|
1859 |
-
0xab010000ab07,
|
1860 |
-
0xab090000ab0f,
|
1861 |
-
0xab110000ab17,
|
1862 |
-
0xab200000ab27,
|
1863 |
-
0xab280000ab2f,
|
1864 |
-
0xab300000ab5b,
|
1865 |
-
0xab600000ab69,
|
1866 |
-
0xabc00000abeb,
|
1867 |
-
0xabec0000abee,
|
1868 |
-
0xabf00000abfa,
|
1869 |
-
0xac000000d7a4,
|
1870 |
-
0xfa0e0000fa10,
|
1871 |
-
0xfa110000fa12,
|
1872 |
-
0xfa130000fa15,
|
1873 |
-
0xfa1f0000fa20,
|
1874 |
-
0xfa210000fa22,
|
1875 |
-
0xfa230000fa25,
|
1876 |
-
0xfa270000fa2a,
|
1877 |
-
0xfb1e0000fb1f,
|
1878 |
-
0xfe200000fe30,
|
1879 |
-
0xfe730000fe74,
|
1880 |
-
0x100000001000c,
|
1881 |
-
0x1000d00010027,
|
1882 |
-
0x100280001003b,
|
1883 |
-
0x1003c0001003e,
|
1884 |
-
0x1003f0001004e,
|
1885 |
-
0x100500001005e,
|
1886 |
-
0x10080000100fb,
|
1887 |
-
0x101fd000101fe,
|
1888 |
-
0x102800001029d,
|
1889 |
-
0x102a0000102d1,
|
1890 |
-
0x102e0000102e1,
|
1891 |
-
0x1030000010320,
|
1892 |
-
0x1032d00010341,
|
1893 |
-
0x103420001034a,
|
1894 |
-
0x103500001037b,
|
1895 |
-
0x103800001039e,
|
1896 |
-
0x103a0000103c4,
|
1897 |
-
0x103c8000103d0,
|
1898 |
-
0x104280001049e,
|
1899 |
-
0x104a0000104aa,
|
1900 |
-
0x104d8000104fc,
|
1901 |
-
0x1050000010528,
|
1902 |
-
0x1053000010564,
|
1903 |
-
0x10597000105a2,
|
1904 |
-
0x105a3000105b2,
|
1905 |
-
0x105b3000105ba,
|
1906 |
-
0x105bb000105bd,
|
1907 |
-
0x1060000010737,
|
1908 |
-
0x1074000010756,
|
1909 |
-
0x1076000010768,
|
1910 |
-
0x1078000010786,
|
1911 |
-
0x10787000107b1,
|
1912 |
-
0x107b2000107bb,
|
1913 |
-
0x1080000010806,
|
1914 |
-
0x1080800010809,
|
1915 |
-
0x1080a00010836,
|
1916 |
-
0x1083700010839,
|
1917 |
-
0x1083c0001083d,
|
1918 |
-
0x1083f00010856,
|
1919 |
-
0x1086000010877,
|
1920 |
-
0x108800001089f,
|
1921 |
-
0x108e0000108f3,
|
1922 |
-
0x108f4000108f6,
|
1923 |
-
0x1090000010916,
|
1924 |
-
0x109200001093a,
|
1925 |
-
0x10980000109b8,
|
1926 |
-
0x109be000109c0,
|
1927 |
-
0x10a0000010a04,
|
1928 |
-
0x10a0500010a07,
|
1929 |
-
0x10a0c00010a14,
|
1930 |
-
0x10a1500010a18,
|
1931 |
-
0x10a1900010a36,
|
1932 |
-
0x10a3800010a3b,
|
1933 |
-
0x10a3f00010a40,
|
1934 |
-
0x10a6000010a7d,
|
1935 |
-
0x10a8000010a9d,
|
1936 |
-
0x10ac000010ac8,
|
1937 |
-
0x10ac900010ae7,
|
1938 |
-
0x10b0000010b36,
|
1939 |
-
0x10b4000010b56,
|
1940 |
-
0x10b6000010b73,
|
1941 |
-
0x10b8000010b92,
|
1942 |
-
0x10c0000010c49,
|
1943 |
-
0x10cc000010cf3,
|
1944 |
-
0x10d0000010d28,
|
1945 |
-
0x10d3000010d3a,
|
1946 |
-
0x10e8000010eaa,
|
1947 |
-
0x10eab00010ead,
|
1948 |
-
0x10eb000010eb2,
|
1949 |
-
0x10efd00010f1d,
|
1950 |
-
0x10f2700010f28,
|
1951 |
-
0x10f3000010f51,
|
1952 |
-
0x10f7000010f86,
|
1953 |
-
0x10fb000010fc5,
|
1954 |
-
0x10fe000010ff7,
|
1955 |
-
0x1100000011047,
|
1956 |
-
0x1106600011076,
|
1957 |
-
0x1107f000110bb,
|
1958 |
-
0x110c2000110c3,
|
1959 |
-
0x110d0000110e9,
|
1960 |
-
0x110f0000110fa,
|
1961 |
-
0x1110000011135,
|
1962 |
-
0x1113600011140,
|
1963 |
-
0x1114400011148,
|
1964 |
-
0x1115000011174,
|
1965 |
-
0x1117600011177,
|
1966 |
-
0x11180000111c5,
|
1967 |
-
0x111c9000111cd,
|
1968 |
-
0x111ce000111db,
|
1969 |
-
0x111dc000111dd,
|
1970 |
-
0x1120000011212,
|
1971 |
-
0x1121300011238,
|
1972 |
-
0x1123e00011242,
|
1973 |
-
0x1128000011287,
|
1974 |
-
0x1128800011289,
|
1975 |
-
0x1128a0001128e,
|
1976 |
-
0x1128f0001129e,
|
1977 |
-
0x1129f000112a9,
|
1978 |
-
0x112b0000112eb,
|
1979 |
-
0x112f0000112fa,
|
1980 |
-
0x1130000011304,
|
1981 |
-
0x113050001130d,
|
1982 |
-
0x1130f00011311,
|
1983 |
-
0x1131300011329,
|
1984 |
-
0x1132a00011331,
|
1985 |
-
0x1133200011334,
|
1986 |
-
0x113350001133a,
|
1987 |
-
0x1133b00011345,
|
1988 |
-
0x1134700011349,
|
1989 |
-
0x1134b0001134e,
|
1990 |
-
0x1135000011351,
|
1991 |
-
0x1135700011358,
|
1992 |
-
0x1135d00011364,
|
1993 |
-
0x113660001136d,
|
1994 |
-
0x1137000011375,
|
1995 |
-
0x114000001144b,
|
1996 |
-
0x114500001145a,
|
1997 |
-
0x1145e00011462,
|
1998 |
-
0x11480000114c6,
|
1999 |
-
0x114c7000114c8,
|
2000 |
-
0x114d0000114da,
|
2001 |
-
0x11580000115b6,
|
2002 |
-
0x115b8000115c1,
|
2003 |
-
0x115d8000115de,
|
2004 |
-
0x1160000011641,
|
2005 |
-
0x1164400011645,
|
2006 |
-
0x116500001165a,
|
2007 |
-
0x11680000116b9,
|
2008 |
-
0x116c0000116ca,
|
2009 |
-
0x117000001171b,
|
2010 |
-
0x1171d0001172c,
|
2011 |
-
0x117300001173a,
|
2012 |
-
0x1174000011747,
|
2013 |
-
0x118000001183b,
|
2014 |
-
0x118c0000118ea,
|
2015 |
-
0x118ff00011907,
|
2016 |
-
0x119090001190a,
|
2017 |
-
0x1190c00011914,
|
2018 |
-
0x1191500011917,
|
2019 |
-
0x1191800011936,
|
2020 |
-
0x1193700011939,
|
2021 |
-
0x1193b00011944,
|
2022 |
-
0x119500001195a,
|
2023 |
-
0x119a0000119a8,
|
2024 |
-
0x119aa000119d8,
|
2025 |
-
0x119da000119e2,
|
2026 |
-
0x119e3000119e5,
|
2027 |
-
0x11a0000011a3f,
|
2028 |
-
0x11a4700011a48,
|
2029 |
-
0x11a5000011a9a,
|
2030 |
-
0x11a9d00011a9e,
|
2031 |
-
0x11ab000011af9,
|
2032 |
-
0x11c0000011c09,
|
2033 |
-
0x11c0a00011c37,
|
2034 |
-
0x11c3800011c41,
|
2035 |
-
0x11c5000011c5a,
|
2036 |
-
0x11c7200011c90,
|
2037 |
-
0x11c9200011ca8,
|
2038 |
-
0x11ca900011cb7,
|
2039 |
-
0x11d0000011d07,
|
2040 |
-
0x11d0800011d0a,
|
2041 |
-
0x11d0b00011d37,
|
2042 |
-
0x11d3a00011d3b,
|
2043 |
-
0x11d3c00011d3e,
|
2044 |
-
0x11d3f00011d48,
|
2045 |
-
0x11d5000011d5a,
|
2046 |
-
0x11d6000011d66,
|
2047 |
-
0x11d6700011d69,
|
2048 |
-
0x11d6a00011d8f,
|
2049 |
-
0x11d9000011d92,
|
2050 |
-
0x11d9300011d99,
|
2051 |
-
0x11da000011daa,
|
2052 |
-
0x11ee000011ef7,
|
2053 |
-
0x11f0000011f11,
|
2054 |
-
0x11f1200011f3b,
|
2055 |
-
0x11f3e00011f43,
|
2056 |
-
0x11f5000011f5a,
|
2057 |
-
0x11fb000011fb1,
|
2058 |
-
0x120000001239a,
|
2059 |
-
0x1248000012544,
|
2060 |
-
0x12f9000012ff1,
|
2061 |
-
0x1300000013430,
|
2062 |
-
0x1344000013456,
|
2063 |
-
0x1440000014647,
|
2064 |
-
0x1680000016a39,
|
2065 |
-
0x16a4000016a5f,
|
2066 |
-
0x16a6000016a6a,
|
2067 |
-
0x16a7000016abf,
|
2068 |
-
0x16ac000016aca,
|
2069 |
-
0x16ad000016aee,
|
2070 |
-
0x16af000016af5,
|
2071 |
-
0x16b0000016b37,
|
2072 |
-
0x16b4000016b44,
|
2073 |
-
0x16b5000016b5a,
|
2074 |
-
0x16b6300016b78,
|
2075 |
-
0x16b7d00016b90,
|
2076 |
-
0x16e6000016e80,
|
2077 |
-
0x16f0000016f4b,
|
2078 |
-
0x16f4f00016f88,
|
2079 |
-
0x16f8f00016fa0,
|
2080 |
-
0x16fe000016fe2,
|
2081 |
-
0x16fe300016fe5,
|
2082 |
-
0x16ff000016ff2,
|
2083 |
-
0x17000000187f8,
|
2084 |
-
0x1880000018cd6,
|
2085 |
-
0x18d0000018d09,
|
2086 |
-
0x1aff00001aff4,
|
2087 |
-
0x1aff50001affc,
|
2088 |
-
0x1affd0001afff,
|
2089 |
-
0x1b0000001b123,
|
2090 |
-
0x1b1320001b133,
|
2091 |
-
0x1b1500001b153,
|
2092 |
-
0x1b1550001b156,
|
2093 |
-
0x1b1640001b168,
|
2094 |
-
0x1b1700001b2fc,
|
2095 |
-
0x1bc000001bc6b,
|
2096 |
-
0x1bc700001bc7d,
|
2097 |
-
0x1bc800001bc89,
|
2098 |
-
0x1bc900001bc9a,
|
2099 |
-
0x1bc9d0001bc9f,
|
2100 |
-
0x1cf000001cf2e,
|
2101 |
-
0x1cf300001cf47,
|
2102 |
-
0x1da000001da37,
|
2103 |
-
0x1da3b0001da6d,
|
2104 |
-
0x1da750001da76,
|
2105 |
-
0x1da840001da85,
|
2106 |
-
0x1da9b0001daa0,
|
2107 |
-
0x1daa10001dab0,
|
2108 |
-
0x1df000001df1f,
|
2109 |
-
0x1df250001df2b,
|
2110 |
-
0x1e0000001e007,
|
2111 |
-
0x1e0080001e019,
|
2112 |
-
0x1e01b0001e022,
|
2113 |
-
0x1e0230001e025,
|
2114 |
-
0x1e0260001e02b,
|
2115 |
-
0x1e0300001e06e,
|
2116 |
-
0x1e08f0001e090,
|
2117 |
-
0x1e1000001e12d,
|
2118 |
-
0x1e1300001e13e,
|
2119 |
-
0x1e1400001e14a,
|
2120 |
-
0x1e14e0001e14f,
|
2121 |
-
0x1e2900001e2af,
|
2122 |
-
0x1e2c00001e2fa,
|
2123 |
-
0x1e4d00001e4fa,
|
2124 |
-
0x1e7e00001e7e7,
|
2125 |
-
0x1e7e80001e7ec,
|
2126 |
-
0x1e7ed0001e7ef,
|
2127 |
-
0x1e7f00001e7ff,
|
2128 |
-
0x1e8000001e8c5,
|
2129 |
-
0x1e8d00001e8d7,
|
2130 |
-
0x1e9220001e94c,
|
2131 |
-
0x1e9500001e95a,
|
2132 |
-
0x200000002a6e0,
|
2133 |
-
0x2a7000002b73a,
|
2134 |
-
0x2b7400002b81e,
|
2135 |
-
0x2b8200002cea2,
|
2136 |
-
0x2ceb00002ebe1,
|
2137 |
-
0x300000003134b,
|
2138 |
-
0x31350000323b0,
|
2139 |
-
),
|
2140 |
-
'CONTEXTJ': (
|
2141 |
-
0x200c0000200e,
|
2142 |
-
),
|
2143 |
-
'CONTEXTO': (
|
2144 |
-
0xb7000000b8,
|
2145 |
-
0x37500000376,
|
2146 |
-
0x5f3000005f5,
|
2147 |
-
0x6600000066a,
|
2148 |
-
0x6f0000006fa,
|
2149 |
-
0x30fb000030fc,
|
2150 |
-
),
|
2151 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/resolvelib/providers.py
DELETED
@@ -1,133 +0,0 @@
|
|
1 |
-
class AbstractProvider(object):
|
2 |
-
"""Delegate class to provide the required interface for the resolver."""
|
3 |
-
|
4 |
-
def identify(self, requirement_or_candidate):
|
5 |
-
"""Given a requirement, return an identifier for it.
|
6 |
-
|
7 |
-
This is used to identify a requirement, e.g. whether two requirements
|
8 |
-
should have their specifier parts merged.
|
9 |
-
"""
|
10 |
-
raise NotImplementedError
|
11 |
-
|
12 |
-
def get_preference(
|
13 |
-
self,
|
14 |
-
identifier,
|
15 |
-
resolutions,
|
16 |
-
candidates,
|
17 |
-
information,
|
18 |
-
backtrack_causes,
|
19 |
-
):
|
20 |
-
"""Produce a sort key for given requirement based on preference.
|
21 |
-
|
22 |
-
The preference is defined as "I think this requirement should be
|
23 |
-
resolved first". The lower the return value is, the more preferred
|
24 |
-
this group of arguments is.
|
25 |
-
|
26 |
-
:param identifier: An identifier as returned by ``identify()``. This
|
27 |
-
identifies the dependency matches which should be returned.
|
28 |
-
:param resolutions: Mapping of candidates currently pinned by the
|
29 |
-
resolver. Each key is an identifier, and the value is a candidate.
|
30 |
-
The candidate may conflict with requirements from ``information``.
|
31 |
-
:param candidates: Mapping of each dependency's possible candidates.
|
32 |
-
Each value is an iterator of candidates.
|
33 |
-
:param information: Mapping of requirement information of each package.
|
34 |
-
Each value is an iterator of *requirement information*.
|
35 |
-
:param backtrack_causes: Sequence of requirement information that were
|
36 |
-
the requirements that caused the resolver to most recently backtrack.
|
37 |
-
|
38 |
-
A *requirement information* instance is a named tuple with two members:
|
39 |
-
|
40 |
-
* ``requirement`` specifies a requirement contributing to the current
|
41 |
-
list of candidates.
|
42 |
-
* ``parent`` specifies the candidate that provides (depended on) the
|
43 |
-
requirement, or ``None`` to indicate a root requirement.
|
44 |
-
|
45 |
-
The preference could depend on various issues, including (not
|
46 |
-
necessarily in this order):
|
47 |
-
|
48 |
-
* Is this package pinned in the current resolution result?
|
49 |
-
* How relaxed is the requirement? Stricter ones should probably be
|
50 |
-
worked on first? (I don't know, actually.)
|
51 |
-
* How many possibilities are there to satisfy this requirement? Those
|
52 |
-
with few left should likely be worked on first, I guess?
|
53 |
-
* Are there any known conflicts for this requirement? We should
|
54 |
-
probably work on those with the most known conflicts.
|
55 |
-
|
56 |
-
A sortable value should be returned (this will be used as the ``key``
|
57 |
-
parameter of the built-in sorting function). The smaller the value is,
|
58 |
-
the more preferred this requirement is (i.e. the sorting function
|
59 |
-
is called with ``reverse=False``).
|
60 |
-
"""
|
61 |
-
raise NotImplementedError
|
62 |
-
|
63 |
-
def find_matches(self, identifier, requirements, incompatibilities):
|
64 |
-
"""Find all possible candidates that satisfy the given constraints.
|
65 |
-
|
66 |
-
:param identifier: An identifier as returned by ``identify()``. This
|
67 |
-
identifies the dependency matches of which should be returned.
|
68 |
-
:param requirements: A mapping of requirements that all returned
|
69 |
-
candidates must satisfy. Each key is an identifier, and the value
|
70 |
-
an iterator of requirements for that dependency.
|
71 |
-
:param incompatibilities: A mapping of known incompatibilities of
|
72 |
-
each dependency. Each key is an identifier, and the value an
|
73 |
-
iterator of incompatibilities known to the resolver. All
|
74 |
-
incompatibilities *must* be excluded from the return value.
|
75 |
-
|
76 |
-
This should try to get candidates based on the requirements' types.
|
77 |
-
For VCS, local, and archive requirements, the one-and-only match is
|
78 |
-
returned, and for a "named" requirement, the index(es) should be
|
79 |
-
consulted to find concrete candidates for this requirement.
|
80 |
-
|
81 |
-
The return value should produce candidates ordered by preference; the
|
82 |
-
most preferred candidate should come first. The return type may be one
|
83 |
-
of the following:
|
84 |
-
|
85 |
-
* A callable that returns an iterator that yields candidates.
|
86 |
-
* An collection of candidates.
|
87 |
-
* An iterable of candidates. This will be consumed immediately into a
|
88 |
-
list of candidates.
|
89 |
-
"""
|
90 |
-
raise NotImplementedError
|
91 |
-
|
92 |
-
def is_satisfied_by(self, requirement, candidate):
|
93 |
-
"""Whether the given requirement can be satisfied by a candidate.
|
94 |
-
|
95 |
-
The candidate is guaranteed to have been generated from the
|
96 |
-
requirement.
|
97 |
-
|
98 |
-
A boolean should be returned to indicate whether ``candidate`` is a
|
99 |
-
viable solution to the requirement.
|
100 |
-
"""
|
101 |
-
raise NotImplementedError
|
102 |
-
|
103 |
-
def get_dependencies(self, candidate):
|
104 |
-
"""Get dependencies of a candidate.
|
105 |
-
|
106 |
-
This should return a collection of requirements that `candidate`
|
107 |
-
specifies as its dependencies.
|
108 |
-
"""
|
109 |
-
raise NotImplementedError
|
110 |
-
|
111 |
-
|
112 |
-
class AbstractResolver(object):
|
113 |
-
"""The thing that performs the actual resolution work."""
|
114 |
-
|
115 |
-
base_exception = Exception
|
116 |
-
|
117 |
-
def __init__(self, provider, reporter):
|
118 |
-
self.provider = provider
|
119 |
-
self.reporter = reporter
|
120 |
-
|
121 |
-
def resolve(self, requirements, **kwargs):
|
122 |
-
"""Take a collection of constraints, spit out the resolution result.
|
123 |
-
|
124 |
-
This returns a representation of the final resolution state, with one
|
125 |
-
guarenteed attribute ``mapping`` that contains resolved candidates as
|
126 |
-
values. The keys are their respective identifiers.
|
127 |
-
|
128 |
-
:param requirements: A collection of constraints.
|
129 |
-
:param kwargs: Additional keyword arguments that subclasses may accept.
|
130 |
-
|
131 |
-
:raises: ``self.base_exception`` or its subclass.
|
132 |
-
"""
|
133 |
-
raise NotImplementedError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Audio-AGI/AudioSep/models/CLAP/training/lp_main.py
DELETED
@@ -1,670 +0,0 @@
|
|
1 |
-
from cmath import cos
|
2 |
-
from inspect import getargs
|
3 |
-
import logging
|
4 |
-
import os
|
5 |
-
import random
|
6 |
-
from datetime import datetime
|
7 |
-
import bisect
|
8 |
-
import copy
|
9 |
-
from sched import scheduler
|
10 |
-
import numpy as np
|
11 |
-
import torch
|
12 |
-
import torch.backends.cudnn as cudnn
|
13 |
-
from torch import optim
|
14 |
-
from torch.cuda.amp import GradScaler
|
15 |
-
import faulthandler
|
16 |
-
import pathlib
|
17 |
-
import argparse
|
18 |
-
import time
|
19 |
-
|
20 |
-
try:
|
21 |
-
import wandb
|
22 |
-
except ImportError:
|
23 |
-
wandb = None
|
24 |
-
|
25 |
-
try:
|
26 |
-
import torch.utils.tensorboard as tensorboard
|
27 |
-
except ImportError:
|
28 |
-
tensorboard = None
|
29 |
-
|
30 |
-
try:
|
31 |
-
import horovod.torch as hvd
|
32 |
-
except ImportError:
|
33 |
-
hvd = None
|
34 |
-
|
35 |
-
from open_clip import create_model_and_transforms, trace_model, create_model
|
36 |
-
from training.data import get_data
|
37 |
-
from training.params import parse_args
|
38 |
-
from training.distributed import is_master, init_distributed_device, world_info_from_env
|
39 |
-
from training.logger import setup_logging
|
40 |
-
from training.scheduler import cosine_lr
|
41 |
-
from training.lp_train import train_one_epoch, evaluate
|
42 |
-
from open_clip.utils import get_tar_path_from_dataset_name, dataset_split, get_optimizer
|
43 |
-
from open_clip.utils import load_p, load_class_label
|
44 |
-
from open_clip.linear_probe import LinearProbe
|
45 |
-
|
46 |
-
|
47 |
-
def maintain_ckpts(args, startidx, all_idx_len):
|
48 |
-
for i in reversed(range(startidx, all_idx_len)):
|
49 |
-
if os.path.exists(os.path.join(args.checkpoint_path, f"epoch_top_{i}.pt")):
|
50 |
-
os.rename(
|
51 |
-
os.path.join(args.checkpoint_path, f"epoch_top_{i}.pt"),
|
52 |
-
os.path.join(args.checkpoint_path, f"epoch_top_{i+1}.pt"),
|
53 |
-
)
|
54 |
-
if os.path.exists(
|
55 |
-
os.path.join(args.checkpoint_path, f"epoch_top_{all_idx_len}.pt")
|
56 |
-
):
|
57 |
-
os.remove(os.path.join(args.checkpoint_path, f"epoch_top_{all_idx_len}.pt"))
|
58 |
-
return
|
59 |
-
|
60 |
-
|
61 |
-
def update_top_k_performance(
|
62 |
-
new_metrics_inputs, current_top_k_ckpt_metrics, args, ckpt, bignumbetter=True
|
63 |
-
):
|
64 |
-
"""
|
65 |
-
Record the top-k performance of the current epoch.
|
66 |
-
current_top_k_metrics is a dictionary of the form: {1: top_1_ckpt_measure, 2: top_2_ckpt_measure, ...}
|
67 |
-
"""
|
68 |
-
if isinstance(new_metrics_inputs, (list, tuple)):
|
69 |
-
new_metrics_inputs = np.mean(new_metrics_inputs)
|
70 |
-
return update_top_k_performance(
|
71 |
-
new_metrics_inputs,
|
72 |
-
current_top_k_ckpt_metrics,
|
73 |
-
args=args,
|
74 |
-
ckpt=ckpt,
|
75 |
-
bignumbetter=bignumbetter,
|
76 |
-
)
|
77 |
-
elif isinstance(new_metrics_inputs, dict):
|
78 |
-
new_metrics_inputs = np.mean(list(new_metrics_inputs.values()))
|
79 |
-
return update_top_k_performance(
|
80 |
-
new_metrics_inputs,
|
81 |
-
current_top_k_ckpt_metrics,
|
82 |
-
args=args,
|
83 |
-
ckpt=ckpt,
|
84 |
-
bignumbetter=bignumbetter,
|
85 |
-
)
|
86 |
-
elif isinstance(new_metrics_inputs, (float, int)):
|
87 |
-
update_flag = {k: False for k in current_top_k_ckpt_metrics.keys()}
|
88 |
-
sorted_keys = sorted(current_top_k_ckpt_metrics.keys())
|
89 |
-
sorted_values = sorted(
|
90 |
-
current_top_k_ckpt_metrics.values(), reverse=bignumbetter
|
91 |
-
)
|
92 |
-
sorted_values_ = copy.deepcopy(sorted_values)
|
93 |
-
sorted_values.append(new_metrics_inputs)
|
94 |
-
sorted_values = sorted(sorted_values, reverse=bignumbetter)
|
95 |
-
sorted_values = sorted_values[:-1]
|
96 |
-
|
97 |
-
if sorted_values == sorted_values_:
|
98 |
-
return current_top_k_ckpt_metrics, new_metrics_inputs
|
99 |
-
else:
|
100 |
-
for i in range(len(sorted_keys)):
|
101 |
-
if current_top_k_ckpt_metrics[sorted_keys[i]] != sorted_values[i]:
|
102 |
-
current_top_k_ckpt_metrics[sorted_keys[i]] = sorted_values[i]
|
103 |
-
update_flag[sorted_keys[i]] = True
|
104 |
-
for i in range(len(update_flag)):
|
105 |
-
if update_flag[i]:
|
106 |
-
maintain_ckpts(args, i, len(sorted_keys))
|
107 |
-
torch.save(
|
108 |
-
ckpt,
|
109 |
-
os.path.join(args.checkpoint_path, f"epoch_top_{i}.pt"),
|
110 |
-
)
|
111 |
-
break
|
112 |
-
return current_top_k_ckpt_metrics, new_metrics_inputs
|
113 |
-
|
114 |
-
|
115 |
-
# def updateifNone(a, b):
|
116 |
-
# a = b if None else a
|
117 |
-
# return a
|
118 |
-
|
119 |
-
|
120 |
-
def is_pretrained_params(n):
|
121 |
-
return (
|
122 |
-
n.startswith("clap_model.transformer")
|
123 |
-
or n in ["clap_model.positional_embedding", "clap_model.text_projection"]
|
124 |
-
or n.startswith("clap_model.token_embedding")
|
125 |
-
or n.startswith("clap_model.ln_final")
|
126 |
-
or n.startswith("clap_model.logit_scale_t")
|
127 |
-
)
|
128 |
-
|
129 |
-
|
130 |
-
def random_seed(seed=42, rank=0):
|
131 |
-
torch.manual_seed(seed + rank)
|
132 |
-
np.random.seed(seed + rank)
|
133 |
-
random.seed(seed + rank)
|
134 |
-
|
135 |
-
|
136 |
-
def config_lp_optimizer(model, data, args):
|
137 |
-
# set wd-related params to 0 if use adam optimizer
|
138 |
-
if args.optimizer == "adam":
|
139 |
-
args.wd = 0
|
140 |
-
args.wd_pretrained = 0
|
141 |
-
args.wd_new = 0
|
142 |
-
|
143 |
-
in_clap = lambda n, p: n.startswith("clap_model")
|
144 |
-
|
145 |
-
named_parameters = list(model.named_parameters())
|
146 |
-
|
147 |
-
optimizer = {}
|
148 |
-
scheduler = {}
|
149 |
-
|
150 |
-
# freeze text encoder
|
151 |
-
text_freeze_parameters = [
|
152 |
-
p
|
153 |
-
for n, p in named_parameters
|
154 |
-
if n.startswith("clap_model.transformer")
|
155 |
-
or n in ["clap_model.positional_embedding", "clap_model.text_projection"]
|
156 |
-
or n.startswith("clap_model.token_embedding")
|
157 |
-
or n.startswith("clap_model.ln_final")
|
158 |
-
]
|
159 |
-
|
160 |
-
if args.freeze_text:
|
161 |
-
logging.info("Freeze Text!!!!")
|
162 |
-
for k in text_freeze_parameters:
|
163 |
-
k.requires_grad = False
|
164 |
-
|
165 |
-
if not args.lp_freeze:
|
166 |
-
exclude = (
|
167 |
-
lambda n, p: p.ndim < 2
|
168 |
-
or "bn" in n
|
169 |
-
or "ln" in n
|
170 |
-
or "bias" in n
|
171 |
-
or "logit_scale" in n
|
172 |
-
)
|
173 |
-
include = lambda n, p: not exclude(n, p)
|
174 |
-
|
175 |
-
# (yusong): we do not split the learning rate anymore
|
176 |
-
# p for n, p in named_parameters if in_clap(n,p) and exclude(n, p) and p.requires_grad
|
177 |
-
gain_or_bias_params = [
|
178 |
-
p for n, p in named_parameters if exclude(n, p) and p.requires_grad
|
179 |
-
]
|
180 |
-
# rest_params = [p for n, p in named_parameters if in_clap(n,p) and include(n, p) and p.requires_grad]
|
181 |
-
rest_params = [
|
182 |
-
p for n, p in named_parameters if include(n, p) and p.requires_grad
|
183 |
-
]
|
184 |
-
|
185 |
-
if args.train_data is None:
|
186 |
-
optimizer = None
|
187 |
-
scheduler = None
|
188 |
-
else:
|
189 |
-
total_steps = data["train"].dataloader.num_batches * args.epochs
|
190 |
-
|
191 |
-
if args.split_opt:
|
192 |
-
for x in ["lr", "beta1", "beta2", "eps", "wd"]:
|
193 |
-
for y in ["_new", "_pretrained"]:
|
194 |
-
if getattr(args, x + y) is None:
|
195 |
-
setattr(args, x + y, getattr(args, x))
|
196 |
-
|
197 |
-
gain_or_bias_pretrained_params = [
|
198 |
-
p
|
199 |
-
for n, p in named_parameters
|
200 |
-
if (exclude(n, p) and p.requires_grad) and is_pretrained_params(n)
|
201 |
-
]
|
202 |
-
rest_pretrained_params = [
|
203 |
-
p
|
204 |
-
for n, p in named_parameters
|
205 |
-
if (include(n, p) and p.requires_grad) and is_pretrained_params(n)
|
206 |
-
]
|
207 |
-
gain_or_bias_new_params = [
|
208 |
-
p
|
209 |
-
for n, p in named_parameters
|
210 |
-
if (exclude(n, p) and p.requires_grad)
|
211 |
-
and (not is_pretrained_params(n))
|
212 |
-
]
|
213 |
-
rest_new_params = [
|
214 |
-
p
|
215 |
-
for n, p in named_parameters
|
216 |
-
if (include(n, p) and p.requires_grad)
|
217 |
-
and (not is_pretrained_params(n))
|
218 |
-
]
|
219 |
-
|
220 |
-
pretrained_params_optimizer = get_optimizer(
|
221 |
-
[
|
222 |
-
{"params": gain_or_bias_pretrained_params, "weight_decay": 0.0},
|
223 |
-
{
|
224 |
-
"params": rest_pretrained_params,
|
225 |
-
"weight_decay": args.wd_pretrained,
|
226 |
-
},
|
227 |
-
],
|
228 |
-
lr=args.lr_pretrained,
|
229 |
-
betas=(args.beta1_pretrained, args.beta2_pretrained),
|
230 |
-
eps=args.eps_pretrained,
|
231 |
-
momentum=args.momentum_pretrained,
|
232 |
-
optimizer_name=args.optimizer,
|
233 |
-
)
|
234 |
-
pretrained_params_scheduler = cosine_lr(
|
235 |
-
pretrained_params_optimizer,
|
236 |
-
args.lr_pretrained,
|
237 |
-
args.warmup,
|
238 |
-
total_steps,
|
239 |
-
)
|
240 |
-
|
241 |
-
new_params_optimizer = get_optimizer(
|
242 |
-
[
|
243 |
-
{"params": gain_or_bias_new_params, "weight_decay": 0.0},
|
244 |
-
{"params": rest_new_params, "weight_decay": args.wd_new},
|
245 |
-
],
|
246 |
-
lr=args.lr_new,
|
247 |
-
betas=(args.beta1_new, args.beta2_new),
|
248 |
-
eps=args.eps_new,
|
249 |
-
momentum=args.momentum_new,
|
250 |
-
optimizer_name=args.optimizer,
|
251 |
-
)
|
252 |
-
new_params_scheduler = cosine_lr(
|
253 |
-
new_params_optimizer, args.lr_new, args.warmup, total_steps
|
254 |
-
)
|
255 |
-
|
256 |
-
optimizer["text"] = pretrained_params_optimizer
|
257 |
-
optimizer["audio"] = new_params_optimizer
|
258 |
-
scheduler["text"] = pretrained_params_scheduler
|
259 |
-
scheduler["audio"] = new_params_scheduler
|
260 |
-
|
261 |
-
if args.horovod:
|
262 |
-
pretrained_params_optimizer = hvd.DistributedOptimizer(
|
263 |
-
pretrained_params_optimizer,
|
264 |
-
named_parameters=model.named_parameters(),
|
265 |
-
)
|
266 |
-
new_params_optimizer = hvd.DistributedOptimizer(
|
267 |
-
new_params_optimizer, named_parameters=model.named_parameters()
|
268 |
-
)
|
269 |
-
hvd.broadcast_parameters(model.state_dict(), root_rank=0)
|
270 |
-
hvd.broadcast_optimizer_state(
|
271 |
-
pretrained_params_optimizer, root_rank=0
|
272 |
-
)
|
273 |
-
hvd.broadcast_optimizer_state(new_params_optimizer, root_rank=0)
|
274 |
-
else:
|
275 |
-
|
276 |
-
optimizer["clap"] = get_optimizer(
|
277 |
-
[
|
278 |
-
{"params": gain_or_bias_params, "weight_decay": 0.0},
|
279 |
-
{"params": rest_params, "weight_decay": args.wd},
|
280 |
-
],
|
281 |
-
lr=args.lr,
|
282 |
-
betas=(args.beta1, args.beta2),
|
283 |
-
eps=args.eps,
|
284 |
-
momentum=args.momentum,
|
285 |
-
optimizer_name=args.optimizer,
|
286 |
-
)
|
287 |
-
scheduler["clap"] = cosine_lr(
|
288 |
-
optimizer["clap"], args.lr, args.warmup, total_steps
|
289 |
-
)
|
290 |
-
|
291 |
-
if args.horovod:
|
292 |
-
optimizer["clap"] = hvd.DistributedOptimizer(
|
293 |
-
optimizer["clap"], named_parameters=model.named_parameters()
|
294 |
-
)
|
295 |
-
hvd.broadcast_parameters(model.state_dict(), root_rank=0)
|
296 |
-
hvd.broadcast_optimizer_state(optimizer["clap"], root_rank=0)
|
297 |
-
|
298 |
-
# linear probe optimizer
|
299 |
-
else:
|
300 |
-
lp_params = [
|
301 |
-
p for n, p in named_parameters if (not in_clap(n, p)) and p.requires_grad
|
302 |
-
]
|
303 |
-
lp_optim = get_optimizer(
|
304 |
-
lp_params,
|
305 |
-
lr=args.lp_lr,
|
306 |
-
betas=(args.beta1, args.beta2),
|
307 |
-
eps=args.eps,
|
308 |
-
momentum=0.9,
|
309 |
-
optimizer_name=args.optimizer,
|
310 |
-
)
|
311 |
-
optimizer["lp"] = lp_optim
|
312 |
-
|
313 |
-
return optimizer, scheduler, text_freeze_parameters
|
314 |
-
|
315 |
-
|
316 |
-
def main():
|
317 |
-
args = parse_args()
|
318 |
-
|
319 |
-
time.sleep(args.sleep)
|
320 |
-
|
321 |
-
# sanitize model name for filesystem / uri use, easier if we don't use / in name as a rule?
|
322 |
-
args.amodel = args.amodel.replace("/", "-")
|
323 |
-
# download sizes.json file
|
324 |
-
|
325 |
-
# (yusong): the below two lines are for debug
|
326 |
-
# print("setting up faulthandler")
|
327 |
-
# faulthandler.register(10)
|
328 |
-
|
329 |
-
random.seed(args.seed)
|
330 |
-
torch.manual_seed(args.seed)
|
331 |
-
torch.cuda.manual_seed(args.seed)
|
332 |
-
torch.cuda.manual_seed_all(args.seed)
|
333 |
-
np.random.seed(args.seed)
|
334 |
-
args.class_index_dict = load_class_label(args.class_label_path)
|
335 |
-
|
336 |
-
# get the name of the experiments
|
337 |
-
if args.name is None:
|
338 |
-
args.name = "-".join(
|
339 |
-
[
|
340 |
-
datetime.now().strftime("%Y_%m_%d-%H_%M_%S"),
|
341 |
-
f"linear_probe" f"model_{args.amodel}",
|
342 |
-
f"lr_{args.lr}",
|
343 |
-
f"b_{args.batch_size}",
|
344 |
-
f"j_{args.workers}",
|
345 |
-
f"p_{args.precision}",
|
346 |
-
]
|
347 |
-
)
|
348 |
-
|
349 |
-
# discover initial world args early so we can log properly
|
350 |
-
args.distributed = False
|
351 |
-
args.local_rank, args.rank, args.world_size = world_info_from_env()
|
352 |
-
|
353 |
-
if args.remotedata and is_master(args):
|
354 |
-
for dataset_name in args.datasetnames:
|
355 |
-
for split in dataset_split[dataset_name]:
|
356 |
-
if not os.path.exists(f"./json_files/{dataset_name}/{split}"):
|
357 |
-
os.makedirs(f"./json_files/{dataset_name}/{split}")
|
358 |
-
os.system(
|
359 |
-
f"aws s3 cp s3://s-laion-audio/webdataset_tar/{dataset_name}/{split}/sizes.json ./json_files/{dataset_name}/{split}/sizes.json"
|
360 |
-
)
|
361 |
-
|
362 |
-
args.log_path = None
|
363 |
-
if is_master(args, local=args.log_local):
|
364 |
-
log_base_path = os.path.join(args.logs, args.name)
|
365 |
-
os.makedirs(log_base_path, exist_ok=True)
|
366 |
-
log_filename = f"out-{args.rank}" if args.log_local else "out.log"
|
367 |
-
args.log_path = os.path.join(log_base_path, log_filename)
|
368 |
-
|
369 |
-
# avoid log dir in same name:
|
370 |
-
postfix = 0
|
371 |
-
while os.path.exists(args.log_path):
|
372 |
-
postfix += 1
|
373 |
-
log_base_path_new = log_base_path + "-" + str(postfix)
|
374 |
-
os.makedirs(log_base_path_new, exist_ok=True)
|
375 |
-
log_filename = f"out-{args.rank}" if args.log_local else "out.log"
|
376 |
-
args.log_path = os.path.join(log_base_path_new, log_filename)
|
377 |
-
# print(
|
378 |
-
# "Error. Experiment already exists. Use --name {} to specify a new experiment."
|
379 |
-
# )
|
380 |
-
# return -1
|
381 |
-
|
382 |
-
# Set logger
|
383 |
-
args.log_level = logging.DEBUG if args.debug else logging.INFO
|
384 |
-
setup_logging(args.log_path, args.log_level)
|
385 |
-
|
386 |
-
# fully initialize distributed device environment
|
387 |
-
device = init_distributed_device(args)
|
388 |
-
|
389 |
-
args.wandb = "wandb" in args.report_to or "all" in args.report_to
|
390 |
-
args.tensorboard = "tensorboard" in args.report_to or "all" in args.report_to
|
391 |
-
if is_master(args):
|
392 |
-
args.tensorboard_path = (
|
393 |
-
os.path.join(args.logs, args.name, "tensorboard")
|
394 |
-
if args.tensorboard
|
395 |
-
else ""
|
396 |
-
)
|
397 |
-
args.checkpoint_path = os.path.join(args.logs, args.name, "checkpoints")
|
398 |
-
for dirname in [args.tensorboard_path, args.checkpoint_path]:
|
399 |
-
if dirname:
|
400 |
-
os.makedirs(dirname, exist_ok=True)
|
401 |
-
else:
|
402 |
-
args.tensorboard_path = ""
|
403 |
-
args.checkpoint_path = ""
|
404 |
-
|
405 |
-
if args.copy_codebase:
|
406 |
-
copy_codebase(args)
|
407 |
-
|
408 |
-
assert args.precision in ["amp", "fp16", "fp32"]
|
409 |
-
if args.precision == "fp16":
|
410 |
-
logging.warning(
|
411 |
-
"It is recommended to use AMP mixed-precision instead of FP16. "
|
412 |
-
"FP16 support needs further verification and tuning, especially for train."
|
413 |
-
)
|
414 |
-
|
415 |
-
if args.horovod:
|
416 |
-
logging.info(
|
417 |
-
f"Running in horovod mode with multiple processes / nodes. Device: {args.device}."
|
418 |
-
f"Process (global: {args.rank}, local {args.local_rank}), total {args.world_size}."
|
419 |
-
)
|
420 |
-
elif args.distributed:
|
421 |
-
logging.info(
|
422 |
-
f"Running in distributed mode with multiple processes. Device: {args.device}."
|
423 |
-
f"Process (global: {args.rank}, local {args.local_rank}), total {args.world_size}."
|
424 |
-
)
|
425 |
-
else:
|
426 |
-
logging.info(f"Running with a single process. Device {args.device}.")
|
427 |
-
|
428 |
-
logging.info(f"openai cache dir: {os.path.expanduser(args.openai_model_cache_dir)}")
|
429 |
-
|
430 |
-
# Create CLAP model
|
431 |
-
clap_model, clap_model_cfg = create_model(
|
432 |
-
args.amodel,
|
433 |
-
args.tmodel,
|
434 |
-
args.pretrained,
|
435 |
-
precision=args.precision,
|
436 |
-
device=device,
|
437 |
-
jit=args.torchscript,
|
438 |
-
force_quick_gelu=args.force_quick_gelu,
|
439 |
-
openai_model_cache_dir=os.path.expanduser(args.openai_model_cache_dir),
|
440 |
-
skip_params=False,
|
441 |
-
pretrained_audio=args.pretrained_audio,
|
442 |
-
pretrained_text=args.pretrained_text,
|
443 |
-
enable_fusion=args.enable_fusion,
|
444 |
-
fusion_type=args.fusion_type,
|
445 |
-
)
|
446 |
-
|
447 |
-
args.lp_out_ch = len(list(args.class_index_dict.keys()))
|
448 |
-
# Linear Probe
|
449 |
-
logging.info(f"linear probe using mlp: {args.lp_mlp}")
|
450 |
-
logging.info(f"linear probe using freeze: {args.lp_freeze}")
|
451 |
-
logging.info(f"linear probe act layer: {args.lp_act}")
|
452 |
-
logging.info(f"linear probe out ch: {args.lp_out_ch}")
|
453 |
-
logging.info(f"linear probe learning rate (if applicable): {args.lp_lr}")
|
454 |
-
logging.info(f"linear probe loss func: {args.lp_loss}")
|
455 |
-
logging.info(f"linear probe lp_metrics: {args.lp_metrics}")
|
456 |
-
|
457 |
-
model = LinearProbe(
|
458 |
-
clap_model,
|
459 |
-
mlp=args.lp_mlp,
|
460 |
-
freeze=args.lp_freeze,
|
461 |
-
in_ch=512,
|
462 |
-
out_ch=args.lp_out_ch,
|
463 |
-
act=args.lp_act,
|
464 |
-
) # in_ch is fixed (i.e., 512)
|
465 |
-
model = model.to(device)
|
466 |
-
|
467 |
-
if args.horovod:
|
468 |
-
with torch.no_grad():
|
469 |
-
for param in model.parameters():
|
470 |
-
param.set_(param.contiguous())
|
471 |
-
|
472 |
-
if args.trace:
|
473 |
-
model = trace_model(model, batch_size=args.batch_size, device=device)
|
474 |
-
|
475 |
-
if is_master(args):
|
476 |
-
logging.info("Linear Probe CLAP Model:")
|
477 |
-
logging.info(f"{str(clap_model)}")
|
478 |
-
logging.info("Params:")
|
479 |
-
params_file = os.path.join(args.logs, args.name, "params.txt")
|
480 |
-
with open(params_file, "w") as f:
|
481 |
-
for name in sorted(vars(args)):
|
482 |
-
val = getattr(args, name)
|
483 |
-
logging.info(f" {name}: {val}")
|
484 |
-
f.write(f"{name}: {val}\n")
|
485 |
-
|
486 |
-
if args.distributed and not args.horovod:
|
487 |
-
if args.use_bn_sync:
|
488 |
-
model = torch.nn.SyncBatchNorm.convert_sync_batchnorm(model)
|
489 |
-
ddp_args = {}
|
490 |
-
if args.ddp_static_graph:
|
491 |
-
# this doesn't exist in older PyTorch, arg only added if enabled
|
492 |
-
ddp_args["static_graph"] = True
|
493 |
-
model = torch.nn.parallel.DistributedDataParallel(
|
494 |
-
model, device_ids=[device], find_unused_parameters=True, **ddp_args
|
495 |
-
)
|
496 |
-
|
497 |
-
data = get_data(args, clap_model_cfg)
|
498 |
-
assert len(data), "At least one train or eval dataset must be specified."
|
499 |
-
if args.trace:
|
500 |
-
assert "train" not in data, "Cannot train with traced model"
|
501 |
-
|
502 |
-
optimizer, scheduler, text_freeze_parameters = config_lp_optimizer(
|
503 |
-
model, data, args
|
504 |
-
)
|
505 |
-
|
506 |
-
scaler = GradScaler() if args.precision == "amp" else None
|
507 |
-
|
508 |
-
# optionally resume from a checkpoint
|
509 |
-
start_epoch = 0
|
510 |
-
if args.resume is not None:
|
511 |
-
if os.path.isfile(args.resume):
|
512 |
-
checkpoint = torch.load(args.resume, map_location=device)
|
513 |
-
if "epoch" in checkpoint:
|
514 |
-
# resuming a train checkpoint w/ epoch and optimizer state
|
515 |
-
start_epoch = checkpoint["epoch"]
|
516 |
-
sd = checkpoint["state_dict"]
|
517 |
-
if not args.distributed and next(iter(sd.items()))[0].startswith(
|
518 |
-
"module"
|
519 |
-
):
|
520 |
-
sd = {k[len("module.") :]: v for k, v in sd.items()}
|
521 |
-
model.load_state_dict(sd)
|
522 |
-
if args.split_opt:
|
523 |
-
if optimizer is not None:
|
524 |
-
for k, o_ in optimizer.items():
|
525 |
-
o_.load_state_dict(checkpoint[k + "_" + "optimizer"])
|
526 |
-
if optimizer is not None:
|
527 |
-
optimizer.load_state_dict(checkpoint["optimizer"])
|
528 |
-
if scaler is not None and "scaler" in checkpoint:
|
529 |
-
scaler.load_state_dict(checkpoint["scaler"])
|
530 |
-
logging.info(
|
531 |
-
f"=> resuming checkpoint '{args.resume}' (epoch {start_epoch})"
|
532 |
-
)
|
533 |
-
else:
|
534 |
-
# loading a bare (model only) checkpoint for fine-tune or evaluation
|
535 |
-
model.load_state_dict(checkpoint)
|
536 |
-
logging.info(
|
537 |
-
f"=> loaded checkpoint '{args.resume}' (epoch {start_epoch})"
|
538 |
-
)
|
539 |
-
if args.freeze_text:
|
540 |
-
print("Freeze Text!!!!")
|
541 |
-
for k in text_freeze_parameters:
|
542 |
-
k.requires_grad = False
|
543 |
-
else:
|
544 |
-
logging.info("=> no checkpoint found at '{}'".format(args.resume))
|
545 |
-
|
546 |
-
cudnn.benchmark = True
|
547 |
-
cudnn.deterministic = False
|
548 |
-
|
549 |
-
# determine if this worker should save logs and checkpoints. only do so if it is rank == 0
|
550 |
-
args.save_logs = args.logs and args.logs.lower() != "none" and is_master(args)
|
551 |
-
writer = None
|
552 |
-
if args.save_logs and args.tensorboard:
|
553 |
-
assert tensorboard is not None, "Please install tensorboard."
|
554 |
-
writer = tensorboard.SummaryWriter(args.tensorboard_path)
|
555 |
-
|
556 |
-
if args.wandb and is_master(args):
|
557 |
-
assert wandb is not None, "Please install wandb."
|
558 |
-
logging.debug("Starting wandb.")
|
559 |
-
args.train_sz = data["train"].dataloader.num_samples
|
560 |
-
if args.val_data is not None:
|
561 |
-
args.val_sz = data["val"].dataloader.num_samples
|
562 |
-
# you will have to configure this for your project!
|
563 |
-
wandb.init(
|
564 |
-
project="clap",
|
565 |
-
notes=args.wandb_notes,
|
566 |
-
name=args.wandb_notes,
|
567 |
-
tags=[],
|
568 |
-
config=vars(args),
|
569 |
-
)
|
570 |
-
if args.debug:
|
571 |
-
wandb.watch(model, log="all")
|
572 |
-
wandb.save(params_file)
|
573 |
-
logging.debug("Finished loading wandb.")
|
574 |
-
|
575 |
-
if "train" not in data:
|
576 |
-
evaluate(model, data, start_epoch, args, writer)
|
577 |
-
return
|
578 |
-
elif start_epoch == 0 and "val" in data and not args.no_eval:
|
579 |
-
evaluate(model, data, 0, args, writer)
|
580 |
-
if args.save_top_performance:
|
581 |
-
current_top_k_ckpt_metrics = {
|
582 |
-
i: 0 for i in range(args.save_top_performance)
|
583 |
-
} # initialize the top-k metric for ckpts to 0
|
584 |
-
|
585 |
-
for epoch in range(start_epoch, args.epochs):
|
586 |
-
# freeze the text param after (include) args.freeze_text_after, this is -1 by default
|
587 |
-
if epoch == args.freeze_text_after:
|
588 |
-
print("Text pretrained parameters are freezed since this epoch.")
|
589 |
-
for k in text_freeze_parameters:
|
590 |
-
k.requires_grad = False
|
591 |
-
if is_master(args):
|
592 |
-
logging.info(f"Start epoch {epoch}")
|
593 |
-
|
594 |
-
train_one_epoch(model, data, epoch, optimizer, scaler, scheduler, args, writer)
|
595 |
-
completed_epoch = epoch + 1
|
596 |
-
|
597 |
-
if (
|
598 |
-
any(v in data for v in ("val", "imagenet-val", "imagenet-v2"))
|
599 |
-
and not args.no_eval
|
600 |
-
):
|
601 |
-
metrics = evaluate(model, data, completed_epoch, args, writer)
|
602 |
-
if args.save_top_performance:
|
603 |
-
top_k_dataset = args.top_k_checkpoint_select_dataset
|
604 |
-
top_k_metric = args.top_k_checkpoint_select_metric
|
605 |
-
filtered_metrics = [
|
606 |
-
v
|
607 |
-
for k, v in metrics.items()
|
608 |
-
if top_k_metric in k and top_k_dataset in k
|
609 |
-
] # check all R@10 metrics (all dataset) and use it to update the ckpt
|
610 |
-
# Saving checkpoints.
|
611 |
-
if args.save_logs:
|
612 |
-
opt_dict = {
|
613 |
-
k + "_" + "optimizer": v.state_dict() for k, v in optimizer.items()
|
614 |
-
}
|
615 |
-
checkpoint_dict = {
|
616 |
-
"epoch": completed_epoch,
|
617 |
-
"name": args.name,
|
618 |
-
"state_dict": model.state_dict(),
|
619 |
-
}
|
620 |
-
checkpoint_dict.update(opt_dict)
|
621 |
-
if scaler is not None:
|
622 |
-
checkpoint_dict["scaler"] = scaler.state_dict()
|
623 |
-
|
624 |
-
if completed_epoch == args.epochs or (
|
625 |
-
args.save_frequency > 0 and (completed_epoch % args.save_frequency) == 0
|
626 |
-
):
|
627 |
-
torch.save(
|
628 |
-
checkpoint_dict,
|
629 |
-
os.path.join(args.checkpoint_path, f"epoch_{completed_epoch}.pt"),
|
630 |
-
)
|
631 |
-
if args.save_most_recent:
|
632 |
-
torch.save(
|
633 |
-
checkpoint_dict,
|
634 |
-
os.path.join(args.checkpoint_path, f"epoch_latest.pt"),
|
635 |
-
)
|
636 |
-
if args.save_top_performance and not args.no_eval:
|
637 |
-
update_top_k_performance(
|
638 |
-
filtered_metrics,
|
639 |
-
current_top_k_ckpt_metrics,
|
640 |
-
args,
|
641 |
-
checkpoint_dict,
|
642 |
-
bignumbetter=True,
|
643 |
-
)
|
644 |
-
|
645 |
-
if args.wandb and is_master(args):
|
646 |
-
wandb.finish()
|
647 |
-
|
648 |
-
|
649 |
-
def copy_codebase(args):
|
650 |
-
from shutil import copytree, ignore_patterns
|
651 |
-
|
652 |
-
new_code_path = os.path.join(args.logs, args.name, "code")
|
653 |
-
if os.path.exists(new_code_path):
|
654 |
-
print(
|
655 |
-
f"Error. Experiment already exists at {new_code_path}. Use --name to specify a new experiment."
|
656 |
-
)
|
657 |
-
return -1
|
658 |
-
print(f"Copying codebase to {new_code_path}")
|
659 |
-
current_code_path = os.path.realpath(__file__)
|
660 |
-
for _ in range(3):
|
661 |
-
current_code_path = os.path.dirname(current_code_path)
|
662 |
-
copytree(
|
663 |
-
current_code_path, new_code_path, ignore=ignore_patterns("log", "logs", "wandb")
|
664 |
-
)
|
665 |
-
print("Done copying code.")
|
666 |
-
return 1
|
667 |
-
|
668 |
-
|
669 |
-
if __name__ == "__main__":
|
670 |
-
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Awiny/Image2Paragraph/models/grit_src/grit/data/custom_dataset_dataloader.py
DELETED
@@ -1,250 +0,0 @@
|
|
1 |
-
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
-
# Modified by Jialian Wu from https://github.com/facebookresearch/Detic/blob/main/detic/data/custom_dataset_dataloader.py
|
3 |
-
import operator
|
4 |
-
import torch
|
5 |
-
import torch.utils.data
|
6 |
-
from detectron2.utils.comm import get_world_size
|
7 |
-
|
8 |
-
from detectron2.config import configurable
|
9 |
-
from torch.utils.data.sampler import BatchSampler, Sampler
|
10 |
-
from detectron2.data.common import DatasetFromList, MapDataset
|
11 |
-
from detectron2.data.dataset_mapper import DatasetMapper
|
12 |
-
from detectron2.data.build import get_detection_dataset_dicts, build_batch_data_loader
|
13 |
-
from detectron2.data.samplers import TrainingSampler
|
14 |
-
from detectron2.data.build import worker_init_reset_seed, print_instances_class_histogram
|
15 |
-
from detectron2.data.build import filter_images_with_only_crowd_annotations
|
16 |
-
from detectron2.data.build import filter_images_with_few_keypoints
|
17 |
-
from detectron2.data.build import check_metadata_consistency
|
18 |
-
from detectron2.data.catalog import MetadataCatalog, DatasetCatalog
|
19 |
-
from detectron2.utils import comm
|
20 |
-
import itertools
|
21 |
-
from typing import Optional
|
22 |
-
|
23 |
-
|
24 |
-
def _custom_train_loader_from_config(cfg, mapper=None, *, dataset=None, sampler=None):
|
25 |
-
sampler_name = cfg.DATALOADER.SAMPLER_TRAIN
|
26 |
-
if 'MultiDataset' in sampler_name:
|
27 |
-
dataset_dicts = get_detection_dataset_dicts_with_source(
|
28 |
-
cfg.DATASETS.TRAIN,
|
29 |
-
filter_empty=cfg.DATALOADER.FILTER_EMPTY_ANNOTATIONS,
|
30 |
-
min_keypoints=cfg.MODEL.ROI_KEYPOINT_HEAD.MIN_KEYPOINTS_PER_IMAGE
|
31 |
-
if cfg.MODEL.KEYPOINT_ON else 0,
|
32 |
-
proposal_files=cfg.DATASETS.PROPOSAL_FILES_TRAIN if cfg.MODEL.LOAD_PROPOSALS else None,
|
33 |
-
)
|
34 |
-
else:
|
35 |
-
dataset_dicts = get_detection_dataset_dicts(
|
36 |
-
cfg.DATASETS.TRAIN,
|
37 |
-
filter_empty=cfg.DATALOADER.FILTER_EMPTY_ANNOTATIONS,
|
38 |
-
min_keypoints=cfg.MODEL.ROI_KEYPOINT_HEAD.MIN_KEYPOINTS_PER_IMAGE
|
39 |
-
if cfg.MODEL.KEYPOINT_ON else 0,
|
40 |
-
proposal_files=cfg.DATASETS.PROPOSAL_FILES_TRAIN if cfg.MODEL.LOAD_PROPOSALS else None,
|
41 |
-
)
|
42 |
-
|
43 |
-
if mapper is None:
|
44 |
-
mapper = DatasetMapper(cfg, True)
|
45 |
-
|
46 |
-
if sampler is not None:
|
47 |
-
pass
|
48 |
-
elif sampler_name == "TrainingSampler":
|
49 |
-
sampler = TrainingSampler(len(dataset))
|
50 |
-
elif sampler_name == "MultiDatasetSampler":
|
51 |
-
sampler = MultiDatasetSampler(
|
52 |
-
dataset_dicts,
|
53 |
-
dataset_ratio=cfg.DATALOADER.DATASET_RATIO,
|
54 |
-
)
|
55 |
-
else:
|
56 |
-
raise ValueError("Unknown training sampler: {}".format(sampler_name))
|
57 |
-
|
58 |
-
return {
|
59 |
-
"dataset": dataset_dicts,
|
60 |
-
"sampler": sampler,
|
61 |
-
"mapper": mapper,
|
62 |
-
"total_batch_size": cfg.SOLVER.IMS_PER_BATCH,
|
63 |
-
"num_workers": cfg.DATALOADER.NUM_WORKERS,
|
64 |
-
'dataset_bs': cfg.DATALOADER.DATASET_BS,
|
65 |
-
'num_datasets': len(cfg.DATASETS.TRAIN)
|
66 |
-
}
|
67 |
-
|
68 |
-
|
69 |
-
@configurable(from_config=_custom_train_loader_from_config)
|
70 |
-
def build_custom_train_loader(
|
71 |
-
dataset, *, mapper, sampler,
|
72 |
-
total_batch_size=16,
|
73 |
-
num_workers=0,
|
74 |
-
num_datasets=1,
|
75 |
-
dataset_bs=1
|
76 |
-
):
|
77 |
-
|
78 |
-
if isinstance(dataset, list):
|
79 |
-
dataset = DatasetFromList(dataset, copy=False)
|
80 |
-
if mapper is not None:
|
81 |
-
dataset = MapDataset(dataset, mapper)
|
82 |
-
if sampler is None:
|
83 |
-
sampler = TrainingSampler(len(dataset))
|
84 |
-
assert isinstance(sampler, torch.utils.data.sampler.Sampler)
|
85 |
-
|
86 |
-
return build_dataset_batch_data_loader(
|
87 |
-
dataset_bs,
|
88 |
-
dataset,
|
89 |
-
sampler,
|
90 |
-
total_batch_size,
|
91 |
-
num_datasets=num_datasets,
|
92 |
-
num_workers=num_workers,
|
93 |
-
)
|
94 |
-
|
95 |
-
|
96 |
-
def build_dataset_batch_data_loader(
|
97 |
-
dataset_bs, dataset, sampler, total_batch_size, num_datasets, num_workers=0
|
98 |
-
):
|
99 |
-
|
100 |
-
world_size = get_world_size()
|
101 |
-
assert (
|
102 |
-
total_batch_size > 0 and total_batch_size % world_size == 0
|
103 |
-
), "Total batch size ({}) must be divisible by the number of gpus ({}).".format(
|
104 |
-
total_batch_size, world_size
|
105 |
-
)
|
106 |
-
|
107 |
-
data_loader = torch.utils.data.DataLoader(
|
108 |
-
dataset,
|
109 |
-
sampler=sampler,
|
110 |
-
num_workers=num_workers,
|
111 |
-
batch_sampler=None,
|
112 |
-
collate_fn=operator.itemgetter(0), # don't batch, but yield individual elements
|
113 |
-
worker_init_fn=worker_init_reset_seed,
|
114 |
-
)
|
115 |
-
|
116 |
-
if num_datasets > 1:
|
117 |
-
return MultiDatasets(data_loader, dataset_bs, num_datasets)
|
118 |
-
else:
|
119 |
-
return SingleDataset(data_loader, dataset_bs)
|
120 |
-
|
121 |
-
|
122 |
-
def get_detection_dataset_dicts_with_source(
|
123 |
-
dataset_names, filter_empty=True, min_keypoints=0, proposal_files=None
|
124 |
-
):
|
125 |
-
assert len(dataset_names)
|
126 |
-
dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in dataset_names]
|
127 |
-
for dataset_name, dicts in zip(dataset_names, dataset_dicts):
|
128 |
-
assert len(dicts), "Dataset '{}' is empty!".format(dataset_name)
|
129 |
-
|
130 |
-
for source_id, (dataset_name, dicts) in \
|
131 |
-
enumerate(zip(dataset_names, dataset_dicts)):
|
132 |
-
assert len(dicts), "Dataset '{}' is empty!".format(dataset_name)
|
133 |
-
for d in dicts:
|
134 |
-
d['dataset_source'] = source_id
|
135 |
-
|
136 |
-
if "annotations" in dicts[0]:
|
137 |
-
try:
|
138 |
-
class_names = MetadataCatalog.get(dataset_name).thing_classes
|
139 |
-
check_metadata_consistency("thing_classes", dataset_name)
|
140 |
-
print_instances_class_histogram(dicts, class_names)
|
141 |
-
except AttributeError: # class names are not available for this dataset
|
142 |
-
pass
|
143 |
-
|
144 |
-
assert proposal_files is None
|
145 |
-
|
146 |
-
dataset_dicts = list(itertools.chain.from_iterable(dataset_dicts))
|
147 |
-
|
148 |
-
has_instances = "annotations" in dataset_dicts[0]
|
149 |
-
if filter_empty and has_instances:
|
150 |
-
dataset_dicts = filter_images_with_only_crowd_annotations(dataset_dicts)
|
151 |
-
if min_keypoints > 0 and has_instances:
|
152 |
-
dataset_dicts = filter_images_with_few_keypoints(dataset_dicts, min_keypoints)
|
153 |
-
|
154 |
-
return dataset_dicts
|
155 |
-
|
156 |
-
|
157 |
-
class MultiDatasetSampler(Sampler):
|
158 |
-
def __init__(
|
159 |
-
self,
|
160 |
-
dataset_dicts,
|
161 |
-
dataset_ratio,
|
162 |
-
seed: Optional[int] = None,
|
163 |
-
):
|
164 |
-
sizes = [0 for _ in range(len(dataset_ratio))]
|
165 |
-
for d in dataset_dicts:
|
166 |
-
sizes[d['dataset_source']] += 1
|
167 |
-
print('dataset sizes', sizes)
|
168 |
-
self.sizes = sizes
|
169 |
-
assert len(dataset_ratio) == len(sizes), \
|
170 |
-
'length of dataset ratio {} should be equal to number if dataset {}'.format(
|
171 |
-
len(dataset_ratio), len(sizes)
|
172 |
-
)
|
173 |
-
if seed is None:
|
174 |
-
seed = comm.shared_random_seed()
|
175 |
-
self._seed = int(seed)
|
176 |
-
self._rank = comm.get_rank()
|
177 |
-
self._world_size = comm.get_world_size()
|
178 |
-
|
179 |
-
self.dataset_ids = torch.tensor(
|
180 |
-
[d['dataset_source'] for d in dataset_dicts], dtype=torch.long)
|
181 |
-
self.dataset_ratio = dataset_ratio
|
182 |
-
|
183 |
-
dataset_weight = [torch.ones(s) * max(sizes) / s * r / sum(dataset_ratio) \
|
184 |
-
for i, (r, s) in enumerate(zip(dataset_ratio, sizes))]
|
185 |
-
dataset_weight = torch.cat(dataset_weight)
|
186 |
-
|
187 |
-
self.weights = dataset_weight
|
188 |
-
self.sample_epoch_size = len(self.weights)
|
189 |
-
|
190 |
-
def __iter__(self):
|
191 |
-
start = self._rank
|
192 |
-
yield from itertools.islice(
|
193 |
-
self._infinite_indices(), start, None, self._world_size)
|
194 |
-
|
195 |
-
def _infinite_indices(self):
|
196 |
-
g = torch.Generator()
|
197 |
-
g.manual_seed(self._seed)
|
198 |
-
while True:
|
199 |
-
if len(self.dataset_ratio) > 1:
|
200 |
-
# multiple datasets
|
201 |
-
ids = torch.multinomial(
|
202 |
-
self.weights, self.sample_epoch_size, generator=g,
|
203 |
-
replacement=True)
|
204 |
-
nums = [(self.dataset_ids[ids] == i).sum().int().item() \
|
205 |
-
for i in range(len(self.sizes))]
|
206 |
-
yield from ids
|
207 |
-
else:
|
208 |
-
# single dataset
|
209 |
-
yield from torch.randperm(self.sizes[0], generator=g).tolist()
|
210 |
-
|
211 |
-
|
212 |
-
class SingleDataset(torch.utils.data.IterableDataset):
|
213 |
-
def __init__(self, dataset, batch_sizes):
|
214 |
-
self.dataset = dataset
|
215 |
-
self.batch_sizes = batch_sizes
|
216 |
-
self._buckets = [[] for _ in range(2)]
|
217 |
-
|
218 |
-
def __iter__(self):
|
219 |
-
for d in self.dataset:
|
220 |
-
w, h = d["width"], d["height"]
|
221 |
-
aspect_ratio_bucket_id = 0 if w > h else 1
|
222 |
-
bucket_id = aspect_ratio_bucket_id
|
223 |
-
bucket = self._buckets[bucket_id]
|
224 |
-
bucket.append(d)
|
225 |
-
if len(bucket) == self.batch_sizes:
|
226 |
-
yield bucket[:]
|
227 |
-
del bucket[:]
|
228 |
-
|
229 |
-
|
230 |
-
class MultiDatasets(torch.utils.data.IterableDataset):
|
231 |
-
def __init__(self, dataset, batch_sizes, num_datasets):
|
232 |
-
self.dataset = dataset
|
233 |
-
self.batch_sizes = batch_sizes
|
234 |
-
self._buckets = [[] for _ in range(2 * num_datasets)]
|
235 |
-
self.iter_idx = 0
|
236 |
-
self.num_datasets = num_datasets
|
237 |
-
|
238 |
-
def __iter__(self):
|
239 |
-
for d in self.dataset:
|
240 |
-
w, h = d["width"], d["height"]
|
241 |
-
aspect_ratio_bucket_id = 0 if w > h else 1
|
242 |
-
bucket_id = d['dataset_source'] * 2 + aspect_ratio_bucket_id
|
243 |
-
bucket = self._buckets[bucket_id]
|
244 |
-
if len(bucket) < self.batch_sizes:
|
245 |
-
bucket.append(d)
|
246 |
-
selected_dataset = self.iter_idx % self.num_datasets
|
247 |
-
if len(bucket) == self.batch_sizes and selected_dataset == d['dataset_source']:
|
248 |
-
self.iter_idx += 1
|
249 |
-
yield bucket[:]
|
250 |
-
del bucket[:]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/.github/CODE_OF_CONDUCT.md
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
# Code of Conduct
|
2 |
-
|
3 |
-
Facebook has adopted a Code of Conduct that we expect project participants to adhere to.
|
4 |
-
Please read the [full text](https://code.fb.com/codeofconduct/)
|
5 |
-
so that you can understand what actions will and will not be tolerated.
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/GETTING_STARTED.md
DELETED
@@ -1,79 +0,0 @@
|
|
1 |
-
## Getting Started with Detectron2
|
2 |
-
|
3 |
-
This document provides a brief intro of the usage of builtin command-line tools in detectron2.
|
4 |
-
|
5 |
-
For a tutorial that involves actual coding with the API,
|
6 |
-
see our [Colab Notebook](https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5)
|
7 |
-
which covers how to run inference with an
|
8 |
-
existing model, and how to train a builtin model on a custom dataset.
|
9 |
-
|
10 |
-
|
11 |
-
### Inference Demo with Pre-trained Models
|
12 |
-
|
13 |
-
1. Pick a model and its config file from
|
14 |
-
[model zoo](MODEL_ZOO.md),
|
15 |
-
for example, `mask_rcnn_R_50_FPN_3x.yaml`.
|
16 |
-
2. We provide `demo.py` that is able to demo builtin configs. Run it with:
|
17 |
-
```
|
18 |
-
cd demo/
|
19 |
-
python demo.py --config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml \
|
20 |
-
--input input1.jpg input2.jpg \
|
21 |
-
[--other-options]
|
22 |
-
--opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
|
23 |
-
```
|
24 |
-
The configs are made for training, therefore we need to specify `MODEL.WEIGHTS` to a model from model zoo for evaluation.
|
25 |
-
This command will run the inference and show visualizations in an OpenCV window.
|
26 |
-
|
27 |
-
For details of the command line arguments, see `demo.py -h` or look at its source code
|
28 |
-
to understand its behavior. Some common arguments are:
|
29 |
-
* To run __on your webcam__, replace `--input files` with `--webcam`.
|
30 |
-
* To run __on a video__, replace `--input files` with `--video-input video.mp4`.
|
31 |
-
* To run __on cpu__, add `MODEL.DEVICE cpu` after `--opts`.
|
32 |
-
* To save outputs to a directory (for images) or a file (for webcam or video), use `--output`.
|
33 |
-
|
34 |
-
|
35 |
-
### Training & Evaluation in Command Line
|
36 |
-
|
37 |
-
We provide two scripts in "tools/plain_train_net.py" and "tools/train_net.py",
|
38 |
-
that are made to train all the configs provided in detectron2. You may want to
|
39 |
-
use it as a reference to write your own training script.
|
40 |
-
|
41 |
-
Compared to "train_net.py", "plain_train_net.py" supports fewer default
|
42 |
-
features. It also includes fewer abstraction, therefore is easier to add custom
|
43 |
-
logic.
|
44 |
-
|
45 |
-
To train a model with "train_net.py", first
|
46 |
-
setup the corresponding datasets following
|
47 |
-
[datasets/README.md](./datasets/README.md),
|
48 |
-
then run:
|
49 |
-
```
|
50 |
-
cd tools/
|
51 |
-
./train_net.py --num-gpus 8 \
|
52 |
-
--config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml
|
53 |
-
```
|
54 |
-
|
55 |
-
The configs are made for 8-GPU training.
|
56 |
-
To train on 1 GPU, you may need to [change some parameters](https://arxiv.org/abs/1706.02677), e.g.:
|
57 |
-
```
|
58 |
-
./train_net.py \
|
59 |
-
--config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml \
|
60 |
-
--num-gpus 1 SOLVER.IMS_PER_BATCH 2 SOLVER.BASE_LR 0.0025
|
61 |
-
```
|
62 |
-
|
63 |
-
To evaluate a model's performance, use
|
64 |
-
```
|
65 |
-
./train_net.py \
|
66 |
-
--config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml \
|
67 |
-
--eval-only MODEL.WEIGHTS /path/to/checkpoint_file
|
68 |
-
```
|
69 |
-
For more options, see `./train_net.py -h`.
|
70 |
-
|
71 |
-
### Use Detectron2 APIs in Your Code
|
72 |
-
|
73 |
-
See our [Colab Notebook](https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5)
|
74 |
-
to learn how to use detectron2 APIs to:
|
75 |
-
1. run inference with an existing model
|
76 |
-
2. train a builtin model on a custom dataset
|
77 |
-
|
78 |
-
See [detectron2/projects](https://github.com/facebookresearch/detectron2/tree/main/projects)
|
79 |
-
for more ways to build your project on detectron2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/tests/structures/test_imagelist.py
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
# Copyright (c) Facebook, Inc. and its affiliates.
|
2 |
-
|
3 |
-
import unittest
|
4 |
-
from typing import List, Sequence, Tuple
|
5 |
-
import torch
|
6 |
-
|
7 |
-
from detectron2.structures import ImageList
|
8 |
-
|
9 |
-
|
10 |
-
class TestImageList(unittest.TestCase):
|
11 |
-
def test_imagelist_padding_tracing(self):
|
12 |
-
# test that the trace does not contain hard-coded constant sizes
|
13 |
-
def to_imagelist(tensors: Sequence[torch.Tensor]):
|
14 |
-
image_list = ImageList.from_tensors(tensors, 4)
|
15 |
-
return image_list.tensor, image_list.image_sizes
|
16 |
-
|
17 |
-
def _tensor(*shape):
|
18 |
-
return torch.ones(shape, dtype=torch.float32)
|
19 |
-
|
20 |
-
# test CHW (inputs needs padding vs. no padding)
|
21 |
-
for shape in [(3, 10, 10), (3, 12, 12)]:
|
22 |
-
func = torch.jit.trace(to_imagelist, ([_tensor(*shape)],))
|
23 |
-
tensor, image_sizes = func([_tensor(3, 15, 20)])
|
24 |
-
self.assertEqual(tensor.shape, (1, 3, 16, 20), tensor.shape)
|
25 |
-
self.assertEqual(image_sizes[0].tolist(), [15, 20], image_sizes[0])
|
26 |
-
|
27 |
-
# test HW
|
28 |
-
func = torch.jit.trace(to_imagelist, ([_tensor(10, 10)],))
|
29 |
-
tensor, image_sizes = func([_tensor(15, 20)])
|
30 |
-
self.assertEqual(tensor.shape, (1, 16, 20), tensor.shape)
|
31 |
-
self.assertEqual(image_sizes[0].tolist(), [15, 20], image_sizes[0])
|
32 |
-
|
33 |
-
# test 2x CHW
|
34 |
-
func = torch.jit.trace(
|
35 |
-
to_imagelist,
|
36 |
-
([_tensor(3, 16, 10), _tensor(3, 13, 11)],),
|
37 |
-
)
|
38 |
-
tensor, image_sizes = func([_tensor(3, 25, 20), _tensor(3, 10, 10)])
|
39 |
-
self.assertEqual(tensor.shape, (2, 3, 28, 20), tensor.shape)
|
40 |
-
self.assertEqual(image_sizes[0].tolist(), [25, 20], image_sizes[0])
|
41 |
-
self.assertEqual(image_sizes[1].tolist(), [10, 10], image_sizes[1])
|
42 |
-
# support calling with different spatial sizes, but not with different #images
|
43 |
-
|
44 |
-
def test_imagelist_scriptability(self):
|
45 |
-
image_nums = 2
|
46 |
-
image_tensor = torch.randn((image_nums, 10, 20), dtype=torch.float32)
|
47 |
-
image_shape = [(10, 20)] * image_nums
|
48 |
-
|
49 |
-
def f(image_tensor, image_shape: List[Tuple[int, int]]):
|
50 |
-
return ImageList(image_tensor, image_shape)
|
51 |
-
|
52 |
-
ret = f(image_tensor, image_shape)
|
53 |
-
ret_script = torch.jit.script(f)(image_tensor, image_shape)
|
54 |
-
|
55 |
-
self.assertEqual(len(ret), len(ret_script))
|
56 |
-
for i in range(image_nums):
|
57 |
-
self.assertTrue(torch.equal(ret[i], ret_script[i]))
|
58 |
-
|
59 |
-
def test_imagelist_from_tensors_scriptability(self):
|
60 |
-
image_tensor_0 = torch.randn(10, 20, dtype=torch.float32)
|
61 |
-
image_tensor_1 = torch.randn(12, 22, dtype=torch.float32)
|
62 |
-
inputs = [image_tensor_0, image_tensor_1]
|
63 |
-
|
64 |
-
def f(image_tensor: List[torch.Tensor]):
|
65 |
-
return ImageList.from_tensors(image_tensor, 10)
|
66 |
-
|
67 |
-
ret = f(inputs)
|
68 |
-
ret_script = torch.jit.script(f)(inputs)
|
69 |
-
|
70 |
-
self.assertEqual(len(ret), len(ret_script))
|
71 |
-
self.assertTrue(torch.equal(ret.tensor, ret_script.tensor))
|
72 |
-
|
73 |
-
|
74 |
-
if __name__ == "__main__":
|
75 |
-
unittest.main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Benson/text-generation/Examples/Descargar Apk Hroe De La Cuerda Mod.md
DELETED
@@ -1,72 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Cómo descargar e instalar el héroe de cuerda Mod APK en Android</h1>
|
3 |
-
<p>Si estás buscando un divertido y lleno de acción juego de superhéroes, es posible que desee probar <strong>Rope Hero</strong>. Este es un juego de disparos en tercera persona en 3D con elementos RPG, donde juegas como un súper héroe azul que puede usar una súper cuerda para girar alrededor de la ciudad, luchar contra el crimen y personalizar a tu personaje. También puedes elegir ser un villano y causar caos en la ciudad, si ese es tu estilo. </p>
|
4 |
-
<p>Sin embargo, si desea disfrutar de más características y opciones en el juego, tales como dinero ilimitado, nuevas armas, vehículos, pieles y misiones, es posible que desee descargar el <strong>Rope Hero mod APK</strong>. Esta es una versión modificada del juego original que te da acceso a más contenido y diversión. En este artículo, le mostraremos cómo descargar e instalar el Héroe de cuerda mod APK en su dispositivo Android en unos sencillos pasos. </p>
|
5 |
-
<h2>descargar apk héroe de la cuerda mod</h2><br /><p><b><b>DOWNLOAD</b> ☆☆☆☆☆ <a href="https://bltlly.com/2v6LQf">https://bltlly.com/2v6LQf</a></b></p><br /><br />
|
6 |
-
<h2>Qué es un archivo APK y cómo instalarlo en Android</h2>
|
7 |
-
<p>Un archivo APK es un archivo de paquete que contiene todos los archivos y datos necesarios para que una aplicación Android se ejecute. Es similar a un archivo EXE para computadoras con Windows. Puede instalar un archivo APK en su dispositivo Android directamente desde su navegador o desde una aplicación de administrador de archivos. Sin embargo, antes de hacer eso, debe asegurarse de que su dispositivo permita aplicaciones o fuentes desconocidas. Esto significa que puede instalar aplicaciones que no son de Google Play Store.</p>
|
8 |
-
<p>Para habilitar aplicaciones o fuentes desconocidas en tu dispositivo Android, sigue estos pasos:</p>
|
9 |
-
<ol>
|
10 |
-
<li>Ve a la configuración de tu dispositivo y toca Aplicaciones y notificaciones (o Aplicaciones en versiones anteriores de Android). </li>
|
11 |
-
<li>Toque los tres puntos en la esquina superior derecha. </li>
|
12 |
-
<li>Toque Acceso especial. </li>
|
13 |
-
<li>Toca Instalar aplicaciones desconocidas. </li>
|
14 |
-
<li>Toque Chrome (o cualquier navegador web que utilice). </li>
|
15 |
-
<li>Mover Permitir desde esta fuente a la posición On. </li>
|
16 |
-
</ol>
|
17 |
-
<p>Ahora estás listo para instalar cualquier archivo APK en tu dispositivo Android. </p>
|
18 |
-
|
19 |
-
<p>El siguiente paso es descargar el archivo APK mod Rope Hero de una fuente confiable. Solo debe descargar archivos APK de sitios web de confianza que monitorean y verifican sus archivos de malware y virus. Uno de los mejores sitios web para descargar archivos APK es <a href="( 1 )">APK Mirror</a>. Este sitio web alberga un montón de aplicaciones populares de Android y actualizaciones que se pueden descargar de forma gratuita. </p>
|
20 |
-
<p>Para descargar el mod de héroe de cuerda APK de APK Mirror, siga estos pasos:</p>
|
21 |
-
<ol>
|
22 |
-
<li>Abra su navegador web y vaya a <a href="( 1 )">https://an1.com/5642-rope-hero-vice-town-mod-apk-free.html</a>. </li>
|
23 |
-
<li>Desplácese hacia abajo hasta que vea un botón verde que diga Descargar (MOD). </li>
|
24 |
-
<li>Toca el botón y espera a que comience la descarga. </li>
|
25 |
-
<li>Puede ver algunas ventanas emergentes o advertencias que dicen "Este tipo de archivo puede dañar su dispositivo." Ignórelos y toque OK o Descargar de todos modos. </li>
|
26 |
-
</ol>
|
27 |
-
<p>El archivo mod APK de héroe de cuerda se descargará en la carpeta de descargas de su dispositivo. </p>
|
28 |
-
<h2>Cómo instalar el héroe de cuerda mod APK en su dispositivo Android</h2>
|
29 |
-
<p>El paso final es instalar el Héroe de cuerda mod APK en su dispositivo Android. Para hacer esto, necesita una aplicación de administrador de archivos que puede localizar y abrir el archivo APK. Si no tiene uno, puede descargarlo de Google Play, como <a href="( 2 )">Cx File Explorer</a> o <a href="( 3 )">Administrador de archivos</a>. </p>
|
30 |
-
<p></p>
|
31 |
-
<p>Para instalar el héroe de cuerda mod APK usando una aplicación de administrador de archivos, siga estos pasos:</p>
|
32 |
-
<ol>
|
33 |
-
<li>Abra su aplicación de administrador de archivos y vaya a la carpeta Descargas. </li>
|
34 |
-
<li> Localizar y toque el archivo Rope Hero mod APK. Debe tener un nombre como rope-hero-vice-town-mod.apk. </li>
|
35 |
-
<li>Es posible que vea una ventana emergente que dice "Para su seguridad, el teléfono no se le permite instalar aplicaciones desconocidas de esta fuente." Toca Configuración y mueve Permitir desde esta fuente a la posición On. </li>
|
36 |
-
<li>Volver a la aplicación de administrador de archivos y toque el archivo de mod APK Rope Hero de nuevo. </li>
|
37 |
-
|
38 |
-
<li>Una vez que la instalación se haya hecho, puede tocar Abrir para iniciar el juego o Listo para salir de la aplicación de administrador de archivos. </li>
|
39 |
-
</ol>
|
40 |
-
<p>Felicidades! Usted ha instalado con éxito el Héroe de cuerda mod APK en su dispositivo Android. </p>
|
41 |
-
<h2>Cómo disfrutar de las características de la Cuerda Héroe mod APK</h2>
|
42 |
-
<p>Ahora que ha instalado el Héroe de cuerda mod APK, se puede disfrutar de las características y beneficios de esta versión modificada del juego. Estas son algunas de las cosas que puedes hacer con el mod de héroe de cuerda APK:</p>
|
43 |
-
<ul>
|
44 |
-
<li>Puedes obtener dinero ilimitado para comprar nuevas armas, vehículos, pieles y mejoras para tu personaje. </li>
|
45 |
-
<li>Puedes desbloquear nuevas misiones que no están disponibles en el juego original. </li>
|
46 |
-
<li>Puedes usar nuevas armas y gadgets, como un jetpack, una pistola láser, un lanzallamas y un lanzagranadas. </li>
|
47 |
-
<li>Puede conducir vehículos nuevos, como un tanque, un helicóptero, una motocicleta y un automóvil deportivo. </li>
|
48 |
-
<li>Puedes personalizar tu personaje con nuevas pieles, como un hombre araña, un batman, un hulk y un ninja. </li>
|
49 |
-
<li>Puedes explorar la ciudad e interactuar con diferentes objetos y personas. </li>
|
50 |
-
<li>Puedes elegir ser un héroe o un villano y luchar contra otras pandillas, policías o superhéroes. </li>
|
51 |
-
</ul>
|
52 |
-
<p>Con el Héroe de cuerda mod APK, puede tener más diversión y emoción en este juego de superhéroes. También puede comparar su progreso y logros con otros jugadores en línea y compartir sus capturas de pantalla y videos en las redes sociales. </p>
|
53 |
-
<h2>Conclusión: Resumir los principales puntos y beneficios de la descarga y la instalación de la cuerda del héroe mod APK</h2>
|
54 |
-
|
55 |
-
<h2>Preguntas frecuentes: Responder a algunas preguntas comunes sobre el héroe de la cuerda y el mod APK</h2>
|
56 |
-
<p>Aquí hay algunas preguntas frecuentes sobre Rope Hero y el mod APK:</p>
|
57 |
-
<h3>Q: ¿Es Rope Hero libre para jugar? </h3>
|
58 |
-
<p>A: Sí, Rope Hero es gratis. Puedes descargarlo desde Google Play o desde otros sitios web. Sin embargo, algunas características y elementos pueden requerir compras en la aplicación o ver anuncios. Si desea evitar eso, puede descargar el mod APK en su lugar. </p>
|
59 |
-
<h3>Q: ¿Es seguro jugar Rope Hero? </h3>
|
60 |
-
<p>A: Sí, Rope Hero es seguro jugar. No contiene ningún contenido dañino o malicioso. Sin embargo, solo debe descargarlo de fuentes confiables y escanearlo con una aplicación antivirus antes de instalarlo. Además, tenga cuidado con los permisos que otorga a la aplicación cuando la instala. </p>
|
61 |
-
<h3>Q: ¿Es Rope Hero compatible con mi dispositivo? </h3>
|
62 |
-
<p>A: Rope Hero es compatible con la mayoría de dispositivos Android que se ejecutan en Android 4.4 o superior. Sin embargo, algunos dispositivos pueden experimentar retrasos o fallos debido a problemas de memoria o rendimiento. Para mejorar tu experiencia de juego, debes cerrar otras aplicaciones que se ejecutan en segundo plano y limpiar tu caché antes de jugar. </p>
|
63 |
-
<h3>P: ¿Cómo actualizo Rope Hero? </h3>
|
64 |
-
<p>A: Si has descargado Rope Hero de Google Play, recibirás actualizaciones automáticas cada vez que haya una nueva versión disponible. Si lo descargaste de otro sitio web o instalaste el mod APK, tendrás que comprobar manualmente las actualizaciones y descargarlas tú mismo. También puede tener que desinstalar la versión anterior antes de instalar la nueva. </p>
|
65 |
-
<h3>Q: ¿Cómo puedo desinstalar Rope Hero? </h3>
|
66 |
-
<p>A: Si quieres desinstalar Rope Hero desde tu dispositivo, puedes hacerlo siguiendo estos pasos:</p>
|
67 |
-
<ol>
|
68 |
-
<li>Ve a la configuración de tu dispositivo y toca Aplicaciones y notificaciones (o Aplicaciones en versiones anteriores de Android). </li> <li>Encuentra y toca Rope Hero en la lista de aplicaciones. </li>
|
69 |
-
<li>Pulse Desinstalar y confirme su elección. </li>
|
70 |
-
</ol> 64aa2da5cf<br />
|
71 |
-
<br />
|
72 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Benson/text-generation/Examples/Descargar Gratis Juegos De Matemticas Para El Grado 2.md
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Descargar Write It! Coreano: La mejor aplicación para aprender Hangul</h1>
|
3 |
-
<p>¿Quieres aprender a escribir hangul coreano de una manera rápida, eficiente y divertida? Si es así, usted debe descargar Write It! Coreano, la primera aplicación de reconocimiento de escritura para el coreano. En este artículo, le diremos lo que escribir! Coreano es, qué características tiene, qué beneficios ofrece, y cómo descargarlo en su dispositivo. </p>
|
4 |
-
<h2>descargar gratis juegos de matemáticas para el grado 2</h2><br /><p><b><b>DOWNLOAD</b> ✦✦✦ <a href="https://bltlly.com/2v6JtU">https://bltlly.com/2v6JtU</a></b></p><br /><br />
|
5 |
-
<h2>¿Qué es Write It! Coreano? </h2>
|
6 |
-
<p>Write It! Korean es una aplicación que te enseña cómo escribir hangul coreano, el alfabeto de la lengua coreana. A diferencia de otras aplicaciones que solo te permiten rastrear o copiar los caracteres, Write It! Korean te permite escribirlos por ti mismo usando tu dedo o un lápiz. La aplicación reconoce su escritura y le da retroalimentación instantánea sobre su precisión y pronunciación. De esta manera, puedes aprender a escribir hangul correctamente y con confianza. </p>
|
7 |
-
<h3>Características de Write It! Coreano</h3>
|
8 |
-
<p>Write It! Korean tiene muchas características que lo convierten en la mejor aplicación para aprender hangul. Estos son algunos de ellos:</p>
|
9 |
-
<h4>Reconocimiento de escritura</h4>
|
10 |
-
<p>La aplicación utiliza una sofisticada tecnología de reconocimiento de escritura que puede detectar su escritura y evaluar su rendimiento. No tienes que preocuparte por quedarte atascado o tener que volver y hacer referencia a cómo escribir un personaje. La aplicación le guiará a través de cada golpe y le dirá si cometió algún error. También puede ajustar los niveles de sensibilidad y dificultad según su preferencia. </p>
|
11 |
-
<p></p>
|
12 |
-
<h4>Lecciones guiadas</h4>
|
13 |
-
<p>La aplicación tiene lecciones de tamaño bocado que cubren todos los caracteres básicos y avanzados hangul. Puedes practicar la escritura con guías antes de ponerte a prueba, haciendo que el aprendizaje sea extremadamente rápido y libre de estrés. También puedes revisar tus lecciones anteriores y repetirlas tantas veces como quieras. </p>
|
14 |
-
<h4>Seguimiento del progreso</h4>
|
15 |
-
|
16 |
-
<h4>Modo sin conexión</h4>
|
17 |
-
<p>La aplicación funciona sin conexión, por lo que puede escribir en cualquier lugar y en cualquier momento sin conexión a Internet. No tiene que preocuparse por el uso de datos o problemas de red. Puede aprender hangul a su propio ritmo y conveniencia. </p>
|
18 |
-
<h3>Beneficios de escribir! Coreano</h3>
|
19 |
-
<p>Write It! Korean ofrece muchos beneficios que hacen que valga la pena descargarlo. Estos son algunos de ellos:</p>
|
20 |
-
<h4>Aprendizaje rápido y eficiente</h4>
|
21 |
-
<p>La aplicación le ayuda a aprender hangul de una manera rápida y eficiente mediante el uso de reconocimiento de escritura y lecciones guiadas. Puedes memorizar los personajes fácil y rápidamente sin aburrirte o frustrarte. También puedes mejorar tus habilidades de pronunciación y ortografía escuchando el audio y leyendo la romanización. </p>
|
22 |
-
<h4>Experiencia divertida y atractiva</h4>
|
23 |
-
<p>La aplicación hace que el aprendizaje sea divertido y atractivo mediante el uso de gráficos coloridos, animaciones y sonidos. Puedes disfrutar escribiendo en diferentes fondos, usando diferentes bolígrafos y ganando diferentes insignias. También puedes jugar juegos y cuestionarios para probar tus conocimientos y divertirte. </p>
|
24 |
-
<h4>Práctica flexible y conveniente</h4>
|
25 |
-
<p>La aplicación le permite practicar hangul de forma flexible y conveniente trabajando sin conexión y teniendo ajustes ajustables. Puede escribir en cualquier lugar y en cualquier momento sin limitaciones ni distracciones. También puede personalizar la aplicación según sus necesidades y preferencias. </p>
|
26 |
-
<h3>Cómo descargar Write It! Coreano</h3>
|
27 |
-
<p>Si estás convencido de que Write It! Korean es la mejor aplicación para aprender hangul, aquí es cómo se puede descargar en su dispositivo:</p>
|
28 |
-
<h4>Para dispositivos Android</h4>
|
29 |
-
<ol>
|
30 |
-
<li>Ir a la tienda de Google Play en su dispositivo. </li>
|
31 |
-
<li>Buscar "Write It! Korean " y toque en el icono de la aplicación. </li>
|
32 |
-
<li>Toque en el botón "Instalar" y espere a que la aplicación se descargue e instale en su dispositivo. </li>
|
33 |
-
<li>Toque en el botón "Abrir" y empezar a escribir hangul! </li>
|
34 |
-
</ol>
|
35 |
-
<h4>Para dispositivos iOS</h4>
|
36 |
-
<ol>
|
37 |
-
<li>Ir a la App Store en su dispositivo. </li>
|
38 |
-
|
39 |
-
<li>Toque en el botón "Obtener" e introduzca su ID de Apple y contraseña si se le solicita. </li>
|
40 |
-
<li>Espere a que la aplicación se descargue e instale en su dispositivo. </li>
|
41 |
-
<li>Toque en el icono de la aplicación y empezar a escribir hangul! </li>
|
42 |
-
</ol>
|
43 |
-
<h2>Conclusión</h2>
|
44 |
-
<p>¡Escribe tu mensaje! El coreano es la mejor aplicación para aprender hangul porque te enseña a escribir personajes coreanos por ti mismo usando el reconocimiento de escritura y lecciones guiadas. También ofrece muchas características y beneficios que hacen que el aprendizaje sea rápido, eficiente, divertido, atractivo, flexible y conveniente. Puede descargar Write It! Korean en su dispositivo Android o iOS siguiendo los sencillos pasos anteriores. Entonces, ¿qué estás esperando? Download Write It! Coreano hoy y empezar a escribir hangul como un profesional! </p>
|
45 |
-
<h2>Preguntas frecuentes</h2>
|
46 |
-
<p>Aquí hay algunas preguntas frecuentes sobre Write It! Coreano:</p>
|
47 |
-
<ul>
|
48 |
-
<li><b>¿Cuánto cuesta Write It! Korean cost? </b><br>Write It! Korean es gratis para descargar y usar. Sin embargo, puede actualizar a la versión premium para desbloquear más funciones y eliminar anuncios. La versión premium cuesta $4.99 por mes o $29.99 por año. </li>
|
49 |
-
<li><b>¿Cuántos caracteres hangul puedo aprender con Write It! Korean? </b><br>Write It! Coreano cubre los 40 caracteres básicos y 11 caracteres hangul avanzados. Puedes aprender a escribir cada carácter en diferentes sílabas y palabras. </li>
|
50 |
-
<li><b>¿Puedo usar Write It! Korean para aprender otros aspectos del idioma coreano? </b><br>Write It! El coreano se centra en enseñarte a escribir hangul, pero también te ayuda a mejorar tu pronunciación, ortografía, vocabulario y gramática. Puede escuchar el audio, leer la romanización y ver la traducción de cada carácter, sílaba y palabra. </li>
|
51 |
-
<li><b>¿Puedo usar Write It! Coreano con otras aplicaciones o recursos? </b><br>Sí, puede usar Write It! Coreano con otras aplicaciones o recursos que te enseñan a hablar, escuchar, leer o entender coreano. ¡Escríbelo! El coreano complementa tu aprendizaje ayudándote a dominar el aspecto de escritura del idioma. </li>
|
52 |
-
|
53 |
-
</ul></p> 64aa2da5cf<br />
|
54 |
-
<br />
|
55 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Brasd99/SquadDetective/app.py
DELETED
@@ -1,159 +0,0 @@
|
|
1 |
-
import json
|
2 |
-
import zipfile
|
3 |
-
import numpy as np
|
4 |
-
import cv2
|
5 |
-
import os
|
6 |
-
import gradio as gr
|
7 |
-
from deepface import DeepFace
|
8 |
-
from ultralytics import YOLO
|
9 |
-
import urllib.request
|
10 |
-
import asyncio
|
11 |
-
|
12 |
-
with open('config.json', 'r') as f:
|
13 |
-
config = json.load(f)
|
14 |
-
|
15 |
-
FACE_DIST_TRESH = config['FACE_DIST_TRESH']
|
16 |
-
FACE_DET_TRESH = config['FACE_DET_TRESH']
|
17 |
-
YOLO_WEIGHTS_URL = config['YOLO_WEIGHTS_URL']
|
18 |
-
|
19 |
-
yolo_weights_filename = os.path.basename(YOLO_WEIGHTS_URL)
|
20 |
-
|
21 |
-
if not os.path.exists(yolo_weights_filename):
|
22 |
-
urllib.request.urlretrieve(YOLO_WEIGHTS_URL, yolo_weights_filename)
|
23 |
-
|
24 |
-
model = YOLO(yolo_weights_filename)
|
25 |
-
|
26 |
-
async def find_distance(base_face, check_face):
|
27 |
-
result = await asyncio.to_thread(DeepFace.verify, base_face, check_face, enforce_detection=False)
|
28 |
-
return result['distance']
|
29 |
-
|
30 |
-
def find_faces(image):
|
31 |
-
outputs = model(image)
|
32 |
-
faces = []
|
33 |
-
for box in outputs[0].boxes:
|
34 |
-
if float(box.conf) >= FACE_DET_TRESH:
|
35 |
-
x, y, w, h = [int(coord) for coord in box.xywh[0]]
|
36 |
-
x_center, y_center = x + w / 2, y + h / 2
|
37 |
-
x1 = int(x_center - w)
|
38 |
-
y1 = int(y_center - h)
|
39 |
-
crop_img = image[y1:y1+h, x1:x1+w]
|
40 |
-
faces.append(crop_img)
|
41 |
-
return faces
|
42 |
-
|
43 |
-
async def load_images_from_zip(zip_path):
|
44 |
-
images = []
|
45 |
-
loop = asyncio.get_running_loop()
|
46 |
-
|
47 |
-
with zipfile.ZipFile(zip_path, 'r') as zip_file:
|
48 |
-
for file_name in zip_file.namelist():
|
49 |
-
with zip_file.open(file_name) as file:
|
50 |
-
img_bytes = await loop.run_in_executor(None, file.read)
|
51 |
-
img = cv2.imdecode(np.frombuffer(img_bytes, np.uint8), cv2.IMREAD_COLOR)
|
52 |
-
if img is not None:
|
53 |
-
images.append(img)
|
54 |
-
return images
|
55 |
-
|
56 |
-
def create_image(images):
|
57 |
-
table_width = 800
|
58 |
-
row_height = 100
|
59 |
-
margin = 10
|
60 |
-
text_margin = 20
|
61 |
-
id_col_width = 100
|
62 |
-
|
63 |
-
font = cv2.FONT_HERSHEY_SIMPLEX
|
64 |
-
font_scale = 0.5
|
65 |
-
color = (255, 255, 255)
|
66 |
-
thickness = 2
|
67 |
-
|
68 |
-
table_height = text_margin + margin + (row_height + margin) * len(images)
|
69 |
-
|
70 |
-
table = np.zeros((table_height, table_width, 3), np.uint8)
|
71 |
-
|
72 |
-
id_x = 10
|
73 |
-
img_x = id_col_width + 10
|
74 |
-
y = text_margin
|
75 |
-
|
76 |
-
cv2.putText(table, 'Image ID', (id_x, y), font, font_scale, color, thickness)
|
77 |
-
cv2.putText(table, 'Face', (img_x, y), font, font_scale, color, thickness)
|
78 |
-
|
79 |
-
y += margin
|
80 |
-
|
81 |
-
for i, img in enumerate(images):
|
82 |
-
height, width = img.shape[:2]
|
83 |
-
new_width = int(width * row_height / height)
|
84 |
-
if img_x + new_width > table_width:
|
85 |
-
new_width = table_width - img_x
|
86 |
-
img_resized = cv2.resize(img, (new_width, row_height))
|
87 |
-
|
88 |
-
cv2.putText(table, str(i), (id_x, y + margin), font, font_scale, color, thickness)
|
89 |
-
table[y:y+row_height, img_x:img_x+new_width] = img_resized
|
90 |
-
|
91 |
-
y += row_height + margin
|
92 |
-
|
93 |
-
for col in range(table.shape[1]-1, -1, -1):
|
94 |
-
if not np.any(table[:, col]):
|
95 |
-
continue
|
96 |
-
else:
|
97 |
-
break
|
98 |
-
table_cropped = table[:, :col+1+id_x]
|
99 |
-
|
100 |
-
return table_cropped
|
101 |
-
|
102 |
-
async def process_photo_async(photo, input_avatars_faces):
|
103 |
-
not_found_faces = []
|
104 |
-
avatars_faces_count = len(input_avatars_faces)
|
105 |
-
input_faces = find_faces(photo)
|
106 |
-
for input_face in input_faces:
|
107 |
-
for i in range(avatars_faces_count):
|
108 |
-
distance = await find_distance(input_avatars_faces[i], input_face)
|
109 |
-
if distance <= FACE_DIST_TRESH:
|
110 |
-
break
|
111 |
-
elif i + 1 == avatars_faces_count:
|
112 |
-
not_found_faces.append(input_face)
|
113 |
-
return not_found_faces
|
114 |
-
|
115 |
-
async def check_async(photos, input_avatars_faces, progress):
|
116 |
-
tasks = []
|
117 |
-
not_found_faces = []
|
118 |
-
|
119 |
-
for photo in photos:
|
120 |
-
task = asyncio.create_task(process_photo_async(photo, input_avatars_faces))
|
121 |
-
tasks.append(task)
|
122 |
-
|
123 |
-
for i, task in enumerate(tasks):
|
124 |
-
result = await task
|
125 |
-
not_found_faces += result
|
126 |
-
progress((i+1)/len(tasks))
|
127 |
-
|
128 |
-
return not_found_faces
|
129 |
-
|
130 |
-
def check(avatars_zip, photos_zip, progress=gr.Progress()):
|
131 |
-
avatars = asyncio.run(load_images_from_zip(avatars_zip.name))
|
132 |
-
avatars = [cv2.cvtColor(avatar, cv2.COLOR_RGB2BGR) for avatar in avatars]
|
133 |
-
|
134 |
-
photos = asyncio.run(load_images_from_zip(photos_zip.name))
|
135 |
-
photos = [cv2.cvtColor(photo, cv2.COLOR_RGB2BGR) for photo in photos]
|
136 |
-
|
137 |
-
input_avatars_faces = [find_faces(avatar) for avatar in avatars]
|
138 |
-
input_avatars_faces = [face for faces in input_avatars_faces for face in faces]
|
139 |
-
|
140 |
-
not_found_faces = asyncio.run(check_async(photos, input_avatars_faces, progress))
|
141 |
-
|
142 |
-
return create_image(not_found_faces)
|
143 |
-
|
144 |
-
title = '<h1 style="text-align:center">SquadDetective</h1>'
|
145 |
-
logo = '<center><img src="https://i.ibb.co/C0BH40g/logo.png" width="300" height="300" alt="SquadDetective logo"></center>'
|
146 |
-
|
147 |
-
with gr.Blocks(theme='soft', title='SquadDetective') as blocks:
|
148 |
-
gr.HTML(title)
|
149 |
-
gr.HTML(logo)
|
150 |
-
gr.Markdown('**SquadDetective** is a service that helps sports teams to identify unclaimed players by comparing their faces to photos taken during matches. By using state-of-the-art facial recognition technology, this service can quickly and accurately match the faces of players in photos to a database of registered players, allowing teams to quickly identify any unclaimed players and take appropriate action. With **SquadDetective**, sports teams can ensure that all players are properly registered and eligible to play, helping to avoid potential penalties and other issues.')
|
151 |
-
with gr.Row():
|
152 |
-
avatars = gr.inputs.File(label='Avatar photos (zip)')
|
153 |
-
photos = gr.inputs.File(label='Photos to be processed (zip)')
|
154 |
-
inputs = [avatars, photos]
|
155 |
-
process_button = gr.Button('Process')
|
156 |
-
outputs=gr.outputs.Image(type='numpy', label='Report')
|
157 |
-
process_button.click(fn=check, inputs=inputs, outputs=outputs)
|
158 |
-
|
159 |
-
blocks.queue(concurrency_count=1).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/LIVE/thrust/thrust/system/cuda/detail/dispatch.h
DELETED
@@ -1,78 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Copyright 2018 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/preprocessor.h>
|
20 |
-
#include <thrust/detail/integer_traits.h>
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Dispatch between 32-bit and 64-bit index based versions of the same algorithm
|
24 |
-
* implementation. This version assumes that callables for both branches consist
|
25 |
-
* of the same tokens, and is intended to be used with Thrust-style dispatch
|
26 |
-
* interfaces, that always deduce the size type from the arguments.
|
27 |
-
*/
|
28 |
-
#define THRUST_INDEX_TYPE_DISPATCH(status, call, count, arguments) \
|
29 |
-
if (count <= thrust::detail::integer_traits<thrust::detail::int32_t>::const_max) { \
|
30 |
-
thrust::detail::int32_t THRUST_PP_CAT2(count, _fixed) = count; \
|
31 |
-
status = call arguments; \
|
32 |
-
} \
|
33 |
-
else { \
|
34 |
-
thrust::detail::int64_t THRUST_PP_CAT2(count, _fixed) = count; \
|
35 |
-
status = call arguments; \
|
36 |
-
}
|
37 |
-
|
38 |
-
/**
|
39 |
-
* Dispatch between 32-bit and 64-bit index based versions of the same algorithm
|
40 |
-
* implementation. This version assumes that callables for both branches consist
|
41 |
-
* of the same tokens, and is intended to be used with Thrust-style dispatch
|
42 |
-
* interfaces, that always deduce the size type from the arguments.
|
43 |
-
*
|
44 |
-
* This version of the macro supports providing two count variables, which is
|
45 |
-
* necessary for set algorithms.
|
46 |
-
*/
|
47 |
-
#define THRUST_DOUBLE_INDEX_TYPE_DISPATCH(status, call, count1, count2, arguments) \
|
48 |
-
if (count1 + count2 <= thrust::detail::integer_traits<thrust::detail::int32_t>::const_max) { \
|
49 |
-
thrust::detail::int32_t THRUST_PP_CAT2(count1, _fixed) = count1; \
|
50 |
-
thrust::detail::int32_t THRUST_PP_CAT2(count2, _fixed) = count2; \
|
51 |
-
status = call arguments; \
|
52 |
-
} \
|
53 |
-
else { \
|
54 |
-
thrust::detail::int64_t THRUST_PP_CAT2(count1, _fixed) = count1; \
|
55 |
-
thrust::detail::int64_t THRUST_PP_CAT2(count2, _fixed) = count2; \
|
56 |
-
status = call arguments; \
|
57 |
-
}
|
58 |
-
/**
|
59 |
-
* Dispatch between 32-bit and 64-bit index based versions of the same algorithm
|
60 |
-
* implementation. This version allows using different token sequences for callables
|
61 |
-
* in both branches, and is intended to be used with CUB-style dispatch interfaces,
|
62 |
-
* where the "simple" interface always forces the size to be `int` (making it harder
|
63 |
-
* for us to use), but the complex interface that we end up using doesn't actually
|
64 |
-
* provide a way to fully deduce the type from just the call, making the size type
|
65 |
-
* appear in the token sequence of the callable.
|
66 |
-
*
|
67 |
-
* See reduce_n_impl to see an example of how this is meant to be used.
|
68 |
-
*/
|
69 |
-
#define THRUST_INDEX_TYPE_DISPATCH2(status, call_32, call_64, count, arguments) \
|
70 |
-
if (count <= thrust::detail::integer_traits<thrust::detail::int32_t>::const_max) { \
|
71 |
-
thrust::detail::int32_t THRUST_PP_CAT2(count, _fixed) = count; \
|
72 |
-
status = call_32 arguments; \
|
73 |
-
} \
|
74 |
-
else { \
|
75 |
-
thrust::detail::int64_t THRUST_PP_CAT2(count, _fixed) = count; \
|
76 |
-
status = call_64 arguments; \
|
77 |
-
}
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/LIVE/thrust/thrust/system/detail/adl/per_device_resource.h
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Copyright 2018 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 |
-
// the purpose of this header is to #include the per_device_resource.h header
|
22 |
-
// of the sequential, host, and device systems. It should be #included in any
|
23 |
-
// code which uses adl to dispatch per_device_resource
|
24 |
-
|
25 |
-
#include <thrust/system/detail/sequential/per_device_resource.h>
|
26 |
-
|
27 |
-
#if 0
|
28 |
-
#include <thrust/system/cpp/detail/per_device_resource.h>
|
29 |
-
#include <thrust/system/cuda/detail/per_device_resource.h>
|
30 |
-
#include <thrust/system/omp/detail/per_device_resource.h>
|
31 |
-
#include <thrust/system/tbb/detail/per_device_resource.h>
|
32 |
-
#endif
|
33 |
-
|
34 |
-
#define __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/per_device_resource.h>
|
35 |
-
#include __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER
|
36 |
-
#undef __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER
|
37 |
-
|
38 |
-
#define __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/per_device_resource.h>
|
39 |
-
#include __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER
|
40 |
-
#undef __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/lama-example/fetch_data/places_standard_test_val_gen_masks.sh
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
mkdir -p places_standard_dataset/val/
|
2 |
-
mkdir -p places_standard_dataset/visual_test/
|
3 |
-
|
4 |
-
|
5 |
-
python3 bin/gen_mask_dataset.py \
|
6 |
-
$(pwd)/configs/data_gen/random_thick_512.yaml \
|
7 |
-
places_standard_dataset/val_hires/ \
|
8 |
-
places_standard_dataset/val/
|
9 |
-
|
10 |
-
python3 bin/gen_mask_dataset.py \
|
11 |
-
$(pwd)/configs/data_gen/random_thick_512.yaml \
|
12 |
-
places_standard_dataset/visual_test_hires/ \
|
13 |
-
places_standard_dataset/visual_test/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/regionclip-demo/detectron2/engine/train_loop.py
DELETED
@@ -1,408 +0,0 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# Copyright (c) Facebook, Inc. and its affiliates.
|
3 |
-
|
4 |
-
import logging
|
5 |
-
import numpy as np
|
6 |
-
import time
|
7 |
-
import weakref
|
8 |
-
from typing import Dict, List, Optional
|
9 |
-
import torch
|
10 |
-
from torch.nn.parallel import DataParallel, DistributedDataParallel
|
11 |
-
|
12 |
-
import detectron2.utils.comm as comm
|
13 |
-
from detectron2.utils.events import EventStorage, get_event_storage
|
14 |
-
from detectron2.utils.logger import _log_api_usage
|
15 |
-
|
16 |
-
__all__ = ["HookBase", "TrainerBase", "SimpleTrainer", "AMPTrainer"]
|
17 |
-
|
18 |
-
|
19 |
-
class HookBase:
|
20 |
-
"""
|
21 |
-
Base class for hooks that can be registered with :class:`TrainerBase`.
|
22 |
-
|
23 |
-
Each hook can implement 4 methods. The way they are called is demonstrated
|
24 |
-
in the following snippet:
|
25 |
-
::
|
26 |
-
hook.before_train()
|
27 |
-
for iter in range(start_iter, max_iter):
|
28 |
-
hook.before_step()
|
29 |
-
trainer.run_step()
|
30 |
-
hook.after_step()
|
31 |
-
iter += 1
|
32 |
-
hook.after_train()
|
33 |
-
|
34 |
-
Notes:
|
35 |
-
1. In the hook method, users can access ``self.trainer`` to access more
|
36 |
-
properties about the context (e.g., model, current iteration, or config
|
37 |
-
if using :class:`DefaultTrainer`).
|
38 |
-
|
39 |
-
2. A hook that does something in :meth:`before_step` can often be
|
40 |
-
implemented equivalently in :meth:`after_step`.
|
41 |
-
If the hook takes non-trivial time, it is strongly recommended to
|
42 |
-
implement the hook in :meth:`after_step` instead of :meth:`before_step`.
|
43 |
-
The convention is that :meth:`before_step` should only take negligible time.
|
44 |
-
|
45 |
-
Following this convention will allow hooks that do care about the difference
|
46 |
-
between :meth:`before_step` and :meth:`after_step` (e.g., timer) to
|
47 |
-
function properly.
|
48 |
-
|
49 |
-
"""
|
50 |
-
|
51 |
-
trainer: "TrainerBase" = None
|
52 |
-
"""
|
53 |
-
A weak reference to the trainer object. Set by the trainer when the hook is registered.
|
54 |
-
"""
|
55 |
-
|
56 |
-
def before_train(self):
|
57 |
-
"""
|
58 |
-
Called before the first iteration.
|
59 |
-
"""
|
60 |
-
pass
|
61 |
-
|
62 |
-
def after_train(self):
|
63 |
-
"""
|
64 |
-
Called after the last iteration.
|
65 |
-
"""
|
66 |
-
pass
|
67 |
-
|
68 |
-
def before_step(self):
|
69 |
-
"""
|
70 |
-
Called before each iteration.
|
71 |
-
"""
|
72 |
-
pass
|
73 |
-
|
74 |
-
def after_step(self):
|
75 |
-
"""
|
76 |
-
Called after each iteration.
|
77 |
-
"""
|
78 |
-
pass
|
79 |
-
|
80 |
-
def state_dict(self):
|
81 |
-
"""
|
82 |
-
Hooks are stateless by default, but can be made checkpointable by
|
83 |
-
implementing `state_dict` and `load_state_dict`.
|
84 |
-
"""
|
85 |
-
return {}
|
86 |
-
|
87 |
-
|
88 |
-
class TrainerBase:
|
89 |
-
"""
|
90 |
-
Base class for iterative trainer with hooks.
|
91 |
-
|
92 |
-
The only assumption we made here is: the training runs in a loop.
|
93 |
-
A subclass can implement what the loop is.
|
94 |
-
We made no assumptions about the existence of dataloader, optimizer, model, etc.
|
95 |
-
|
96 |
-
Attributes:
|
97 |
-
iter(int): the current iteration.
|
98 |
-
|
99 |
-
start_iter(int): The iteration to start with.
|
100 |
-
By convention the minimum possible value is 0.
|
101 |
-
|
102 |
-
max_iter(int): The iteration to end training.
|
103 |
-
|
104 |
-
storage(EventStorage): An EventStorage that's opened during the course of training.
|
105 |
-
"""
|
106 |
-
|
107 |
-
def __init__(self) -> None:
|
108 |
-
self._hooks: List[HookBase] = []
|
109 |
-
self.iter: int = 0
|
110 |
-
self.start_iter: int = 0
|
111 |
-
self.max_iter: int
|
112 |
-
self.storage: EventStorage
|
113 |
-
_log_api_usage("trainer." + self.__class__.__name__)
|
114 |
-
|
115 |
-
def register_hooks(self, hooks: List[Optional[HookBase]]) -> None:
|
116 |
-
"""
|
117 |
-
Register hooks to the trainer. The hooks are executed in the order
|
118 |
-
they are registered.
|
119 |
-
|
120 |
-
Args:
|
121 |
-
hooks (list[Optional[HookBase]]): list of hooks
|
122 |
-
"""
|
123 |
-
hooks = [h for h in hooks if h is not None]
|
124 |
-
for h in hooks:
|
125 |
-
assert isinstance(h, HookBase)
|
126 |
-
# To avoid circular reference, hooks and trainer cannot own each other.
|
127 |
-
# This normally does not matter, but will cause memory leak if the
|
128 |
-
# involved objects contain __del__:
|
129 |
-
# See http://engineering.hearsaysocial.com/2013/06/16/circular-references-in-python/
|
130 |
-
h.trainer = weakref.proxy(self)
|
131 |
-
self._hooks.extend(hooks)
|
132 |
-
|
133 |
-
def train(self, start_iter: int, max_iter: int):
|
134 |
-
"""
|
135 |
-
Args:
|
136 |
-
start_iter, max_iter (int): See docs above
|
137 |
-
"""
|
138 |
-
logger = logging.getLogger(__name__)
|
139 |
-
logger.info("Starting training from iteration {}".format(start_iter))
|
140 |
-
|
141 |
-
self.iter = self.start_iter = start_iter
|
142 |
-
self.max_iter = max_iter
|
143 |
-
|
144 |
-
with EventStorage(start_iter) as self.storage:
|
145 |
-
try:
|
146 |
-
self.before_train()
|
147 |
-
for self.iter in range(start_iter, max_iter):
|
148 |
-
self.before_step()
|
149 |
-
self.run_step()
|
150 |
-
self.after_step()
|
151 |
-
# self.iter == max_iter can be used by `after_train` to
|
152 |
-
# tell whether the training successfully finished or failed
|
153 |
-
# due to exceptions.
|
154 |
-
self.iter += 1
|
155 |
-
except Exception:
|
156 |
-
logger.exception("Exception during training:")
|
157 |
-
raise
|
158 |
-
finally:
|
159 |
-
self.after_train()
|
160 |
-
|
161 |
-
def before_train(self):
|
162 |
-
for h in self._hooks:
|
163 |
-
h.before_train()
|
164 |
-
|
165 |
-
def after_train(self):
|
166 |
-
self.storage.iter = self.iter
|
167 |
-
for h in self._hooks:
|
168 |
-
h.after_train()
|
169 |
-
|
170 |
-
def before_step(self):
|
171 |
-
# Maintain the invariant that storage.iter == trainer.iter
|
172 |
-
# for the entire execution of each step
|
173 |
-
self.storage.iter = self.iter
|
174 |
-
|
175 |
-
for h in self._hooks:
|
176 |
-
h.before_step()
|
177 |
-
|
178 |
-
def after_step(self):
|
179 |
-
for h in self._hooks:
|
180 |
-
h.after_step()
|
181 |
-
|
182 |
-
def run_step(self):
|
183 |
-
raise NotImplementedError
|
184 |
-
|
185 |
-
def state_dict(self):
|
186 |
-
ret = {"iteration": self.iter}
|
187 |
-
hooks_state = {}
|
188 |
-
for h in self._hooks:
|
189 |
-
sd = h.state_dict()
|
190 |
-
if sd:
|
191 |
-
name = type(h).__qualname__
|
192 |
-
if name in hooks_state:
|
193 |
-
# TODO handle repetitive stateful hooks
|
194 |
-
continue
|
195 |
-
hooks_state[name] = sd
|
196 |
-
if hooks_state:
|
197 |
-
ret["hooks"] = hooks_state
|
198 |
-
return ret
|
199 |
-
|
200 |
-
def load_state_dict(self, state_dict):
|
201 |
-
logger = logging.getLogger(__name__)
|
202 |
-
self.iter = state_dict["iteration"]
|
203 |
-
for key, value in state_dict.get("hooks", {}).items():
|
204 |
-
for h in self._hooks:
|
205 |
-
try:
|
206 |
-
name = type(h).__qualname__
|
207 |
-
except AttributeError:
|
208 |
-
continue
|
209 |
-
if name == key:
|
210 |
-
h.load_state_dict(value)
|
211 |
-
break
|
212 |
-
else:
|
213 |
-
logger.warning(f"Cannot find the hook '{key}', its state_dict is ignored.")
|
214 |
-
|
215 |
-
|
216 |
-
class SimpleTrainer(TrainerBase):
|
217 |
-
"""
|
218 |
-
A simple trainer for the most common type of task:
|
219 |
-
single-cost single-optimizer single-data-source iterative optimization,
|
220 |
-
optionally using data-parallelism.
|
221 |
-
It assumes that every step, you:
|
222 |
-
|
223 |
-
1. Compute the loss with a data from the data_loader.
|
224 |
-
2. Compute the gradients with the above loss.
|
225 |
-
3. Update the model with the optimizer.
|
226 |
-
|
227 |
-
All other tasks during training (checkpointing, logging, evaluation, LR schedule)
|
228 |
-
are maintained by hooks, which can be registered by :meth:`TrainerBase.register_hooks`.
|
229 |
-
|
230 |
-
If you want to do anything fancier than this,
|
231 |
-
either subclass TrainerBase and implement your own `run_step`,
|
232 |
-
or write your own training loop.
|
233 |
-
"""
|
234 |
-
|
235 |
-
def __init__(self, model, data_loader, optimizer):
|
236 |
-
"""
|
237 |
-
Args:
|
238 |
-
model: a torch Module. Takes a data from data_loader and returns a
|
239 |
-
dict of losses.
|
240 |
-
data_loader: an iterable. Contains data to be used to call model.
|
241 |
-
optimizer: a torch optimizer.
|
242 |
-
"""
|
243 |
-
super().__init__()
|
244 |
-
|
245 |
-
"""
|
246 |
-
We set the model to training mode in the trainer.
|
247 |
-
However it's valid to train a model that's in eval mode.
|
248 |
-
If you want your model (or a submodule of it) to behave
|
249 |
-
like evaluation during training, you can overwrite its train() method.
|
250 |
-
"""
|
251 |
-
model.train()
|
252 |
-
|
253 |
-
self.model = model
|
254 |
-
self.data_loader = data_loader
|
255 |
-
self._data_loader_iter = iter(data_loader)
|
256 |
-
self.optimizer = optimizer
|
257 |
-
|
258 |
-
def run_step(self):
|
259 |
-
"""
|
260 |
-
Implement the standard training logic described above.
|
261 |
-
"""
|
262 |
-
assert self.model.training, "[SimpleTrainer] model was changed to eval mode!"
|
263 |
-
start = time.perf_counter()
|
264 |
-
"""
|
265 |
-
If you want to do something with the data, you can wrap the dataloader.
|
266 |
-
"""
|
267 |
-
data = next(self._data_loader_iter)
|
268 |
-
data_time = time.perf_counter() - start
|
269 |
-
|
270 |
-
"""
|
271 |
-
If you want to do something with the losses, you can wrap the model.
|
272 |
-
"""
|
273 |
-
loss_dict = self.model(data)
|
274 |
-
if isinstance(loss_dict, torch.Tensor):
|
275 |
-
losses = loss_dict
|
276 |
-
loss_dict = {"total_loss": loss_dict}
|
277 |
-
else:
|
278 |
-
losses = sum(loss_dict.values())
|
279 |
-
|
280 |
-
"""
|
281 |
-
If you need to accumulate gradients or do something similar, you can
|
282 |
-
wrap the optimizer with your custom `zero_grad()` method.
|
283 |
-
"""
|
284 |
-
self.optimizer.zero_grad()
|
285 |
-
losses.backward()
|
286 |
-
|
287 |
-
self._write_metrics(loss_dict, data_time)
|
288 |
-
|
289 |
-
"""
|
290 |
-
If you need gradient clipping/scaling or other processing, you can
|
291 |
-
wrap the optimizer with your custom `step()` method. But it is
|
292 |
-
suboptimal as explained in https://arxiv.org/abs/2006.15704 Sec 3.2.4
|
293 |
-
"""
|
294 |
-
self.optimizer.step()
|
295 |
-
|
296 |
-
def _write_metrics(
|
297 |
-
self,
|
298 |
-
loss_dict: Dict[str, torch.Tensor],
|
299 |
-
data_time: float,
|
300 |
-
prefix: str = "",
|
301 |
-
):
|
302 |
-
"""
|
303 |
-
Args:
|
304 |
-
loss_dict (dict): dict of scalar losses
|
305 |
-
data_time (float): time taken by the dataloader iteration
|
306 |
-
"""
|
307 |
-
metrics_dict = {k: v.detach().cpu().item() for k, v in loss_dict.items()}
|
308 |
-
metrics_dict["data_time"] = data_time
|
309 |
-
|
310 |
-
# Gather metrics among all workers for logging
|
311 |
-
# This assumes we do DDP-style training, which is currently the only
|
312 |
-
# supported method in detectron2.
|
313 |
-
all_metrics_dict = comm.gather(metrics_dict)
|
314 |
-
|
315 |
-
if comm.is_main_process():
|
316 |
-
storage = get_event_storage()
|
317 |
-
|
318 |
-
# data_time among workers can have high variance. The actual latency
|
319 |
-
# caused by data_time is the maximum among workers.
|
320 |
-
data_time = np.max([x.pop("data_time") for x in all_metrics_dict])
|
321 |
-
storage.put_scalar("data_time", data_time)
|
322 |
-
|
323 |
-
# average the rest metrics
|
324 |
-
metrics_dict = {
|
325 |
-
k: np.mean([x[k] for x in all_metrics_dict]) for k in all_metrics_dict[0].keys()
|
326 |
-
}
|
327 |
-
total_losses_reduced = sum(metrics_dict.values())
|
328 |
-
if not np.isfinite(total_losses_reduced):
|
329 |
-
raise FloatingPointError(
|
330 |
-
f"Loss became infinite or NaN at iteration={self.iter}!\n"
|
331 |
-
f"loss_dict = {metrics_dict}"
|
332 |
-
)
|
333 |
-
|
334 |
-
storage.put_scalar("{}total_loss".format(prefix), total_losses_reduced)
|
335 |
-
if len(metrics_dict) > 1:
|
336 |
-
storage.put_scalars(**metrics_dict)
|
337 |
-
|
338 |
-
def state_dict(self):
|
339 |
-
ret = super().state_dict()
|
340 |
-
ret["optimizer"] = self.optimizer.state_dict()
|
341 |
-
return ret
|
342 |
-
|
343 |
-
def load_state_dict(self, state_dict):
|
344 |
-
super().load_state_dict(state_dict)
|
345 |
-
self.optimizer.load_state_dict(state_dict["optimizer"])
|
346 |
-
|
347 |
-
|
348 |
-
class AMPTrainer(SimpleTrainer):
|
349 |
-
"""
|
350 |
-
Like :class:`SimpleTrainer`, but uses PyTorch's native automatic mixed precision
|
351 |
-
in the training loop.
|
352 |
-
"""
|
353 |
-
|
354 |
-
def __init__(self, model, data_loader, optimizer, grad_scaler=None):
|
355 |
-
"""
|
356 |
-
Args:
|
357 |
-
model, data_loader, optimizer: same as in :class:`SimpleTrainer`.
|
358 |
-
grad_scaler: torch GradScaler to automatically scale gradients.
|
359 |
-
"""
|
360 |
-
unsupported = "AMPTrainer does not support single-process multi-device training!"
|
361 |
-
if isinstance(model, DistributedDataParallel):
|
362 |
-
assert not (model.device_ids and len(model.device_ids) > 1), unsupported
|
363 |
-
assert not isinstance(model, DataParallel), unsupported
|
364 |
-
|
365 |
-
super().__init__(model, data_loader, optimizer)
|
366 |
-
|
367 |
-
if grad_scaler is None:
|
368 |
-
from torch.cuda.amp import GradScaler
|
369 |
-
|
370 |
-
grad_scaler = GradScaler()
|
371 |
-
self.grad_scaler = grad_scaler
|
372 |
-
|
373 |
-
def run_step(self):
|
374 |
-
"""
|
375 |
-
Implement the AMP training logic.
|
376 |
-
"""
|
377 |
-
assert self.model.training, "[AMPTrainer] model was changed to eval mode!"
|
378 |
-
assert torch.cuda.is_available(), "[AMPTrainer] CUDA is required for AMP training!"
|
379 |
-
from torch.cuda.amp import autocast
|
380 |
-
|
381 |
-
start = time.perf_counter()
|
382 |
-
data = next(self._data_loader_iter)
|
383 |
-
data_time = time.perf_counter() - start
|
384 |
-
|
385 |
-
with autocast():
|
386 |
-
loss_dict = self.model(data)
|
387 |
-
if isinstance(loss_dict, torch.Tensor):
|
388 |
-
losses = loss_dict
|
389 |
-
loss_dict = {"total_loss": loss_dict}
|
390 |
-
else:
|
391 |
-
losses = sum(loss_dict.values())
|
392 |
-
|
393 |
-
self.optimizer.zero_grad()
|
394 |
-
self.grad_scaler.scale(losses).backward()
|
395 |
-
|
396 |
-
self._write_metrics(loss_dict, data_time)
|
397 |
-
|
398 |
-
self.grad_scaler.step(self.optimizer)
|
399 |
-
self.grad_scaler.update()
|
400 |
-
|
401 |
-
def state_dict(self):
|
402 |
-
ret = super().state_dict()
|
403 |
-
ret["grad_scaler"] = self.grad_scaler.state_dict()
|
404 |
-
return ret
|
405 |
-
|
406 |
-
def load_state_dict(self, state_dict):
|
407 |
-
super().load_state_dict(state_dict)
|
408 |
-
self.grad_scaler.load_state_dict(state_dict["grad_scaler"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|