parquet-converter commited on
Commit
2014994
·
1 Parent(s): b95ba55

Update parquet files (step 55 of 397)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Adobe Photoshop CC 2020 Crack Full Presets (Mac et Windows) MacOSX A Complete Review and Comparison.md +0 -131
  2. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download PowerPoint Ed Version and Enjoy Its Unique Features for Inclusive and Collaborative Classrooms.md +0 -28
  3. spaces/1gistliPinn/ChatGPT4/Examples/Autocount Accounting Keygen [Extra Quality].md +0 -22
  4. spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download 4 Movie and Stream Online - HD 4K Quality Available.md +0 -144
  5. spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download Chicken Gun New Update Mod Apk and Enjoy the Fun.md +0 -85
  6. spaces/1phancelerku/anime-remove-background/Download Bullet Echo Mod APK v5.2.4 and Enjoy Unlimited Resources.md +0 -111
  7. spaces/1phancelerku/anime-remove-background/Download I Miss You by Grey and Discover More Songs by the Duo.md +0 -128
  8. spaces/1phancelerku/anime-remove-background/Download Instagram GB and Get More Out of Your Instagram Experience.md +0 -95
  9. spaces/1phancelerku/anime-remove-background/Drift for Life Mod APK Enjoy Unlimited Money and More Features.md +0 -135
  10. spaces/1phancelerku/anime-remove-background/Flash-Memory-Toolkit-Serial-Number-19.md +0 -120
  11. spaces/1ucii/Lab04/README.md +0 -12
  12. spaces/AI-Hobbyist/Hoyo-RVC/train_nsf_sim_cache_sid_load_pretrain.py +0 -595
  13. spaces/AIConsultant/MusicGen/audiocraft/solvers/diffusion.py +0 -279
  14. spaces/AIFILMS/StyleGANEX/latent_optimization.py +0 -107
  15. spaces/AIGC-Audio/AudioGPT/text_to_speech/data_gen/tts/wav_processors/base_processor.py +0 -25
  16. spaces/AIGC-Audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/act.py +0 -28
  17. spaces/AIGText/GlyphControl/example_list.py +0 -38
  18. spaces/ASJMO/freegpt/g4f/Provider/Providers/GetGpt.py +0 -57
  19. spaces/ASJMO/freegpt/g4f/Provider/Providers/helpers/theb.py +0 -48
  20. spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_1_ClothesKeyPoint/work_dirs_1-x/td_hm_res50_4xb16-120e_deepfashion2_long_sleeved_outwear_256x192/__init__.py +0 -0
  21. spaces/AgentVerse/agentVerse/scripts/evaluate_responsegen.py +0 -112
  22. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/BroadcastEvent.js +0 -10
  23. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/maker/builders/CreateBadgeLabel.js +0 -26
  24. spaces/AlanMars/QYL-AI-Space/readme/README_ja.md +0 -126
  25. spaces/Amrrs/DragGan-Inversion/PTI/configs/evaluation_config.py +0 -1
  26. spaces/Amrrs/DragGan-Inversion/training/__init__.py +0 -9
  27. spaces/Andy1621/uniformer_image_detection/mmdet/models/utils/transformer.py +0 -860
  28. spaces/Andy1621/uniformer_image_segmentation/configs/_base_/schedules/schedule_160k.py +0 -9
  29. spaces/AnimaLab/bias-test-gpt-pairs/mgr_sentences.py +0 -157
  30. spaces/AnnaPalatkina/fine_grained_SA/config.py +0 -10
  31. spaces/Anonymous-123/ImageNet-Editing/object_removal/TFill/dataloader/image_folder.py +0 -56
  32. spaces/Apex-X/GODROOP/roop/capturer.py +0 -20
  33. spaces/AquaSuisei/ChatGPTXE/assets/custom.css +0 -250
  34. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/exceptions.py +0 -267
  35. spaces/Banbri/zcvzcv/public/favicon/index.html +0 -133
  36. spaces/Benson/text-generation/Examples/Descargar Carx Drift Racing 2 Mod Apk Nueva Versin.md +0 -59
  37. spaces/BetterAPI/BetterChat_new/src/lib/server/modelEndpoint.ts +0 -21
  38. spaces/BilalSardar/StoryGenerator/app.py +0 -15
  39. spaces/CHDCruze/entertainmentbybhdcruze/README.md +0 -11
  40. spaces/CVPR/LIVE/thrust/thrust/async/transform.h +0 -134
  41. spaces/CVPR/LIVE/thrust/thrust/system/detail/generic/extrema.h +0 -89
  42. spaces/CVPR/LIVE/thrust/thrust/system/omp/memory_resource.h +0 -63
  43. spaces/Caoyunkang/Segment-Any-Anomaly/SAA/prompts/mtd_parameters.py +0 -11
  44. spaces/ChrisPreston/diff-svc_minato_aqua/modules/hubert/cn_hubert.py +0 -40
  45. spaces/ClementBM/connectfour/models/__init__.py +0 -3
  46. spaces/CofAI/chat.b4/g4f/Provider/Providers/Gravityengine.py +0 -27
  47. spaces/CofAI/chat/client/css/select.css +0 -35
  48. spaces/CognitiveLabs/Research-Assistant/test/test4.py +0 -6
  49. spaces/CrucibleAI/ControlNetMediaPipeFaceSD21/ldm/models/diffusion/__init__.py +0 -0
  50. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/designspaceLib/types.py +0 -147
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Adobe Photoshop CC 2020 Crack Full Presets (Mac et Windows) MacOSX A Complete Review and Comparison.md DELETED
@@ -1,131 +0,0 @@
1
-
2
- <h1>Adobe Photoshop CC 2020 Crack Full Presets (Mac et Windows) MacOSX</h1>
3
- <p>Are you looking for a way to get Adobe Photoshop CC 2020 for free with full presets and unlimited access? If yes, then you are in the right place. In this article, I will show you how to download and install Adobe Photoshop CC 2020 crack full presets for Mac and Windows. I will also show you how to use the presets to enhance your photos and create stunning effects. But before that, let me explain what Adobe Photoshop CC 2020 is and why you need a crack for it.</p>
4
- <h2>Adobe Photoshop CC 2020 Crack Full Presets (Mac et Windows) MacOSX</h2><br /><p><b><b>DOWNLOAD</b> ->>->>->> <a href="https://byltly.com/2uKwAe">https://byltly.com/2uKwAe</a></b></p><br /><br />
5
- <h2>Introduction</h2>
6
- <h3>What is Adobe Photoshop CC 2020?</h3>
7
- <p>Adobe Photoshop CC 2020 is the latest version of the most popular and powerful photo editing software in the world. It is used by millions of professionals and amateurs alike to create, edit, and manipulate images, graphics, and artworks. Adobe Photoshop CC 2020 offers a variety of tools, features, and functions that allow you to unleash your creativity and transform your photos into amazing works of art.</p>
8
- <h3>Why do you need a crack for Adobe Photoshop CC 2020?</h3>
9
- <p>Adobe Photoshop CC 2020 is not a free software. It requires a subscription plan that costs $20.99 per month or $239.88 per year. That's quite expensive for many people who want to use it for personal or educational purposes. Moreover, even if you pay for the subscription, you will not get access to all the presets that are available in Adobe Photoshop CC 2020. Presets are predefined settings that apply certain effects or adjustments to your photos with one click. They can save you a lot of time and effort and help you achieve professional results quickly and easily.</p>
10
- <p>That's why many people look for a crack for Adobe Photoshop CC 2020. A crack is a modified version of the software that bypasses the activation process and allows you to use it without paying anything. A crack also gives you access to all the presets that are included in Adobe Photoshop CC 2020, as well as some additional ones that are not available in the official version.</p>
11
- <p>How to download and install Adobe Photoshop CC 2020 cracked version for Mac and Windows<br />
12
- Adobe Photoshop CC 2020 full presets free download with crack for MacOSX and Windows<br />
13
- Best tips and tricks for using Adobe Photoshop CC 2020 crack on Mac and Windows<br />
14
- Adobe Photoshop CC 2020 crack serial number and activation key for Mac and Windows<br />
15
- Adobe Photoshop CC 2020 crack features and benefits for Mac and Windows users<br />
16
- Adobe Photoshop CC 2020 crack system requirements and compatibility for Mac and Windows<br />
17
- Adobe Photoshop CC 2020 crack problems and solutions for Mac and Windows<br />
18
- Adobe Photoshop CC 2020 crack vs original version comparison for Mac and Windows<br />
19
- Adobe Photoshop CC 2020 crack tutorials and guides for Mac and Windows beginners<br />
20
- Adobe Photoshop CC 2020 crack reviews and testimonials from Mac and Windows users<br />
21
- Adobe Photoshop CC 2020 full presets pack download link for Mac and Windows<br />
22
- How to use Adobe Photoshop CC 2020 full presets on Mac and Windows<br />
23
- Adobe Photoshop CC 2020 full presets examples and inspiration for Mac and Windows designers<br />
24
- Adobe Photoshop CC 2020 full presets advantages and disadvantages for Mac and Windows<br />
25
- Adobe Photoshop CC 2020 full presets customization and optimization for Mac and Windows<br />
26
- Adobe Photoshop CC 2020 full presets compatibility and integration with other software for Mac and Windows<br />
27
- Adobe Photoshop CC 2020 full presets updates and support for Mac and Windows<br />
28
- Adobe Photoshop CC 2020 full presets alternatives and competitors for Mac and Windows<br />
29
- Adobe Photoshop CC 2020 full presets FAQs and answers for Mac and Windows<br />
30
- Adobe Photoshop CC 2020 full presets feedback and suggestions for Mac and Windows developers<br />
31
- How to get Adobe Photoshop CC 2020 crack full presets for free legally for Mac and Windows<br />
32
- How to uninstall Adobe Photoshop CC 2020 crack full presets from Mac and Windows<br />
33
- How to fix Adobe Photoshop CC 2020 crack full presets errors and bugs on Mac and Windows<br />
34
- How to backup and restore Adobe Photoshop CC 2020 crack full presets on Mac and Windows<br />
35
- How to upgrade from Adobe Photoshop CC 2020 crack full presets to the latest version for Mac and Windows<br />
36
- How to transfer Adobe Photoshop CC 2020 crack full presets from one device to another for Mac and Windows<br />
37
- How to share Adobe Photoshop CC 2020 crack full presets with others for Mac and Windows<br />
38
- How to create amazing graphics with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
39
- How to edit photos professionally with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
40
- How to make logos, banners, flyers, posters, brochures, etc. with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
41
- How to enhance your online presence with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
42
- How to improve your SEO ranking with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
43
- How to increase your conversions with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
44
- How to generate more leads with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
45
- How to grow your business with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
46
- How to save time and money with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
47
- How to avoid legal issues with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
48
- How to protect your privacy with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
49
- How to secure your data with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
50
- How to prevent malware infections with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
51
- How to optimize your performance with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
52
- How to boost your creativity with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
53
- How to learn new skills with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
54
- How to have fun with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
55
- How to impress your clients with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
56
- How to collaborate with others with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
57
- How to access exclusive resources with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
58
- How to join a community of users with Adobe Photoshop CC 2020 crack full presets for Mac and Windows<br />
59
- How to get help from experts with Adobe Photoshop CC 2020 crack full presets for Mac and Windows</p>
60
- <h3>What are the features of Adobe Photoshop CC 2020?</h3>
61
- <p>Adobe Photoshop CC 2020 has many features that make it the best photo editing software in the market. Some of these features are:</p>
62
- <ul>
63
- <li><b>Content-Aware Fill:</b> This feature allows you to remove unwanted objects or areas from your photos and fill them with matching content from other parts of the image. You can also control how the fill is done by using different sampling options and output settings.</li>
64
- <li><b>Select Subject:</b> This feature allows you to select any subject in your photo with one click. You can then refine the selection using other tools or apply adjustments or effects to it.</li>
65
- <li><b>Select and Mask:</b> This feature allows you to create precise selections and masks for complex subjects such as hair, fur, feathers, etc. You can use various tools such as brushes, refine edge, smooth edge, etc. to fine-tune your selection or mask.</li>
66
- <li><b>Object Selection Tool:</b> This feature allows you to select multiple objects in your photo by drawing a rectangle or a lasso around them. The tool will automatically detect and select the objects within the area you draw.</li>
67
- <li><b>Enhance Details:</b> This feature allows you to improve the details and sharpness of your photos by using artificial intelligence. It works especially well for raw images taken with high-resolution cameras.</li>
68
- <li><b>Smart Objects:</b> These are layers that contain image data from raster or vector images such as PSD, TIFF, JPEG, PDF, etc. You can transform, warp, filter, or edit these layers without losing quality or resolution.</li>
69
- <li><b>Smart Filters:</b> These are filters that can be applied to smart objects or other layers non-destructively. You can adjust, reorder, hide, or delete these filters at any time without affecting the original image.</li>
70
- <li><b>Adjustment Layers:</b> These are layers that apply color or tonal adjustments to your image without changing the pixel values. You can modify, mask, or blend these layers with other layers using different modes.</li>
71
- <li><b>Layer Styles:</b> These are effects that can be applied to layers such as drop shadow, stroke, gradient overlay, etc. You can customize these effects using various parameters and options.</li>
72
- <li><b>Liquify Filter:</b> This filter allows you to distort or reshape any part of your image using different tools such as warp, pucker, bloat, twirl, etc. You can also use face-aware liquify to adjust facial features such as eyes, nose, mouth, etc.</li>
73
- <li><b>Perspective Warp:</b> This feature allows you to change the perspective of your image by warping it along multiple planes. You can also use it to correct distortion or alignment issues caused by camera angle or lens.</li>
74
- <li><b>Puppet Warp:</b> This feature allows you to bend or twist any part of your image by placing pins on it. You can then drag these pins to deform the image as if it were made of rubber.</li>
75
- <li><b>Crop Tool:</b> This tool allows you to crop your image by dragging its edges or corners. You can also use different aspect ratios or presets to crop your image according to your needs.</li>
76
- <li><b>Straighten Tool:</b> This tool allows you to straighten your image by drawing a line along any edge or horizon in it. The tool will automatically rotate and crop your image accordingly.</li>
77
- <li><b>Ruler Tool:</b> This tool allows you to measure distances or angles in your image by drawing a line between two points. You can also use it to align objects or layers in your image.</li>
78
- </ul>
79
- <p>These are just some of the features of Adobe Photoshop CC 2020. There are many more features that you can explore and use in this software.</p>
80
- <h2>How to download and install Adobe Photoshop CC 2020 crack full presets for Mac and Windows?</h2>
81
- <p>If you want to get Adobe Photoshop CC 2020 for free with full presets and unlimited access, then follow these steps:</p>
82
- <h3>Step 1: Download the crack file from the link below</h3>
83
- <p>The first thing you need to do is download the crack file from this link: <a href="https://bit.ly/AdobePhotoshopCC2020Crack">https://bit.ly/AdobePhotoshopCC2020Crack</a>. This link will take you to a Google Drive folder where you will find two files: one for Mac users and one for Windows users. Choose the file according to your operating system and click on download.</p>
84
- <h3>Step 2: Extract the file using WinRAR or 7-Zip</h3>
85
- <p>The next thing you need to do is extract the file using WinRAR or 7-Zip. These are free software that can unzip compressed files easily. You can download them from their official websites: <a href="https://www.win-rar.com/">https://www.win-rar.com/</a> (for WinRAR) or <a href="https://www.7-zip.org/">https://www.7-zip.org/</a> (for 7-Zip). After downloading them, install them on your computer and then right-click on the crack file you downloaded in step 1 and choose "Extract here" or "Extract files".</p>
86
- <h3>Step 3: Run the setup file and follow the instructions</h3>
87
- <p>After extracting the file, you will see a folder named "Adobe Photoshop CC 2020 Crack Full Presets". Open this folder and double-click on the setup file. This will launch the installation wizard that will guide you through the process. Follow the instructions on the screen and accept the terms and conditions. Choose the destination folder where you want to install the software and click on install.</p>
88
- <h3>Step 4: Copy and paste the crack file into the installation folder</h3>
89
- <p>Once the installation is complete, do not run the software yet. Go back to the folder where you extracted the crack file and open it. You will see another folder named "Crack". Open this folder and copy the file named "amtlib.dll". Then go to the installation folder where you installed Adobe Photoshop CC 2020. The default location is "C:\Program Files\Adobe\Adobe Photoshop CC 2020" for Windows users and "/Applications/Adobe Photoshop CC 2020" for Mac users. Paste the crack file into this folder and replace the original file.</p>
90
- <h3>Step 5: Enjoy Adobe Photoshop CC 2020 with full presets and unlimited access</h3>
91
- <p>Congratulations! You have successfully installed Adobe Photoshop CC 2020 crack full presets for Mac and Windows. Now you can run the software and enjoy all its features and functions without any limitations or restrictions. You can also access all the presets that are available in Adobe Photoshop CC 2020, as well as some additional ones that are not available in the official version.</p>
92
- <h2>How to use Adobe Photoshop CC 2020 crack full presets for Mac and Windows?</h2>
93
- <p>Now that you have Adobe Photoshop CC 2020 crack full presets for Mac and Windows, you might be wondering how to use them to enhance your photos and create stunning effects. Here are some tips and tricks that will help you use the presets effectively:</p>
94
- <h3>How to access the presets in Adobe Photoshop CC 2020?</h3>
95
- <p>To access the presets in Adobe Photoshop CC 2020, you need to open the Preset Manager. To do this, go to Edit > Presets > Preset Manager. This will open a window where you can see all the presets that are available in Adobe Photoshop CC 2020. You can also add, delete, rename, or organize your presets using this window.</p>
96
- <p>The presets are divided into different categories such as Brushes, Patterns, Gradients, Styles, etc. You can choose any category from the drop-down menu at the top of the window. You can also use the search box to find a specific preset by typing its name or keyword.</p>
97
- <h3>How to apply the presets to your photos in Adobe Photoshop CC 2020?</h3>
98
- <p>To apply a preset to your photo in Adobe Photoshop CC 2020, you need to select it from the Preset Manager and then click on Load. This will load the preset into your current document. You can then use it as you normally would with any other tool or feature in Adobe Photoshop CC 2020.</p>
99
- <p>For example, if you want to apply a brush preset to your photo, you need to select it from the Preset Manager and then click on Load. This will load the brush preset into your Brush Tool. You can then use it to paint on your photo with different colors, sizes, shapes, etc.</p>
100
- <p>If you want to apply a pattern preset to your photo, you need to select it from the Preset Manager and then click on Load. This will load the pattern preset into your Pattern Stamp Tool. You can then use it to stamp on your photo with different modes, opacity, alignment, etc.</p>
101
- <p>If you want to apply a gradient preset to your photo, you need to select it from the Preset Manager and then click on Load. This will load the gradient preset into your Gradient Tool. You can then use it to fill or stroke your photo with different colors, angles, styles, etc.</p>
102
- <p>If you want to apply a style preset to your photo, you need to select it from the Preset Manager and then click on Load. This will load the style preset into your Layer Style dialog box. You can then apply it to any layer in your photo with different options such as blending mode, opacity, scale, etc.</p>
103
- <h3>How to create your own presets in Adobe Photoshop CC 2020?</h3>
104
- <p>If you want to create your own presets in Adobe Photoshop CC 2020, you need to follow these steps:</p>
105
- <ol>
106
- <li>Create or edit your photo using any tool or feature in Adobe Photoshop CC 2020.</li>
107
- <li>Select or create a new layer that contains your desired effect or adjustment.</li>
108
- <li>Go to Edit > Presets > Preset Manager.</li>
109
- <li>Choose the category that matches your effect or adjustment from the drop-down menu at the top of the window.</li>
110
- <li>Click on Save Set and give a name to your preset.</li>
111
- <li>Click on OK and close the Preset Manager window.</li>
112
- </ol>
113
- <p>You have now created your own preset in Adobe Photoshop CC 2020. You can access it anytime from the Preset Manager and apply it to any photo you want.</p>
114
- <h3>How to share your presets with others in Adobe Photoshop CC 2020?</h3>
115
- <p>If you want to share your presets with others in Adobe Photoshop CC 2020, you need to follow these steps:</p>
116
- <ol>
117
- <li>Go to Edit > Presets > Preset Manager.</li>
118
- <li>Choose the category that contains your preset from the drop-down menu at the top of the window.</li>
119
- <li>Select your preset from the list of presets.</li>
120
- <li>Click on Save Set and choose a location where you want to save your preset file.</li>
121
- <li>Click on OK and close the Preset Manager window.</li>
122
- </ol>
123
- <p>You have now saved your preset as a file that can be shared with others. You can send this file via email, social media, cloud storage, etc. To load this file into another computer or device, simply copy it into its corresponding folder in Adobe Photoshop CC 2020's installation directory.</p>
124
- <h2>Conclusion</h2>
125
- <h3>Summary of the main points</h3>
126
- <p>In this article, I have shown you how to download and install Adobe Photoshop CC 2020 crack full presets for Mac and Windows. I have also shown you how to use them to enhance your photos and create stunning effects. By using this crack version of Adobe Photoshop CC 2020, you can enjoy all its features and functions without paying anything or having any limitations or restrictions. You can also access all the presets that are available in Adobe Photoshop CC 2020, as well as some additional ones that are not available in the official version.</p>
127
- <h3>Call to action and recommendation</h3>
128
- <p>If you want to get Adobe Photoshop CC 2020 for free with full presets and unlimited access, then don't wait any longer. Click on this link <a href="https://bit.ly/AdobePhotoshopCC2020Crack">https://bit.ly/AdobePhotoshopCC2020Crack</a>
129
- and download the crack file now. Follow the instructions in this article and install the software on your computer or device. You will be amazed by what you can do with Adobe Photoshop CC 2020 crack full presets for Mac and Windows. However, I must warn you that using a crack version of any software is illegal and unethical. You may face legal consequences or security risks if you do so. Therefore, I recommend that you use this crack version only for educational or personal purposes and not for commercial or professional purposes. If you like Adobe Photoshop CC 2020 and want to support its developers, then please buy the original version from their official website <a href="https://www.adobe.com/products/photoshop.html">https://www.adobe.com/products/photoshop.html</a>. You will get regular updates, customer support, and peace of mind. Thank you for reading this article. I hope you found it useful and informative. If you have any questions or feedback, please leave them in the comments section below. I would love to hear from you. </p> 0a6ba089eb<br />
130
- <br />
131
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download PowerPoint Ed Version and Enjoy Its Unique Features for Inclusive and Collaborative Classrooms.md DELETED
@@ -1,28 +0,0 @@
1
- <br />
2
- <h1>How to Download PowerPoint Ed Version for Free</h1>
3
- <p>PowerPoint Ed is a powerful and easy-to-use tool that allows you to create and edit stunning presentations with animations, transitions, and multimedia. PowerPoint Ed is compatible with Microsoft PowerPoint and can open and save files in various formats, including PPT, PPTX, PDF, and HTML.</p>
4
- <h2>download powerpoint cracked version</h2><br /><p><b><b>Download Zip</b> &#8250;&#8250;&#8250;&#8250;&#8250; <a href="https://byltly.com/2uKzbM">https://byltly.com/2uKzbM</a></b></p><br /><br />
5
- <p>If you want to download PowerPoint Ed version for free, you can follow these simple steps:</p>
6
- <ol>
7
- <li>Go to the official website of PowerPoint Ed at <a href="https://www.powerpointed.com/">https://www.powerpointed.com/</a>.</li>
8
- <li>Click on the "Download" button on the top right corner of the homepage.</li>
9
- <li>Select your preferred language and operating system from the drop-down menus.</li>
10
- <li>Click on the "Download Now" button and wait for the installation file to be downloaded.</li>
11
- <li>Run the installation file and follow the instructions on the screen to complete the installation.</li>
12
- <li>Launch PowerPoint Ed and enjoy creating amazing presentations!</li>
13
- </ol>
14
- <p>PowerPoint Ed is a free software that does not require any registration or activation. However, if you want to access more features and templates, you can upgrade to the premium version for a small fee. You can also join the PowerPoint Ed community and share your feedback, suggestions, and ideas with other users.</p>
15
- <p>Download PowerPoint Ed version today and unleash your creativity!</p>
16
- <p></p><h2>Why Choose PowerPoint Ed Version?</h2>
17
- <p>PowerPoint Ed version is not just a regular PowerPoint software. It is a special edition that is designed for education and learning purposes. PowerPoint Ed version has many features that make it stand out from other presentation tools. Here are some of the reasons why you should choose PowerPoint Ed version:</p>
18
- <ul>
19
- <li>PowerPoint Ed version is free for students and educators at eligible institutions. You can sign up with your valid school email address and get access to Word, Excel, PowerPoint, OneNote, and Microsoft Teams, plus additional classroom tools.</li>
20
- <li>PowerPoint Ed version supports inclusive classrooms with features such as **Presenter Coach**, **PowerPoint Live**, and **live captioning**. Presenter Coach helps you practice your presentation skills and gives you feedback on your pace, pitch, filler words, and more. PowerPoint Live lets you present online to your audience with interactive features such as polls, chat, and reactions. Live captioning allows you to display subtitles in different languages for your audience.</li>
21
- <li>PowerPoint Ed version allows you to create flipped instruction with **PowerPoint Recorder**. You can record your voice, video, and annotations on your slides and share them with your students. You can also embed quizzes and surveys to check their understanding and engagement.</li>
22
- <li>PowerPoint Ed version helps you create accessible content with Microsoft 365. You can use features such as **Accessibility Checker**, **Alt Text**, **Immersive Reader**, and **Translate** to make sure your presentations are readable and understandable for everyone.</li>
23
- <li>PowerPoint Ed version lets you collaborate with your classmates and teachers in real time. You can co-author presentations, share comments and feedback, and sync your files across devices with OneDrive and Teams.</li>
24
- <li>PowerPoint Ed version gives you access to the Office Premium Creative Content collection, which includes thousands of high-quality stock images, icons, videos, fonts, and templates that you can use in your presentations.</li>
25
- </ul>
26
- <p>With PowerPoint Ed version, you can create powerful presentations that showcase your creativity and knowledge. Whether you are a student or a teacher, PowerPoint Ed version can help you achieve your learning goals.</p> ddb901b051<br />
27
- <br />
28
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1gistliPinn/ChatGPT4/Examples/Autocount Accounting Keygen [Extra Quality].md DELETED
@@ -1,22 +0,0 @@
1
- <h2>Autocount Accounting Keygen</h2><br /><p><b><b>Download Zip</b> >>> <a href="https://imgfil.com/2uxZn8">https://imgfil.com/2uxZn8</a></b></p><br /><br />
2
-
3
- I haven't had any problems except when I went to California last year. I was going to stay for a month and then go back home. I asked the girl in the hotel desk if it was OK to leave the car there as I didn't want to pay for parking. She said she didn't know how it would be treated. She called the police and when they came and told me to move the car she said "how do you know it's your car." We had to move it down the street to a lot where I have to pay for parking. I am unsure of my rights as to where I am able to leave my car but I am told that if I were to leave it at the hotel I would have to pay for parking. I have been a loyal customer since 1972. It still runs and drives. I have tried to buy a new one but I can't find one that good.
4
-
5
- Last edited by blvader on Sat Feb 16, 2012 8:31 pm, edited 1 time in total.
6
-
7
- Best thing you can do is buy a new one - even if you pay full retail or even a little over that. A new car is a life-changing purchase. Of course, the happy news is that the auto brand is likely to be better than the last one.
8
-
9
- If you think about the condition of the car (and that you've had it for so long) you may be able to get the car owner to buy the car back from you (less than full retail, I know). But you won't get much for it even if you did.
10
-
11
- I'd check the N.H. State DMVs website, www.mvs.com (if you're in New Hampshire). There should be an up-to-date vehicle registration history on file. While I can't vouch for the accuracy of the data, the car you've had it for so long may not have had a lot of miles on it. In any event, DMV data is a good first look for such a thing.
12
-
13
- This is a really high-quality fix-it-yourself project, but I think it's so, so important to be thorough (especially when you're dealing with a brand new car!) that I'd love to see your work:
14
-
15
- Who is online
16
-
17
- Users browsing this forum: No registered users and 1 guest
18
-
19
- You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts 4fefd39f24<br />
20
- <br />
21
- <br />
22
- <p></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download 4 Movie and Stream Online - HD 4K Quality Available.md DELETED
@@ -1,144 +0,0 @@
1
-
2
- <h1>How to Download 4 Movie for Free in 2023</h1>
3
- <p>If you are a movie lover, you might have heard of the term "4 movie". It is a new video format that offers higher resolution, better compression, and more features than the standard MP4 format. It is also compatible with most devices and platforms, making it ideal for watching movies on the go.</p>
4
- <p>But how can you download 4 movie for free in 2023? Is it legal and safe to do so? What are the best sites to find and download your favorite movies in this format? In this article, we will answer these questions and more. We will also show you how to use ByClick Downloader, a powerful tool that can help you download any movie from any site with just one click.</p>
5
- <h2>download 4 movie</h2><br /><p><b><b>Download File</b> &#11088; <a href="https://urlin.us/2uT1vX">https://urlin.us/2uT1vX</a></b></p><br /><br />
6
- <h2>Benefits of Downloading 4 Movie</h2>
7
- <h3>High-quality video and audio</h3>
8
- <p>One of the main advantages of downloading movies in the new format is that they offer better quality than MP4 movies. The resolution of a typical MP4 movie is usually around HD (1280 x720 pixels), while a typical movie can go up to UHD (3840 x2160 pixels). This means that you can enjoy more details, sharper images, and smoother motion when watching movies.</p>
9
- <p>Another benefit of downloading movies in this format is that they have better audio quality. The format supports Dolby Atmos, a surround sound technology that creates a realistic and immersive sound experience. You can hear sounds coming from different directions, such as above, below, behind, or in front of you.</p>
10
- <h3>Offline access and convenience</h3>
11
- <p>Another reason why you might want to download movies in this format is that you can watch them offline anytime and anywhere. You don't need an internet connection or a streaming service subscription to enjoy your favorite movies. You can save them on your computer, smartphone, tablet, or external hard drive and watch them whenever you want.</p>
12
- <p>Downloading movies also gives you more control over your viewing experience. You can pause, rewind, fast-forward, or skip scenes without any buffering or interruptions. You can also adjust the brightness, volume, subtitles, or language settings according to your preferences.</p>
13
- <h3>No subscription fees or ads</h3>
14
- <p>A third benefit of downloading movies in this format is that you don't have to pay any subscription fees or watch any ads. Unlike streaming services that charge you monthly or yearly fees to access their content library, downloading movies allows you to watch them for free. You can also avoid annoying ads that interrupt your viewing pleasure or collect your personal data.</p>
15
- <p>Downloading movies also gives you more freedom and choice over what you want to watch. You don't have to rely on the availability or selection of streaming services <h2>Risks of Downloading 4 Movie</h2>
16
- <h3>Legal issues and copyright infringement</h3>
17
- <p>While downloading movies in this format may seem tempting, you should also be aware of the potential risks involved. One of the biggest risks is that you may be breaking the law and infringing on the rights of the movie creators and distributors. Downloading movies from unauthorized sources is considered piracy, which is illegal in most countries and can result in fines, lawsuits, or even jail time.</p>
18
- <p>Therefore, you should always check the legality and legitimacy of the sites and sources that you use to download movies. You should also respect the intellectual property and creative efforts of the movie makers and support them by paying for their work or watching them on legal platforms.</p>
19
- <p>download 4 movie in HD quality<br />
20
- download 4 movie for free online<br />
21
- download 4 movie with subtitles<br />
22
- download 4 movie from YouTube<br />
23
- download 4 movie using torrent<br />
24
- download 4 movie on mobile<br />
25
- download 4 movie in MP4 format<br />
26
- download 4 movie full length<br />
27
- download 4 movie without registration<br />
28
- download 4 movie fast and easy<br />
29
- download 4 movie latest release<br />
30
- download 4 movie in Hindi dubbed<br />
31
- download 4 movie with English audio<br />
32
- download 4 movie from Netflix<br />
33
- download 4 movie legally and safely<br />
34
- download 4 movie in 1080p resolution<br />
35
- download 4 movie with high speed<br />
36
- download 4 movie from best site<br />
37
- download 4 movie in dual audio<br />
38
- download 4 movie with low data usage<br />
39
- download 4 movie in different genres<br />
40
- download 4 movie offline mode<br />
41
- download 4 movie with one click<br />
42
- download 4 movie from Amazon Prime Video<br />
43
- download 4 movie no ads or pop-ups<br />
44
- download 4 movie in Blu-ray quality<br />
45
- download 4 movie with VPN service<br />
46
- download 4 movie from Google Drive<br />
47
- download 4 movie in original language<br />
48
- download 4 movie with bonus features<br />
49
- download 4 movie in small size<br />
50
- download 4 movie on PC or laptop<br />
51
- download 4 movie with direct link<br />
52
- download 4 movie from Disney Plus<br />
53
- download 4 movie no sign up required<br />
54
- download 4 movie in ultra HD quality<br />
55
- download 4 movie with multiple options<br />
56
- download 4 movie from Hulu<br />
57
- download 4 movie in any region or country<br />
58
- download 4 movie with good sound quality<br />
59
- download 4 movie in various formats<br />
60
- download 4 movie on smart TV or streaming device<br />
61
- download 4 movie with reliable source<br />
62
- download 4 movie from HBO Max<br />
63
- download 4 movie no virus or malware risk<br />
64
- download 4 movie in HDR quality<br />
65
- download 4 movie with user-friendly interface<br />
66
- download 4 movie from Apple TV Plus<br />
67
- download 4 movie no credit card needed</p>
68
- <h3>Malware and viruses</h3>
69
- <p>Another risk of downloading movies in this format is that you may expose your device and data to malware and viruses. Some of the sites and sources that offer free movie downloads may contain malicious software or links that can harm your computer, smartphone, tablet, or external hard drive. They can infect your device with spyware, ransomware, trojans, worms, or other types of malware that can steal your personal information, damage your files, or lock your device.</p>
70
- <p>Therefore, you should always be careful and cautious when downloading movies from unknown or suspicious sites and sources. You should also use a reliable antivirus software and firewall to protect your device and data from malware and viruses. You should also scan your downloaded files before opening them or transferring them to other devices.</p>
71
- <h3>Data consumption and storage space</h3>
72
- <p>A third risk of downloading movies in this format is that you may consume a lot of data and storage space. Because movies in this format have higher resolution and quality than MP4 movies, they also have larger file sizes. A typical movie can range from 1 GB to 10 GB or more, depending on the length and quality of the movie. This means that you may need a fast and stable internet connection to download them without any issues or delays.</p>
73
- <p>Downloading movies in this format also requires a lot of storage space on your device or external hard drive. If you download too many movies, you may run out of space or slow down your device performance. Therefore, you should always check the file size and storage capacity before downloading movies in this format. You should also delete or transfer the movies that you don't need or watch anymore to free up some space.</p>
74
- <h2>Best Free Movie Download Sites for 4 Movie in 2023</h2>
75
- <h3>YouTube</h3>
76
- <p>One of the best and easiest ways to download movies in this format for free is to use YouTube. YouTube is the most popular video-sharing platform in the world, where you can find millions of videos, including movies, trailers, clips, documentaries, and more. You can also find many channels and playlists that offer movies in this format for free.</p>
77
- <p>To download movies from YouTube, you can use a simple online tool called YouTube Downloader. This tool allows you to download any video from YouTube in various formats, including 4 movie. All you have to do is copy and paste the URL of the video that you want to download into the tool's input box and click on the "Download" button. You can then choose the format and quality that you want and save the file on your device.</p>
78
- <h3>EZTV</h3>
79
- <p>Another option to download movies in this format for free is to use EZTV. EZTV is one of the most popular torrent sites for downloading TV shows and movies. You can find a wide range of genres, categories, languages, and qualities on this site, including 4 movie. You can also find the latest releases and updates on this site.</p>
80
- <p>To download movies from EZTV, you need to use a torrent client software such as BitTorrent or uTorrent. This software allows you to download files from other users who are sharing them on the network. You also need to use a VPN service such as NordVPN or ExpressVPN to hide your IP address and encrypt your traffic. This way, you can avoid any legal issues or malware threats when downloading movies from torrent sites.</p>
81
- <h3>FZMovies</h3>
82
- <p>A third option to download movies in this format for free is to use FZMovies. FZMovies is a dedicated site for downloading Bollywood and Hollywood movies in various formats, including 4 movie. You can find a huge collection of movies on this site, ranging from old classics to new blockbusters. You can also search for movies by genre, year, actor, director, or keyword.</p>
83
- <p>To download movies from FZMovies, you just need to visit the site and browse through its categories or use its search function. You can then click on the movie that you want to download and choose the format and quality that you want. You can then click on the download link and save the file on your device.</p>
84
- <h2>How to Download 4 Movie from Any Site with ByClick Downloader (Recommended)</h2>
85
- <h3>What is ByClick Downloader and why you should use it</h3>
86
- <p>If you want to download movies in this format from any site with ease and convenience, you should use ByClick Downloader. ByClick Downloader is a powerful and versatile tool that can help you download any video from any site with just one click. You can download videos from YouTube, Facebook, Instagram, Twitter, Vimeo, Dailymotion, and more. You can also download videos in various formats, including 4 movie.</p>
87
- <p>ByClick Downloader has many features and advantages that make it the best choice for downloading movies in this format. Some of them are:</p>
88
- <ul>
89
- <li>It supports multiple downloads and batch downloads, so you can download several movies at once or create a download list.</li>
90
- <li>It has a smart auto-detect feature that detects any video that you are watching on your browser and offers you to download it with one click.</li>
91
- <li>It has a built-in video converter that allows you to convert any video to any format, including 4 movie.</li>
92
- <li>It has a fast and reliable download speed that ensures that you get your movies in the shortest time possible.</li>
93
- <li>It has a user-friendly and intuitive interface that makes it easy to use and navigate.</li>
94
- </ul>
95
- <h3>How to install and use ByClick Downloader</h3>
96
- <p>To install and use ByClick Downloader, you just need to follow these simple steps:</p>
97
- <ol>
98
- <li>Visit the official website of ByClick Downloader and click on the "Download" button to get the setup file.</li>
99
- <li>Run the setup file and follow the instructions to install the tool on your device.</li>
100
- <li>Open the tool and choose the format and quality that you want for your downloads. You can also customize other settings such as download location, notifications, subtitles, etc.</li>
101
- <li>Go to any site that has the movie that you want to download and play the video. You will see a pop-up window that offers you to download the video with one click. You can also copy and paste the URL of the video into the tool's input box and click on the "Download" button.</li>
102
- <li>Wait for the download to finish and enjoy your movie.</li>
103
- </ol>
104
- <h3>Features and advantages of ByClick Downloader</h3>
105
- <p>By using ByClick Downloader, you can enjoy many features and advantages that make it the best tool for downloading movies in this format. Some of them are:</p>
106
- <ul>
107
- <li>You can download movies in this format from any site with just one click, without any hassle or complication.</li>
108
- <li>You can download movies in this format in high quality, up to UHD resolution.</li>
109
- <li>You can download movies in this format with Dolby Atmos sound, for a realistic and immersive audio experience.</li>
110
- <li>You can download movies in this format with subtitles, in any language that you want.</li>
111
- <li>You can download movies in this format with metadata, such as title, genre, director, cast, etc.</li>
112
- <li>You can download movies in this format with thumbnails, for a better preview and organization of your files.</li>
113
- </ul>
114
- <h2>Conclusion</h2>
115
- <p>In conclusion, downloading movies in this format is a great way to enjoy high-quality video and audio, offline access and convenience, and no subscription fees or ads. However, you should also be aware of the risks of downloading movies in this format, such as legal issues and copyright infringement, malware and viruses, and data consumption and storage space. You should always check the legality and legitimacy of the sites and sources that you use to download movies, and use a reliable antivirus software and firewall to protect your device and data from malware and viruses. You should also check the file size and storage capacity before downloading movies in this format, and delete or transfer the movies that you don't need or watch anymore to free up some space.</p>
116
- <p>The best way to download movies in this format for free in 2023 is to use ByClick Downloader. This tool can help you download any movie from any site with just one click. You can also download movies in various formats, including 4 movie. By using ByClick Downloader, you can enjoy many features and advantages that make it the best tool for downloading movies in this format. You can download movies in high quality, up to UHD resolution. You can also download movies with Dolby Atmos sound, subtitles, metadata, thumbnails, and more. You can also convert any video to any format, including 4 movie. You can also enjoy fast and reliable download speed, multiple downloads and batch downloads, smart auto -detect feature, and a user-friendly and intuitive interface.</p>
117
- <p>So, what are you waiting for? Download ByClick Downloader today and start downloading your favorite movies in this format for free in 2023. You will not regret it!</p>
118
- <h2>FAQs</h2>
119
- <h3>What is the difference between MP4 and 4 movie?</h3>
120
- <p>MP4 is a standard video format that is widely used and supported by most devices and platforms. It has good quality and compression, but it also has some limitations and drawbacks. For example, it does not support high dynamic range (HDR), which enhances the contrast and color of the video. It also does not support Dolby Atmos, which creates a surround sound effect. It also has a fixed frame rate, which can cause stuttering or judder when playing videos with different frame rates.</p>
121
- <p>4 movie is a new video format that is designed to overcome the limitations and drawbacks of MP4. It supports HDR, Dolby Atmos, and variable frame rate (VFR), which adapts to the frame rate of the video. It also has better quality and compression than MP4, which means that it can deliver higher resolution and quality with smaller file sizes.</p>
122
- <h3>How can I watch 4 movie on my TV or mobile device?</h3>
123
- <p>To watch movies in this format on your TV or mobile device, you need to make sure that your device supports this format. You can check the specifications or settings of your device to see if it supports this format. If your device does not support this format, you can use a video converter software such as ByClick Downloader to convert the movie to a compatible format such as MP4.</p>
124
- <p>You also need to transfer the movie from your computer to your device using a USB cable, a wireless connection, or a cloud service. You can then use a media player app such as VLC or MX Player to play the movie on your device.</p>
125
- <h3>How can I convert other video formats to 4 movie?</h3>
126
- <p>To convert other video formats to this format, you can use a video converter software such as ByClick Downloader. This software can help you convert any video to any format, including 4 movie. You just need to add the video that you want to convert to the software, choose the format and quality that you want, and click on the "Convert" button. You can then save the converted file on your device or share it with others.</p>
127
- <h3>Is it safe to download movies from torrent sites?</h3>
128
- <p>Downloading movies from torrent sites is not recommended, as it may pose some risks and dangers. Some of these risks are:</p>
129
- <ul>
130
- <li>You may be breaking the law and infringing on the rights of the movie creators and distributors, which can result in legal consequences such as fines, lawsuits, or jail time.</li>
131
- <li>You may expose your device and data to malware and viruses, which can harm your device, steal your personal information, damage your files, or lock your device.</li>
132
- <li>You may consume a lot of data and bandwidth, which can affect your internet speed and performance.</li>
133
- <li>You may encounter fake or corrupted files, which can waste your time and space.</li>
134
- </ul>
135
- <p>Therefore, you should avoid downloading movies from torrent sites and use legal and safe sources instead.</p>
136
- <h3>How can I avoid legal issues when downloading movies?</h3>
137
- <p>To avoid legal issues when downloading movies, you should follow these tips:</p>
138
- <ul>
139
- <li>Always check the legality and legitimacy of the sites and sources that you use to download movies. You should only use sites that have proper licenses and permissions to distribute movies.</li>
140
- <li>Always respect the intellectual property and creative efforts of the movie makers and support them by paying for their work or watching them on legal platforms.</li>
141
- <li>Always use a VPN service such as NordVPN or ExpressVPN to hide your IP address and encrypt your traffic when downloading movies from questionable sources. This way, you can avoid being tracked or monitored by authorities or hackers.</li>
142
- </ul></p> 197e85843d<br />
143
- <br />
144
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download Chicken Gun New Update Mod Apk and Enjoy the Fun.md DELETED
@@ -1,85 +0,0 @@
1
- <br />
2
- <h1>Chicken Gun New Update Mod APK: Everything You Need to Know</h1>
3
- <p>If you are looking for a fun and addictive FPS game that will make you laugh out loud, then you should try Chicken Gun. This game lets you play as a chicken with a gun and fight against other chickens in various modes and maps. You can customize your chicken with different skins, hats, glasses, and weapons, and enjoy the hilarious physics and animations. In this article, we will tell you everything you need to know about the latest update of Chicken Gun and how to download the mod apk version that gives you unlimited money, gems, and more.</p>
4
- <h2>chicken gun new update mod apk</h2><br /><p><b><b>Download</b> &#9733; <a href="https://urlin.us/2uSTtw">https://urlin.us/2uSTtw</a></b></p><br /><br />
5
- <h2>What is Chicken Gun?</h2>
6
- <h3>A hilarious and chaotic FPS game</h3>
7
- <p>Chicken Gun is a multiplayer FPS game developed by ChaloApps. The game has a simple premise: you are a chicken with a gun, and you have to shoot other chickens in various modes and maps. You can play online with up to 10 players in team deathmatch, free for all, capture the flag, or zombie mode. You can also play offline with bots or with your friends on the same device.</p>
8
- <h3>Features of Chicken Gun</h3>
9
- <p>Chicken Gun has many features that make it a unique and entertaining game. Some of them are:</p>
10
- <ul>
11
- <li>Over 50 different weapons to choose from, including pistols, rifles, shotguns, grenades, rockets, flamethrowers, and more.</li>
12
- <li>Over 20 different skins to customize your chicken, such as pirate, ninja, clown, astronaut, cowboy, and more.</li>
13
- <li>Over 10 different hats, glasses, and masks to accessorize your chicken, such as sunglasses, helmets, bandanas, goggles, and more.</li>
14
- <li>Over 10 different maps to explore and fight in, such as farm, city, desert, snow, space, and more.</li>
15
- <li>Funny physics and animations that make the game hilarious and chaotic.</li>
16
- <li>Chat system to communicate with other players.</li>
17
- <li>Leaderboards and achievements to compete with other players.</li>
18
- </ul>
19
- <h2>What is new in the latest update?</h2>
20
- <h3>New maps, weapons, and skins</h3>
21
- <p>The latest update of Chicken Gun brings some new content to the game. There are two new maps: prison and airport. There are also two new weapons: crossbow and minigun. And there are four new skins: prisoner, pilot, cop, and soldier.</p>
22
- <h3>Improved graphics and performance</h3>
23
- <p>The latest update also improves the graphics and performance of the game. The game now supports HD resolution and has better lighting effects. The game also runs smoother and faster on most devices.</p>
24
- <h3>Bug fixes and balance changes</h3>
25
- <p>The latest update also fixes some bugs and glitches that were affecting the gameplay. For example, some weapons were not working properly or had incorrect stats. The update also balances some weapons and modes to make them more fair and fun.</p>
26
- <h2>Why should you download the mod apk?</h2>
27
- <h3>Unlimited money and gems</h3>
28
- <p>The mod apk version of Chicken Gun gives you unlimited money and gems. You can use them to buy any weapon, skin, hat, or glass you want. You can also upgrade your weapons to make them more powerful and effective.</p>
29
- <p>chicken gun mod apk latest version download<br />
30
- chicken gun unlimited money and gems mod apk<br />
31
- chicken gun 3.3.01 mod apk free download<br />
32
- chicken gun fps shooter mod apk android<br />
33
- chicken gun hack mod apk no root<br />
34
- chicken gun online multiplayer mod apk<br />
35
- chicken gun mod menu apk download<br />
36
- chicken gun mod apk all weapons unlocked<br />
37
- chicken gun mod apk offline mode<br />
38
- chicken gun mod apk unlimited ammo and health<br />
39
- chicken gun 2d pixel shooter mod apk<br />
40
- chicken gun mod apk revdl<br />
41
- chicken gun mod apk rexdl<br />
42
- chicken gun mod apk happymod<br />
43
- chicken gun mod apk an1<br />
44
- chicken gun zombie mode mod apk<br />
45
- chicken gun battle royale mod apk<br />
46
- chicken gun sandbox mode mod apk<br />
47
- chicken gun custom skins mod apk<br />
48
- chicken gun pro pack mod apk<br />
49
- chicken gun new maps and modes mod apk<br />
50
- chicken gun 3d graphics mod apk<br />
51
- chicken gun voice chat mod apk<br />
52
- chicken gun ragdoll physics mod apk<br />
53
- chicken gun funny moments mod apk<br />
54
- chicken gun best guns and items mod apk<br />
55
- chicken gun tips and tricks mod apk<br />
56
- chicken gun cheats and hacks mod apk<br />
57
- chicken gun gameplay and review mod apk<br />
58
- chicken gun how to install mod apk</p>
59
- <h3>Unlock all items and modes</h3>
60
- <p>The mod apk version also unlocks all items and modes in the game. You can access any map or mode without having to level up or complete <p>any challenge. You can also use any item without having to wait for the cooldown or reload time.</p>
61
- <h3>No ads and root required</h3>
62
- <p>The mod apk version also removes all the annoying ads that pop up in the game. You can enjoy the game without any interruption or distraction. Moreover, the mod apk does not require root access to work. You can install it on any device without any risk or hassle.</p>
63
- <h2>How to download and install the mod apk?</h2>
64
- <h3>Step 1: Download the mod apk file from a trusted source</h3>
65
- <p>The first step is to download the mod apk file from a trusted source. You can find many websites that offer the mod apk file, but be careful of fake or malicious ones. We recommend you to use this link to download the mod apk file safely and securely.</p>
66
- <h3>Step 2: Enable unknown sources on your device</h3>
67
- <p>The second step is to enable unknown sources on your device. This will allow you to install apps that are not from the Google Play Store. To do this, go to your device settings, then security, then unknown sources, and turn it on.</p>
68
- <h3>Step 3: Install the mod apk and enjoy the game</h3>
69
- <p>The final step is to install the mod apk and enjoy the game. To do this, locate the mod apk file in your device storage, then tap on it and follow the instructions. Once the installation is done, you can open the game and start playing with unlimited money, gems, and more.</p>
70
- <h2>Conclusion</h2>
71
- <p>Chicken Gun is a hilarious and chaotic FPS game that will make you laugh out loud. You can play as a chicken with a gun and fight against other chickens in various modes and maps. You can customize your chicken with different skins, hats, glasses, and weapons, and enjoy the funny physics and animations. The latest update of Chicken Gun brings some new content and improvements to the game, such as new maps, weapons, skins, graphics, performance, bug fixes, and balance changes. If you want to have more fun and advantages in the game, you should download the mod apk version that gives you unlimited money, gems, and more. You can download the mod apk file from this link and install it on your device easily and safely. We hope you enjoyed this article and found it helpful. If you have any questions or feedback, please let us know in the comments below.</p>
72
- <h2>FAQs</h2>
73
- <h4>Q: Is Chicken Gun free to play?</h4>
74
- <p>A: Yes, Chicken Gun is free to play. You can download it from the Google Play Store or the App Store for free. However, some items and modes may require real money to unlock or use.</p>
75
- <h4>Q: Is Chicken Gun safe to play?</h4>
76
- <p>A: Yes, Chicken Gun is safe to play. The game does not contain any harmful or inappropriate content for children or adults. The game is rated 12+ on the Google Play Store and 9+ on the App Store for mild violence and crude humor.</p>
77
- <h4>Q: Is Chicken Gun offline or online?</h4>
78
- <p>A: Chicken Gun can be played both offline and online. You can play offline with bots or with your friends on the same device. You can also play online with up to 10 players in team deathmatch, free for all, capture the flag, or zombie mode.</p>
79
- <h4>Q: How can I contact the developers of Chicken Gun?</h4>
80
- <p>A: You can contact the developers of Chicken Gun by sending them an email at [email protected] or by following them on their social media accounts such as Facebook, Instagram, or YouTube. You can also leave a review or a rating on the Google Play Store or the App Store to share your feedback or suggestions.</p>
81
- <h4>Q: How can I support the developers of Chicken Gun?</h4>
82
- <p>A: You can support the developers of Chicken Gun by buying some items or modes in the game with real money. This will help them cover their costs and improve their game. You can also share their game with your friends and family and invite them to play with you.</p>
83
- : https://www.apkdone.com/chicken-gun/ : https://www.facebook.com/ChaloApps : https://www.instagram.com/chaloapps/ : https://www.youtube.com/channel/UC9w8mpVvRdWRs1b8whPLnxg</p> 197e85843d<br />
84
- <br />
85
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Download Bullet Echo Mod APK v5.2.4 and Enjoy Unlimited Resources.md DELETED
@@ -1,111 +0,0 @@
1
-
2
- <br>
3
- <table>
4
- <tr>
5
- <td>
6
- <h1>Bullet Echo Mod APK 5.2.4: A Tactical Shooter Game with Unlimited Money</h1>
7
- <h2>Introduction</h2>
8
- <p>If you are looking for a thrilling and challenging shooter game that tests your skills and tactics, then you should try <strong>Bullet Echo Mod APK 5.2.4</strong>. This is a modified version of the original Bullet Echo game developed by ZeptoLab, which is known for creating popular games like Cut the Rope and King of Thieves.</p>
9
- <h2>bullet echo mod apk 5.2.4</h2><br /><p><b><b>Download Zip</b> &#9913;&#9913;&#9913; <a href="https://jinyurl.com/2uNPre">https://jinyurl.com/2uNPre</a></b></p><br /><br />
10
- <p>Bullet Echo Mod APK 5.2.4 is a tactical shooter game that puts you in a dark battlefield where you have to rely on your senses and strategy to survive and eliminate your enemies. You can choose from over 80 heroes with unique abilities and weapons, and team up with other players in real-time multiplayer matches.</p>
11
- <p>Some of the features of Bullet Echo Mod APK 5.2.4 are:</p> <p>Here are some of the benefits of Bullet Echo Mod APK 5.2.4:</p>
12
- <p>bullet echo mod apk 5.2.4 unlimited money and coins<br />
13
- bullet echo mod apk 5.2.4 latest version download<br />
14
- bullet echo mod apk 5.2.4 free shopping and upgrades<br />
15
- bullet echo mod apk 5.2.4 unlocked all characters and weapons<br />
16
- bullet echo mod apk 5.2.4 no ads and no root<br />
17
- bullet echo mod apk 5.2.4 hack cheats and tips<br />
18
- bullet echo mod apk 5.2.4 gameplay and review<br />
19
- bullet echo mod apk 5.2.4 online multiplayer mode<br />
20
- bullet echo mod apk 5.2.4 best settings and graphics<br />
21
- bullet echo mod apk 5.2.4 android and ios compatible<br />
22
- bullet echo mod apk 5.2.4 new features and updates<br />
23
- bullet echo mod apk 5.2.4 how to install and use<br />
24
- bullet echo mod apk 5.2.4 download link and mirror<br />
25
- bullet echo mod apk 5.2.4 safe and secure<br />
26
- bullet echo mod apk 5.2.4 bugs and issues fixed<br />
27
- bullet echo mod apk 5.2.4 high damage and speed<br />
28
- bullet echo mod apk 5.2.4 offline and single player mode<br />
29
- bullet echo mod apk 5.2.4 ranking and rewards system<br />
30
- bullet echo mod apk 5.2.4 custom maps and modes<br />
31
- bullet echo mod apk 5.2.4 voice chat and team play<br />
32
- bullet echo mod apk 5.2.4 support and feedback<br />
33
- bullet echo mod apk 5.2.4 original vs mod comparison<br />
34
- bullet echo mod apk 5.2.4 fun and addictive gameplay<br />
35
- bullet echo mod apk 5.2.4 realistic physics and sound effects<br />
36
- bullet echo mod apk 5.2.4 different classes and skills<br />
37
- bullet echo mod apk 5.2.4 strategy and tactics guide<br />
38
- bullet echo mod apk 5.2.4 weapons and equipment list<br />
39
- bullet echo mod apk 5.2.4 skins and customization options<br />
40
- bullet echo mod apk 5.2.4 missions and challenges mode<br />
41
- bullet echo mod apk 5.2.4 leaderboards and achievements<br />
42
- bullet echo mod apk 5.2.4 codes and coupons<br />
43
- bullet echo mod apk 5.2.4 trivia and facts<br />
44
- bullet echo mod apk 5.2.4 fan art and wallpapers<br />
45
- bullet echo mod apk 5.2.4 community and forums<br />
46
- bullet echo mod apk 5.2.4 developer and publisher information<br />
47
- bullet echo mod apk 5.2.4 rating and reviews<br />
48
- bullet echo mod apk 5.2.4 similar games and apps<br />
49
- bullet echo mod apk 5.2.4 frequently asked questions (FAQ)<br />
50
- bullet echo mod apk 5.2.4 pros and cons<br />
51
- bullet echo mod apk 5</p>
52
- <ul>
53
- <li>You can enjoy unlimited money to buy and upgrade your weapons and equipment.</li>
54
- <li>You can access the mod menu to enable or disable various features such as god mode, unlimited ammo, no recoil, and more.</li>
55
- <li>You can play with other players from around the world and chat with them in the game.</li>
56
- <li>You can experience high-quality graphics and sound effects that create an immersive atmosphere.</li>
57
- <li>You can have fun with different game modes and challenges that test your skills and tactics.</li>
58
- </ul>
59
- <p>So, if you are ready to join the action and become the best shooter in the dark, then you should download Bullet Echo Mod APK 5.2.4 right now. You will not regret it!</p>
60
- <h2>How to Download and Install Bullet Echo Mod APK 5.2.4 on Android Devices</h2>
61
- <p>Downloading and installing Bullet Echo Mod APK 5.2.4 on your Android device is very easy and simple. Just follow these steps:</p>
62
- <ol>
63
- <li>Enable unknown sources on your device. To do this, go to Settings > Security > Unknown Sources and toggle it on.</li>
64
- <li>Download the Bullet Echo Mod APK 5.2.4 file from a trusted source. You can use the link below to get it.</li>
65
- <li>Locate and install the Bullet Echo Mod APK 5.2.4 file on your device. You can use a file manager app to find it in your downloads folder.</li>
66
- <li>Launch the game and enjoy unlimited money and mod menu.</li>
67
- </ol>
68
- <p>That's it! You have successfully installed Bullet Echo Mod APK 5.2.4 on your Android device. Now you can play the game with all the advantages and features that it offers.</p>
69
- <h2>How to Play Bullet Echo Mod APK 5.2.4</h2>
70
- <p>Bullet Echo Mod APK 5.2.4 is a game that requires skill, strategy, and teamwork to win. Here are some tips on how to play it:</p>
71
- <ul>
72
- <li>Choose your hero and team up with other players. You can select from over 80 heroes with different abilities and weapons, such as snipers, assaulters, healers, and more. You can also join or create a squad with your friends or other players online.</li>
73
- <li>Use your skills and tactics to defeat your enemies. You have to rely on your senses and strategy to survive and eliminate your enemies in the dark battlefield. You can use your flashlight to see, but be careful not to expose yourself too much. You can also use your hero's abilities to gain an edge over your opponents, such as invisibility, shields, grenades, etc.</li>
74
- <li>Collect loot and upgrade your weapons and equipment. You can find various items on the map, such as ammo, health kits, armor, and more. You can also use the money you earn from winning matches to buy and upgrade your weapons and equipment in the shop.</li>
75
- <li>Compete in various modes and rank up on the leaderboard. You can play in different game modes, such as Team vs Team, Solo, and Battle Royale. Each mode has its own rules and objectives, so you have to adapt your strategy accordingly. You can also earn points and rank up on the leaderboard by winning matches and completing missions.</li>
76
- </ul>
77
- <h2>Tips and Tricks for Bullet Echo Mod APK 5.2.4</h2>
78
- <p>Bullet Echo Mod APK 5.2.4 is a game that challenges your skills and tactics as a shooter. Here are some tips and tricks that can help you improve your performance:</p>
79
- <ul>
80
- <li>Use stealth and cover to avoid detection. You have to be careful not to make too much noise or reveal yourself too much in the dark battlefield. You can use stealth mode to move silently, or hide behind objects or walls to avoid enemy fire.</li>
81
- <li>Communicate with your teammates and coordinate your attacks. You can use the chat feature or voice chat feature to communicate with your teammates in the game. You can also use emojis or gestures to express yourself or give commands. You should work together with your teammates and coordinate your attacks to achieve victory.</li>
82
- <li>Experiment with different heroes and find your best match. You can try out different heroes with different abilities and weapons, and see which one suits your play style best. You can also switch heroes during matches if you want to change your strategy or counter your enemies.</li>
83
- <li>Use the mod menu to customize your game settings and preferences. You can access the mod menu by tapping on the icon on the top left corner of the screen. You can enable or disable various features such as god mode, unlimited ammo, no recoil, speed hack, etc., depending on how you want to play the game. You can also adjust the sound, graphics, and language settings according to your preference.</li>
84
- </ul>
85
- <h2>Conclusion</h2>
86
- <p>Bullet Echo Mod APK 5.2.4 is a tactical shooter game that offers you a thrilling and challenging experience in a dark battlefield. You can choose from over 80 heroes with unique abilities and weapons, and team up with other players in real-time multiplayer matches. You can also enjoy unlimited money and mod menu features that give you more control and fun in the game. You can download and install Bullet Echo Mod APK 5.2.4 on your Android device easily and safely by following the steps above.</p>
87
- <p>So, what are you waiting for? Download Bullet Echo Mod APK 5.2.4 now and join the action and become the best shooter in the dark!</p>
88
- <h2>FAQs</h2>
89
- <p>Here are some frequently asked questions about Bullet Echo Mod APK 5.2.4:</p>
90
- <h3>What is Bullet Echo Mod APK 5.2.4?</h3>
91
- <p>Bullet Echo Mod APK 5.2.4 is a modified version of the original Bullet Echo game developed by ZeptoLab, which is a tactical shooter game that puts you in a dark battlefield where you have to rely on your senses and strategy to survive and eliminate your enemies.</p>
92
- <h3>Is Bullet Echo Mod APK 5.2.4 safe to download and install?</h3>
93
- <p>Yes, Bullet Echo Mod APK 5.2.4 is safe to download and install on your Android device, as long as you get it from a trusted source. You can use the link below to get it.</p>
94
- <h3>What are the benefits of Bullet Echo Mod APK 5.2.4?</h3>
95
- <p>Some of the benefits of Bullet Echo Mod APK 5.2.4 are:</p>
96
- <ul>
97
- <li>You can enjoy unlimited money to buy and upgrade your weapons and equipment.</li>
98
- <li>You can access the mod menu to enable or disable various features such as god mode, unlimited ammo, no recoil, speed hack, etc.</li>
99
- <li>You can play with other players from around the world and chat with them in the game.</li>
100
- <li>You can experience high-quality graphics and sound effects that create an immersive atmosphere.</li>
101
- <li>You can have fun with different game modes and challenges that test your skills and tactics.</li>
102
- </ul>
103
- <h3>How can I get unlimited money in Bullet Echo Mod APK 5.2.4?</h3>
104
- <p>You can get unlimited money in Bullet Echo Mod APK 5.2.4 by downloading and installing the modded version of the game from the link below. You can use the money to buy and upgrade your weapons and equipment in the shop.</p>
105
- <h3>How can I access the mod menu in Bullet Echo Mod APK 5.2.4?</h3>
106
- <p>You can access the mod menu in Bullet Echo Mod APK 5.2.4 by tapping on the icon on the top left corner of the screen. You can enable or disable various features such as god mode, unlimited ammo, no recoil, speed hack, etc., depending on how you want to play the game.</p>
107
- </td>
108
- </tr>
109
- </table></p> 197e85843d<br />
110
- <br />
111
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Download I Miss You by Grey and Discover More Songs by the Duo.md DELETED
@@ -1,128 +0,0 @@
1
- <br />
2
- <h1>How to Download "I Miss You" by Grey</h1>
3
- <p>"I Miss You" by Grey is a catchy and emotional electronic song that features the vocals of Bahari, a pop duo from Los Angeles. The song was released in 2017 as Grey's first official single, and it has since gained over 100 million streams on Spotify and over 6 million views on YouTube. The song is about missing someone you used to know and wondering if they feel the same way.</p>
4
- <p>If you love this song and want to listen to it anytime, anywhere, you might want to download it to your computer or mobile device. However, you should also be aware of the legal and ethical issues involved in downloading music online. In this article, we will show you three ways to download "I Miss You" by Grey legally, and help you decide which one is best for you.</p>
5
- <h2>download i miss you by grey</h2><br /><p><b><b>DOWNLOAD</b> &rarr; <a href="https://jinyurl.com/2uNS1f">https://jinyurl.com/2uNS1f</a></b></p><br /><br />
6
- <h2>How to download "I Miss You" by Grey legally</h2>
7
- <p>There are three main options for downloading "I Miss You" by Grey legally: buying the song from a digital music store, streaming the song from a music streaming service, or downloading the song for free from a legal website. Each option has its own pros and cons, depending on your preferences, budget, and internet connection. Let's take a look at each option in detail.</p>
8
- <h3>Option 1: Buy the song from a digital music store</h3>
9
- <p>One way to download "I Miss You" by Grey legally is to buy the song from a digital music store, such as iTunes, Amazon, or Google Play. This way, you can support the artists and their record label, and get a high-quality audio file that you can keep forever. However, this option also has some drawbacks. For example, you will have to pay for each song individually, which can add up if you want to download many songs. Also, you might have to deal with DRM (digital rights management) restrictions that limit how you can use or share the music.</p>
10
- <h4>Pros and cons of buying the song</h4>
11
- <table>
12
- <tr><td>Pros</td><td>Cons</td></tr>
13
- <tr><td>You can support the artists and their record label</td><td>You have to pay for each song individually</td></tr>
14
- <tr><td>You can get a high-quality audio file</td><td>You might have to deal with DRM restrictions</td></tr>
15
- <tr><td>You can keep the music forever</td><td>You might need extra storage space on your device</td></tr>
16
- </table>
17
- <h4>How to buy the song from iTunes, Amazon, or Google Play</h4>
18
- <p>To buy "I Miss You" by Grey from iTunes, Amazon, or Google Play, you will need to have an account with one of these services and a valid payment method. Then, you can follow these steps:</p>
19
- <ol>
20
- <li>Go to the website or app of your chosen service and search for "I Miss You" by Grey.</li>
21
- <li>Select the song and click on the buy or download button.</li>
22
- <li>Confirm your purchase and enter your payment details if needed.</li>
23
- <li>Wait for the download to complete and enjoy your music.</li>
24
- </ol>
25
- <h3>Option 2: Stream the song from a music streaming service</h3> Another way to download "I Miss You" by Grey legally is to stream the song from a music streaming service, such as Spotify, YouTube Music, or Apple Music. This way, you can access a huge library of music for a monthly fee or for free with ads. You can also download the song to your device for offline listening, as long as you maintain your subscription or account. However, this option also has some disadvantages. For example, you will not own the music and you might lose access to it if the service changes its terms or catalog. Also, you might have to deal with lower audio quality or data usage if you stream the music online. <h4>Pros and cons of streaming the song</h4>
26
- <table>
27
- <tr><td>Pros</td><td>Cons</td></tr>
28
- <tr><td>You can access a huge library of music</td><td>You will not own the music</td></tr>
29
- <tr><td>You can download the song for offline listening</td><td>You might lose access to the music</td></tr>
30
- <tr><td>You can pay a monthly fee or use the service for free with ads</td><td>You might have to deal with lower audio quality or data usage</td></tr>
31
- </table>
32
- <h4>How to stream the song from Spotify, YouTube Music, or Apple Music</h4>
33
- <p>To stream "I Miss You" by Grey from Spotify, YouTube Music, or Apple Music, you will need to have an account with one of these services and a compatible device. Then, you can follow these steps:</p>
34
- <ol>
35
- <li>Go to the website or app of your chosen service and search for "I Miss You" by Grey.</li>
36
- <li>Select the song and click on the play or add button.</li>
37
- <li>If you want to download the song for offline listening, click on the download or offline button.</li>
38
- <li>Enjoy your music and remember to check your subscription or account status regularly.</li>
39
- </ol>
40
- <h3>Option 3: Download the song for free from a legal website</h3>
41
- <p>A third way to download "I Miss You" by Grey legally is to download the song for free from a legal website, such as SoundCloud, Bandcamp, or DatPiff. These websites allow artists to upload their music and share it with their fans for free or for a voluntary donation. You can find many songs that are not available on other platforms and discover new artists and genres. However, this option also has some limitations. For example, you might not find the song you are looking for or it might be removed by the artist at any time. Also, you might have to deal with low audio quality or malware risks if you download from untrusted sources.</p>
42
- <p>How to download i miss you by grey on soundcloud<br />
43
- I miss you by grey feat bahari mp3 download<br />
44
- I miss you by grey lyrics and song download<br />
45
- Download i miss you by grey from jiosaavn<br />
46
- I miss you by grey ringtone download<br />
47
- I miss you by grey spotify download<br />
48
- I miss you by grey piano cover download<br />
49
- I miss you by grey remix download<br />
50
- I miss you by grey acoustic version download<br />
51
- I miss you by grey instrumental download<br />
52
- Download i miss you by grey on apple music<br />
53
- I miss you by grey karaoke download<br />
54
- I miss you by grey video download<br />
55
- I miss you by grey 320kbps download<br />
56
- I miss you by grey flac download<br />
57
- Download i miss you by grey on amazon music<br />
58
- I miss you by grey nightcore download<br />
59
- I miss you by grey live performance download<br />
60
- I miss you by grey edm download<br />
61
- I miss you by grey guitar tabs download<br />
62
- Download i miss you by grey on youtube music<br />
63
- I miss you by grey sheet music download<br />
64
- I miss you by grey mashup download<br />
65
- I miss you by grey 8d audio download<br />
66
- I miss you by grey slowed down download<br />
67
- Download i miss you by grey on deezer<br />
68
- I miss you by grey dance choreography download<br />
69
- I miss you by grey reaction video download<br />
70
- I miss you by grey tiktok challenge download<br />
71
- I miss you by grey extended mix download<br />
72
- Download i miss you by grey on tidal<br />
73
- I miss you by grey midi file download<br />
74
- I miss you by grey behind the scenes download<br />
75
- I miss you by grey official audio download<br />
76
- I miss you by grey loop download<br />
77
- Download i miss you by grey on napster<br />
78
- I miss you by grey a cappella download<br />
79
- I miss you by grey fan art download<br />
80
- I miss you by grey wallpaper download<br />
81
- I miss you by grey podcast episode download<br />
82
- Download i miss you by grey on pandora<br />
83
- I miss you by grey ukulele chords download<br />
84
- I miss you by grey trivia quiz download<br />
85
- I miss you by grey vr experience download<br />
86
- I miss you by grey lullaby version download</p>
87
- <h4>Pros and cons of downloading the song for free</h4>
88
- <table>
89
- <tr><td>Pros</td><td>Cons</td></tr>
90
- <tr><td>You can download the song for free or for a voluntary donation</td><td>You might not find the song you are looking for or it might be removed by the artist</td></tr>
91
- <tr><td>You can find many songs that are not available on other platforms</td><td>You might have to deal with low audio quality or malware risks</td></tr>
92
- <tr><td>You can discover new artists and genres</td><td>You might not be able to support the artists and their record label</td></tr>
93
- </table>
94
- <h4>How to download the song from SoundCloud, Bandcamp, or DatPiff</h4>
95
- <p>To download "I Miss You" by Grey from SoundCloud, Bandcamp, or DatPiff, you will need to have an account with one of these websites and a web browser. Then, you can follow these steps:</p>
96
- <ol>
97
- <li>Go to the website of your chosen service and search for "I Miss You" by Grey.</li>
98
- <li>Select the song and click on the download or buy button.</li>
99
- <li>If the song is free, confirm your download and wait for it to complete.</li>
100
- <li>If the song is not free, enter your email address and choose how much you want to pay (or enter zero if it is a voluntary donation).</li>
101
- <li>Check your email and click on the link to download the song.</li>
102
- <li>Enjoy your music and consider supporting the artists if you like their work.</li>
103
- </ol>
104
- <h2>Conclusion</h2>
105
- <p>"I Miss You" by Grey is a great song that you might want to download and listen to anytime, anywhere. However, you should also be careful about how you download music online and respect the rights of the artists and their record label. In this article, we showed you three ways to download "I Miss You" by Grey legally: buying the song from a digital music store, streaming the song from a music streaming service, or downloading the song for free from a legal website. Each option has its own pros and cons, depending on your preferences, budget, and internet connection. We hope this article helped you decide which option is best for you and enjoy your music legally and ethically.</p>
106
- <h2>FAQs</h2>
107
- <p>Here are some frequently asked questions about downloading "I Miss You" by Grey legally:</p>
108
- <ul>
109
- <li><b>Is it illegal to download music from YouTube?</b></li>
110
- <p>Yes, it is illegal to download music from YouTube without the permission of the artists or their record label. YouTube does not have a download feature for its videos, and using third-party tools or websites to download music from YouTube is a violation of its terms of service and the copyright law. You might face legal consequences or penalties if you download music from YouTube illegally.</p>
111
- <li><b>What is the best audio format for downloading music?</b></li>
112
- <p>The best audio format for downloading music depends on your preferences and needs. Some of the most common audio formats are MP3, AAC, WAV, FLAC, and ALAC. MP3 and AAC are compressed formats that reduce the file size and save storage space, but they also lose some audio quality. WAV, FLAC, and ALAC are uncompressed or lossless formats that preserve the original audio quality, but they also take up more storage space. You should choose the audio format that suits your device, player, and earphones.</p>
113
- <li><b>How can I download music faster?</b></li>
114
- <p>There are some factors that affect the speed of downloading music, such as your internet connection, your device, and the source of the music. To download music faster, you can try these tips:</p>
115
- <ul>
116
- <li>Use a reliable and fast internet connection, such as Wi-Fi or 4G.</li>
117
- <li>Use a modern and powerful device, such as a laptop or a smartphone.</li>
118
- <li>Use a reputable and secure source of music, such as a digital music store or a legal website.</li>
119
- <li>Download music when the traffic is low, such as at night or early morning.</li>
120
- <li>Download music in batches or playlists, rather than one by one.</li>
121
- </ul>
122
- <li><b>How can I download music safely?</b></li>
123
- <p>To download music safely, you should avoid using illegal or untrusted sources of music, such as torrent sites, file-sharing platforms, or malware-infected websites. These sources might expose you to legal risks, viruses, spyware, or identity theft. You should also use antivirus software and firewall to protect your device and data from online threats. You should also respect the rights of the artists and their record label and download music legally and ethically.</p>
124
- <li><b>How can I download music for free?</b></li>
125
- <p>To download music for free, you should use legal websites that allow artists to upload their music and share it with their fans for free or for a voluntary donation. Some examples of these websites are SoundCloud, Bandcamp, and DatPiff. You can find many songs that are not available on other platforms and discover new artists and genres. However, you should also consider supporting the artists if you like their work and appreciate their generosity.</p>
126
- </ul></p> 197e85843d<br />
127
- <br />
128
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Download Instagram GB and Get More Out of Your Instagram Experience.md DELETED
@@ -1,95 +0,0 @@
1
-
2
- <h1>Download Instagram GB: A Modded Version of Instagram with Extra Features</h1>
3
- <p>Instagram is one of the most popular social media platforms in the world, with over a billion users. It allows you to share photos, videos, and stories with your friends and followers, as well as discover new content from people you may like. However, if you are looking for more features and options to customize your Instagram experience, you may want to try Instagram GB.</p>
4
- <h2>download instagram gb</h2><br /><p><b><b>Download File</b> &#9745; <a href="https://jinyurl.com/2uNPfL">https://jinyurl.com/2uNPfL</a></b></p><br /><br />
5
- <h2>What is Instagram GB?</h2>
6
- <p>Instagram GB is a modded version of the official Instagram app that offers some extra features and functionalities that are not available in the original app. It is developed by a third-party developer named GBMods, who is also behind other popular modded apps such as WhatsApp GB and Facebook GB.</p>
7
- <h3>How is it different from the official Instagram app?</h3>
8
- <p>Instagram GB is different from the official Instagram app in several ways. Some of the main differences are:</p>
9
- <ul>
10
- <li>It allows you to change the theme and appearance of the app according to your preferences. You can choose from different colors, fonts, icons, and backgrounds.</li>
11
- <li>It enables you to download photos, videos, and stories from other users directly to your device. You can also download profile pictures in full size.</li>
12
- <li>It lets you view anyone's profile picture in full size by tapping on it. You can also zoom in and out of any photo or video on the app.</li>
13
- <li>It allows you to copy comments and captions from other posts easily. You can also translate them into any language you want.</li>
14
- <li>It gives you more control over your privacy and security. You can hide your online status and seen ticks from other users. You can also disable video autoplay and story view notifications.</li>
15
- </ul>
16
- <h3>What are the benefits of using Instagram GB?</h3>
17
- <p>Some of the benefits of using Instagram GB are:</p>
18
- <ul>
19
- <li>You can enjoy a more personalized and customized Instagram experience that suits your taste and style.</li>
20
- <li>You can save any content that you like from other users without having to use any external tools or apps.</li>
21
- <li>You can view any profile picture in full size without having to screenshot or crop it.</li>
22
- <li>You can copy and paste any text that you find interesting or useful from other posts.</li>
23
- <li>You can protect your privacy and security by hiding your online activity and seen status from other users.</li>
24
- </ul>
25
- <h2>How to download and install Instagram GB on your device?</h2>
26
- <p>If you want to download and install Instagram GB on your device, you need to follow these steps:</p>
27
- <p>How to download instagram gb apk for android<br />
28
- Download instagram gb mod apk latest version 2023<br />
29
- Download instagram gb transparent theme for free<br />
30
- Download instagram gb ios app from app store<br />
31
- Download instagram gb pro with more features and customization<br />
32
- Download instagram gb plus with dual account support<br />
33
- Download instagram gb 2023 with anti-ban and privacy features<br />
34
- Download instagram gb for pc windows 10/8/7<br />
35
- Download instagram gb lite apk for low-end devices<br />
36
- Download instagram gb delta with dark mode and stickers<br />
37
- Download instagram gb official from gbplus.net<br />
38
- Download instagram gb update to get new features and bug fixes<br />
39
- Download instagram gb video downloader to save videos and reels<br />
40
- Download instagram gb story saver to download stories and highlights<br />
41
- Download instagram gb photo editor to edit and filter photos<br />
42
- Download instagram gb no root required for installation<br />
43
- Download instagram gb without ads and pop-ups<br />
44
- Download instagram gb with unlimited followers and likes<br />
45
- Download instagram gb with zoom feature for profile pictures<br />
46
- Download instagram gb with copy bio and comments feature<br />
47
- Download instagram gb with custom fonts and emojis<br />
48
- Download instagram gb with theme store and online themes<br />
49
- Download instagram gb with notification counter and unread messages<br />
50
- Download instagram gb with hide online status and typing feature<br />
51
- Download instagram gb with disable video autoplay and sound feature<br />
52
- Download instagram gb with pin chat and lock chat feature<br />
53
- Download instagram gb with translate messages and comments feature<br />
54
- Download instagram gb with disable story view and screenshot feature<br />
55
- Download instagram gb with enable swipe to reply and forward feature<br />
56
- Download instagram gb with multiple languages support feature</p>
57
- <h3>Step 1: Enable unknown sources on your device</h3>
58
- <p>Since Instagram GB is not available on the official app stores, you need to enable unknown sources on your device to allow the installation of apps from third-party sources. To do this, go to your device settings > security > unknown sources and toggle it on.</p>
59
- <h3>Step 2: Download the Instagram GB APK file from a trusted source</h3>
60
- <p>The next step is to download the Instagram GB APK file from a trusted source. You can search for it online or use one of these links:</p>
61
- <ul>
62
- <li>[Download Instagram GB APK](^1^)</li>
63
- <li>[Download Instagram GB APK](^2^)</li>
64
- <li>[Download Instagram GB APK](^3^)</li>
65
- </ul>
66
- <p>Make sure that you download the latest version of the app and that it is compatible with your device <h3>Step 3: Install the Instagram GB app and log in with your account</h3>
67
- <p>After downloading the Instagram GB APK file, you need to install it on your device. To do this, locate the file in your device storage and tap on it. You may see a warning message that says "This type of file can harm your device. Do you want to keep Instagram GB.apk anyway?". Tap on OK and then on Install. Wait for the installation process to complete and then open the app. You can log in with your existing Instagram account or create a new one.</p>
68
- <h2>How to use Instagram GB to enhance your experience?</h2>
69
- <p>Now that you have installed Instagram GB on your device, you can start using it to enjoy its extra features and options. Here are some of the things you can do with Instagram GB:</p>
70
- <h3>Customize your theme and appearance</h3>
71
- <p>One of the best things about Instagram GB is that you can change the theme and appearance of the app according to your preferences. You can access the theme settings by tapping on the menu icon (three horizontal lines) on the top right corner of the app and then on GB Settings > Themes. You can choose from different colors, fonts, icons, and backgrounds for your app. You can also download more themes from the online library or create your own theme.</p>
72
- <h3>Download photos, videos, and stories from other users</h3>
73
- <p>Another great feature of Instagram GB is that you can download any photo, video, or story from other users directly to your device. You don't need to use any external tools or apps to do this. To download a photo or video from a post, tap on the menu icon (three vertical dots) on the top right corner of the post and then on Download. To download a story, tap on the story and then on the download icon (downward arrow) on the bottom left corner of the screen. You can find the downloaded files in your device gallery or in the Instagram GB folder.</p>
74
- <h3>View anyone's profile picture in full size</h3>
75
- <p>Sometimes you may want to view someone's profile picture in full size, but the official Instagram app only shows a small circle. With Instagram GB, you can view anyone's profile picture in full size by tapping on it. You can also zoom in and out of any photo or video on the app by pinching the screen.</p> <h3>Copy comments and captions from other posts</h3>
76
- <p>Sometimes you may find a comment or a caption from another post that you want to copy and paste somewhere else. With Instagram GB, you can do this easily. To copy a comment, tap and hold on the comment and then on Copy Comment. To copy a caption, tap on the menu icon (three vertical dots) on the top right corner of the post and then on Copy Caption. You can then paste the text wherever you want.</p>
77
- <h3>Hide your online status and seen ticks</h3>
78
- <p>If you value your privacy and security, you may want to hide your online status and seen ticks from other users. With Instagram GB, you can do this by going to the menu icon (three horizontal lines) on the top right corner of the app and then on GB Settings > Privacy. You can toggle off the options for Show Online Status and Show Seen Tick. This way, other users won't know when you are online or when you have seen their messages or stories.</p>
79
- <h2>Conclusion</h2>
80
- <p>Instagram GB is a modded version of the official Instagram app that offers some extra features and options that are not available in the original app. It allows you to customize your theme and appearance, download photos, videos, and stories from other users, view anyone's profile picture in full size, copy comments and captions from other posts, and hide your online status and seen ticks. If you want to try Instagram GB, you need to download and install the APK file from a trusted source and follow the steps in this article. However, you should also be aware of the risks involved in using a modded app, such as possible bans, malware, or data breaches.</p>
81
- <h4>FAQs</h4>
82
- <ul>
83
- <li>Q: Is Instagram GB safe to use?</li>
84
- <li>A: Instagram GB is not an official app and it is not endorsed by Instagram or Facebook. Therefore, it may not be safe to use as it may contain malware or spyware that can harm your device or steal your data. It may also violate the terms of service of Instagram and result in your account being banned or suspended.</li>
85
- <li>Q: Can I use both Instagram GB and the official Instagram app on the same device?</li>
86
- <li>A: Yes, you can use both Instagram GB and the official Instagram app on the same device as they have different package names and signatures. However, you cannot use the same account on both apps as it may cause conflicts or errors.</li>
87
- <li>Q: How can I update Instagram GB to the latest version?</li>
88
- <li>A: You can update Instagram GB to the latest version by downloading the new APK file from a trusted source and installing it over the existing app. You can also check for updates within the app by going to the menu icon (three horizontal lines) on the top right corner of the app and then on GB Settings > Updates.</li>
89
- <li>Q: How can I uninstall Instagram GB from my device?</li>
90
- <li>A: You can uninstall Instagram GB from your device by going to your device settings > apps > Instagram GB and tapping on Uninstall. You can also delete the APK file and any downloaded files from your device storage.</li>
91
- <li>Q: How can I contact the developer of Instagram GB for feedback or support?</li>
92
- <li>A: You can contact the developer of Instagram GB by visiting their official website [GBMods] or their Facebook page [GBMods]. You can also send them an email at [email protected].</li>
93
- </ul></p> 197e85843d<br />
94
- <br />
95
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Drift for Life Mod APK Enjoy Unlimited Money and More Features.md DELETED
@@ -1,135 +0,0 @@
1
-
2
- <h1>Drift for Life Mod APK Unlimited Money: A Review</h1>
3
- <p>If you are a fan of racing games, you might have heard of Drift for Life, a popular game that lets you experience the thrill of drifting on various tracks. But did you know that there is a modded version of this game that gives you unlimited money and coins, as well as other features that make the game more fun and exciting? In this article, we will review Drift for Life Mod APK Unlimited Money, a modified version of the original game that you can download for free on your Android device. We will also show you how to download and install it, as well as the pros and cons of using it. So, let's get started!</p>
4
- <h2>Features of Drift for Life Mod APK</h2>
5
- <p>Drift for Life Mod APK Unlimited Money is a modified version of the original game that has been hacked to give you access to unlimited money and coins, as well as other features that enhance your gaming experience. Here are some of the features that you can enjoy with this mod:</p>
6
- <h2>drift for life mod apk unlimited money</h2><br /><p><b><b>Download</b> &#10026; <a href="https://jinyurl.com/2uNUg3">https://jinyurl.com/2uNUg3</a></b></p><br /><br />
7
- <h3>Unlimited money and coins</h3>
8
- <p>With this mod, you don't have to worry about running out of money or coins in the game. You can use them to buy new cars, upgrade your existing ones, or unlock new tracks. You can also use them to customize your cars with different colors, stickers, wheels, spoilers, and more. You can have as much money and coins as you want, without any limits or restrictions.</p>
9
- <h3>Customizable cars and tracks</h3>
10
- <p>Another feature of this mod is that it allows you to customize your cars and tracks according to your preferences. You can choose from a variety of cars, ranging from sports cars, muscle cars, trucks, vans, and more. You can also modify their performance, such as speed, acceleration, handling, braking, and drift. You can also choose from different tracks, such as city streets, highways, deserts, mountains, snow, and more. You can also adjust the weather conditions, time of day, traffic density, and difficulty level.</p>
11
- <h3>Realistic physics and graphics</h3>
12
- <p>One of the best things about Drift for Life is that it has realistic physics and graphics that make the game more immersive and realistic. You can feel the weight of your car, the friction of the tires, the inertia of the drifts, and the impact of the collisions. You can also see the details of your car, such as the smoke from the exhaust, the sparks from the metal, the scratches from the crashes, and the reflections from the lights. The game also has stunning graphics that show the beauty of the environments, such as the buildings, trees, clouds, shadows, and more.</p>
13
- <h2>How to download and install Drift for Life Mod APK</h2>
14
- <p>If you want to try Drift for Life Mod APK Unlimited Money on your Android device, you need to follow these steps:</p>
15
- <h3>Requirements and compatibility</h3>
16
- <p>Before you download and install this mod, you need to make sure that your device meets these requirements:</p>
17
- <ul>
18
- <li>Your device must have Android 4.4 or higher.</li>
19
- <li>Your device must have at least 100 MB of free storage space.</li>
20
- <li>Your device must have a stable internet connection.</li>
21
- <li>You must enable unknown sources in your device settings.</li>
22
- </ul>
23
- <p>This mod is compatible with most Android devices, but it may not work properly on some devices due to different specifications <p>To enable unknown sources in Android settings, you need to follow these steps:</p>
24
- <ol>
25
- <li>Launch the Settings application.</li>
26
- <li>Scroll down and then tap on the 'Privacy' option.</li>
27
- <li>Scroll down again and look for the 'Unknown Sources' option.</li>
28
- <li>Tap this option to enable it.</li>
29
- <li>Tap OK to confirm you want to turn the feature on.</li>
30
- </ol>
31
- <p>Alternatively, you can also follow these steps:</p>
32
- <p>drift for life hack apk download free<br />
33
- drift for life modded apk unlimited coins<br />
34
- drift for life cheat apk latest version<br />
35
- drift for life premium apk mod money<br />
36
- drift for life cracked apk full unlocked<br />
37
- drift for life mod apk unlimited cash<br />
38
- drift for life hack apk no root<br />
39
- drift for life modded apk free shopping<br />
40
- drift for life cheat apk unlimited gems<br />
41
- drift for life premium apk mod unlocked<br />
42
- drift for life cracked apk no ads<br />
43
- drift for life mod apk unlimited gold<br />
44
- drift for life hack apk offline<br />
45
- drift for life modded apk all cars<br />
46
- drift for life cheat apk unlimited nitro<br />
47
- drift for life premium apk mod vip<br />
48
- drift for life cracked apk unlimited fuel<br />
49
- drift for life mod apk unlimited diamonds<br />
50
- drift for life hack apk online<br />
51
- drift for life modded apk all tracks<br />
52
- drift for life cheat apk unlimited energy<br />
53
- drift for life premium apk mod pro<br />
54
- drift for life cracked apk unlimited keys<br />
55
- drift for life mod apk unlimited tokens<br />
56
- drift for life hack apk android<br />
57
- drift for life modded apk all upgrades<br />
58
- drift for life cheat apk unlimited boosters<br />
59
- drift for life premium apk mod mega<br />
60
- drift for life cracked apk unlimited stars<br />
61
- drift for life mod apk unlimited credits<br />
62
- drift for life hack apk ios<br />
63
- drift for life modded apk all levels<br />
64
- drift for life cheat apk unlimited lives<br />
65
- drift for life premium apk mod god mode<br />
66
- drift for life cracked apk unlimited points<br />
67
- drift for life mod apk unlimited rp<br />
68
- drift for life hack apk pc<br />
69
- drift for life modded apk all modes<br />
70
- drift for life cheat apk unlimited spins<br />
71
- drift for life premium apk mod anti ban<br />
72
- drift for life cracked apk unlimited tickets<br />
73
- drift for life mod apk unlimited coins and gems</p>
74
- <ol>
75
- <li>Open Settings and tap Apps or Apps & Notifications.</li>
76
- <li>Tap the vertical three-dot menu icon and tap Special access.</li>
77
- <li>Tap Install unknown apps.</li>
78
- <li>Tap your browser to toggle the switch on.</li>
79
- </ol>
80
- <p>Once you have enabled unknown sources, you can proceed to download and install Drift for Life Mod APK Unlimited Money. Here are the steps:</p>
81
- <ol>
82
- <li>Go to the download link for Drift for Life Mod APK Unlimited Money. You can find it on various websites that offer modded games, such as [ModDroid](^1^) or [APKPure](^2^).</li>
83
- <li>Tap the download button and wait for the file to be downloaded on your device. The file size is about 100 MB, so make sure you have enough storage space and a stable internet connection.</li>
84
- <li>Once the download is complete, go to your file manager and locate the downloaded file. It should be in the Downloads folder or the folder where you set your browser to save files.</li>
85
- <li>Tap the file and select Install. You may see a warning message that says "This type of file can harm your device". Don't worry, this is just a precautionary message from Android. Tap OK to continue.</li>
86
- <li>Wait for the installation process to finish. It may take a few seconds or minutes, depending on your device's performance.</li>
87
- <li>Once the installation is done, you can launch the game from your app drawer or home screen. You will see a new icon with the name Drift for Life Mod APK Unlimited Money.</li>
88
- </ol>
89
- <h2>How to use Drift for Life Mod APK</h2>
90
- <p>To use Drift for Life Mod APK Unlimited Money, you just need to follow these simple steps:</p>
91
- <ol>
92
- <li>Launch the game from your app drawer or home screen. You will see a splash screen with the game's logo and a loading bar.</li>
93
- <li>After the loading is done, you will see the main menu of the game. You can choose from different options, such as Play, Garage, Settings, and More.</li>
94
- <li>To start playing, tap Play. You will see a list of tracks that you can choose from. You can also swipe left or right to see more tracks. Some tracks may be locked and require you to reach a certain level or spend some coins to unlock them.</li>
95
- <li>To select a track, tap on it. You will see a preview of the track and some information, such as its name, length, difficulty, weather, time of day, and traffic density. You can also change these settings by tapping on them.</li>
96
- <li>To select a car, tap on the car icon at the bottom of the screen. You will see a list of cars that you can choose from. You can also swipe left or right to see more cars. Some cars may be locked and require you to buy them with money or coins.</li>
97
- <li>To customize your car, tap on the wrench icon at the bottom of the screen. You will see a menu with different options, such as Color, Stickers, Wheels, Spoiler, Performance, and Drift. You can change these options by tapping on them and using the sliders or buttons to adjust them.</li>
98
- <li>To start racing, tap on the play button at the bottom of the screen. You will see a countdown and then the race will begin. You can control your car by using the buttons on the screen or tilting your device. The buttons are: gas pedal, brake pedal, handbrake, nitro boost, camera angle, pause menu, and steering wheel (optional).</li>
99
- <li>To drift, you need to use the handbrake button or tilt your device sharply while turning. The longer you drift, the more points you earn. You can also earn points by overtaking other cars, driving close to them, or hitting objects on the road.</li>
100
- <li>To finish the race, you need to reach the finish line before time runs out or before other cars do. You will see your rank, time, score, money earned, and coins earned at the end of the race. You can also replay the race or go back to the main menu.</li>
101
- </ol> <h2>Pros and cons of Drift for Life Mod APK</h2>
102
- <p>Drift for Life Mod APK Unlimited Money is a great game for racing and drifting enthusiasts, but it also has some drawbacks that you should be aware of. Here are some of the pros and cons of using this mod:</p>
103
- <h3>Pros</h3>
104
- <ul>
105
- <li>You can enjoy unlimited money and coins that you can use to buy and upgrade your cars and tracks.</li>
106
- <li>You can customize your cars and tracks to suit your style and preferences.</li>
107
- <li>You can experience realistic physics and graphics that make the game more immersive and realistic.</li>
108
- <li>You can choose from a variety of cars and tracks that offer different challenges and fun.</li>
109
- <li>You can have fun drifting and racing with other players online or offline.</li>
110
- </ul>
111
- <h3>Cons</h3>
112
- <ul>
113
- <li>You may encounter some bugs or glitches that may affect the game's performance or functionality.</li>
114
- <li>You may face some compatibility issues with some devices or Android versions.</li>
115
- <li>You may risk getting banned or suspended from the game if you use the mod online.</li>
116
- <li>You may lose your progress or data if you uninstall the mod or update the game.</li>
117
- <li>You may violate the game's terms of service or intellectual property rights by using the mod.</li>
118
- </ul>
119
- <h2>Conclusion and rating</h2>
120
- <p>In conclusion, Drift for Life Mod APK Unlimited Money is a modded version of the original game that gives you unlimited money and coins, as well as other features that make the game more fun and exciting. It is a great game for racing and drifting lovers, but it also has some drawbacks that you should be aware of. We recommend that you try this mod at your own risk, and only use it for personal entertainment purposes. We give this mod a rating of 4 out of 5 stars, based on its features, performance, and user feedback.</p>
121
- <h2>FAQs</h2>
122
- <p>Here are some of the frequently asked questions about Drift for Life Mod APK Unlimited Money:</p>
123
- <ol>
124
- <li>Is Drift for Life Mod APK Unlimited Money safe to use?</li>
125
- <p>Drift for Life Mod APK Unlimited Money is safe to use as long as you download it from a trusted source and scan it with an antivirus program before installing it. However, you should also be careful about using it online, as you may get banned or suspended from the game if you are detected by the game's security system.</p>
126
- <li>How do I update Drift for Life Mod APK Unlimited Money?</li>
127
- <p>To update Drift for Life Mod APK Unlimited Money, you need to download the latest version of the mod from the same source where you downloaded the previous version. You also need to uninstall the old version before installing the new one. However, you should also note that updating the mod may cause you to lose your progress or data, so make sure you back up your files before updating.</p>
128
- <li>Can I play Drift for Life Mod APK Unlimited Money with my friends?</li>
129
- <p>Yes, you can play Drift for Life Mod APK Unlimited Money with your friends online or offline. You can either join an existing room or create your own room and invite your friends to join. You can also chat with your friends and other players in the game.</p>
130
- <li>Can I use Drift for Life Mod APK Unlimited Money on my PC?</li>
131
- <p>No, Drift for Life Mod APK Unlimited Money is only designed for Android devices. However, you can use an Android emulator on your PC to run this mod. An Android emulator is a software that allows you to run Android apps on your PC. Some of the popular Android emulators are [BlueStacks], [NoxPlayer], and [LDPlayer].</p>
132
- <li>Where can I get more information about Drift for Life Mod APK Unlimited Money?</li>
133
- <p>If you want to get more information about Drift for Life Mod APK Unlimited Money, you can visit the official website of the original game at [driftforlife.com]. You can also check out some reviews, videos, screenshots, and tips about this mod on various websites, blogs, forums, and social media platforms.</p> 197e85843d<br />
134
- <br />
135
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Flash-Memory-Toolkit-Serial-Number-19.md DELETED
@@ -1,120 +0,0 @@
1
- ## Flash Memory Toolkit Serial Number 19
2
-
3
-
4
-
5
-
6
-
7
- ![Flash Memory Toolkit Serial Number 19](https://zuxcel.com/images/4/387/flash-memory-toolkit-1613.jpg)
8
-
9
-
10
-
11
-
12
-
13
- **DOWNLOAD ……… [https://vittuv.com/2tBMBk](https://vittuv.com/2tBMBk)**
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
- # How to Use Flash Memory Toolkit Serial Number 19
28
-
29
-
30
-
31
- Flash Memory Toolkit is a software application that provides various tools for managing flash memory cards and USB thumb drives. It can help you recover lost files, erase data securely, check for errors, backup and restore data, and benchmark the performance of your devices. To use Flash Memory Toolkit, you need a valid serial number that matches your version of the software.
32
-
33
-
34
-
35
- In this article, we will show you how to use Flash Memory Toolkit serial number 19, which is compatible with version 2.00 of the software. This serial number was found on a web page[^1^] that offers various serial numbers and activators for different software programs. However, we do not endorse or recommend using such sources, as they may be illegal, unsafe, or unreliable. You should always obtain your serial number from the official website of EFD Software[^4^], the developer of Flash Memory Toolkit.
36
-
37
-
38
-
39
- To use Flash Memory Toolkit serial number 19, follow these steps:
40
-
41
-
42
-
43
- 1. Download and install Flash Memory Toolkit version 2.00 from the official website[^4^] or from a trusted source. The trial version of the software allows you to use it for 14 days without a serial number.
44
-
45
- 2. Launch Flash Memory Toolkit and click on the "About" button on the main window. You will see a dialog box that shows your version number and trial status.
46
-
47
- 3. Click on the "Enter serial number" button and enter the following serial number: `1234-5678-9012-3456`. This is the serial number 19 that we found on the web page[^1^]. Click on "OK" to confirm.
48
-
49
- 4. You will see a message that says "Thank you for registering Flash Memory Toolkit". Click on "OK" to close the dialog box.
50
-
51
- 5. You can now use Flash Memory Toolkit without any limitations. You can access all the tools from the main window or from the system tray icon.
52
-
53
-
54
-
55
- Note that this serial number may not work for other versions of Flash Memory Toolkit, or it may be blocked by EFD Software if they detect its unauthorized use. Therefore, we advise you to purchase a legitimate serial number from EFD Software[^4^] if you want to use Flash Memory Toolkit without any risks or problems.
56
-
57
-
58
-
59
- ## How to Recover Lost Files with Flash Memory Toolkit
60
-
61
-
62
-
63
- One of the most useful tools in Flash Memory Toolkit is the File Recovery tool. This tool allows you to scan your flash memory card or USB thumb drive for deleted or corrupted files and restore them to a safe location. You can use this tool to recover your important documents, pictures, audio or videos that you accidentally deleted or lost due to a virus infection, a power failure, or a formatting error.
64
-
65
-
66
-
67
- To use the File Recovery tool, follow these steps:
68
-
69
-
70
-
71
- 1. Insert your flash memory card or USB thumb drive into your computer and launch Flash Memory Toolkit.
72
-
73
- 2. Select the "File Recovery" tool from the main window or from the system tray icon.
74
-
75
- 3. Select the drive letter of your flash memory card or USB thumb drive from the drop-down menu and click on "Start". The tool will scan your device for any recoverable files and display them in a list.
76
-
77
- 4. Select the files that you want to recover by checking the boxes next to them. You can also use the "Select all" button to select all the files in the list.
78
-
79
- 5. Click on the "Recover" button and choose a destination folder where you want to save the recovered files. The tool will copy the files to the selected folder and show you a progress bar.
80
-
81
- 6. When the recovery process is complete, you will see a message that says "Recovery finished". Click on "OK" to close the message.
82
-
83
- 7. You can now open the destination folder and check your recovered files. You can also delete the original files from your flash memory card or USB thumb drive if you want to free up some space.
84
-
85
-
86
-
87
- ## How to Erase Data Securely with Flash Memory Toolkit
88
-
89
-
90
-
91
- Another useful tool in Flash Memory Toolkit is the Low-level Benchmark tool. This tool allows you to erase all the data on your flash memory card or USB thumb drive in a secure way. This means that no one will be able to recover your data even with advanced data recovery software. You can use this tool to protect your privacy and prevent identity theft when you want to dispose of or sell your flash memory card or USB thumb drive.
92
-
93
-
94
-
95
- To use the Low-level Benchmark tool, follow these steps:
96
-
97
-
98
-
99
- 1. Insert your flash memory card or USB thumb drive into your computer and launch Flash Memory Toolkit.
100
-
101
- 2. Select the "Low-level Benchmark" tool from the main window or from the system tray icon.
102
-
103
- 3. Select the drive letter of your flash memory card or USB thumb drive from the drop-down menu and click on "Start". The tool will show you some information about your device, such as its size, model, and serial number.
104
-
105
- 4. Click on the "Erase" button and choose one of the three erasing methods: quick erase, full erase, or secure erase. The quick erase method will overwrite all the data on your device with zeros. The full erase method will overwrite all the data on your device with random data. The secure erase method will overwrite all the data on your device with random data multiple times.
106
-
107
- 5. Click on "OK" to confirm your choice and start the erasing process. The tool will show you a progress bar and a warning message that says "All data on this device will be lost".
108
-
109
- 6. When the erasing process is complete, you will see a message that says "Erasing finished". Click on "OK" to close the message.
110
-
111
- 7. You can now remove your flash memory card or USB thumb drive from your computer. Your device will be completely empty and no one will be able to recover any data from it.
112
-
113
-
114
-
115
- 145887f19f
116
-
117
-
118
-
119
-
120
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1ucii/Lab04/README.md DELETED
@@ -1,12 +0,0 @@
1
- ---
2
- title: Lab04
3
- emoji: 🐢
4
- colorFrom: green
5
- colorTo: green
6
- sdk: gradio
7
- sdk_version: 3.35.2
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AI-Hobbyist/Hoyo-RVC/train_nsf_sim_cache_sid_load_pretrain.py DELETED
@@ -1,595 +0,0 @@
1
- import sys, os
2
-
3
- now_dir = os.getcwd()
4
- sys.path.append(os.path.join(now_dir))
5
- sys.path.append(os.path.join(now_dir, "train"))
6
- import utils
7
- import datetime
8
-
9
- hps = utils.get_hparams()
10
- os.environ["CUDA_VISIBLE_DEVICES"] = hps.gpus.replace("-", ",")
11
- n_gpus = len(hps.gpus.split("-"))
12
- from random import shuffle, randint
13
- import traceback, json, argparse, itertools, math, torch, pdb
14
-
15
- torch.backends.cudnn.deterministic = False
16
- torch.backends.cudnn.benchmark = False
17
- from torch import nn, optim
18
- from torch.nn import functional as F
19
- from torch.utils.data import DataLoader
20
- from torch.utils.tensorboard import SummaryWriter
21
- import torch.multiprocessing as mp
22
- import torch.distributed as dist
23
- from torch.nn.parallel import DistributedDataParallel as DDP
24
- from torch.cuda.amp import autocast, GradScaler
25
- from infer_pack import commons
26
- from time import sleep
27
- from time import time as ttime
28
- from data_utils import (
29
- TextAudioLoaderMultiNSFsid,
30
- TextAudioLoader,
31
- TextAudioCollateMultiNSFsid,
32
- TextAudioCollate,
33
- DistributedBucketSampler,
34
- )
35
-
36
- if hps.version == "v1":
37
- from infer_pack.models import (
38
- SynthesizerTrnMs256NSFsid as RVC_Model_f0,
39
- SynthesizerTrnMs256NSFsid_nono as RVC_Model_nof0,
40
- MultiPeriodDiscriminator,
41
- )
42
- else:
43
- from infer_pack.models import (
44
- SynthesizerTrnMs768NSFsid as RVC_Model_f0,
45
- SynthesizerTrnMs768NSFsid_nono as RVC_Model_nof0,
46
- MultiPeriodDiscriminatorV2 as MultiPeriodDiscriminator,
47
- )
48
- from losses import generator_loss, discriminator_loss, feature_loss, kl_loss
49
- from mel_processing import mel_spectrogram_torch, spec_to_mel_torch
50
- from process_ckpt import savee
51
-
52
- global_step = 0
53
-
54
-
55
- class EpochRecorder:
56
- def __init__(self):
57
- self.last_time = ttime()
58
-
59
- def record(self):
60
- now_time = ttime()
61
- elapsed_time = now_time - self.last_time
62
- self.last_time = now_time
63
- elapsed_time_str = str(datetime.timedelta(seconds=elapsed_time))
64
- current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
65
- return f"[{current_time}] | ({elapsed_time_str})"
66
-
67
-
68
- def main():
69
- n_gpus = torch.cuda.device_count()
70
- if torch.cuda.is_available() == False and torch.backends.mps.is_available() == True:
71
- n_gpus = 1
72
- os.environ["MASTER_ADDR"] = "localhost"
73
- os.environ["MASTER_PORT"] = str(randint(20000, 55555))
74
- children = []
75
- for i in range(n_gpus):
76
- subproc = mp.Process(
77
- target=run,
78
- args=(
79
- i,
80
- n_gpus,
81
- hps,
82
- ),
83
- )
84
- children.append(subproc)
85
- subproc.start()
86
-
87
- for i in range(n_gpus):
88
- children[i].join()
89
-
90
-
91
- def run(rank, n_gpus, hps):
92
- global global_step
93
- if rank == 0:
94
- logger = utils.get_logger(hps.model_dir)
95
- logger.info(hps)
96
- # utils.check_git_hash(hps.model_dir)
97
- writer = SummaryWriter(log_dir=hps.model_dir)
98
- writer_eval = SummaryWriter(log_dir=os.path.join(hps.model_dir, "eval"))
99
-
100
- dist.init_process_group(
101
- backend="gloo", init_method="env://", world_size=n_gpus, rank=rank
102
- )
103
- torch.manual_seed(hps.train.seed)
104
- if torch.cuda.is_available():
105
- torch.cuda.set_device(rank)
106
-
107
- if hps.if_f0 == 1:
108
- train_dataset = TextAudioLoaderMultiNSFsid(hps.data.training_files, hps.data)
109
- else:
110
- train_dataset = TextAudioLoader(hps.data.training_files, hps.data)
111
- train_sampler = DistributedBucketSampler(
112
- train_dataset,
113
- hps.train.batch_size * n_gpus,
114
- # [100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200,1400], # 16s
115
- [100, 200, 300, 400, 500, 600, 700, 800, 900], # 16s
116
- num_replicas=n_gpus,
117
- rank=rank,
118
- shuffle=True,
119
- )
120
- # It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.
121
- # num_workers=8 -> num_workers=4
122
- if hps.if_f0 == 1:
123
- collate_fn = TextAudioCollateMultiNSFsid()
124
- else:
125
- collate_fn = TextAudioCollate()
126
- train_loader = DataLoader(
127
- train_dataset,
128
- num_workers=4,
129
- shuffle=False,
130
- pin_memory=True,
131
- collate_fn=collate_fn,
132
- batch_sampler=train_sampler,
133
- persistent_workers=True,
134
- prefetch_factor=8,
135
- )
136
- if hps.if_f0 == 1:
137
- net_g = RVC_Model_f0(
138
- hps.data.filter_length // 2 + 1,
139
- hps.train.segment_size // hps.data.hop_length,
140
- **hps.model,
141
- is_half=hps.train.fp16_run,
142
- sr=hps.sample_rate,
143
- )
144
- else:
145
- net_g = RVC_Model_nof0(
146
- hps.data.filter_length // 2 + 1,
147
- hps.train.segment_size // hps.data.hop_length,
148
- **hps.model,
149
- is_half=hps.train.fp16_run,
150
- )
151
- if torch.cuda.is_available():
152
- net_g = net_g.cuda(rank)
153
- net_d = MultiPeriodDiscriminator(hps.model.use_spectral_norm)
154
- if torch.cuda.is_available():
155
- net_d = net_d.cuda(rank)
156
- optim_g = torch.optim.AdamW(
157
- net_g.parameters(),
158
- hps.train.learning_rate,
159
- betas=hps.train.betas,
160
- eps=hps.train.eps,
161
- )
162
- optim_d = torch.optim.AdamW(
163
- net_d.parameters(),
164
- hps.train.learning_rate,
165
- betas=hps.train.betas,
166
- eps=hps.train.eps,
167
- )
168
- # net_g = DDP(net_g, device_ids=[rank], find_unused_parameters=True)
169
- # net_d = DDP(net_d, device_ids=[rank], find_unused_parameters=True)
170
- if torch.cuda.is_available():
171
- net_g = DDP(net_g, device_ids=[rank])
172
- net_d = DDP(net_d, device_ids=[rank])
173
- else:
174
- net_g = DDP(net_g)
175
- net_d = DDP(net_d)
176
-
177
- try: # 如果能加载自动resume
178
- _, _, _, epoch_str = utils.load_checkpoint(
179
- utils.latest_checkpoint_path(hps.model_dir, "D_*.pth"), net_d, optim_d
180
- ) # D多半加载没事
181
- if rank == 0:
182
- logger.info("loaded D")
183
- # _, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "G_*.pth"), net_g, optim_g,load_opt=0)
184
- _, _, _, epoch_str = utils.load_checkpoint(
185
- utils.latest_checkpoint_path(hps.model_dir, "G_*.pth"), net_g, optim_g
186
- )
187
- global_step = (epoch_str - 1) * len(train_loader)
188
- # epoch_str = 1
189
- # global_step = 0
190
- except: # 如果首次不能加载,加载pretrain
191
- # traceback.print_exc()
192
- epoch_str = 1
193
- global_step = 0
194
- if hps.pretrainG != "":
195
- if rank == 0:
196
- logger.info("loaded pretrained %s" % (hps.pretrainG))
197
- print(
198
- net_g.module.load_state_dict(
199
- torch.load(hps.pretrainG, map_location="cpu")["model"]
200
- )
201
- ) ##测试不加载优化器
202
- if hps.pretrainD != "":
203
- if rank == 0:
204
- logger.info("loaded pretrained %s" % (hps.pretrainD))
205
- print(
206
- net_d.module.load_state_dict(
207
- torch.load(hps.pretrainD, map_location="cpu")["model"]
208
- )
209
- )
210
-
211
- scheduler_g = torch.optim.lr_scheduler.ExponentialLR(
212
- optim_g, gamma=hps.train.lr_decay, last_epoch=epoch_str - 2
213
- )
214
- scheduler_d = torch.optim.lr_scheduler.ExponentialLR(
215
- optim_d, gamma=hps.train.lr_decay, last_epoch=epoch_str - 2
216
- )
217
-
218
- scaler = GradScaler(enabled=hps.train.fp16_run)
219
-
220
- cache = []
221
- for epoch in range(epoch_str, hps.train.epochs + 1):
222
- if rank == 0:
223
- train_and_evaluate(
224
- rank,
225
- epoch,
226
- hps,
227
- [net_g, net_d],
228
- [optim_g, optim_d],
229
- [scheduler_g, scheduler_d],
230
- scaler,
231
- [train_loader, None],
232
- logger,
233
- [writer, writer_eval],
234
- cache,
235
- )
236
- else:
237
- train_and_evaluate(
238
- rank,
239
- epoch,
240
- hps,
241
- [net_g, net_d],
242
- [optim_g, optim_d],
243
- [scheduler_g, scheduler_d],
244
- scaler,
245
- [train_loader, None],
246
- None,
247
- None,
248
- cache,
249
- )
250
- scheduler_g.step()
251
- scheduler_d.step()
252
-
253
-
254
- def train_and_evaluate(
255
- rank, epoch, hps, nets, optims, schedulers, scaler, loaders, logger, writers, cache
256
- ):
257
- net_g, net_d = nets
258
- optim_g, optim_d = optims
259
- train_loader, eval_loader = loaders
260
- if writers is not None:
261
- writer, writer_eval = writers
262
-
263
- train_loader.batch_sampler.set_epoch(epoch)
264
- global global_step
265
-
266
- net_g.train()
267
- net_d.train()
268
-
269
- # Prepare data iterator
270
- if hps.if_cache_data_in_gpu == True:
271
- # Use Cache
272
- data_iterator = cache
273
- if cache == []:
274
- # Make new cache
275
- for batch_idx, info in enumerate(train_loader):
276
- # Unpack
277
- if hps.if_f0 == 1:
278
- (
279
- phone,
280
- phone_lengths,
281
- pitch,
282
- pitchf,
283
- spec,
284
- spec_lengths,
285
- wave,
286
- wave_lengths,
287
- sid,
288
- ) = info
289
- else:
290
- (
291
- phone,
292
- phone_lengths,
293
- spec,
294
- spec_lengths,
295
- wave,
296
- wave_lengths,
297
- sid,
298
- ) = info
299
- # Load on CUDA
300
- if torch.cuda.is_available():
301
- phone = phone.cuda(rank, non_blocking=True)
302
- phone_lengths = phone_lengths.cuda(rank, non_blocking=True)
303
- if hps.if_f0 == 1:
304
- pitch = pitch.cuda(rank, non_blocking=True)
305
- pitchf = pitchf.cuda(rank, non_blocking=True)
306
- sid = sid.cuda(rank, non_blocking=True)
307
- spec = spec.cuda(rank, non_blocking=True)
308
- spec_lengths = spec_lengths.cuda(rank, non_blocking=True)
309
- wave = wave.cuda(rank, non_blocking=True)
310
- wave_lengths = wave_lengths.cuda(rank, non_blocking=True)
311
- # Cache on list
312
- if hps.if_f0 == 1:
313
- cache.append(
314
- (
315
- batch_idx,
316
- (
317
- phone,
318
- phone_lengths,
319
- pitch,
320
- pitchf,
321
- spec,
322
- spec_lengths,
323
- wave,
324
- wave_lengths,
325
- sid,
326
- ),
327
- )
328
- )
329
- else:
330
- cache.append(
331
- (
332
- batch_idx,
333
- (
334
- phone,
335
- phone_lengths,
336
- spec,
337
- spec_lengths,
338
- wave,
339
- wave_lengths,
340
- sid,
341
- ),
342
- )
343
- )
344
- else:
345
- # Load shuffled cache
346
- shuffle(cache)
347
- else:
348
- # Loader
349
- data_iterator = enumerate(train_loader)
350
-
351
- # Run steps
352
- epoch_recorder = EpochRecorder()
353
- for batch_idx, info in data_iterator:
354
- # Data
355
- ## Unpack
356
- if hps.if_f0 == 1:
357
- (
358
- phone,
359
- phone_lengths,
360
- pitch,
361
- pitchf,
362
- spec,
363
- spec_lengths,
364
- wave,
365
- wave_lengths,
366
- sid,
367
- ) = info
368
- else:
369
- phone, phone_lengths, spec, spec_lengths, wave, wave_lengths, sid = info
370
- ## Load on CUDA
371
- if (hps.if_cache_data_in_gpu == False) and torch.cuda.is_available():
372
- phone = phone.cuda(rank, non_blocking=True)
373
- phone_lengths = phone_lengths.cuda(rank, non_blocking=True)
374
- if hps.if_f0 == 1:
375
- pitch = pitch.cuda(rank, non_blocking=True)
376
- pitchf = pitchf.cuda(rank, non_blocking=True)
377
- sid = sid.cuda(rank, non_blocking=True)
378
- spec = spec.cuda(rank, non_blocking=True)
379
- spec_lengths = spec_lengths.cuda(rank, non_blocking=True)
380
- wave = wave.cuda(rank, non_blocking=True)
381
- # wave_lengths = wave_lengths.cuda(rank, non_blocking=True)
382
-
383
- # Calculate
384
- with autocast(enabled=hps.train.fp16_run):
385
- if hps.if_f0 == 1:
386
- (
387
- y_hat,
388
- ids_slice,
389
- x_mask,
390
- z_mask,
391
- (z, z_p, m_p, logs_p, m_q, logs_q),
392
- ) = net_g(phone, phone_lengths, pitch, pitchf, spec, spec_lengths, sid)
393
- else:
394
- (
395
- y_hat,
396
- ids_slice,
397
- x_mask,
398
- z_mask,
399
- (z, z_p, m_p, logs_p, m_q, logs_q),
400
- ) = net_g(phone, phone_lengths, spec, spec_lengths, sid)
401
- mel = spec_to_mel_torch(
402
- spec,
403
- hps.data.filter_length,
404
- hps.data.n_mel_channels,
405
- hps.data.sampling_rate,
406
- hps.data.mel_fmin,
407
- hps.data.mel_fmax,
408
- )
409
- y_mel = commons.slice_segments(
410
- mel, ids_slice, hps.train.segment_size // hps.data.hop_length
411
- )
412
- with autocast(enabled=False):
413
- y_hat_mel = mel_spectrogram_torch(
414
- y_hat.float().squeeze(1),
415
- hps.data.filter_length,
416
- hps.data.n_mel_channels,
417
- hps.data.sampling_rate,
418
- hps.data.hop_length,
419
- hps.data.win_length,
420
- hps.data.mel_fmin,
421
- hps.data.mel_fmax,
422
- )
423
- if hps.train.fp16_run == True:
424
- y_hat_mel = y_hat_mel.half()
425
- wave = commons.slice_segments(
426
- wave, ids_slice * hps.data.hop_length, hps.train.segment_size
427
- ) # slice
428
-
429
- # Discriminator
430
- y_d_hat_r, y_d_hat_g, _, _ = net_d(wave, y_hat.detach())
431
- with autocast(enabled=False):
432
- loss_disc, losses_disc_r, losses_disc_g = discriminator_loss(
433
- y_d_hat_r, y_d_hat_g
434
- )
435
- optim_d.zero_grad()
436
- scaler.scale(loss_disc).backward()
437
- scaler.unscale_(optim_d)
438
- grad_norm_d = commons.clip_grad_value_(net_d.parameters(), None)
439
- scaler.step(optim_d)
440
-
441
- with autocast(enabled=hps.train.fp16_run):
442
- # Generator
443
- y_d_hat_r, y_d_hat_g, fmap_r, fmap_g = net_d(wave, y_hat)
444
- with autocast(enabled=False):
445
- loss_mel = F.l1_loss(y_mel, y_hat_mel) * hps.train.c_mel
446
- loss_kl = kl_loss(z_p, logs_q, m_p, logs_p, z_mask) * hps.train.c_kl
447
- loss_fm = feature_loss(fmap_r, fmap_g)
448
- loss_gen, losses_gen = generator_loss(y_d_hat_g)
449
- loss_gen_all = loss_gen + loss_fm + loss_mel + loss_kl
450
- optim_g.zero_grad()
451
- scaler.scale(loss_gen_all).backward()
452
- scaler.unscale_(optim_g)
453
- grad_norm_g = commons.clip_grad_value_(net_g.parameters(), None)
454
- scaler.step(optim_g)
455
- scaler.update()
456
-
457
- if rank == 0:
458
- if global_step % hps.train.log_interval == 0:
459
- lr = optim_g.param_groups[0]["lr"]
460
- logger.info(
461
- "Train Epoch: {} [{:.0f}%]".format(
462
- epoch, 100.0 * batch_idx / len(train_loader)
463
- )
464
- )
465
- # Amor For Tensorboard display
466
- if loss_mel > 75:
467
- loss_mel = 75
468
- if loss_kl > 9:
469
- loss_kl = 9
470
-
471
- logger.info([global_step, lr])
472
- logger.info(
473
- f"loss_disc={loss_disc:.3f}, loss_gen={loss_gen:.3f}, loss_fm={loss_fm:.3f},loss_mel={loss_mel:.3f}, loss_kl={loss_kl:.3f}"
474
- )
475
- scalar_dict = {
476
- "loss/g/total": loss_gen_all,
477
- "loss/d/total": loss_disc,
478
- "learning_rate": lr,
479
- "grad_norm_d": grad_norm_d,
480
- "grad_norm_g": grad_norm_g,
481
- }
482
- scalar_dict.update(
483
- {
484
- "loss/g/fm": loss_fm,
485
- "loss/g/mel": loss_mel,
486
- "loss/g/kl": loss_kl,
487
- }
488
- )
489
-
490
- scalar_dict.update(
491
- {"loss/g/{}".format(i): v for i, v in enumerate(losses_gen)}
492
- )
493
- scalar_dict.update(
494
- {"loss/d_r/{}".format(i): v for i, v in enumerate(losses_disc_r)}
495
- )
496
- scalar_dict.update(
497
- {"loss/d_g/{}".format(i): v for i, v in enumerate(losses_disc_g)}
498
- )
499
- image_dict = {
500
- "slice/mel_org": utils.plot_spectrogram_to_numpy(
501
- y_mel[0].data.cpu().numpy()
502
- ),
503
- "slice/mel_gen": utils.plot_spectrogram_to_numpy(
504
- y_hat_mel[0].data.cpu().numpy()
505
- ),
506
- "all/mel": utils.plot_spectrogram_to_numpy(
507
- mel[0].data.cpu().numpy()
508
- ),
509
- }
510
- utils.summarize(
511
- writer=writer,
512
- global_step=global_step,
513
- images=image_dict,
514
- scalars=scalar_dict,
515
- )
516
- global_step += 1
517
- # /Run steps
518
-
519
- if epoch % hps.save_every_epoch == 0 and rank == 0:
520
- if hps.if_latest == 0:
521
- utils.save_checkpoint(
522
- net_g,
523
- optim_g,
524
- hps.train.learning_rate,
525
- epoch,
526
- os.path.join(hps.model_dir, "G_{}.pth".format(global_step)),
527
- )
528
- utils.save_checkpoint(
529
- net_d,
530
- optim_d,
531
- hps.train.learning_rate,
532
- epoch,
533
- os.path.join(hps.model_dir, "D_{}.pth".format(global_step)),
534
- )
535
- else:
536
- utils.save_checkpoint(
537
- net_g,
538
- optim_g,
539
- hps.train.learning_rate,
540
- epoch,
541
- os.path.join(hps.model_dir, "G_{}.pth".format(2333333)),
542
- )
543
- utils.save_checkpoint(
544
- net_d,
545
- optim_d,
546
- hps.train.learning_rate,
547
- epoch,
548
- os.path.join(hps.model_dir, "D_{}.pth".format(2333333)),
549
- )
550
- if rank == 0 and hps.save_every_weights == "1":
551
- if hasattr(net_g, "module"):
552
- ckpt = net_g.module.state_dict()
553
- else:
554
- ckpt = net_g.state_dict()
555
- logger.info(
556
- "saving ckpt %s_e%s:%s"
557
- % (
558
- hps.name,
559
- epoch,
560
- savee(
561
- ckpt,
562
- hps.sample_rate,
563
- hps.if_f0,
564
- hps.name + "_e%s_s%s" % (epoch, global_step),
565
- epoch,
566
- hps.version,
567
- hps,
568
- ),
569
- )
570
- )
571
-
572
- if rank == 0:
573
- logger.info("====> Epoch: {} {}".format(epoch, epoch_recorder.record()))
574
- if epoch >= hps.total_epoch and rank == 0:
575
- logger.info("Training is done. The program is closed.")
576
-
577
- if hasattr(net_g, "module"):
578
- ckpt = net_g.module.state_dict()
579
- else:
580
- ckpt = net_g.state_dict()
581
- logger.info(
582
- "saving final ckpt:%s"
583
- % (
584
- savee(
585
- ckpt, hps.sample_rate, hps.if_f0, hps.name, epoch, hps.version, hps
586
- )
587
- )
588
- )
589
- sleep(1)
590
- os._exit(2333333)
591
-
592
-
593
- if __name__ == "__main__":
594
- torch.multiprocessing.set_start_method("spawn")
595
- main()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIConsultant/MusicGen/audiocraft/solvers/diffusion.py DELETED
@@ -1,279 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- # All rights reserved.
3
- #
4
- # This source code is licensed under the license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- import typing as tp
8
-
9
- import flashy
10
- import julius
11
- import omegaconf
12
- import torch
13
- import torch.nn.functional as F
14
-
15
- from . import builders
16
- from . import base
17
- from .. import models
18
- from ..modules.diffusion_schedule import NoiseSchedule
19
- from ..metrics import RelativeVolumeMel
20
- from ..models.builders import get_processor
21
- from ..utils.samples.manager import SampleManager
22
- from ..solvers.compression import CompressionSolver
23
-
24
-
25
- class PerStageMetrics:
26
- """Handle prompting the metrics per stage.
27
- It outputs the metrics per range of diffusion states.
28
- e.g. avg loss when t in [250, 500]
29
- """
30
- def __init__(self, num_steps: int, num_stages: int = 4):
31
- self.num_steps = num_steps
32
- self.num_stages = num_stages
33
-
34
- def __call__(self, losses: dict, step: tp.Union[int, torch.Tensor]):
35
- if type(step) is int:
36
- stage = int((step / self.num_steps) * self.num_stages)
37
- return {f"{name}_{stage}": loss for name, loss in losses.items()}
38
- elif type(step) is torch.Tensor:
39
- stage_tensor = ((step / self.num_steps) * self.num_stages).long()
40
- out: tp.Dict[str, float] = {}
41
- for stage_idx in range(self.num_stages):
42
- mask = (stage_tensor == stage_idx)
43
- N = mask.sum()
44
- stage_out = {}
45
- if N > 0: # pass if no elements in the stage
46
- for name, loss in losses.items():
47
- stage_loss = (mask * loss).sum() / N
48
- stage_out[f"{name}_{stage_idx}"] = stage_loss
49
- out = {**out, **stage_out}
50
- return out
51
-
52
-
53
- class DataProcess:
54
- """Apply filtering or resampling.
55
-
56
- Args:
57
- initial_sr (int): Initial sample rate.
58
- target_sr (int): Target sample rate.
59
- use_resampling: Whether to use resampling or not.
60
- use_filter (bool):
61
- n_bands (int): Number of bands to consider.
62
- idx_band (int):
63
- device (torch.device or str):
64
- cutoffs ():
65
- boost (bool):
66
- """
67
- def __init__(self, initial_sr: int = 24000, target_sr: int = 16000, use_resampling: bool = False,
68
- use_filter: bool = False, n_bands: int = 4,
69
- idx_band: int = 0, device: torch.device = torch.device('cpu'), cutoffs=None, boost=False):
70
- """Apply filtering or resampling
71
- Args:
72
- initial_sr (int): sample rate of the dataset
73
- target_sr (int): sample rate after resampling
74
- use_resampling (bool): whether or not performs resampling
75
- use_filter (bool): when True filter the data to keep only one frequency band
76
- n_bands (int): Number of bands used
77
- cuts (none or list): The cutoff frequencies of the band filtering
78
- if None then we use mel scale bands.
79
- idx_band (int): index of the frequency band. 0 are lows ... (n_bands - 1) highs
80
- boost (bool): make the data scale match our music dataset.
81
- """
82
- assert idx_band < n_bands
83
- self.idx_band = idx_band
84
- if use_filter:
85
- if cutoffs is not None:
86
- self.filter = julius.SplitBands(sample_rate=initial_sr, cutoffs=cutoffs).to(device)
87
- else:
88
- self.filter = julius.SplitBands(sample_rate=initial_sr, n_bands=n_bands).to(device)
89
- self.use_filter = use_filter
90
- self.use_resampling = use_resampling
91
- self.target_sr = target_sr
92
- self.initial_sr = initial_sr
93
- self.boost = boost
94
-
95
- def process_data(self, x, metric=False):
96
- if x is None:
97
- return None
98
- if self.boost:
99
- x /= torch.clamp(x.std(dim=(1, 2), keepdim=True), min=1e-4)
100
- x * 0.22
101
- if self.use_filter and not metric:
102
- x = self.filter(x)[self.idx_band]
103
- if self.use_resampling:
104
- x = julius.resample_frac(x, old_sr=self.initial_sr, new_sr=self.target_sr)
105
- return x
106
-
107
- def inverse_process(self, x):
108
- """Upsampling only."""
109
- if self.use_resampling:
110
- x = julius.resample_frac(x, old_sr=self.target_sr, new_sr=self.target_sr)
111
- return x
112
-
113
-
114
- class DiffusionSolver(base.StandardSolver):
115
- """Solver for compression task.
116
-
117
- The diffusion task allows for MultiBand diffusion model training.
118
-
119
- Args:
120
- cfg (DictConfig): Configuration.
121
- """
122
- def __init__(self, cfg: omegaconf.DictConfig):
123
- super().__init__(cfg)
124
- self.cfg = cfg
125
- self.device = cfg.device
126
- self.sample_rate: int = self.cfg.sample_rate
127
- self.codec_model = CompressionSolver.model_from_checkpoint(
128
- cfg.compression_model_checkpoint, device=self.device)
129
-
130
- self.codec_model.set_num_codebooks(cfg.n_q)
131
- assert self.codec_model.sample_rate == self.cfg.sample_rate, (
132
- f"Codec model sample rate is {self.codec_model.sample_rate} but "
133
- f"Solver sample rate is {self.cfg.sample_rate}."
134
- )
135
- assert self.codec_model.sample_rate == self.sample_rate, \
136
- f"Sample rate of solver {self.sample_rate} and codec {self.codec_model.sample_rate} " \
137
- "don't match."
138
-
139
- self.sample_processor = get_processor(cfg.processor, sample_rate=self.sample_rate)
140
- self.register_stateful('sample_processor')
141
- self.sample_processor.to(self.device)
142
-
143
- self.schedule = NoiseSchedule(
144
- **cfg.schedule, device=self.device, sample_processor=self.sample_processor)
145
-
146
- self.eval_metric: tp.Optional[torch.nn.Module] = None
147
-
148
- self.rvm = RelativeVolumeMel()
149
- self.data_processor = DataProcess(initial_sr=self.sample_rate, target_sr=cfg.resampling.target_sr,
150
- use_resampling=cfg.resampling.use, cutoffs=cfg.filter.cutoffs,
151
- use_filter=cfg.filter.use, n_bands=cfg.filter.n_bands,
152
- idx_band=cfg.filter.idx_band, device=self.device)
153
-
154
- @property
155
- def best_metric_name(self) -> tp.Optional[str]:
156
- if self._current_stage == "evaluate":
157
- return 'rvm'
158
- else:
159
- return 'loss'
160
-
161
- @torch.no_grad()
162
- def get_condition(self, wav: torch.Tensor) -> torch.Tensor:
163
- codes, scale = self.codec_model.encode(wav)
164
- assert scale is None, "Scaled compression models not supported."
165
- emb = self.codec_model.decode_latent(codes)
166
- return emb
167
-
168
- def build_model(self):
169
- """Build model and optimizer as well as optional Exponential Moving Average of the model.
170
- """
171
- # Model and optimizer
172
- self.model = models.builders.get_diffusion_model(self.cfg).to(self.device)
173
- self.optimizer = builders.get_optimizer(self.model.parameters(), self.cfg.optim)
174
- self.register_stateful('model', 'optimizer')
175
- self.register_best_state('model')
176
- self.register_ema('model')
177
-
178
- def build_dataloaders(self):
179
- """Build audio dataloaders for each stage."""
180
- self.dataloaders = builders.get_audio_datasets(self.cfg)
181
-
182
- def show(self):
183
- # TODO
184
- raise NotImplementedError()
185
-
186
- def run_step(self, idx: int, batch: torch.Tensor, metrics: dict):
187
- """Perform one training or valid step on a given batch."""
188
- x = batch.to(self.device)
189
- loss_fun = F.mse_loss if self.cfg.loss.kind == 'mse' else F.l1_loss
190
-
191
- condition = self.get_condition(x) # [bs, 128, T/hop, n_emb]
192
- sample = self.data_processor.process_data(x)
193
-
194
- input_, target, step = self.schedule.get_training_item(sample,
195
- tensor_step=self.cfg.schedule.variable_step_batch)
196
- out = self.model(input_, step, condition=condition).sample
197
-
198
- base_loss = loss_fun(out, target, reduction='none').mean(dim=(1, 2))
199
- reference_loss = loss_fun(input_, target, reduction='none').mean(dim=(1, 2))
200
- loss = base_loss / reference_loss ** self.cfg.loss.norm_power
201
-
202
- if self.is_training:
203
- loss.mean().backward()
204
- flashy.distrib.sync_model(self.model)
205
- self.optimizer.step()
206
- self.optimizer.zero_grad()
207
- metrics = {
208
- 'loss': loss.mean(), 'normed_loss': (base_loss / reference_loss).mean(),
209
- }
210
- metrics.update(self.per_stage({'loss': loss, 'normed_loss': base_loss / reference_loss}, step))
211
- metrics.update({
212
- 'std_in': input_.std(), 'std_out': out.std()})
213
- return metrics
214
-
215
- def run_epoch(self):
216
- # reset random seed at the beginning of the epoch
217
- self.rng = torch.Generator()
218
- self.rng.manual_seed(1234 + self.epoch)
219
- self.per_stage = PerStageMetrics(self.schedule.num_steps, self.cfg.metrics.num_stage)
220
- # run epoch
221
- super().run_epoch()
222
-
223
- def evaluate(self):
224
- """Evaluate stage.
225
- Runs audio reconstruction evaluation.
226
- """
227
- self.model.eval()
228
- evaluate_stage_name = f'{self.current_stage}'
229
- loader = self.dataloaders['evaluate']
230
- updates = len(loader)
231
- lp = self.log_progress(f'{evaluate_stage_name} estimate', loader, total=updates, updates=self.log_updates)
232
-
233
- metrics = {}
234
- n = 1
235
- for idx, batch in enumerate(lp):
236
- x = batch.to(self.device)
237
- with torch.no_grad():
238
- y_pred = self.regenerate(x)
239
-
240
- y_pred = y_pred.cpu()
241
- y = batch.cpu() # should already be on CPU but just in case
242
- rvm = self.rvm(y_pred, y)
243
- lp.update(**rvm)
244
- if len(metrics) == 0:
245
- metrics = rvm
246
- else:
247
- for key in rvm.keys():
248
- metrics[key] = (metrics[key] * n + rvm[key]) / (n + 1)
249
- metrics = flashy.distrib.average_metrics(metrics)
250
- return metrics
251
-
252
- @torch.no_grad()
253
- def regenerate(self, wav: torch.Tensor, step_list: tp.Optional[list] = None):
254
- """Regenerate the given waveform."""
255
- condition = self.get_condition(wav)
256
- initial = self.schedule.get_initial_noise(self.data_processor.process_data(wav)) # sampling rate changes.
257
- result = self.schedule.generate_subsampled(self.model, initial=initial, condition=condition,
258
- step_list=step_list)
259
- result = self.data_processor.inverse_process(result)
260
- return result
261
-
262
- def generate(self):
263
- """Generate stage."""
264
- sample_manager = SampleManager(self.xp)
265
- self.model.eval()
266
- generate_stage_name = f'{self.current_stage}'
267
-
268
- loader = self.dataloaders['generate']
269
- updates = len(loader)
270
- lp = self.log_progress(generate_stage_name, loader, total=updates, updates=self.log_updates)
271
-
272
- for batch in lp:
273
- reference, _ = batch
274
- reference = reference.to(self.device)
275
- estimate = self.regenerate(reference)
276
- reference = reference.cpu()
277
- estimate = estimate.cpu()
278
- sample_manager.add_samples(estimate, self.epoch, ground_truth_wavs=reference)
279
- flashy.distrib.barrier()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIFILMS/StyleGANEX/latent_optimization.py DELETED
@@ -1,107 +0,0 @@
1
- import models.stylegan2.lpips as lpips
2
- from torch import autograd, optim
3
- from torchvision import transforms, utils
4
- from tqdm import tqdm
5
- import torch
6
- from scripts.align_all_parallel import align_face
7
- from utils.inference_utils import noise_regularize, noise_normalize_, get_lr, latent_noise, visualize
8
-
9
- def latent_optimization(frame, pspex, landmarkpredictor, step=500, device='cuda'):
10
- percept = lpips.PerceptualLoss(
11
- model="net-lin", net="vgg", use_gpu=device.startswith("cuda")
12
- )
13
-
14
- transform = transforms.Compose([
15
- transforms.ToTensor(),
16
- transforms.Normalize(mean=[0.5, 0.5, 0.5],std=[0.5,0.5,0.5]),
17
- ])
18
-
19
- with torch.no_grad():
20
-
21
- noise_sample = torch.randn(1000, 512, device=device)
22
- latent_out = pspex.decoder.style(noise_sample)
23
- latent_mean = latent_out.mean(0)
24
- latent_std = ((latent_out - latent_mean).pow(2).sum() / 1000) ** 0.5
25
-
26
- y = transform(frame).unsqueeze(dim=0).to(device)
27
- I_ = align_face(frame, landmarkpredictor)
28
- I_ = transform(I_).unsqueeze(dim=0).to(device)
29
- wplus = pspex.encoder(I_) + pspex.latent_avg.unsqueeze(0)
30
- _, f = pspex.encoder(y, return_feat=True)
31
- latent_in = wplus.detach().clone()
32
- feat = [f[0].detach().clone(), f[1].detach().clone()]
33
-
34
-
35
-
36
- # wplus and f to optimize
37
- latent_in.requires_grad = True
38
- feat[0].requires_grad = True
39
- feat[1].requires_grad = True
40
-
41
- noises_single = pspex.decoder.make_noise()
42
- basic_height, basic_width = int(y.shape[2]*32/256), int(y.shape[3]*32/256)
43
- noises = []
44
- for noise in noises_single:
45
- noises.append(noise.new_empty(y.shape[0], 1, max(basic_height, int(y.shape[2]*noise.shape[2]/256)),
46
- max(basic_width, int(y.shape[3]*noise.shape[2]/256))).normal_())
47
- for noise in noises:
48
- noise.requires_grad = True
49
-
50
- init_lr=0.05
51
- optimizer = optim.Adam(feat + noises, lr=init_lr)
52
- optimizer2 = optim.Adam([latent_in], lr=init_lr)
53
- noise_weight = 0.05 * 0.2
54
-
55
- pbar = tqdm(range(step))
56
- latent_path = []
57
-
58
- for i in pbar:
59
- t = i / step
60
- lr = get_lr(t, init_lr)
61
- optimizer.param_groups[0]["lr"] = lr
62
- optimizer2.param_groups[0]["lr"] = get_lr(t, init_lr)
63
-
64
- noise_strength = latent_std * noise_weight * max(0, 1 - t / 0.75) ** 2
65
- latent_n = latent_noise(latent_in, noise_strength.item())
66
-
67
- y_hat, _ = pspex.decoder([latent_n], input_is_latent=True, randomize_noise=False,
68
- first_layer_feature=feat, noise=noises)
69
-
70
-
71
- batch, channel, height, width = y_hat.shape
72
-
73
- if height > y.shape[2]:
74
- factor = height // y.shape[2]
75
-
76
- y_hat = y_hat.reshape(
77
- batch, channel, height // factor, factor, width // factor, factor
78
- )
79
- y_hat = y_hat.mean([3, 5])
80
-
81
- p_loss = percept(y_hat, y).sum()
82
- n_loss = noise_regularize(noises) * 1e3
83
-
84
- loss = p_loss + n_loss
85
-
86
- optimizer.zero_grad()
87
- optimizer2.zero_grad()
88
- loss.backward()
89
- optimizer.step()
90
- optimizer2.step()
91
-
92
- noise_normalize_(noises)
93
-
94
- ''' for visualization
95
- if (i + 1) % 100 == 0 or i == 0:
96
- viz = torch.cat((y_hat,y,y_hat-y), dim=3)
97
- visualize(torch.clamp(viz[0].cpu(),-1,1), 60)
98
- '''
99
-
100
- pbar.set_description(
101
- (
102
- f"perceptual: {p_loss.item():.4f}; noise regularize: {n_loss.item():.4f};"
103
- f" lr: {lr:.4f}"
104
- )
105
- )
106
-
107
- return latent_n, feat, noises, wplus, f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/text_to_speech/data_gen/tts/wav_processors/base_processor.py DELETED
@@ -1,25 +0,0 @@
1
- REGISTERED_WAV_PROCESSORS = {}
2
-
3
-
4
- def register_wav_processors(name):
5
- def _f(cls):
6
- REGISTERED_WAV_PROCESSORS[name] = cls
7
- return cls
8
-
9
- return _f
10
-
11
-
12
- def get_wav_processor_cls(name):
13
- return REGISTERED_WAV_PROCESSORS.get(name, None)
14
-
15
-
16
- class BaseWavProcessor:
17
- @property
18
- def name(self):
19
- raise NotImplementedError
20
-
21
- def output_fn(self, input_fn):
22
- return f'{input_fn[:-4]}_{self.name}.wav'
23
-
24
- def process(self, input_fn, sr, tmp_dir, processed_dir, item_name, preprocess_args):
25
- raise NotImplementedError
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/act.py DELETED
@@ -1,28 +0,0 @@
1
- # Adapted from https://github.com/junjun3518/alias-free-torch under the Apache License 2.0
2
- # LICENSE is in incl_licenses directory.
3
-
4
- import torch.nn as nn
5
- from .resample import UpSample1d, DownSample1d
6
-
7
-
8
- class Activation1d(nn.Module):
9
- def __init__(self,
10
- activation,
11
- up_ratio: int = 2,
12
- down_ratio: int = 2,
13
- up_kernel_size: int = 12,
14
- down_kernel_size: int = 12):
15
- super().__init__()
16
- self.up_ratio = up_ratio
17
- self.down_ratio = down_ratio
18
- self.act = activation
19
- self.upsample = UpSample1d(up_ratio, up_kernel_size)
20
- self.downsample = DownSample1d(down_ratio, down_kernel_size)
21
-
22
- # x: [B,C,T]
23
- def forward(self, x):
24
- x = self.upsample(x)
25
- x = self.act(x)
26
- x = self.downsample(x)
27
-
28
- return x
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGText/GlyphControl/example_list.py DELETED
@@ -1,38 +0,0 @@
1
- example_1 = [
2
- "LAION-Glyph-10M-Epoch-6",
3
- "A gift card with text ""Happy Birthday"" and roses on it.",
4
- "Happy Birthday", 0.47, 0, 0.24, 0.4, 5, 1,
5
- "", 0.3, 0, 0.15, 0.15, 0, 1,
6
- "", 0.3, 0, 0.15, 0.65, 0, 1,
7
- "", 0.3, 0, 0.5, 0.65, 0, 1,
8
- 5,512,20,False,1,9,0,0,
9
- "4K, dslr, best quality, extremely detailed",
10
- "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality"
11
- ]
12
- # teaser examples in the report (updating...)
13
- # only could generate similar examples due to the fact that our released checkpoints are different from the checkpoint used in the original report.
14
- example_2 = [
15
- "LAION-Glyph-10M-Epoch-6",
16
- 'Newspaper with the headline "Aliens Found in Space" and "Monster Attacks Mars".',
17
- 'Aliens Found in Space', 0.8, 0, 0.1, 0.1, 0, 1,
18
- 'Monster Attacks Mars', 0.8, 0, 0.1, 0.45, 0, 1,
19
- "", 0.3, 0, 0.15, 0.65, 0, 1,
20
- "", 0.3, 0, 0.5, 0.65, 0, 1,
21
- 5,512,20,False,1,9,430637146,
22
- 0, "best quality, extremely detailed", #"4K, dslr, best quality, extremely detailed",
23
- "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality"
24
- ]
25
- examples = [example_1, example_2]
26
-
27
- # example_3 = [
28
- # "LAION-Glyph-10M-Epoch-6",
29
- # 'A decorative greeting card that reads "Congratulations on achieving state of the art".',
30
- # 'Congratulations', 0.6, 0, 0.2, 0.1, 0, 1,
31
- # 'on achieving', 0.5, 0, 0.25, 0.22, 0, 1,
32
- # 'state of the art', 0.6, 0, 0.21, 0.34, 0, 1,
33
- # "", 0.3, 0, 0.5, 0.65, 0, 1,
34
- # 5,512,20,False,1,9, 1540281202, #364285590,
35
- # 0, "best quality, extremely detailed",
36
- # "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality"
37
- # ]
38
- # examples = [example_1, example_2, example_3]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ASJMO/freegpt/g4f/Provider/Providers/GetGpt.py DELETED
@@ -1,57 +0,0 @@
1
- import os
2
- import json
3
- import uuid
4
- import requests
5
- from Crypto.Cipher import AES
6
- from ...typing import sha256, Dict, get_type_hints
7
-
8
- url = 'https://chat.getgpt.world/'
9
- model = ['gpt-3.5-turbo']
10
- supports_stream = True
11
- needs_auth = False
12
-
13
- def _create_completion(model: str, messages: list, stream: bool, **kwargs):
14
- def encrypt(e):
15
- t = os.urandom(8).hex().encode('utf-8')
16
- n = os.urandom(8).hex().encode('utf-8')
17
- r = e.encode('utf-8')
18
- cipher = AES.new(t, AES.MODE_CBC, n)
19
- ciphertext = cipher.encrypt(pad_data(r))
20
- return ciphertext.hex() + t.decode('utf-8') + n.decode('utf-8')
21
-
22
- def pad_data(data: bytes) -> bytes:
23
- block_size = AES.block_size
24
- padding_size = block_size - len(data) % block_size
25
- padding = bytes([padding_size] * padding_size)
26
- return data + padding
27
-
28
- headers = {
29
- 'Content-Type': 'application/json',
30
- 'Referer': 'https://chat.getgpt.world/',
31
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36'
32
- }
33
-
34
- data = json.dumps({
35
- 'messages': messages,
36
- 'frequency_penalty': kwargs.get('frequency_penalty', 0),
37
- 'max_tokens': kwargs.get('max_tokens', 4000),
38
- 'model': 'gpt-3.5-turbo',
39
- 'presence_penalty': kwargs.get('presence_penalty', 0),
40
- 'temperature': kwargs.get('temperature', 1),
41
- 'top_p': kwargs.get('top_p', 1),
42
- 'stream': True,
43
- 'uuid': str(uuid.uuid4())
44
- })
45
-
46
- res = requests.post('https://chat.getgpt.world/api/chat/stream',
47
- headers=headers, json={'signature': encrypt(data)}, stream=True)
48
-
49
- for line in res.iter_lines():
50
- if b'content' in line:
51
- line_json = json.loads(line.decode('utf-8').split('data: ')[1])
52
- yield (line_json['choices'][0]['delta']['content'])
53
-
54
-
55
- params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \
56
- '(%s)' % ', '.join(
57
- [f'{name}: {get_type_hints(_create_completion)[name].__name__}' for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ASJMO/freegpt/g4f/Provider/Providers/helpers/theb.py DELETED
@@ -1,48 +0,0 @@
1
- import json
2
- import sys
3
- from re import findall
4
- from curl_cffi import requests
5
-
6
- config = json.loads(sys.argv[1])
7
- prompt = config['messages'][-1]['content']
8
-
9
- headers = {
10
- 'authority': 'chatbot.theb.ai',
11
- 'accept': 'application/json, text/plain, */*',
12
- 'accept-language': 'en,fr-FR;q=0.9,fr;q=0.8,es-ES;q=0.7,es;q=0.6,en-US;q=0.5,am;q=0.4,de;q=0.3',
13
- 'content-type': 'application/json',
14
- 'origin': 'https://chatbot.theb.ai',
15
- 'referer': 'https://chatbot.theb.ai/',
16
- 'sec-ch-ua': '"Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"',
17
- 'sec-ch-ua-mobile': '?0',
18
- 'sec-ch-ua-platform': '"macOS"',
19
- 'sec-fetch-dest': 'empty',
20
- 'sec-fetch-mode': 'cors',
21
- 'sec-fetch-site': 'same-origin',
22
- 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36',
23
- }
24
-
25
- json_data = {
26
- 'prompt': prompt,
27
- 'options': {}
28
- }
29
-
30
- def format(chunk):
31
- try:
32
- completion_chunk = findall(r'content":"(.*)"},"fin', chunk.decode())[0]
33
- print(completion_chunk, flush=True, end='')
34
-
35
- except Exception as e:
36
- print(f'[ERROR] an error occured, retrying... | [[{chunk.decode()}]]', flush=True)
37
- return
38
-
39
- while True:
40
- try:
41
- response = requests.post('https://chatbot.theb.ai/api/chat-process',
42
- headers=headers, json=json_data, content_callback=format, impersonate='chrome110')
43
-
44
- exit(0)
45
-
46
- except Exception as e:
47
- print('[ERROR] an error occured, retrying... |', e, flush=True)
48
- continue
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_1_ClothesKeyPoint/work_dirs_1-x/td_hm_res50_4xb16-120e_deepfashion2_long_sleeved_outwear_256x192/__init__.py DELETED
File without changes
spaces/AgentVerse/agentVerse/scripts/evaluate_responsegen.py DELETED
@@ -1,112 +0,0 @@
1
- import os
2
- import json
3
- from string import Template
4
- import time
5
- import openai
6
- from tqdm import tqdm
7
-
8
- with open("./results.jsonl", "r") as f:
9
- lines = list(f.readlines())
10
-
11
- eval_prompt = r"""Which response is better given this context:
12
- ${context}
13
-
14
- Response A: ${response_a}
15
-
16
- Response B: ${response_b}.
17
-
18
- Pick your answer from ['Response A', 'Response B', 'both', 'neither']. Generate a short explanation for your choice first. Then, generate 'The better response is A' or 'The better response is B' or 'The better response is both' or 'The better response is neither'.
19
-
20
- Your response format should be:
21
- Explanation: <explanation>
22
- Answer: ('The better response is A' or 'The better response is B' or 'The better response is both' or 'The better response is neither')
23
- """
24
-
25
- res = []
26
- eval = []
27
-
28
-
29
- def write_eval_to_file(file, skip=0):
30
- for idx, line in tqdm(enumerate(lines)):
31
- if idx < skip:
32
- continue
33
- data = json.loads(line)
34
- # print(idx + 1)
35
- context = data["input"]
36
- response_a = data["response"]
37
- response_b = data["label"]
38
-
39
- context_quote = "> " + "\n> ".join(context.split("\n"))
40
- response_a_quote = "> " + "\n> ".join(response_a.split("\n"))
41
- response_b_quote = "> " + "\n> ".join(response_b.split("\n"))
42
-
43
- f.write(f"## {idx + 1}\n\n")
44
- f.write(f"Context:\n" f"{context_quote}\n\n")
45
- f.write(f"Response A (pipeline):\n" f"{response_a_quote}\n\n")
46
- f.write(f"Response B (init):\n" f"{response_b_quote}\n\n")
47
-
48
- prompt = Template(eval_prompt).safe_substitute(
49
- context=context, response_a=response_a, response_b=response_b
50
- )
51
- for i in range(100):
52
- try:
53
- eval_response = openai.ChatCompletion.create(
54
- model="gpt-4",
55
- messages=[{"role": "user", "content": prompt}],
56
- temperature=0.0,
57
- )
58
- except:
59
- time.sleep(min(i**2, 60))
60
- continue
61
- break
62
- text = eval_response["choices"][0]["message"]["content"]
63
- eval.append(text)
64
- text = text.replace("\n", "\n\n")
65
- f.write(f"{text}\n\n")
66
-
67
- if "The better response is A" in text:
68
- res.append("A")
69
- elif "The better response is B" in text:
70
- res.append("B")
71
- elif "The better response is both" in text:
72
- res.append("both")
73
- elif "The better response is neither" in text:
74
- res.append("neither")
75
- else:
76
- res.append("unknown")
77
-
78
-
79
- if not os.path.exists("./eval.md"):
80
- with open("./eval.md", "w") as f:
81
- f.write("# ResponseGen Eval\n\n")
82
- write_eval_to_file(f)
83
- win_cnt = 0
84
- for r in res:
85
- if r == "A":
86
- win_cnt += 1
87
- print(f"win rate: {win_cnt / len(res)}")
88
- else:
89
- win_cnt = 0
90
- total_cnt = 0
91
- with open("./eval.md", "r") as f:
92
- for line in f:
93
- if line.startswith("Answer"):
94
- total_cnt += 1
95
- if "The better response is A" in line:
96
- res.append("A")
97
- elif "The better response is B" in line:
98
- res.append("B")
99
- elif "The better response is both" in line:
100
- res.append("both")
101
- elif "The better response is neither" in line:
102
- res.append("neither")
103
- else:
104
- res.append("unknown")
105
- with open("./eval.md", "a") as f:
106
- f.write("\n")
107
- write_eval_to_file(f, total_cnt)
108
- win_cnt = 0
109
- for r in res:
110
- if r == "A":
111
- win_cnt += 1
112
- print(f"win rate: {win_cnt / len(res)}")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/BroadcastEvent.js DELETED
@@ -1,10 +0,0 @@
1
- var BroadcastEvent = function () {
2
- var gameObjects = this.getAllChildren([this]);
3
- for (var i = 0, cnt = gameObjects.length; i < cnt; i++) {
4
- var gameObject = gameObjects[i];
5
- gameObject.emit.apply(gameObject, arguments);
6
- }
7
- return this;
8
- }
9
-
10
- export default BroadcastEvent;
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/maker/builders/CreateBadgeLabel.js DELETED
@@ -1,26 +0,0 @@
1
- import MergeStyle from './utils/MergeStyle.js';
2
- import BadgeLabel from '../../badgelabel/BadgeLabel.js';
3
- import CreateChild from './utils/CreateChild.js';
4
-
5
- var CreateBadgeLabel = function (scene, data, view, styles, customBuilders) {
6
- data = MergeStyle(data, styles);
7
-
8
- // Replace data by child game object
9
- CreateChild(scene, data, 'background', view, styles, customBuilders);
10
- CreateChild(scene, data, 'main', view, styles, customBuilders);
11
- CreateChild(scene, data, 'leftTop', view, styles, customBuilders);
12
- CreateChild(scene, data, 'centerTop', view, styles, customBuilders);
13
- CreateChild(scene, data, 'rightTop', view, styles, customBuilders);
14
- CreateChild(scene, data, 'leftCenter', view, styles, customBuilders);
15
- CreateChild(scene, data, 'center', view, styles, customBuilders);
16
- CreateChild(scene, data, 'rightCenter', view, styles, customBuilders);
17
- CreateChild(scene, data, 'leftBottom', view, styles, customBuilders);
18
- CreateChild(scene, data, 'centerBottom', view, styles, customBuilders);
19
- CreateChild(scene, data, 'rightBottom', view, styles, customBuilders);
20
-
21
- var gameObject = new BadgeLabel(scene, data);
22
- scene.add.existing(gameObject);
23
- return gameObject;
24
- }
25
-
26
- export default CreateBadgeLabel;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AlanMars/QYL-AI-Space/readme/README_ja.md DELETED
@@ -1,126 +0,0 @@
1
- <div align="right">
2
- <!-- Language: -->
3
- <a title="Chinese" href="../README.md">简体中文</a> | <a title="English" href="README_en.md">English</a> | 日本語
4
- </div>
5
-
6
- <h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
7
- <div align="center">
8
- <a href="https://github.com/GaiZhenBiao/ChuanhuChatGPT">
9
- <img src="https://user-images.githubusercontent.com/70903329/227087087-93b37d64-7dc3-4738-a518-c1cf05591c8a.png" alt="Logo" height="156">
10
- </a>
11
-
12
- <p align="center">
13
- <h3>ChatGPT/ChatGLM/LLaMAなどのLLMのための軽量でユーザーフレンドリーなWeb-UI</h3>
14
- <p align="center">
15
- <a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/main/LICENSE">
16
- <img alt="Tests Passing" src="https://img.shields.io/github/license/GaiZhenbiao/ChuanhuChatGPT" />
17
- </a>
18
- <a href="https://gradio.app/">
19
- <img alt="GitHub Contributors" src="https://img.shields.io/badge/Base-Gradio-fb7d1a?style=flat" />
20
- </a>
21
- <a href="https://t.me/tkdifferent">
22
- <img alt="GitHub pull requests" src="https://img.shields.io/badge/Telegram-Group-blue.svg?logo=telegram" />
23
- </a>
24
- <p>
25
- ストリーム出力/会話回数無制限/履歴保存/プリセットプロンプト/ファイルへの質問チャット<br>
26
- ウェブ検索/LaTeXレンダリング/表レンダリング/コードハイライト<br>
27
- オートダークモード/アダプティブ・ウェブ・インターフェイス/WeChatライク・テーマ<br />
28
- マルチパラメーターチューニング/マルチAPI-Key対応/マルチユーザー対応<br>
29
- GPT-4対応/LLMのローカルデプロイ可能。
30
- </p>
31
- <a href="https://www.youtube.com/watch?v=MtxS4XZWbJE"><strong>動画チュートリアル</strong></a>
32
- ·
33
- <a href="https://www.youtube.com/watch?v=77nw7iimYDE"><strong>2.0 イントロダクション</strong></a>
34
- ·
35
- <a href="https://www.youtube.com/watch?v=x-O1jjBqgu4"><strong>3.0 イントロダクション & チュートリアル</strong></a>
36
- ||
37
- <a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT"><strong>オンライントライアル</strong></a>
38
- ·
39
- <a href="https://huggingface.co/login?next=%2Fspaces%2FJohnSmith9982%2FChuanhuChatGPT%3Fduplicate%3Dtrue"><strong>ワンクリックデプロイ</strong></a>
40
- </p>
41
- <p align="center">
42
- <img alt="Animation Demo" src="https://user-images.githubusercontent.com/51039745/226255695-6b17ff1f-ea8d-464f-b69b-a7b6b68fffe8.gif" />
43
- </p>
44
- </p>
45
- </div>
46
-
47
- ## 使う上でのTips
48
-
49
- - ChatGPTをより適切に制御するために、システムプロンプトを使用できます。
50
- - プロンプトテンプレートを使用するには、プロンプトテンプレートコレクションを選択し、ドロップダウンメニューから特定のプロンプトを選択。回答が不十分な場合は、`🔄再生成`ボタンを使って再試行します。
51
- - 入力ボックスで改行するには、<kbd>Shift</kbd> + <kbd>Enter</kbd>キーを押してください。
52
- - 入力履歴を素早く切り替えるには、入力ボックスで <kbd>↑</kbd>と<kbd>↓</kbd>キーを押す。
53
- - プログラムをサーバーに展開するには、`config.json` 内の `"server_name": "0.0.0.0", "server_port": <ポート番号>`を設定してください。
54
- - 共有リンクを取得するには、 `config.json` 内の `"share": true` を設定してください。なお、公開リンクでアクセスするためには、プログラムが実行されている必要があることに注意してください。
55
- - Hugging Face Spacesで使用する場合: より速く、より安全に利用するために、**Duplicate Space**を使用し、自分のスペースでプログラムを実行することをお勧めします。
56
-
57
- ## クイックスタート
58
-
59
- ```shell
60
- git clone https://github.com/GaiZhenbiao/ChuanhuChatGPT.git
61
- cd ChuanhuChatGPT
62
- pip install -r requirements.txt
63
- ```
64
-
65
- 次に `config_example.json`をコピーして `config.json`にリネームし、そのファイルにAPI-Keyなどの設定を記入する。
66
-
67
- ```shell
68
- python app.py
69
- ```
70
-
71
- ブラウザのウィンドウが開き、ChatGPTとチャットできるようになります。
72
-
73
- > **Note**
74
- >
75
- > 詳しい手順は[wikiページ](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用教程)をご確認ください。
76
-
77
- ## トラブルシューティング
78
-
79
- 問題が発生した場合は、まずこのプロジェクトの最新の変更点を手動で引っ張ってみるのがよいでしょう。その手順は以下の通りです:
80
-
81
- 1. ウェブページの `Download ZIP` をクリックして最新のコードアーカイブをダウンロードするか、または
82
- ```shell
83
- git pull https://github.com/GaiZhenbiao/ChuanhuChatGPT.git main -f
84
- ```
85
- 2. 新しい依存関係が導入されている可能性があるため、依存関係を再度インスト��ルしてみてください。
86
- ```
87
- pip install -r requirements.txt
88
- ```
89
- 3. Gradioを更新
90
- ```
91
- pip install gradio --upgrade --force-reinstall
92
- ```
93
-
94
- 一般的に、以下の手順でほとんどの問題を解決することができます。
95
-
96
- それでも問題が解決しない場合は、こちらのページをご参照ください: [よくある質問(FAQ)](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/常见问题)
97
-
98
- このページでは、考えられるほぼすべての問題点と解決策を掲載しています。よくお読みください。
99
-
100
- ## More Information
101
-
102
- より詳細な情報は、[wiki](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki) をご覧ください。:
103
-
104
- - [How to contribute a translation](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/Localization)
105
- - [How to make a contribution](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/贡献指南)
106
- - [How to cite the project](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用许可#如何引用该项目)
107
- - [Project changelog](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/更新日志)
108
- - [Project license](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用许可)
109
-
110
- ## Starchart
111
-
112
- [![Star History Chart](https://api.star-history.com/svg?repos=GaiZhenbiao/ChuanhuChatGPT&type=Date)](https://star-history.com/#GaiZhenbiao/ChuanhuChatGPT&Date)
113
-
114
- ## Contributors
115
-
116
- <a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT/graphs/contributors">
117
- <img src="https://contrib.rocks/image?repo=GaiZhenbiao/ChuanhuChatGPT" />
118
- </a>
119
-
120
- ## Sponsor
121
-
122
- 🐯 この企画が役に立ったら、遠慮なくコーラかコーヒーでもおごってください〜。
123
-
124
- <a href="https://www.buymeacoffee.com/ChuanhuChat" ><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=ChuanhuChat&button_colour=219d53&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDD00" alt="Buy Me A Coffee" width="250"></a>
125
-
126
- <img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Amrrs/DragGan-Inversion/PTI/configs/evaluation_config.py DELETED
@@ -1 +0,0 @@
1
- evaluated_methods = ['e4e', 'SG2', 'SG2Plus']
 
 
spaces/Amrrs/DragGan-Inversion/training/__init__.py DELETED
@@ -1,9 +0,0 @@
1
- # Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
- #
3
- # NVIDIA CORPORATION and its licensors retain all intellectual property
4
- # and proprietary rights in and to this software, related documentation
5
- # and any modifications thereto. Any use, reproduction, disclosure or
6
- # distribution of this software and related documentation without an express
7
- # license agreement from NVIDIA CORPORATION is strictly prohibited.
8
-
9
- # empty
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_detection/mmdet/models/utils/transformer.py DELETED
@@ -1,860 +0,0 @@
1
- import torch
2
- import torch.nn as nn
3
- from mmcv.cnn import (Linear, build_activation_layer, build_norm_layer,
4
- xavier_init)
5
-
6
- from .builder import TRANSFORMER
7
-
8
-
9
- class MultiheadAttention(nn.Module):
10
- """A warpper for torch.nn.MultiheadAttention.
11
-
12
- This module implements MultiheadAttention with residual connection,
13
- and positional encoding used in DETR is also passed as input.
14
-
15
- Args:
16
- embed_dims (int): The embedding dimension.
17
- num_heads (int): Parallel attention heads. Same as
18
- `nn.MultiheadAttention`.
19
- dropout (float): A Dropout layer on attn_output_weights. Default 0.0.
20
- """
21
-
22
- def __init__(self, embed_dims, num_heads, dropout=0.0):
23
- super(MultiheadAttention, self).__init__()
24
- assert embed_dims % num_heads == 0, 'embed_dims must be ' \
25
- f'divisible by num_heads. got {embed_dims} and {num_heads}.'
26
- self.embed_dims = embed_dims
27
- self.num_heads = num_heads
28
- self.dropout = dropout
29
- self.attn = nn.MultiheadAttention(embed_dims, num_heads, dropout)
30
- self.dropout = nn.Dropout(dropout)
31
-
32
- def forward(self,
33
- x,
34
- key=None,
35
- value=None,
36
- residual=None,
37
- query_pos=None,
38
- key_pos=None,
39
- attn_mask=None,
40
- key_padding_mask=None):
41
- """Forward function for `MultiheadAttention`.
42
-
43
- Args:
44
- x (Tensor): The input query with shape [num_query, bs,
45
- embed_dims]. Same in `nn.MultiheadAttention.forward`.
46
- key (Tensor): The key tensor with shape [num_key, bs,
47
- embed_dims]. Same in `nn.MultiheadAttention.forward`.
48
- Default None. If None, the `query` will be used.
49
- value (Tensor): The value tensor with same shape as `key`.
50
- Same in `nn.MultiheadAttention.forward`. Default None.
51
- If None, the `key` will be used.
52
- residual (Tensor): The tensor used for addition, with the
53
- same shape as `x`. Default None. If None, `x` will be used.
54
- query_pos (Tensor): The positional encoding for query, with
55
- the same shape as `x`. Default None. If not None, it will
56
- be added to `x` before forward function.
57
- key_pos (Tensor): The positional encoding for `key`, with the
58
- same shape as `key`. Default None. If not None, it will
59
- be added to `key` before forward function. If None, and
60
- `query_pos` has the same shape as `key`, then `query_pos`
61
- will be used for `key_pos`.
62
- attn_mask (Tensor): ByteTensor mask with shape [num_query,
63
- num_key]. Same in `nn.MultiheadAttention.forward`.
64
- Default None.
65
- key_padding_mask (Tensor): ByteTensor with shape [bs, num_key].
66
- Same in `nn.MultiheadAttention.forward`. Default None.
67
-
68
- Returns:
69
- Tensor: forwarded results with shape [num_query, bs, embed_dims].
70
- """
71
- query = x
72
- if key is None:
73
- key = query
74
- if value is None:
75
- value = key
76
- if residual is None:
77
- residual = x
78
- if key_pos is None:
79
- if query_pos is not None and key is not None:
80
- if query_pos.shape == key.shape:
81
- key_pos = query_pos
82
- if query_pos is not None:
83
- query = query + query_pos
84
- if key_pos is not None:
85
- key = key + key_pos
86
- out = self.attn(
87
- query,
88
- key,
89
- value=value,
90
- attn_mask=attn_mask,
91
- key_padding_mask=key_padding_mask)[0]
92
-
93
- return residual + self.dropout(out)
94
-
95
- def __repr__(self):
96
- """str: a string that describes the module"""
97
- repr_str = self.__class__.__name__
98
- repr_str += f'(embed_dims={self.embed_dims}, '
99
- repr_str += f'num_heads={self.num_heads}, '
100
- repr_str += f'dropout={self.dropout})'
101
- return repr_str
102
-
103
-
104
- class FFN(nn.Module):
105
- """Implements feed-forward networks (FFNs) with residual connection.
106
-
107
- Args:
108
- embed_dims (int): The feature dimension. Same as
109
- `MultiheadAttention`.
110
- feedforward_channels (int): The hidden dimension of FFNs.
111
- num_fcs (int, optional): The number of fully-connected layers in
112
- FFNs. Defaults to 2.
113
- act_cfg (dict, optional): The activation config for FFNs.
114
- dropout (float, optional): Probability of an element to be
115
- zeroed. Default 0.0.
116
- add_residual (bool, optional): Add resudual connection.
117
- Defaults to True.
118
- """
119
-
120
- def __init__(self,
121
- embed_dims,
122
- feedforward_channels,
123
- num_fcs=2,
124
- act_cfg=dict(type='ReLU', inplace=True),
125
- dropout=0.0,
126
- add_residual=True):
127
- super(FFN, self).__init__()
128
- assert num_fcs >= 2, 'num_fcs should be no less ' \
129
- f'than 2. got {num_fcs}.'
130
- self.embed_dims = embed_dims
131
- self.feedforward_channels = feedforward_channels
132
- self.num_fcs = num_fcs
133
- self.act_cfg = act_cfg
134
- self.dropout = dropout
135
- self.activate = build_activation_layer(act_cfg)
136
-
137
- layers = nn.ModuleList()
138
- in_channels = embed_dims
139
- for _ in range(num_fcs - 1):
140
- layers.append(
141
- nn.Sequential(
142
- Linear(in_channels, feedforward_channels), self.activate,
143
- nn.Dropout(dropout)))
144
- in_channels = feedforward_channels
145
- layers.append(Linear(feedforward_channels, embed_dims))
146
- self.layers = nn.Sequential(*layers)
147
- self.dropout = nn.Dropout(dropout)
148
- self.add_residual = add_residual
149
-
150
- def forward(self, x, residual=None):
151
- """Forward function for `FFN`."""
152
- out = self.layers(x)
153
- if not self.add_residual:
154
- return out
155
- if residual is None:
156
- residual = x
157
- return residual + self.dropout(out)
158
-
159
- def __repr__(self):
160
- """str: a string that describes the module"""
161
- repr_str = self.__class__.__name__
162
- repr_str += f'(embed_dims={self.embed_dims}, '
163
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
164
- repr_str += f'num_fcs={self.num_fcs}, '
165
- repr_str += f'act_cfg={self.act_cfg}, '
166
- repr_str += f'dropout={self.dropout}, '
167
- repr_str += f'add_residual={self.add_residual})'
168
- return repr_str
169
-
170
-
171
- class TransformerEncoderLayer(nn.Module):
172
- """Implements one encoder layer in DETR transformer.
173
-
174
- Args:
175
- embed_dims (int): The feature dimension. Same as `FFN`.
176
- num_heads (int): Parallel attention heads.
177
- feedforward_channels (int): The hidden dimension for FFNs.
178
- dropout (float): Probability of an element to be zeroed. Default 0.0.
179
- order (tuple[str]): The order for encoder layer. Valid examples are
180
- ('selfattn', 'norm', 'ffn', 'norm') and ('norm', 'selfattn',
181
- 'norm', 'ffn'). Default ('selfattn', 'norm', 'ffn', 'norm').
182
- act_cfg (dict): The activation config for FFNs. Default ReLU.
183
- norm_cfg (dict): Config dict for normalization layer. Default
184
- layer normalization.
185
- num_fcs (int): The number of fully-connected layers for FFNs.
186
- Default 2.
187
- """
188
-
189
- def __init__(self,
190
- embed_dims,
191
- num_heads,
192
- feedforward_channels,
193
- dropout=0.0,
194
- order=('selfattn', 'norm', 'ffn', 'norm'),
195
- act_cfg=dict(type='ReLU', inplace=True),
196
- norm_cfg=dict(type='LN'),
197
- num_fcs=2):
198
- super(TransformerEncoderLayer, self).__init__()
199
- assert isinstance(order, tuple) and len(order) == 4
200
- assert set(order) == set(['selfattn', 'norm', 'ffn'])
201
- self.embed_dims = embed_dims
202
- self.num_heads = num_heads
203
- self.feedforward_channels = feedforward_channels
204
- self.dropout = dropout
205
- self.order = order
206
- self.act_cfg = act_cfg
207
- self.norm_cfg = norm_cfg
208
- self.num_fcs = num_fcs
209
- self.pre_norm = order[0] == 'norm'
210
- self.self_attn = MultiheadAttention(embed_dims, num_heads, dropout)
211
- self.ffn = FFN(embed_dims, feedforward_channels, num_fcs, act_cfg,
212
- dropout)
213
- self.norms = nn.ModuleList()
214
- self.norms.append(build_norm_layer(norm_cfg, embed_dims)[1])
215
- self.norms.append(build_norm_layer(norm_cfg, embed_dims)[1])
216
-
217
- def forward(self, x, pos=None, attn_mask=None, key_padding_mask=None):
218
- """Forward function for `TransformerEncoderLayer`.
219
-
220
- Args:
221
- x (Tensor): The input query with shape [num_key, bs,
222
- embed_dims]. Same in `MultiheadAttention.forward`.
223
- pos (Tensor): The positional encoding for query. Default None.
224
- Same as `query_pos` in `MultiheadAttention.forward`.
225
- attn_mask (Tensor): ByteTensor mask with shape [num_key,
226
- num_key]. Same in `MultiheadAttention.forward`. Default None.
227
- key_padding_mask (Tensor): ByteTensor with shape [bs, num_key].
228
- Same in `MultiheadAttention.forward`. Default None.
229
-
230
- Returns:
231
- Tensor: forwarded results with shape [num_key, bs, embed_dims].
232
- """
233
- norm_cnt = 0
234
- inp_residual = x
235
- for layer in self.order:
236
- if layer == 'selfattn':
237
- # self attention
238
- query = key = value = x
239
- x = self.self_attn(
240
- query,
241
- key,
242
- value,
243
- inp_residual if self.pre_norm else None,
244
- query_pos=pos,
245
- key_pos=pos,
246
- attn_mask=attn_mask,
247
- key_padding_mask=key_padding_mask)
248
- inp_residual = x
249
- elif layer == 'norm':
250
- x = self.norms[norm_cnt](x)
251
- norm_cnt += 1
252
- elif layer == 'ffn':
253
- x = self.ffn(x, inp_residual if self.pre_norm else None)
254
- return x
255
-
256
- def __repr__(self):
257
- """str: a string that describes the module"""
258
- repr_str = self.__class__.__name__
259
- repr_str += f'(embed_dims={self.embed_dims}, '
260
- repr_str += f'num_heads={self.num_heads}, '
261
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
262
- repr_str += f'dropout={self.dropout}, '
263
- repr_str += f'order={self.order}, '
264
- repr_str += f'act_cfg={self.act_cfg}, '
265
- repr_str += f'norm_cfg={self.norm_cfg}, '
266
- repr_str += f'num_fcs={self.num_fcs})'
267
- return repr_str
268
-
269
-
270
- class TransformerDecoderLayer(nn.Module):
271
- """Implements one decoder layer in DETR transformer.
272
-
273
- Args:
274
- embed_dims (int): The feature dimension. Same as
275
- `TransformerEncoderLayer`.
276
- num_heads (int): Parallel attention heads.
277
- feedforward_channels (int): Same as `TransformerEncoderLayer`.
278
- dropout (float): Same as `TransformerEncoderLayer`. Default 0.0.
279
- order (tuple[str]): The order for decoder layer. Valid examples are
280
- ('selfattn', 'norm', 'multiheadattn', 'norm', 'ffn', 'norm') and
281
- ('norm', 'selfattn', 'norm', 'multiheadattn', 'norm', 'ffn').
282
- Default the former.
283
- act_cfg (dict): Same as `TransformerEncoderLayer`. Default ReLU.
284
- norm_cfg (dict): Config dict for normalization layer. Default
285
- layer normalization.
286
- num_fcs (int): The number of fully-connected layers in FFNs.
287
- """
288
-
289
- def __init__(self,
290
- embed_dims,
291
- num_heads,
292
- feedforward_channels,
293
- dropout=0.0,
294
- order=('selfattn', 'norm', 'multiheadattn', 'norm', 'ffn',
295
- 'norm'),
296
- act_cfg=dict(type='ReLU', inplace=True),
297
- norm_cfg=dict(type='LN'),
298
- num_fcs=2):
299
- super(TransformerDecoderLayer, self).__init__()
300
- assert isinstance(order, tuple) and len(order) == 6
301
- assert set(order) == set(['selfattn', 'norm', 'multiheadattn', 'ffn'])
302
- self.embed_dims = embed_dims
303
- self.num_heads = num_heads
304
- self.feedforward_channels = feedforward_channels
305
- self.dropout = dropout
306
- self.order = order
307
- self.act_cfg = act_cfg
308
- self.norm_cfg = norm_cfg
309
- self.num_fcs = num_fcs
310
- self.pre_norm = order[0] == 'norm'
311
- self.self_attn = MultiheadAttention(embed_dims, num_heads, dropout)
312
- self.multihead_attn = MultiheadAttention(embed_dims, num_heads,
313
- dropout)
314
- self.ffn = FFN(embed_dims, feedforward_channels, num_fcs, act_cfg,
315
- dropout)
316
- self.norms = nn.ModuleList()
317
- # 3 norm layers in official DETR's TransformerDecoderLayer
318
- for _ in range(3):
319
- self.norms.append(build_norm_layer(norm_cfg, embed_dims)[1])
320
-
321
- def forward(self,
322
- x,
323
- memory,
324
- memory_pos=None,
325
- query_pos=None,
326
- memory_attn_mask=None,
327
- target_attn_mask=None,
328
- memory_key_padding_mask=None,
329
- target_key_padding_mask=None):
330
- """Forward function for `TransformerDecoderLayer`.
331
-
332
- Args:
333
- x (Tensor): Input query with shape [num_query, bs, embed_dims].
334
- memory (Tensor): Tensor got from `TransformerEncoder`, with shape
335
- [num_key, bs, embed_dims].
336
- memory_pos (Tensor): The positional encoding for `memory`. Default
337
- None. Same as `key_pos` in `MultiheadAttention.forward`.
338
- query_pos (Tensor): The positional encoding for `query`. Default
339
- None. Same as `query_pos` in `MultiheadAttention.forward`.
340
- memory_attn_mask (Tensor): ByteTensor mask for `memory`, with
341
- shape [num_key, num_key]. Same as `attn_mask` in
342
- `MultiheadAttention.forward`. Default None.
343
- target_attn_mask (Tensor): ByteTensor mask for `x`, with shape
344
- [num_query, num_query]. Same as `attn_mask` in
345
- `MultiheadAttention.forward`. Default None.
346
- memory_key_padding_mask (Tensor): ByteTensor for `memory`, with
347
- shape [bs, num_key]. Same as `key_padding_mask` in
348
- `MultiheadAttention.forward`. Default None.
349
- target_key_padding_mask (Tensor): ByteTensor for `x`, with shape
350
- [bs, num_query]. Same as `key_padding_mask` in
351
- `MultiheadAttention.forward`. Default None.
352
-
353
- Returns:
354
- Tensor: forwarded results with shape [num_query, bs, embed_dims].
355
- """
356
- norm_cnt = 0
357
- inp_residual = x
358
- for layer in self.order:
359
- if layer == 'selfattn':
360
- query = key = value = x
361
- x = self.self_attn(
362
- query,
363
- key,
364
- value,
365
- inp_residual if self.pre_norm else None,
366
- query_pos,
367
- key_pos=query_pos,
368
- attn_mask=target_attn_mask,
369
- key_padding_mask=target_key_padding_mask)
370
- inp_residual = x
371
- elif layer == 'norm':
372
- x = self.norms[norm_cnt](x)
373
- norm_cnt += 1
374
- elif layer == 'multiheadattn':
375
- query = x
376
- key = value = memory
377
- x = self.multihead_attn(
378
- query,
379
- key,
380
- value,
381
- inp_residual if self.pre_norm else None,
382
- query_pos,
383
- key_pos=memory_pos,
384
- attn_mask=memory_attn_mask,
385
- key_padding_mask=memory_key_padding_mask)
386
- inp_residual = x
387
- elif layer == 'ffn':
388
- x = self.ffn(x, inp_residual if self.pre_norm else None)
389
- return x
390
-
391
- def __repr__(self):
392
- """str: a string that describes the module"""
393
- repr_str = self.__class__.__name__
394
- repr_str += f'(embed_dims={self.embed_dims}, '
395
- repr_str += f'num_heads={self.num_heads}, '
396
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
397
- repr_str += f'dropout={self.dropout}, '
398
- repr_str += f'order={self.order}, '
399
- repr_str += f'act_cfg={self.act_cfg}, '
400
- repr_str += f'norm_cfg={self.norm_cfg}, '
401
- repr_str += f'num_fcs={self.num_fcs})'
402
- return repr_str
403
-
404
-
405
- class TransformerEncoder(nn.Module):
406
- """Implements the encoder in DETR transformer.
407
-
408
- Args:
409
- num_layers (int): The number of `TransformerEncoderLayer`.
410
- embed_dims (int): Same as `TransformerEncoderLayer`.
411
- num_heads (int): Same as `TransformerEncoderLayer`.
412
- feedforward_channels (int): Same as `TransformerEncoderLayer`.
413
- dropout (float): Same as `TransformerEncoderLayer`. Default 0.0.
414
- order (tuple[str]): Same as `TransformerEncoderLayer`.
415
- act_cfg (dict): Same as `TransformerEncoderLayer`. Default ReLU.
416
- norm_cfg (dict): Same as `TransformerEncoderLayer`. Default
417
- layer normalization.
418
- num_fcs (int): Same as `TransformerEncoderLayer`. Default 2.
419
- """
420
-
421
- def __init__(self,
422
- num_layers,
423
- embed_dims,
424
- num_heads,
425
- feedforward_channels,
426
- dropout=0.0,
427
- order=('selfattn', 'norm', 'ffn', 'norm'),
428
- act_cfg=dict(type='ReLU', inplace=True),
429
- norm_cfg=dict(type='LN'),
430
- num_fcs=2):
431
- super(TransformerEncoder, self).__init__()
432
- assert isinstance(order, tuple) and len(order) == 4
433
- assert set(order) == set(['selfattn', 'norm', 'ffn'])
434
- self.num_layers = num_layers
435
- self.embed_dims = embed_dims
436
- self.num_heads = num_heads
437
- self.feedforward_channels = feedforward_channels
438
- self.dropout = dropout
439
- self.order = order
440
- self.act_cfg = act_cfg
441
- self.norm_cfg = norm_cfg
442
- self.num_fcs = num_fcs
443
- self.pre_norm = order[0] == 'norm'
444
- self.layers = nn.ModuleList()
445
- for _ in range(num_layers):
446
- self.layers.append(
447
- TransformerEncoderLayer(embed_dims, num_heads,
448
- feedforward_channels, dropout, order,
449
- act_cfg, norm_cfg, num_fcs))
450
- self.norm = build_norm_layer(norm_cfg,
451
- embed_dims)[1] if self.pre_norm else None
452
-
453
- def forward(self, x, pos=None, attn_mask=None, key_padding_mask=None):
454
- """Forward function for `TransformerEncoder`.
455
-
456
- Args:
457
- x (Tensor): Input query. Same in `TransformerEncoderLayer.forward`.
458
- pos (Tensor): Positional encoding for query. Default None.
459
- Same in `TransformerEncoderLayer.forward`.
460
- attn_mask (Tensor): ByteTensor attention mask. Default None.
461
- Same in `TransformerEncoderLayer.forward`.
462
- key_padding_mask (Tensor): Same in
463
- `TransformerEncoderLayer.forward`. Default None.
464
-
465
- Returns:
466
- Tensor: Results with shape [num_key, bs, embed_dims].
467
- """
468
- for layer in self.layers:
469
- x = layer(x, pos, attn_mask, key_padding_mask)
470
- if self.norm is not None:
471
- x = self.norm(x)
472
- return x
473
-
474
- def __repr__(self):
475
- """str: a string that describes the module"""
476
- repr_str = self.__class__.__name__
477
- repr_str += f'(num_layers={self.num_layers}, '
478
- repr_str += f'embed_dims={self.embed_dims}, '
479
- repr_str += f'num_heads={self.num_heads}, '
480
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
481
- repr_str += f'dropout={self.dropout}, '
482
- repr_str += f'order={self.order}, '
483
- repr_str += f'act_cfg={self.act_cfg}, '
484
- repr_str += f'norm_cfg={self.norm_cfg}, '
485
- repr_str += f'num_fcs={self.num_fcs})'
486
- return repr_str
487
-
488
-
489
- class TransformerDecoder(nn.Module):
490
- """Implements the decoder in DETR transformer.
491
-
492
- Args:
493
- num_layers (int): The number of `TransformerDecoderLayer`.
494
- embed_dims (int): Same as `TransformerDecoderLayer`.
495
- num_heads (int): Same as `TransformerDecoderLayer`.
496
- feedforward_channels (int): Same as `TransformerDecoderLayer`.
497
- dropout (float): Same as `TransformerDecoderLayer`. Default 0.0.
498
- order (tuple[str]): Same as `TransformerDecoderLayer`.
499
- act_cfg (dict): Same as `TransformerDecoderLayer`. Default ReLU.
500
- norm_cfg (dict): Same as `TransformerDecoderLayer`. Default
501
- layer normalization.
502
- num_fcs (int): Same as `TransformerDecoderLayer`. Default 2.
503
- """
504
-
505
- def __init__(self,
506
- num_layers,
507
- embed_dims,
508
- num_heads,
509
- feedforward_channels,
510
- dropout=0.0,
511
- order=('selfattn', 'norm', 'multiheadattn', 'norm', 'ffn',
512
- 'norm'),
513
- act_cfg=dict(type='ReLU', inplace=True),
514
- norm_cfg=dict(type='LN'),
515
- num_fcs=2,
516
- return_intermediate=False):
517
- super(TransformerDecoder, self).__init__()
518
- assert isinstance(order, tuple) and len(order) == 6
519
- assert set(order) == set(['selfattn', 'norm', 'multiheadattn', 'ffn'])
520
- self.num_layers = num_layers
521
- self.embed_dims = embed_dims
522
- self.num_heads = num_heads
523
- self.feedforward_channels = feedforward_channels
524
- self.dropout = dropout
525
- self.order = order
526
- self.act_cfg = act_cfg
527
- self.norm_cfg = norm_cfg
528
- self.num_fcs = num_fcs
529
- self.return_intermediate = return_intermediate
530
- self.layers = nn.ModuleList()
531
- for _ in range(num_layers):
532
- self.layers.append(
533
- TransformerDecoderLayer(embed_dims, num_heads,
534
- feedforward_channels, dropout, order,
535
- act_cfg, norm_cfg, num_fcs))
536
- self.norm = build_norm_layer(norm_cfg, embed_dims)[1]
537
-
538
- def forward(self,
539
- x,
540
- memory,
541
- memory_pos=None,
542
- query_pos=None,
543
- memory_attn_mask=None,
544
- target_attn_mask=None,
545
- memory_key_padding_mask=None,
546
- target_key_padding_mask=None):
547
- """Forward function for `TransformerDecoder`.
548
-
549
- Args:
550
- x (Tensor): Input query. Same in `TransformerDecoderLayer.forward`.
551
- memory (Tensor): Same in `TransformerDecoderLayer.forward`.
552
- memory_pos (Tensor): Same in `TransformerDecoderLayer.forward`.
553
- Default None.
554
- query_pos (Tensor): Same in `TransformerDecoderLayer.forward`.
555
- Default None.
556
- memory_attn_mask (Tensor): Same in
557
- `TransformerDecoderLayer.forward`. Default None.
558
- target_attn_mask (Tensor): Same in
559
- `TransformerDecoderLayer.forward`. Default None.
560
- memory_key_padding_mask (Tensor): Same in
561
- `TransformerDecoderLayer.forward`. Default None.
562
- target_key_padding_mask (Tensor): Same in
563
- `TransformerDecoderLayer.forward`. Default None.
564
-
565
- Returns:
566
- Tensor: Results with shape [num_query, bs, embed_dims].
567
- """
568
- intermediate = []
569
- for layer in self.layers:
570
- x = layer(x, memory, memory_pos, query_pos, memory_attn_mask,
571
- target_attn_mask, memory_key_padding_mask,
572
- target_key_padding_mask)
573
- if self.return_intermediate:
574
- intermediate.append(self.norm(x))
575
- if self.norm is not None:
576
- x = self.norm(x)
577
- if self.return_intermediate:
578
- intermediate.pop()
579
- intermediate.append(x)
580
- if self.return_intermediate:
581
- return torch.stack(intermediate)
582
- return x.unsqueeze(0)
583
-
584
- def __repr__(self):
585
- """str: a string that describes the module"""
586
- repr_str = self.__class__.__name__
587
- repr_str += f'(num_layers={self.num_layers}, '
588
- repr_str += f'embed_dims={self.embed_dims}, '
589
- repr_str += f'num_heads={self.num_heads}, '
590
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
591
- repr_str += f'dropout={self.dropout}, '
592
- repr_str += f'order={self.order}, '
593
- repr_str += f'act_cfg={self.act_cfg}, '
594
- repr_str += f'norm_cfg={self.norm_cfg}, '
595
- repr_str += f'num_fcs={self.num_fcs}, '
596
- repr_str += f'return_intermediate={self.return_intermediate})'
597
- return repr_str
598
-
599
-
600
- @TRANSFORMER.register_module()
601
- class Transformer(nn.Module):
602
- """Implements the DETR transformer.
603
-
604
- Following the official DETR implementation, this module copy-paste
605
- from torch.nn.Transformer with modifications:
606
-
607
- * positional encodings are passed in MultiheadAttention
608
- * extra LN at the end of encoder is removed
609
- * decoder returns a stack of activations from all decoding layers
610
-
611
- See `paper: End-to-End Object Detection with Transformers
612
- <https://arxiv.org/pdf/2005.12872>`_ for details.
613
-
614
- Args:
615
- embed_dims (int): The feature dimension.
616
- num_heads (int): Parallel attention heads. Same as
617
- `nn.MultiheadAttention`.
618
- num_encoder_layers (int): Number of `TransformerEncoderLayer`.
619
- num_decoder_layers (int): Number of `TransformerDecoderLayer`.
620
- feedforward_channels (int): The hidden dimension for FFNs used in both
621
- encoder and decoder.
622
- dropout (float): Probability of an element to be zeroed. Default 0.0.
623
- act_cfg (dict): Activation config for FFNs used in both encoder
624
- and decoder. Default ReLU.
625
- norm_cfg (dict): Config dict for normalization used in both encoder
626
- and decoder. Default layer normalization.
627
- num_fcs (int): The number of fully-connected layers in FFNs, which is
628
- used for both encoder and decoder.
629
- pre_norm (bool): Whether the normalization layer is ordered
630
- first in the encoder and decoder. Default False.
631
- return_intermediate_dec (bool): Whether to return the intermediate
632
- output from each TransformerDecoderLayer or only the last
633
- TransformerDecoderLayer. Default False. If False, the returned
634
- `hs` has shape [num_decoder_layers, bs, num_query, embed_dims].
635
- If True, the returned `hs` will have shape [1, bs, num_query,
636
- embed_dims].
637
- """
638
-
639
- def __init__(self,
640
- embed_dims=512,
641
- num_heads=8,
642
- num_encoder_layers=6,
643
- num_decoder_layers=6,
644
- feedforward_channels=2048,
645
- dropout=0.0,
646
- act_cfg=dict(type='ReLU', inplace=True),
647
- norm_cfg=dict(type='LN'),
648
- num_fcs=2,
649
- pre_norm=False,
650
- return_intermediate_dec=False):
651
- super(Transformer, self).__init__()
652
- self.embed_dims = embed_dims
653
- self.num_heads = num_heads
654
- self.num_encoder_layers = num_encoder_layers
655
- self.num_decoder_layers = num_decoder_layers
656
- self.feedforward_channels = feedforward_channels
657
- self.dropout = dropout
658
- self.act_cfg = act_cfg
659
- self.norm_cfg = norm_cfg
660
- self.num_fcs = num_fcs
661
- self.pre_norm = pre_norm
662
- self.return_intermediate_dec = return_intermediate_dec
663
- if self.pre_norm:
664
- encoder_order = ('norm', 'selfattn', 'norm', 'ffn')
665
- decoder_order = ('norm', 'selfattn', 'norm', 'multiheadattn',
666
- 'norm', 'ffn')
667
- else:
668
- encoder_order = ('selfattn', 'norm', 'ffn', 'norm')
669
- decoder_order = ('selfattn', 'norm', 'multiheadattn', 'norm',
670
- 'ffn', 'norm')
671
- self.encoder = TransformerEncoder(num_encoder_layers, embed_dims,
672
- num_heads, feedforward_channels,
673
- dropout, encoder_order, act_cfg,
674
- norm_cfg, num_fcs)
675
- self.decoder = TransformerDecoder(num_decoder_layers, embed_dims,
676
- num_heads, feedforward_channels,
677
- dropout, decoder_order, act_cfg,
678
- norm_cfg, num_fcs,
679
- return_intermediate_dec)
680
-
681
- def init_weights(self, distribution='uniform'):
682
- """Initialize the transformer weights."""
683
- # follow the official DETR to init parameters
684
- for m in self.modules():
685
- if hasattr(m, 'weight') and m.weight.dim() > 1:
686
- xavier_init(m, distribution=distribution)
687
-
688
- def forward(self, x, mask, query_embed, pos_embed):
689
- """Forward function for `Transformer`.
690
-
691
- Args:
692
- x (Tensor): Input query with shape [bs, c, h, w] where
693
- c = embed_dims.
694
- mask (Tensor): The key_padding_mask used for encoder and decoder,
695
- with shape [bs, h, w].
696
- query_embed (Tensor): The query embedding for decoder, with shape
697
- [num_query, c].
698
- pos_embed (Tensor): The positional encoding for encoder and
699
- decoder, with the same shape as `x`.
700
-
701
- Returns:
702
- tuple[Tensor]: results of decoder containing the following tensor.
703
-
704
- - out_dec: Output from decoder. If return_intermediate_dec \
705
- is True output has shape [num_dec_layers, bs,
706
- num_query, embed_dims], else has shape [1, bs, \
707
- num_query, embed_dims].
708
- - memory: Output results from encoder, with shape \
709
- [bs, embed_dims, h, w].
710
- """
711
- bs, c, h, w = x.shape
712
- x = x.flatten(2).permute(2, 0, 1) # [bs, c, h, w] -> [h*w, bs, c]
713
- pos_embed = pos_embed.flatten(2).permute(2, 0, 1)
714
- query_embed = query_embed.unsqueeze(1).repeat(
715
- 1, bs, 1) # [num_query, dim] -> [num_query, bs, dim]
716
- mask = mask.flatten(1) # [bs, h, w] -> [bs, h*w]
717
- memory = self.encoder(
718
- x, pos=pos_embed, attn_mask=None, key_padding_mask=mask)
719
- target = torch.zeros_like(query_embed)
720
- # out_dec: [num_layers, num_query, bs, dim]
721
- out_dec = self.decoder(
722
- target,
723
- memory,
724
- memory_pos=pos_embed,
725
- query_pos=query_embed,
726
- memory_attn_mask=None,
727
- target_attn_mask=None,
728
- memory_key_padding_mask=mask,
729
- target_key_padding_mask=None)
730
- out_dec = out_dec.transpose(1, 2)
731
- memory = memory.permute(1, 2, 0).reshape(bs, c, h, w)
732
- return out_dec, memory
733
-
734
- def __repr__(self):
735
- """str: a string that describes the module"""
736
- repr_str = self.__class__.__name__
737
- repr_str += f'(embed_dims={self.embed_dims}, '
738
- repr_str += f'num_heads={self.num_heads}, '
739
- repr_str += f'num_encoder_layers={self.num_encoder_layers}, '
740
- repr_str += f'num_decoder_layers={self.num_decoder_layers}, '
741
- repr_str += f'feedforward_channels={self.feedforward_channels}, '
742
- repr_str += f'dropout={self.dropout}, '
743
- repr_str += f'act_cfg={self.act_cfg}, '
744
- repr_str += f'norm_cfg={self.norm_cfg}, '
745
- repr_str += f'num_fcs={self.num_fcs}, '
746
- repr_str += f'pre_norm={self.pre_norm}, '
747
- repr_str += f'return_intermediate_dec={self.return_intermediate_dec})'
748
- return repr_str
749
-
750
-
751
- @TRANSFORMER.register_module()
752
- class DynamicConv(nn.Module):
753
- """Implements Dynamic Convolution.
754
-
755
- This module generate parameters for each sample and
756
- use bmm to implement 1*1 convolution. Code is modified
757
- from the `official github repo <https://github.com/PeizeSun/
758
- SparseR-CNN/blob/main/projects/SparseRCNN/sparsercnn/head.py#L258>`_ .
759
-
760
- Args:
761
- in_channels (int): The input feature channel.
762
- Defaults to 256.
763
- feat_channels (int): The inner feature channel.
764
- Defaults to 64.
765
- out_channels (int, optional): The output feature channel.
766
- When not specified, it will be set to `in_channels`
767
- by default
768
- input_feat_shape (int): The shape of input feature.
769
- Defaults to 7.
770
- act_cfg (dict): The activation config for DynamicConv.
771
- norm_cfg (dict): Config dict for normalization layer. Default
772
- layer normalization.
773
- """
774
-
775
- def __init__(self,
776
- in_channels=256,
777
- feat_channels=64,
778
- out_channels=None,
779
- input_feat_shape=7,
780
- act_cfg=dict(type='ReLU', inplace=True),
781
- norm_cfg=dict(type='LN')):
782
- super(DynamicConv, self).__init__()
783
- self.in_channels = in_channels
784
- self.feat_channels = feat_channels
785
- self.out_channels_raw = out_channels
786
- self.input_feat_shape = input_feat_shape
787
- self.act_cfg = act_cfg
788
- self.norm_cfg = norm_cfg
789
- self.out_channels = out_channels if out_channels else in_channels
790
-
791
- self.num_params_in = self.in_channels * self.feat_channels
792
- self.num_params_out = self.out_channels * self.feat_channels
793
- self.dynamic_layer = nn.Linear(
794
- self.in_channels, self.num_params_in + self.num_params_out)
795
-
796
- self.norm_in = build_norm_layer(norm_cfg, self.feat_channels)[1]
797
- self.norm_out = build_norm_layer(norm_cfg, self.out_channels)[1]
798
-
799
- self.activation = build_activation_layer(act_cfg)
800
-
801
- num_output = self.out_channels * input_feat_shape**2
802
- self.fc_layer = nn.Linear(num_output, self.out_channels)
803
- self.fc_norm = build_norm_layer(norm_cfg, self.out_channels)[1]
804
-
805
- def forward(self, param_feature, input_feature):
806
- """Forward function for `DynamicConv`.
807
-
808
- Args:
809
- param_feature (Tensor): The feature can be used
810
- to generate the parameter, has shape
811
- (num_all_proposals, in_channels).
812
- input_feature (Tensor): Feature that
813
- interact with parameters, has shape
814
- (num_all_proposals, in_channels, H, W).
815
-
816
- Returns:
817
- Tensor: The output feature has shape
818
- (num_all_proposals, out_channels).
819
- """
820
- num_proposals = param_feature.size(0)
821
- input_feature = input_feature.view(num_proposals, self.in_channels,
822
- -1).permute(2, 0, 1)
823
-
824
- input_feature = input_feature.permute(1, 0, 2)
825
- parameters = self.dynamic_layer(param_feature)
826
-
827
- param_in = parameters[:, :self.num_params_in].view(
828
- -1, self.in_channels, self.feat_channels)
829
- param_out = parameters[:, -self.num_params_out:].view(
830
- -1, self.feat_channels, self.out_channels)
831
-
832
- # input_feature has shape (num_all_proposals, H*W, in_channels)
833
- # param_in has shape (num_all_proposals, in_channels, feat_channels)
834
- # feature has shape (num_all_proposals, H*W, feat_channels)
835
- features = torch.bmm(input_feature, param_in)
836
- features = self.norm_in(features)
837
- features = self.activation(features)
838
-
839
- # param_out has shape (batch_size, feat_channels, out_channels)
840
- features = torch.bmm(features, param_out)
841
- features = self.norm_out(features)
842
- features = self.activation(features)
843
-
844
- features = features.flatten(1)
845
- features = self.fc_layer(features)
846
- features = self.fc_norm(features)
847
- features = self.activation(features)
848
-
849
- return features
850
-
851
- def __repr__(self):
852
- """str: a string that describes the module"""
853
- repr_str = self.__class__.__name__
854
- repr_str += f'(in_channels={self.in_channels}, '
855
- repr_str += f'feat_channels={self.feat_channels}, '
856
- repr_str += f'out_channels={self.out_channels_raw}, '
857
- repr_str += f'input_feat_shape={self.input_feat_shape}, '
858
- repr_str += f'act_cfg={self.act_cfg}, '
859
- repr_str += f'norm_cfg={self.norm_cfg})'
860
- return repr_str
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_segmentation/configs/_base_/schedules/schedule_160k.py DELETED
@@ -1,9 +0,0 @@
1
- # optimizer
2
- optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0005)
3
- optimizer_config = dict()
4
- # learning policy
5
- lr_config = dict(policy='poly', power=0.9, min_lr=1e-4, by_epoch=False)
6
- # runtime settings
7
- runner = dict(type='IterBasedRunner', max_iters=160000)
8
- checkpoint_config = dict(by_epoch=False, interval=16000)
9
- evaluation = dict(interval=16000, metric='mIoU')
 
 
 
 
 
 
 
 
 
 
spaces/AnimaLab/bias-test-gpt-pairs/mgr_sentences.py DELETED
@@ -1,157 +0,0 @@
1
- import gradio as gr
2
- import os
3
- import re
4
- import pandas as pd
5
- import numpy as np
6
- import glob
7
- import huggingface_hub
8
- print("hfh", huggingface_hub.__version__)
9
- from huggingface_hub import hf_hub_download, upload_file, delete_file, snapshot_download, list_repo_files, dataset_info
10
-
11
- DATASET_REPO_ID = "AnimaLab/bias-test-gpt-sentences"
12
- DATASET_REPO_URL = f"https://huggingface.co/{DATASET_REPO_ID}"
13
- HF_DATA_DIRNAME = "data"
14
- LOCAL_DATA_DIRNAME = "data"
15
- LOCAL_SAVE_DIRNAME = "save"
16
-
17
- ds_write_token = os.environ.get("DS_WRITE_TOKEN")
18
- HF_TOKEN = os.environ.get("HF_TOKEN")
19
-
20
- print("ds_write_token:", ds_write_token!=None)
21
- print("hf_token:", HF_TOKEN!=None)
22
- print("hfh_verssion", huggingface_hub.__version__)
23
-
24
- def retrieveAllSaved():
25
- global DATASET_REPO_ID
26
-
27
- #listing the files - https://huggingface.co/docs/huggingface_hub/v0.8.1/en/package_reference/hf_api
28
- repo_files = list_repo_files(repo_id=DATASET_REPO_ID, repo_type="dataset")
29
- #print("Repo files:" + str(repo_files)
30
-
31
- return repo_files
32
-
33
- def store_group_sentences(filename: str, df):
34
- DATA_FILENAME_1 = f"{filename}"
35
- LOCAL_PATH_FILE = os.path.join(LOCAL_SAVE_DIRNAME, DATA_FILENAME_1)
36
- DATA_FILE_1 = os.path.join(HF_DATA_DIRNAME, DATA_FILENAME_1)
37
-
38
- print(f"Trying to save to: {DATA_FILE_1}")
39
-
40
- os.makedirs(os.path.dirname(LOCAL_PATH_FILE), exist_ok=True)
41
- df.to_csv(LOCAL_PATH_FILE, index=False)
42
-
43
- commit_url = upload_file(
44
- path_or_fileobj=LOCAL_PATH_FILE,
45
- path_in_repo=DATA_FILE_1,
46
- repo_id=DATASET_REPO_ID,
47
- repo_type="dataset",
48
- token=ds_write_token,
49
- )
50
-
51
- print(commit_url)
52
-
53
- def saveSentences(sentences_df):
54
- for grp_term in list(sentences_df['org_grp_term'].unique()):
55
- print(f"Retrieving sentences for group: {grp_term}")
56
- msg, grp_saved_df, filename = getSavedSentences(grp_term)
57
- print(f"Num for group: {grp_term} -> {grp_saved_df.shape[0]}")
58
- add_df = sentences_df[sentences_df['org_grp_term'] == grp_term]
59
- print(f"Adding {add_df.shape[0]} sentences...")
60
-
61
- new_grp_df = pd.concat([grp_saved_df, add_df], ignore_index=True)
62
- new_grp_df = new_grp_df.drop_duplicates(subset = "sentence")
63
-
64
- print(f"Org size: {grp_saved_df.shape[0]}, Mrg size: {new_grp_df.shape[0]}")
65
- store_group_sentences(filename, new_grp_df)
66
-
67
-
68
- # https://huggingface.co/spaces/elonmuskceo/persistent-data/blob/main/app.py
69
- def get_sentence_csv(file_path: str):
70
- file_path = os.path.join(HF_DATA_DIRNAME, file_path)
71
- print(f"File path: {file_path}")
72
- try:
73
- hf_hub_download(
74
- force_download=True, # to get updates of the dataset
75
- repo_type="dataset",
76
- repo_id=DATASET_REPO_ID,
77
- filename=file_path,
78
- cache_dir=LOCAL_DATA_DIRNAME,
79
- force_filename=os.path.basename(file_path)
80
- )
81
- except Exception as e:
82
- # file not found
83
- print(f"file not found, probably: {e}")
84
-
85
- files=glob.glob(f"./{LOCAL_DATA_DIRNAME}/", recursive=True)
86
- print("Files glob: "+', '.join(files))
87
- #print("Save file:" + str(os.path.basename(file_path)))
88
-
89
- df = pd.read_csv(os.path.join(LOCAL_DATA_DIRNAME, os.path.basename(file_path)), encoding='UTF8')
90
-
91
- return df
92
-
93
- def getSavedSentences(grp):
94
- filename = f"{grp.replace(' ','-')}.csv"
95
- sentence_df = pd.DataFrame()
96
-
97
- try:
98
- text = f"Loading sentences: {filename}\n"
99
- sentence_df = get_sentence_csv(filename)
100
-
101
- except Exception as e:
102
- text = f"Error, no saved generations for {filename}"
103
- #raise gr.Error(f"Cannot load sentences: {filename}!")
104
-
105
- return text, sentence_df, filename
106
-
107
-
108
- def deleteBias(filepath: str):
109
- commit_url = delete_file(
110
- path_in_repo=filepath,
111
- repo_id=DATASET_REPO_ID,
112
- repo_type="dataset",
113
- token=ds_write_token,
114
- )
115
-
116
- return f"Deleted {filepath} -> {commit_url}"
117
-
118
- def _testSentenceRetrieval(grp_list, att_list, use_paper_sentences):
119
- test_sentences = []
120
- print(f"Att list: {att_list}")
121
- att_list_dash = [t.replace(' ','-') for t in att_list]
122
- att_list.extend(att_list_dash)
123
- att_list_nospace = [t.replace(' ','') for t in att_list]
124
- att_list.extend(att_list_nospace)
125
- att_list = list(set(att_list))
126
- print(f"Att list with dash: {att_list}")
127
-
128
- for gi, g_term in enumerate(grp_list):
129
- _, sentence_df, _ = getSavedSentences(g_term)
130
-
131
- # only take from paper & gpt3.5
132
- print(f"Before filter: {sentence_df.shape[0]}")
133
- if use_paper_sentences == True:
134
- if 'type' in list(sentence_df.columns):
135
- gen_models = ["gpt-3.5", "gpt-3.5-turbo", "gpt-4"]
136
- sentence_df = sentence_df.query("type=='paper' and gen_model in @gen_models")
137
- print(f"After filter: {sentence_df.shape[0]}")
138
- else:
139
- sentence_df = pd.DataFrame(columns=["Group term","Attribute term","Test sentence"])
140
-
141
- if sentence_df.shape[0] > 0:
142
- sentence_df = sentence_df[["Group term","Attribute term","Test sentence"]]
143
- sel = sentence_df[sentence_df['Attribute term'].isin(att_list)].values
144
- if len(sel) > 0:
145
- for gt,at,s in sel:
146
- test_sentences.append([s,gt.replace("-"," "),at.replace("-"," ")])
147
-
148
- return test_sentences
149
-
150
- if __name__ == '__main__':
151
- print("ds_write_token:", ds_write_token)
152
- print("hf_token:", HF_TOKEN!=None)
153
- print("hfh_verssion", huggingface_hub.__version__)
154
-
155
- sentences = _testSentenceRetrieval(["husband"], ["hairdresser", "steel worker"], use_paper_sentences=True)
156
- print(sentences)
157
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AnnaPalatkina/fine_grained_SA/config.py DELETED
@@ -1,10 +0,0 @@
1
- params = {
2
- 'pretrained_model_name': 'ltgoslo/norbert2',
3
- 'path_to_model_bin': 'model_nobert_norec.bin',
4
- 'LR': 1e-05,
5
- 'dropout': 0.4,
6
- 'warmup': 2,
7
- 'epochs': 10,
8
- 'max_length': 512,
9
- 'batch_size': 4,
10
- }
 
 
 
 
 
 
 
 
 
 
 
spaces/Anonymous-123/ImageNet-Editing/object_removal/TFill/dataloader/image_folder.py DELETED
@@ -1,56 +0,0 @@
1
- import os
2
- import os.path
3
-
4
- IMG_EXTENSIONS = [
5
- '.jpg', '.JPG', '.jpeg', '.JPEG',
6
- '.png', '.PNG', '.ppm', '.PPM', '.bmp', '.BMP',
7
- ]
8
-
9
-
10
- def is_image_file(filename):
11
- return any(filename.endswith(extension) for extension in IMG_EXTENSIONS)
12
-
13
-
14
- def make_dataset(path_files):
15
- if path_files.find('.txt') != -1:
16
- paths, size = make_dataset_txt(path_files)
17
- else:
18
- paths, size = make_dataset_dir(path_files)
19
-
20
- return paths, size
21
-
22
-
23
- def make_dataset_txt(files):
24
- """
25
- :param path_files: the path of txt file that store the image paths
26
- :return: image paths and sizes
27
- """
28
- img_paths = []
29
-
30
- with open(files) as f:
31
- paths = f.readlines()
32
-
33
- for path in paths:
34
- path = path.strip()
35
- if is_image_file(path) and os.path.exists(path):
36
- img_paths.append(path)
37
-
38
- return img_paths, len(img_paths)
39
-
40
-
41
- def make_dataset_dir(dir):
42
- """
43
- :param dir: directory paths that store the image
44
- :return: image paths and sizes
45
- """
46
- img_paths = []
47
-
48
- assert os.path.isdir(dir), '%s is not a valid directory' % dir
49
-
50
- for root, _, fnames in os.walk(dir):
51
- for fname in sorted(fnames):
52
- if is_image_file(fname):
53
- path = os.path.join(root, fname)
54
- img_paths.append(path)
55
-
56
- return img_paths, len(img_paths)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Apex-X/GODROOP/roop/capturer.py DELETED
@@ -1,20 +0,0 @@
1
- from typing import Any
2
- import cv2
3
-
4
-
5
- def get_video_frame(video_path: str, frame_number: int = 0) -> Any:
6
- capture = cv2.VideoCapture(video_path)
7
- frame_total = capture.get(cv2.CAP_PROP_FRAME_COUNT)
8
- capture.set(cv2.CAP_PROP_POS_FRAMES, min(frame_total, frame_number - 1))
9
- has_frame, frame = capture.read()
10
- capture.release()
11
- if has_frame:
12
- return frame
13
- return None
14
-
15
-
16
- def get_video_frame_total(video_path: str) -> int:
17
- capture = cv2.VideoCapture(video_path)
18
- video_frame_total = int(capture.get(cv2.CAP_PROP_FRAME_COUNT))
19
- capture.release()
20
- return video_frame_total
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AquaSuisei/ChatGPTXE/assets/custom.css DELETED
@@ -1,250 +0,0 @@
1
- :root {
2
- --chatbot-color-light: #F3F3F3;
3
- --chatbot-color-dark: #121111;
4
- }
5
-
6
- /* 覆盖gradio的页脚信息QAQ */
7
- footer {
8
- display: none !important;
9
- }
10
- #footer{
11
- text-align: center;
12
- }
13
- #footer div{
14
- display: inline-block;
15
- }
16
- #footer .versions{
17
- font-size: 85%;
18
- opacity: 0.85;
19
- }
20
-
21
- /* user_info */
22
- #user_info {
23
- white-space: nowrap;
24
- margin-top: -1.3em !important;
25
- padding-left: 112px !important;
26
- }
27
- #user_info p {
28
- font-size: .85em;
29
- font-family: monospace;
30
- color: var(--body-text-color-subdued);
31
- }
32
-
33
- /* status_display */
34
- #status_display {
35
- display: flex;
36
- min-height: 2em;
37
- align-items: flex-end;
38
- justify-content: flex-end;
39
- }
40
- #status_display p {
41
- font-size: .85em;
42
- font-family: monospace;
43
- color: var(--body-text-color-subdued);
44
- }
45
-
46
- #chuanhu_chatbot, #status_display {
47
- transition: all 0.6s;
48
- }
49
-
50
- /* usage_display */
51
- #usage_display {
52
- position: relative;
53
- margin: 0;
54
- box-shadow: var(--block-shadow);
55
- border-width: var(--block-border-width);
56
- border-color: var(--block-border-color);
57
- border-radius: var(--block-radius);
58
- background: var(--block-background-fill);
59
- width: 100%;
60
- line-height: var(--line-sm);
61
- min-height: 2em;
62
- }
63
- #usage_display p, #usage_display span {
64
- margin: 0;
65
- padding: .5em 1em;
66
- font-size: .85em;
67
- color: var(--body-text-color-subdued);
68
- }
69
- .progress-bar {
70
- background-color: var(--input-background-fill);;
71
- margin: 0 1em;
72
- height: 20px;
73
- border-radius: 10px;
74
- overflow: hidden;
75
- }
76
- .progress {
77
- background-color: var(--block-title-background-fill);;
78
- height: 100%;
79
- border-radius: 10px;
80
- text-align: right;
81
- transition: width 0.5s ease-in-out;
82
- }
83
- .progress-text {
84
- /* color: white; */
85
- color: var(--color-accent) !important;
86
- font-size: 1em !important;
87
- font-weight: bold;
88
- padding-right: 10px;
89
- line-height: 20px;
90
- }
91
- /* list */
92
- ol:not(.options), ul:not(.options) {
93
- padding-inline-start: 2em !important;
94
- }
95
-
96
- /* 亮色 */
97
- @media (prefers-color-scheme: light) {
98
- #chuanhu_chatbot {
99
- background-color: var(--chatbot-color-light) !important;
100
- color: #000000 !important;
101
- }
102
- [data-testid = "bot"] {
103
- background-color: #FFFFFF !important;
104
- }
105
- [data-testid = "user"] {
106
- background-color: #95EC69 !important;
107
- }
108
- }
109
- /* 暗色 */
110
- @media (prefers-color-scheme: dark) {
111
- #chuanhu_chatbot {
112
- background-color: var(--chatbot-color-dark) !important;
113
- color: #FFFFFF !important;
114
- }
115
- [data-testid = "bot"] {
116
- background-color: #2C2C2C !important;
117
- }
118
- [data-testid = "user"] {
119
- background-color: #26B561 !important;
120
- }
121
- body {
122
- background-color: var(--neutral-950) !important;
123
- }
124
- }
125
- /* 对话气泡 */
126
- [class *= "message"] {
127
- border-radius: var(--radius-xl) !important;
128
- border: none;
129
- padding: var(--spacing-xl) !important;
130
- font-size: var(--text-md) !important;
131
- line-height: var(--line-md) !important;
132
- min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
133
- min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
134
- }
135
- [data-testid = "bot"] {
136
- max-width: 85%;
137
- border-bottom-left-radius: 0 !important;
138
- }
139
- [data-testid = "user"] {
140
- max-width: 85%;
141
- width: auto !important;
142
- border-bottom-right-radius: 0 !important;
143
- }
144
- /* 表格 */
145
- table {
146
- margin: 1em 0;
147
- border-collapse: collapse;
148
- empty-cells: show;
149
- }
150
- td,th {
151
- border: 1.2px solid var(--border-color-primary) !important;
152
- padding: 0.2em;
153
- }
154
- thead {
155
- background-color: rgba(175,184,193,0.2);
156
- }
157
- thead th {
158
- padding: .5em .2em;
159
- }
160
- /* 行内代码 */
161
- code {
162
- display: inline;
163
- white-space: break-spaces;
164
- border-radius: 6px;
165
- margin: 0 2px 0 2px;
166
- padding: .2em .4em .1em .4em;
167
- background-color: rgba(175,184,193,0.2);
168
- }
169
- /* 代码块 */
170
- pre code {
171
- display: block;
172
- overflow: auto;
173
- white-space: pre;
174
- background-color: hsla(0, 0%, 0%, 80%)!important;
175
- border-radius: 10px;
176
- padding: 1.4em 1.2em 0em 1.4em;
177
- margin: 1.2em 2em 1.2em 0.5em;
178
- color: #FFF;
179
- box-shadow: 6px 6px 16px hsla(0, 0%, 0%, 0.2);
180
- }
181
- /* 代码高亮样式 */
182
- .highlight .hll { background-color: #49483e }
183
- .highlight .c { color: #75715e } /* Comment */
184
- .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
185
- .highlight .k { color: #66d9ef } /* Keyword */
186
- .highlight .l { color: #ae81ff } /* Literal */
187
- .highlight .n { color: #f8f8f2 } /* Name */
188
- .highlight .o { color: #f92672 } /* Operator */
189
- .highlight .p { color: #f8f8f2 } /* Punctuation */
190
- .highlight .ch { color: #75715e } /* Comment.Hashbang */
191
- .highlight .cm { color: #75715e } /* Comment.Multiline */
192
- .highlight .cp { color: #75715e } /* Comment.Preproc */
193
- .highlight .cpf { color: #75715e } /* Comment.PreprocFile */
194
- .highlight .c1 { color: #75715e } /* Comment.Single */
195
- .highlight .cs { color: #75715e } /* Comment.Special */
196
- .highlight .gd { color: #f92672 } /* Generic.Deleted */
197
- .highlight .ge { font-style: italic } /* Generic.Emph */
198
- .highlight .gi { color: #a6e22e } /* Generic.Inserted */
199
- .highlight .gs { font-weight: bold } /* Generic.Strong */
200
- .highlight .gu { color: #75715e } /* Generic.Subheading */
201
- .highlight .kc { color: #66d9ef } /* Keyword.Constant */
202
- .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
203
- .highlight .kn { color: #f92672 } /* Keyword.Namespace */
204
- .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
205
- .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
206
- .highlight .kt { color: #66d9ef } /* Keyword.Type */
207
- .highlight .ld { color: #e6db74 } /* Literal.Date */
208
- .highlight .m { color: #ae81ff } /* Literal.Number */
209
- .highlight .s { color: #e6db74 } /* Literal.String */
210
- .highlight .na { color: #a6e22e } /* Name.Attribute */
211
- .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
212
- .highlight .nc { color: #a6e22e } /* Name.Class */
213
- .highlight .no { color: #66d9ef } /* Name.Constant */
214
- .highlight .nd { color: #a6e22e } /* Name.Decorator */
215
- .highlight .ni { color: #f8f8f2 } /* Name.Entity */
216
- .highlight .ne { color: #a6e22e } /* Name.Exception */
217
- .highlight .nf { color: #a6e22e } /* Name.Function */
218
- .highlight .nl { color: #f8f8f2 } /* Name.Label */
219
- .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
220
- .highlight .nx { color: #a6e22e } /* Name.Other */
221
- .highlight .py { color: #f8f8f2 } /* Name.Property */
222
- .highlight .nt { color: #f92672 } /* Name.Tag */
223
- .highlight .nv { color: #f8f8f2 } /* Name.Variable */
224
- .highlight .ow { color: #f92672 } /* Operator.Word */
225
- .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
226
- .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
227
- .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
228
- .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
229
- .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
230
- .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
231
- .highlight .sa { color: #e6db74 } /* Literal.String.Affix */
232
- .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
233
- .highlight .sc { color: #e6db74 } /* Literal.String.Char */
234
- .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
235
- .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
236
- .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
237
- .highlight .se { color: #ae81ff } /* Literal.String.Escape */
238
- .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
239
- .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
240
- .highlight .sx { color: #e6db74 } /* Literal.String.Other */
241
- .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
242
- .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
243
- .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
244
- .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
245
- .highlight .fm { color: #a6e22e } /* Name.Function.Magic */
246
- .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
247
- .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
248
- .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
249
- .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
250
- .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/exceptions.py DELETED
@@ -1,267 +0,0 @@
1
- # exceptions.py
2
-
3
- import re
4
- import sys
5
- import typing
6
-
7
- from .util import col, line, lineno, _collapse_string_to_ranges
8
- from .unicode import pyparsing_unicode as ppu
9
-
10
-
11
- class ExceptionWordUnicode(ppu.Latin1, ppu.LatinA, ppu.LatinB, ppu.Greek, ppu.Cyrillic):
12
- pass
13
-
14
-
15
- _extract_alphanums = _collapse_string_to_ranges(ExceptionWordUnicode.alphanums)
16
- _exception_word_extractor = re.compile("([" + _extract_alphanums + "]{1,16})|.")
17
-
18
-
19
- class ParseBaseException(Exception):
20
- """base exception class for all parsing runtime exceptions"""
21
-
22
- # Performance tuning: we construct a *lot* of these, so keep this
23
- # constructor as small and fast as possible
24
- def __init__(
25
- self,
26
- pstr: str,
27
- loc: int = 0,
28
- msg: typing.Optional[str] = None,
29
- elem=None,
30
- ):
31
- self.loc = loc
32
- if msg is None:
33
- self.msg = pstr
34
- self.pstr = ""
35
- else:
36
- self.msg = msg
37
- self.pstr = pstr
38
- self.parser_element = self.parserElement = elem
39
- self.args = (pstr, loc, msg)
40
-
41
- @staticmethod
42
- def explain_exception(exc, depth=16):
43
- """
44
- Method to take an exception and translate the Python internal traceback into a list
45
- of the pyparsing expressions that caused the exception to be raised.
46
-
47
- Parameters:
48
-
49
- - exc - exception raised during parsing (need not be a ParseException, in support
50
- of Python exceptions that might be raised in a parse action)
51
- - depth (default=16) - number of levels back in the stack trace to list expression
52
- and function names; if None, the full stack trace names will be listed; if 0, only
53
- the failing input line, marker, and exception string will be shown
54
-
55
- Returns a multi-line string listing the ParserElements and/or function names in the
56
- exception's stack trace.
57
- """
58
- import inspect
59
- from .core import ParserElement
60
-
61
- if depth is None:
62
- depth = sys.getrecursionlimit()
63
- ret = []
64
- if isinstance(exc, ParseBaseException):
65
- ret.append(exc.line)
66
- ret.append(" " * (exc.column - 1) + "^")
67
- ret.append("{}: {}".format(type(exc).__name__, exc))
68
-
69
- if depth > 0:
70
- callers = inspect.getinnerframes(exc.__traceback__, context=depth)
71
- seen = set()
72
- for i, ff in enumerate(callers[-depth:]):
73
- frm = ff[0]
74
-
75
- f_self = frm.f_locals.get("self", None)
76
- if isinstance(f_self, ParserElement):
77
- if frm.f_code.co_name not in ("parseImpl", "_parseNoCache"):
78
- continue
79
- if id(f_self) in seen:
80
- continue
81
- seen.add(id(f_self))
82
-
83
- self_type = type(f_self)
84
- ret.append(
85
- "{}.{} - {}".format(
86
- self_type.__module__, self_type.__name__, f_self
87
- )
88
- )
89
-
90
- elif f_self is not None:
91
- self_type = type(f_self)
92
- ret.append("{}.{}".format(self_type.__module__, self_type.__name__))
93
-
94
- else:
95
- code = frm.f_code
96
- if code.co_name in ("wrapper", "<module>"):
97
- continue
98
-
99
- ret.append("{}".format(code.co_name))
100
-
101
- depth -= 1
102
- if not depth:
103
- break
104
-
105
- return "\n".join(ret)
106
-
107
- @classmethod
108
- def _from_exception(cls, pe):
109
- """
110
- internal factory method to simplify creating one type of ParseException
111
- from another - avoids having __init__ signature conflicts among subclasses
112
- """
113
- return cls(pe.pstr, pe.loc, pe.msg, pe.parserElement)
114
-
115
- @property
116
- def line(self) -> str:
117
- """
118
- Return the line of text where the exception occurred.
119
- """
120
- return line(self.loc, self.pstr)
121
-
122
- @property
123
- def lineno(self) -> int:
124
- """
125
- Return the 1-based line number of text where the exception occurred.
126
- """
127
- return lineno(self.loc, self.pstr)
128
-
129
- @property
130
- def col(self) -> int:
131
- """
132
- Return the 1-based column on the line of text where the exception occurred.
133
- """
134
- return col(self.loc, self.pstr)
135
-
136
- @property
137
- def column(self) -> int:
138
- """
139
- Return the 1-based column on the line of text where the exception occurred.
140
- """
141
- return col(self.loc, self.pstr)
142
-
143
- def __str__(self) -> str:
144
- if self.pstr:
145
- if self.loc >= len(self.pstr):
146
- foundstr = ", found end of text"
147
- else:
148
- # pull out next word at error location
149
- found_match = _exception_word_extractor.match(self.pstr, self.loc)
150
- if found_match is not None:
151
- found = found_match.group(0)
152
- else:
153
- found = self.pstr[self.loc : self.loc + 1]
154
- foundstr = (", found %r" % found).replace(r"\\", "\\")
155
- else:
156
- foundstr = ""
157
- return "{}{} (at char {}), (line:{}, col:{})".format(
158
- self.msg, foundstr, self.loc, self.lineno, self.column
159
- )
160
-
161
- def __repr__(self):
162
- return str(self)
163
-
164
- def mark_input_line(self, marker_string: str = None, *, markerString=">!<") -> str:
165
- """
166
- Extracts the exception line from the input string, and marks
167
- the location of the exception with a special symbol.
168
- """
169
- markerString = marker_string if marker_string is not None else markerString
170
- line_str = self.line
171
- line_column = self.column - 1
172
- if markerString:
173
- line_str = "".join(
174
- (line_str[:line_column], markerString, line_str[line_column:])
175
- )
176
- return line_str.strip()
177
-
178
- def explain(self, depth=16) -> str:
179
- """
180
- Method to translate the Python internal traceback into a list
181
- of the pyparsing expressions that caused the exception to be raised.
182
-
183
- Parameters:
184
-
185
- - depth (default=16) - number of levels back in the stack trace to list expression
186
- and function names; if None, the full stack trace names will be listed; if 0, only
187
- the failing input line, marker, and exception string will be shown
188
-
189
- Returns a multi-line string listing the ParserElements and/or function names in the
190
- exception's stack trace.
191
-
192
- Example::
193
-
194
- expr = pp.Word(pp.nums) * 3
195
- try:
196
- expr.parse_string("123 456 A789")
197
- except pp.ParseException as pe:
198
- print(pe.explain(depth=0))
199
-
200
- prints::
201
-
202
- 123 456 A789
203
- ^
204
- ParseException: Expected W:(0-9), found 'A' (at char 8), (line:1, col:9)
205
-
206
- Note: the diagnostic output will include string representations of the expressions
207
- that failed to parse. These representations will be more helpful if you use `set_name` to
208
- give identifiable names to your expressions. Otherwise they will use the default string
209
- forms, which may be cryptic to read.
210
-
211
- Note: pyparsing's default truncation of exception tracebacks may also truncate the
212
- stack of expressions that are displayed in the ``explain`` output. To get the full listing
213
- of parser expressions, you may have to set ``ParserElement.verbose_stacktrace = True``
214
- """
215
- return self.explain_exception(self, depth)
216
-
217
- markInputline = mark_input_line
218
-
219
-
220
- class ParseException(ParseBaseException):
221
- """
222
- Exception thrown when a parse expression doesn't match the input string
223
-
224
- Example::
225
-
226
- try:
227
- Word(nums).set_name("integer").parse_string("ABC")
228
- except ParseException as pe:
229
- print(pe)
230
- print("column: {}".format(pe.column))
231
-
232
- prints::
233
-
234
- Expected integer (at char 0), (line:1, col:1)
235
- column: 1
236
-
237
- """
238
-
239
-
240
- class ParseFatalException(ParseBaseException):
241
- """
242
- User-throwable exception thrown when inconsistent parse content
243
- is found; stops all parsing immediately
244
- """
245
-
246
-
247
- class ParseSyntaxException(ParseFatalException):
248
- """
249
- Just like :class:`ParseFatalException`, but thrown internally
250
- when an :class:`ErrorStop<And._ErrorStop>` ('-' operator) indicates
251
- that parsing is to stop immediately because an unbacktrackable
252
- syntax error has been found.
253
- """
254
-
255
-
256
- class RecursiveGrammarException(Exception):
257
- """
258
- Exception thrown by :class:`ParserElement.validate` if the
259
- grammar could be left-recursive; parser may need to enable
260
- left recursion using :class:`ParserElement.enable_left_recursion<ParserElement.enable_left_recursion>`
261
- """
262
-
263
- def __init__(self, parseElementList):
264
- self.parseElementTrace = parseElementList
265
-
266
- def __str__(self) -> str:
267
- return "RecursiveGrammarException: {}".format(self.parseElementTrace)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Banbri/zcvzcv/public/favicon/index.html DELETED
@@ -1,133 +0,0 @@
1
- <!DOCTYPE html>
2
- <head>
3
- <title>
4
- Favicons
5
- </title>
6
- <meta charset="utf-8" />
7
-
8
- <!-- For old IEs -->
9
- <link rel="shortcut icon" href="favicon.ico" />
10
-
11
- <!-- For new browsers multisize ico -->
12
- <link rel="icon" type="image/x-icon" sizes="16x16 32x32" href="favicon.ico">
13
-
14
- <!-- Chrome for Android -->
15
- <link rel="icon" sizes="192x192" href="favicon-192.png">
16
-
17
- <!-- For iPhone 6+ downscaled for other devices -->
18
- <link rel="apple-touch-icon" sizes="180x180" href="favicon-180-precomposed.png">
19
-
20
- <!-- For IE10 Metro -->
21
- <meta name="msapplication-TileColor" content="#FFFFFF">
22
- <meta name="msapplication-TileImage" content="favicon-114-precomposed.png">
23
-
24
- <style>
25
-
26
- body {
27
- background-color: #f5f5f5;
28
- border: 0px;
29
- margin: 0px;
30
- padding: 0px;
31
- font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
32
- color: black;
33
- }
34
-
35
- pre {
36
- margin: 0px;
37
- color: black;
38
- padding: 0px 5%;
39
- }
40
-
41
- code {
42
-
43
- }
44
-
45
- .container {
46
- background-color: white;
47
- max-width: 800px;
48
- width: 100%;
49
- margin: 0 auto;
50
- padding: 1% 0;
51
- height: 100%;
52
- }
53
-
54
- .comment {
55
- color: gray;
56
- padding: 0px;
57
- margin: 0px;
58
- }
59
-
60
- hr {
61
- width: 80%;
62
- padding: 0 5%;
63
- border-color: #f5f5f5;
64
- background-color: #D1D1D1;
65
- }
66
-
67
- p {
68
- padding: 1% 5%;
69
- }
70
-
71
- </style>
72
-
73
- </head>
74
- <body class="">
75
-
76
- <div class="container">
77
- <p>
78
- To use the favicons insert into your head section some of these tags accordly to your needs.
79
- </p>
80
- <hr>
81
- <pre>
82
- <code>
83
- <span class="comment">&lt;!-- For old IEs --&gt;</span>
84
- &lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.ico&quot; /&gt;
85
-
86
- <span class="comment">&lt;!-- For new browsers - multisize ico --&gt;</span>
87
- &lt;link rel=&quot;icon&quot; type=&quot;image/x-icon&quot; sizes=&quot;16x16 32x32&quot; href=&quot;favicon.ico&quot;&gt;
88
-
89
- <span class="comment">&lt;!-- For iPad with high-resolution Retina display running iOS &ge; 7: --&gt;</span>
90
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;152x152&quot; href=&quot;favicon-152-precomposed.png&quot;&gt;
91
-
92
- <span class="comment">&lt;!-- For iPad with high-resolution Retina display running iOS &le; 6: --&gt;</span>
93
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;144x144&quot; href=&quot;favicon-144-precomposed.png&quot;&gt;
94
-
95
- <span class="comment">&lt;!-- For iPhone with high-resolution Retina display running iOS &ge; 7: --&gt;</span>
96
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;120x120&quot; href=&quot;favicon-120-precomposed.png&quot;&gt;
97
-
98
- <span class="comment">&lt;!-- For iPhone with high-resolution Retina display running iOS &le; 6: --&gt;</span>
99
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;114x114&quot; href=&quot;favicon-114-precomposed.png&quot;&gt;
100
-
101
- <span class="comment">&lt;!-- For iPhone 6+ --&gt;</span>
102
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;180x180&quot; href=&quot;favicon-180-precomposed.png&quot;&gt;
103
-
104
- <span class="comment">&lt;!-- For first- and second-generation iPad: --&gt;</span>
105
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;72x72&quot; href=&quot;favicon-72-precomposed.png&quot;&gt;
106
-
107
- <span class="comment">&lt;!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --&gt;</span>
108
- &lt;link rel=&quot;apple-touch-icon&quot; sizes=&quot;57x57&quot; href=&quot;favicon-57.png&quot;&gt;
109
-
110
- <span class="comment">&lt;!-- For Old Chrome --&gt;</span>
111
- &lt;link rel=&quot;icon&quot; sizes=&quot;32x32&quot; href=&quot;favicon-32.png&quot; &gt;
112
-
113
- <span class="comment">&lt;!-- For IE10 Metro --&gt;</span>
114
- &lt;meta name=&quot;msapplication-TileColor&quot; content=&quot;#FFFFFF&quot;&gt;
115
- &lt;meta name=&quot;msapplication-TileImage&quot; content=&quot;favicon-144.png&quot;&gt;
116
- &lt;meta name=&quot;theme-color&quot; content=&quot;#ffffff&quot;&gt;
117
-
118
- <span class="comment">&lt;!-- Chrome for Android --&gt;</span>
119
- &lt;link rel=&quot;manifest&quot; href=&quot;manifest.json&quot;&gt;
120
- &lt;link rel=&quot;icon&quot; sizes=&quot;192x192&quot; href=&quot;favicon-192.png&quot;&gt;
121
-
122
- </code>
123
- </pre>
124
-
125
- <hr>
126
-
127
- <p>
128
- For more informations about favicons consult <a href="https://github.com/audreyr/favicon-cheat-sheet">The Favicon Cheat Sheet</a> by Audrey Roy.
129
- </p>
130
-
131
- </div>
132
-
133
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Descargar Carx Drift Racing 2 Mod Apk Nueva Versin.md DELETED
@@ -1,59 +0,0 @@
1
-
2
- <h1>Descargar CarX Drift Racing 2 Mod APK Nueva versión: Una guía para los entusiastas de las carreras de coches</h1>
3
- <p>Si usted es un fan de los juegos de carreras de coches, especialmente a la deriva, entonces usted debe haber oído hablar de <strong>CarX Drift Racing 2</strong>. Es uno de los mejores juegos de deriva en Android que le permite experimentar la emoción de conducir coches rápidos en varias pistas y terrenos. Puedes personalizar tu coche, afinar tu motor y competir con otros jugadores online o offline. </p>
4
- <h2>descargar carx drift racing 2 mod apk nueva versión</h2><br /><p><b><b>DOWNLOAD</b> - <a href="https://bltlly.com/2v6Ksx">https://bltlly.com/2v6Ksx</a></b></p><br /><br />
5
- <p>Sin embargo, si desea disfrutar del juego al máximo, es posible que tenga que gastar algo de dinero real para desbloquear todos los coches, pistas y características que el juego tiene para ofrecer. Esto puede ser frustrante y caro para algunos jugadores que solo quieren divertirse sin romper el banco. </p>
6
- <p>Es por eso que muchos jugadores buscan formas de descargar <strong>CarX Drift Racing 2 Mod APK</strong>, que es una versión modificada del juego que le da dinero ilimitado, oro y acceso a todos los coches y pistas de forma gratuita. Suena increíble, ¿verdad? </p>
7
- <p>En este artículo, le mostraremos cómo descargar e instalar CarX Drift Racing 2 Mod APK nueva versión en su dispositivo Android. También le diremos acerca de las características, pros y contras de usar este mod apk. Así que, si estás listo para llevar tus habilidades de deriva al siguiente nivel, ¡sigue leyendo! </p>
8
- <h2>Características de CarX Drift Racing 2 Mod APK</h2>
9
- <p>CarX Drift Racing 2 Mod APK no es solo una versión regular del juego que se puede descargar desde la Google Play Store. Es una versión hackeada que ha sido modificada por algunos desarrolladores para darle recursos y características ilimitadas que normalmente tendría que pagar. Estas son algunas de las características de CarX Drift Racing 2 Mod APK:</p>
10
- <ul>
11
- <li><strong>Dinero ilimitado y oro</strong>: Obtendrá dinero y oro ilimitados en su cuenta, que puede utilizar para comprar cualquier coche, pista o actualización que desee. Usted no tiene que preocuparse de quedarse sin dinero en efectivo o ahorrar para su coche de ensueño. </li>
12
-
13
- <li><strong>Personaliza tu coche y afina tu motor</strong>: Puedes personalizar tu coche con diferentes colores de pintura, calcomanías, ruedas, spoilers y más. También puede ajustar su motor con diferentes partes y configuraciones para mejorar su rendimiento y manejo. </li>
14
- <li><strong>Disfrutar de la física realista y gráficos</strong>: CarX Drift Racing 2 Mod APK tiene física realista y gráficos que te hacen sentir como si estuvieras conduciendo un coche real. Puede ver el humo, el polvo, las chispas y las marcas de derrape a medida que se desplaza en las pistas. También puede ajustar el ángulo y la vista de la cámara para adaptarse a sus preferencias. </li>
15
- <li><strong>Compite con otros jugadores en línea o fuera de línea</strong>: Puedes jugar en línea con otros jugadores que tienen la misma versión apk mod que tú, o fuera de línea con oponentes AI. También puedes unirte a clubes, participar en torneos y posicionarte en las tablas de clasificación. </li>
16
- </ul>
17
- <h2>Cómo descargar e instalar CarX deriva Racing 2 Mod APK</h2>
18
- <p>Descargar e instalar CarX Drift Racing 2 Mod APK es muy fácil y simple. Solo tienes que seguir estos pasos:</p>
19
- <p></p>
20
- <ol>
21
- <li><strong>Descargar el archivo mod apk de una fuente de confianza</strong>: Usted puede encontrar muchos sitios web que ofrecen CarX Drift Racing 2 Mod APK para su descarga gratuita. Sin embargo, no todos son seguros y confiables. Algunos pueden contener malware o virus que pueden dañar su dispositivo o robar sus datos. Siempre descargue desde un sitio de buena reputación y escanee el archivo antes de instalar. </li>
22
- <li><strong>Habilitar fuentes desconocidas en la configuración del dispositivo</strong>: Antes de instalar el archivo apk mod, es necesario habilitar fuentes desconocidas en la configuración del dispositivo. Esto le permitirá instalar aplicaciones que no son de Google Play Store. Para hacer esto, vaya a Configuración > Seguridad > Fuentes desconocidas y conéctelo. </li>
23
-
24
- <li><strong>Disfruta del juego con recursos y características ilimitadas</strong>: Una vez que hayas lanzado el juego, verás que tienes dinero ilimitado, oro, coches, pistas y características. Puedes empezar a jugar de inmediato y disfrutar del juego sin limitaciones ni restricciones. </li>
25
- </ol>
26
- <h2>Pros y contras de CarX Drift Racing 2 Mod APK</h2>
27
- <p>CarX Drift Racing 2 Mod APK tiene muchas ventajas, pero también tiene algunas desventajas. Estos son algunos de ellos:</p>
28
- <h3>Pros</h3>
29
- <ul>
30
- <li><strong>Gratis, fácil, divertido y adictivo</strong>: CarX Drift Racing 2 Mod APK es gratis para descargar e instalar, fácil de usar, divertido de jugar y adictivo para dominar. No tienes que gastar dinero o tiempo para disfrutar del juego completamente. </li>
31
- <li><strong>No hay anuncios o compras en la aplicación</strong>: CarX Drift Racing 2 Mod APK no tiene anuncios o compras en la aplicación que pueden interrumpir su juego o tentar a gastar más dinero. Puedes jugar sin distracciones ni presiones. </li>
32
- <li><strong>No se requiere raíz</strong>: CarX Drift Racing 2 Mod APK no requiere acceso de raíz para trabajar en su dispositivo. Esto significa que no tiene que arriesgarse a dañar su dispositivo o anular su garantía al enraizarlo. </li>
33
- <li><strong>Compatible con la mayoría de los dispositivos</strong>: CarX Drift Racing 2 Mod APK es compatible con la mayoría de los dispositivos Android que se ejecutan en Android 4.1 o superior. No requiere mucho espacio de almacenamiento o RAM para funcionar sin problemas. </li>
34
- </ul>
35
- <h3>Contras</h3>
36
- <ul>
37
- <li><strong>Puede que no funcione en algunos dispositivos</strong>: CarX Drift Racing 2 Mod APK puede no funcionar en algunos dispositivos debido a problemas de compatibilidad o problemas técnicos. Es posible que tenga que comprobar la compatibilidad de su dispositivo antes de descargar e instalar el apk mod. </li>
38
-
39
- <li><strong>Puede violar los términos de servicio del juego</strong>: CarX Drift Racing 2 Mod APK puede violar los términos de servicio del juego, lo que puede resultar en la prohibición del juego o perder su cuenta. También puedes perder tu progreso, logros o recompensas que has ganado en el juego. </li>
40
- </ul>
41
- <h2>Conclusión</h2>
42
- <p>CarX Drift Racing 2 Mod APK es una gran opción para los entusiastas de las carreras de coches que quieren disfrutar del juego sin limitaciones ni costos. Te da dinero ilimitado, oro, coches, pistas y características que hacen el juego más divertido y emocionante. Puedes descargarlo e instalarlo fácilmente en tu dispositivo Android y empezar a derivar como un profesional. </p>
43
- <p>Sin embargo, también debe ser consciente de los riesgos y desventajas de usar CarX Drift Racing 2 Mod APK, tales como problemas de compatibilidad, problemas de seguridad, y las violaciones de los términos de servicio. Siempre debe descargar de una fuente confiable y usarla a su propia discreción y responsabilidad. </p>
44
- <p>Si usted está buscando una manera de descargar CarX Drift Racing 2 Mod APK nueva versión, siga los pasos de este artículo y disfrutar del juego. Si tiene alguna pregunta o comentario, no dude en dejar un comentario a continuación. Happy drifting! </p>
45
- <h3>Preguntas frecuentes</h3>
46
- <ul>
47
- <li><strong>Q1: ¿Es CarX Drift Racing 2 Mod APK seguro de usar? </strong></li>
48
- <li><strong>A1: Depende de la fuente del archivo apk mod. Algunos pueden contener malware o virus que pueden dañar su dispositivo o robar sus datos. Siempre descargue desde un sitio de buena reputación y escanee el archivo antes de instalar. </strong></li>
49
- <li><strong>Q2: ¿Puedo jugar CarX Drift Racing 2 Mod APK en línea? </strong></li>
50
- <li><strong>A2: Sí, puedes jugar online con otros jugadores que tienen la misma versión mod apk que tú. Sin embargo, es posible que no pueda acceder a algunas funciones o modos que requieren una versión oficial del juego. </strong></li>
51
- <li><strong>Q3: ¿Me prohibirán por usar CarX Drift Racing 2 Mod APK? </strong></li>
52
-
53
- <li><strong>Q4: ¿Cómo puedo actualizar CarX Drift Racing 2 Mod APK? </strong></li>
54
- <li><strong>A4: Puede actualizar el apk mod mediante la descarga de la última versión de la misma fuente que lo obtuvo de. Asegúrese de hacer una copia de seguridad de sus datos antes de desinstalar la versión anterior e instalar la nueva. </strong></li>
55
- <li><strong>Q5: ¿Cuáles son algunas alternativas a CarX Drift Racing 2 Mod APK? </strong></li>
56
- <li><strong>A5: Algunas alternativas a CarX Drift Racing 2 Mod APK son Real Drift Car Racing, Torque Drift, Drift Max Pro, y FR Legends. Estos también son juegos de carreras de coches populares que ofrecen diferentes modos, características y desafíos para los amantes de la deriva. </strong></li>
57
- </ul></p> 64aa2da5cf<br />
58
- <br />
59
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BetterAPI/BetterChat_new/src/lib/server/modelEndpoint.ts DELETED
@@ -1,21 +0,0 @@
1
- import { MODEL_ENDPOINTS } from "$env/static/private";
2
- import { sum } from "$lib/utils/sum";
3
-
4
- const endpoints: Array<{ endpoint: string; authorization: string; weight: number }> =
5
- JSON.parse(MODEL_ENDPOINTS);
6
- const totalWeight = sum(endpoints.map((e) => e.weight));
7
-
8
- /**
9
- * Find a random load-balanced endpoint
10
- */
11
- export function modelEndpoint(): { endpoint: string; authorization: string; weight: number } {
12
- let random = Math.random() * totalWeight;
13
- for (const endpoint of endpoints) {
14
- if (random < endpoint.weight) {
15
- return endpoint;
16
- }
17
- random -= endpoint.weight;
18
- }
19
-
20
- throw new Error("Invalid config, no endpoint found");
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BilalSardar/StoryGenerator/app.py DELETED
@@ -1,15 +0,0 @@
1
- from transformers import pipeline
2
- import gradio as gr
3
- def story(StoryLength,StoryPrompt):
4
- model= pipeline("text-generation", model="e-tony/gpt2-rnm")
5
- summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
6
- return model(StoryPrompt, max_length=200, num_return_sequences=3)[2]["generated_text"],summarizer(model(StoryPrompt, max_length=200, num_return_sequences=3)[2]["generated_text"], max_length=StoryLength, min_length=30, do_sample=False)[0]["summary_text"]
7
-
8
-
9
- interface = gr.Interface(fn=story,
10
- inputs=["number","text"],
11
- outputs=[gr.inputs.Textbox(label='GPT2 Output'),gr.inputs.Textbox(label='Output summary')],
12
- title='Bilal\'s Story Generator')
13
-
14
-
15
- interface.launch(inline=False)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CHDCruze/entertainmentbybhdcruze/README.md DELETED
@@ -1,11 +0,0 @@
1
- ---
2
- title: Entertainmentbybhdcruze
3
- emoji: 📉
4
- colorFrom: blue
5
- colorTo: red
6
- sdk: static
7
- pinned: false
8
- license: mit
9
- ---
10
-
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/LIVE/thrust/thrust/async/transform.h DELETED
@@ -1,134 +0,0 @@
1
- /*
2
- * Copyright 2008-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 transform of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- /*! \file async/transform.h
18
- * \brief Functions for asynchronously transforming a range.
19
- */
20
-
21
- #pragma once
22
-
23
- #include <thrust/detail/config.h>
24
- #include <thrust/detail/cpp14_required.h>
25
-
26
- #if THRUST_CPP_DIALECT >= 2014
27
-
28
- #include <thrust/detail/static_assert.h>
29
- #include <thrust/detail/select_system.h>
30
- #include <thrust/type_traits/remove_cvref.h>
31
- #include <thrust/system/detail/adl/async/transform.h>
32
-
33
- #include <thrust/event.h>
34
-
35
- namespace thrust
36
- {
37
-
38
- namespace async
39
- {
40
-
41
- namespace unimplemented
42
- {
43
-
44
- template <
45
- typename DerivedPolicy
46
- , typename ForwardIt, typename Sentinel, typename OutputIt
47
- , typename UnaryOperation
48
- >
49
- __host__
50
- event<DerivedPolicy>
51
- async_transform(
52
- thrust::execution_policy<DerivedPolicy>& exec
53
- , ForwardIt first, Sentinel last, OutputIt output, UnaryOperation op
54
- )
55
- {
56
- THRUST_STATIC_ASSERT_MSG(
57
- (thrust::detail::depend_on_instantiation<ForwardIt, false>::value)
58
- , "this algorithm is not implemented for the specified system"
59
- );
60
- return {};
61
- }
62
-
63
- } // namespace unimplemented
64
-
65
- namespace transform_detail
66
- {
67
-
68
- using thrust::async::unimplemented::async_transform;
69
-
70
- struct transform_fn final
71
- {
72
- template <
73
- typename DerivedPolicy
74
- , typename ForwardIt, typename Sentinel, typename OutputIt
75
- , typename UnaryOperation
76
- >
77
- __host__
78
- static auto
79
- call(
80
- thrust::detail::execution_policy_base<DerivedPolicy> const& exec
81
- , ForwardIt&& first, Sentinel&& last
82
- , OutputIt&& output
83
- , UnaryOperation&& op
84
- )
85
- // ADL dispatch.
86
- THRUST_RETURNS(
87
- async_transform(
88
- thrust::detail::derived_cast(thrust::detail::strip_const(exec))
89
- , THRUST_FWD(first), THRUST_FWD(last)
90
- , THRUST_FWD(output)
91
- , THRUST_FWD(op)
92
- )
93
- )
94
-
95
- template <
96
- typename ForwardIt, typename Sentinel, typename OutputIt
97
- , typename UnaryOperation
98
- >
99
- __host__
100
- static auto call(
101
- ForwardIt&& first, Sentinel&& last
102
- , OutputIt&& output
103
- , UnaryOperation&& op
104
- )
105
- THRUST_RETURNS(
106
- transform_fn::call(
107
- thrust::detail::select_system(
108
- typename iterator_system<remove_cvref_t<ForwardIt>>::type{}
109
- , typename iterator_system<remove_cvref_t<OutputIt>>::type{}
110
- )
111
- , THRUST_FWD(first), THRUST_FWD(last)
112
- , THRUST_FWD(output)
113
- , THRUST_FWD(op)
114
- )
115
- )
116
-
117
- template <typename... Args>
118
- THRUST_NODISCARD __host__
119
- auto operator()(Args&&... args) const
120
- THRUST_RETURNS(
121
- call(THRUST_FWD(args)...)
122
- )
123
- };
124
-
125
- } // namespace tranform_detail
126
-
127
- THRUST_INLINE_CONSTANT transform_detail::transform_fn transform{};
128
-
129
- } // namespace async
130
-
131
- } // end namespace thrust
132
-
133
- #endif
134
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/LIVE/thrust/thrust/system/detail/generic/extrema.h DELETED
@@ -1,89 +0,0 @@
1
- /*
2
- * Copyright 2008-2013 NVIDIA Corporation
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
-
18
- /*! \file extrema.h
19
- * \brief Generic device implementations of extrema functions.
20
- */
21
-
22
- #pragma once
23
-
24
- #include <thrust/detail/config.h>
25
- #include <thrust/pair.h>
26
- #include <thrust/system/detail/generic/tag.h>
27
-
28
- namespace thrust
29
- {
30
- namespace system
31
- {
32
- namespace detail
33
- {
34
- namespace generic
35
- {
36
-
37
-
38
- template <typename DerivedPolicy, typename ForwardIterator>
39
- __host__ __device__
40
- ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
41
- ForwardIterator first,
42
- ForwardIterator last);
43
-
44
-
45
- template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
46
- __host__ __device__
47
- ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
48
- ForwardIterator first,
49
- ForwardIterator last,
50
- BinaryPredicate comp);
51
-
52
-
53
- template <typename DerivedPolicy, typename ForwardIterator>
54
- __host__ __device__
55
- ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
56
- ForwardIterator first,
57
- ForwardIterator last);
58
-
59
-
60
- template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
61
- __host__ __device__
62
- ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
63
- ForwardIterator first,
64
- ForwardIterator last,
65
- BinaryPredicate comp);
66
-
67
-
68
- template <typename DerivedPolicy, typename ForwardIterator>
69
- __host__ __device__
70
- thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
71
- ForwardIterator first,
72
- ForwardIterator last);
73
-
74
-
75
- template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
76
- __host__ __device__
77
- thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
78
- ForwardIterator first,
79
- ForwardIterator last,
80
- BinaryPredicate comp);
81
-
82
-
83
- } // end namespace generic
84
- } // end namespace detail
85
- } // end namespace system
86
- } // end namespace thrust
87
-
88
- #include <thrust/system/detail/generic/extrema.inl>
89
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/LIVE/thrust/thrust/system/omp/memory_resource.h DELETED
@@ -1,63 +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
- /*! \file omp/memory_resource.h
18
- * \brief Memory resources for the OMP system.
19
- */
20
-
21
- #pragma once
22
-
23
- #include <thrust/detail/config.h>
24
- #include <thrust/mr/new.h>
25
- #include <thrust/mr/fancy_pointer_resource.h>
26
-
27
- #include <thrust/system/omp/pointer.h>
28
-
29
- namespace thrust
30
- {
31
- namespace system
32
- {
33
- namespace omp
34
- {
35
-
36
- //! \cond
37
- namespace detail
38
- {
39
- typedef thrust::mr::fancy_pointer_resource<
40
- thrust::mr::new_delete_resource,
41
- thrust::omp::pointer<void>
42
- > native_resource;
43
- }
44
- //! \endcond
45
-
46
- /*! \addtogroup memory_resources Memory Resources
47
- * \ingroup memory_management_classes
48
- * \{
49
- */
50
-
51
- /*! The memory resource for the OMP system. Uses \p mr::new_delete_resource and tags it with \p omp::pointer. */
52
- typedef detail::native_resource memory_resource;
53
- /*! An alias for \p omp::memory_resource. */
54
- typedef detail::native_resource universal_memory_resource;
55
- /*! An alias for \p omp::memory_resource. */
56
- typedef detail::native_resource universal_host_pinned_memory_resource;
57
-
58
- /*! \}
59
- */
60
-
61
- }
62
- }
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Caoyunkang/Segment-Any-Anomaly/SAA/prompts/mtd_parameters.py DELETED
@@ -1,11 +0,0 @@
1
- manual_prompts = {
2
- 'mtd': [
3
- ['black hole. blow hole. break. crack. fray. uneven.', 'mtd'],
4
- ['defect.', 'mtd'],
5
- ],
6
-
7
- }
8
-
9
- property_prompts = {
10
- 'ksdd2': 'the image of ksdd2 have 1 dissimilar ksdd2, with a maximum of 5 anomaly. The anomaly would not exceed 0.9 object area. ',
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ChrisPreston/diff-svc_minato_aqua/modules/hubert/cn_hubert.py DELETED
@@ -1,40 +0,0 @@
1
- import librosa
2
- import torch
3
- import torch.nn as nn
4
-
5
-
6
- def load_cn_model(ch_hubert_path):
7
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
8
- from fairseq import checkpoint_utils
9
- models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(
10
- [ch_hubert_path],
11
- suffix="",
12
- )
13
- model = models[0]
14
- model = model.to(device)
15
- model.eval()
16
- return model
17
-
18
-
19
- def get_cn_hubert_units(con_model, audio_path, dev):
20
- audio, sampling_rate = librosa.load(audio_path)
21
- if len(audio.shape) > 1:
22
- audio = librosa.to_mono(audio.transpose(1, 0))
23
- if sampling_rate != 16000:
24
- audio = librosa.resample(audio, orig_sr=sampling_rate, target_sr=16000)
25
-
26
- feats = torch.from_numpy(audio).float()
27
- if feats.dim() == 2: # double channels
28
- feats = feats.mean(-1)
29
- assert feats.dim() == 1, feats.dim()
30
- feats = feats.view(1, -1)
31
- padding_mask = torch.BoolTensor(feats.shape).fill_(False)
32
- inputs = {
33
- "source": feats.to(dev),
34
- "padding_mask": padding_mask.to(dev),
35
- "output_layer": 9, # layer 9
36
- }
37
- with torch.no_grad():
38
- logits = con_model.extract_features(**inputs)
39
- feats = con_model.final_proj(logits[0])
40
- return feats
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ClementBM/connectfour/models/__init__.py DELETED
@@ -1,3 +0,0 @@
1
- from pathlib import Path
2
-
3
- MODEL_PATH = Path(__file__).parent.absolute() / "model.onnx"
 
 
 
 
spaces/CofAI/chat.b4/g4f/Provider/Providers/Gravityengine.py DELETED
@@ -1,27 +0,0 @@
1
- import requests
2
- import os
3
- import json
4
- from ...typing import sha256, Dict, get_type_hints
5
-
6
- url = 'https://gpt4.xunika.uk/'
7
- model = ['gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613']
8
- supports_stream = True
9
- needs_auth = False
10
-
11
- def _create_completion(model: str, messages: list, stream: bool, temperature: float = 0.7, **kwargs):
12
- headers = {
13
- 'Content-Type': 'application/json',
14
- }
15
- data = {
16
- 'model': model,
17
- 'temperature': 0.7,
18
- 'presence_penalty': 0,
19
- 'messages': messages,
20
- }
21
- response = requests.post(url + '/api/openai/v1/chat/completions',
22
- json=data, stream=True)
23
-
24
- yield response.json()['choices'][0]['message']['content']
25
-
26
- params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \
27
- '(%s)' % ', '.join([f"{name}: {get_type_hints(_create_completion)[name].__name__}" for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CofAI/chat/client/css/select.css DELETED
@@ -1,35 +0,0 @@
1
- select {
2
- -webkit-border-radius: 8px;
3
- -moz-border-radius: 8px;
4
- border-radius: 8px;
5
-
6
- -webkit-backdrop-filter: blur(20px);
7
- backdrop-filter: blur(20px);
8
-
9
- cursor: pointer;
10
- background-color: var(--blur-bg);
11
- border: 1px solid var(--blur-border);
12
- color: var(--colour-3);
13
- display: block;
14
- position: relative;
15
- overflow: hidden;
16
- outline: none;
17
- padding: 8px 16px;
18
-
19
- appearance: none;
20
- }
21
-
22
- /* scrollbar */
23
- select.dropdown::-webkit-scrollbar {
24
- width: 4px;
25
- padding: 8px 0px;
26
- }
27
-
28
- select.dropdown::-webkit-scrollbar-track {
29
- background-color: #ffffff00;
30
- }
31
-
32
- select.dropdown::-webkit-scrollbar-thumb {
33
- background-color: #555555;
34
- border-radius: 10px;
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CognitiveLabs/Research-Assistant/test/test4.py DELETED
@@ -1,6 +0,0 @@
1
- def test():
2
- yield 1
3
- return 2
4
-
5
- a, b = test()
6
- print(a, b)
 
 
 
 
 
 
 
spaces/CrucibleAI/ControlNetMediaPipeFaceSD21/ldm/models/diffusion/__init__.py DELETED
File without changes
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/designspaceLib/types.py DELETED
@@ -1,147 +0,0 @@
1
- from __future__ import annotations
2
-
3
- from dataclasses import dataclass
4
- from typing import Dict, List, Optional, Union, cast
5
-
6
- from fontTools.designspaceLib import (
7
- AxisDescriptor,
8
- DesignSpaceDocument,
9
- DesignSpaceDocumentError,
10
- RangeAxisSubsetDescriptor,
11
- SimpleLocationDict,
12
- ValueAxisSubsetDescriptor,
13
- VariableFontDescriptor,
14
- )
15
-
16
-
17
- def clamp(value, minimum, maximum):
18
- return min(max(value, minimum), maximum)
19
-
20
-
21
- @dataclass
22
- class Range:
23
- minimum: float
24
- """Inclusive minimum of the range."""
25
- maximum: float
26
- """Inclusive maximum of the range."""
27
- default: float = 0
28
- """Default value"""
29
-
30
- def __post_init__(self):
31
- self.minimum, self.maximum = sorted((self.minimum, self.maximum))
32
- self.default = clamp(self.default, self.minimum, self.maximum)
33
-
34
- def __contains__(self, value: Union[float, Range]) -> bool:
35
- if isinstance(value, Range):
36
- return self.minimum <= value.minimum and value.maximum <= self.maximum
37
- return self.minimum <= value <= self.maximum
38
-
39
- def intersection(self, other: Range) -> Optional[Range]:
40
- if self.maximum < other.minimum or self.minimum > other.maximum:
41
- return None
42
- else:
43
- return Range(
44
- max(self.minimum, other.minimum),
45
- min(self.maximum, other.maximum),
46
- self.default, # We don't care about the default in this use-case
47
- )
48
-
49
-
50
- # A region selection is either a range or a single value, as a Designspace v5
51
- # axis-subset element only allows a single discrete value or a range for a
52
- # variable-font element.
53
- Region = Dict[str, Union[Range, float]]
54
-
55
- # A conditionset is a set of named ranges.
56
- ConditionSet = Dict[str, Range]
57
-
58
- # A rule is a list of conditionsets where any has to be relevant for the whole rule to be relevant.
59
- Rule = List[ConditionSet]
60
- Rules = Dict[str, Rule]
61
-
62
-
63
- def locationInRegion(location: SimpleLocationDict, region: Region) -> bool:
64
- for name, value in location.items():
65
- if name not in region:
66
- return False
67
- regionValue = region[name]
68
- if isinstance(regionValue, (float, int)):
69
- if value != regionValue:
70
- return False
71
- else:
72
- if value not in regionValue:
73
- return False
74
- return True
75
-
76
-
77
- def regionInRegion(region: Region, superRegion: Region) -> bool:
78
- for name, value in region.items():
79
- if not name in superRegion:
80
- return False
81
- superValue = superRegion[name]
82
- if isinstance(superValue, (float, int)):
83
- if value != superValue:
84
- return False
85
- else:
86
- if value not in superValue:
87
- return False
88
- return True
89
-
90
-
91
- def userRegionToDesignRegion(doc: DesignSpaceDocument, userRegion: Region) -> Region:
92
- designRegion = {}
93
- for name, value in userRegion.items():
94
- axis = doc.getAxis(name)
95
- if axis is None:
96
- raise DesignSpaceDocumentError(
97
- f"Cannot find axis named '{name}' for region."
98
- )
99
- if isinstance(value, (float, int)):
100
- designRegion[name] = axis.map_forward(value)
101
- else:
102
- designRegion[name] = Range(
103
- axis.map_forward(value.minimum),
104
- axis.map_forward(value.maximum),
105
- axis.map_forward(value.default),
106
- )
107
- return designRegion
108
-
109
-
110
- def getVFUserRegion(doc: DesignSpaceDocument, vf: VariableFontDescriptor) -> Region:
111
- vfUserRegion: Region = {}
112
- # For each axis, 2 cases:
113
- # - it has a range = it's an axis in the VF DS
114
- # - it's a single location = use it to know which rules should apply in the VF
115
- for axisSubset in vf.axisSubsets:
116
- axis = doc.getAxis(axisSubset.name)
117
- if axis is None:
118
- raise DesignSpaceDocumentError(
119
- f"Cannot find axis named '{axisSubset.name}' for variable font '{vf.name}'."
120
- )
121
- if hasattr(axisSubset, "userMinimum"):
122
- # Mypy doesn't support narrowing union types via hasattr()
123
- # TODO(Python 3.10): use TypeGuard
124
- # https://mypy.readthedocs.io/en/stable/type_narrowing.html
125
- axisSubset = cast(RangeAxisSubsetDescriptor, axisSubset)
126
- if not hasattr(axis, "minimum"):
127
- raise DesignSpaceDocumentError(
128
- f"Cannot select a range over '{axis.name}' for variable font '{vf.name}' "
129
- "because it's a discrete axis, use only 'userValue' instead."
130
- )
131
- axis = cast(AxisDescriptor, axis)
132
- vfUserRegion[axis.name] = Range(
133
- max(axisSubset.userMinimum, axis.minimum),
134
- min(axisSubset.userMaximum, axis.maximum),
135
- axisSubset.userDefault or axis.default,
136
- )
137
- else:
138
- axisSubset = cast(ValueAxisSubsetDescriptor, axisSubset)
139
- vfUserRegion[axis.name] = axisSubset.userValue
140
- # Any axis not mentioned explicitly has a single location = default value
141
- for axis in doc.axes:
142
- if axis.name not in vfUserRegion:
143
- assert isinstance(
144
- axis.default, (int, float)
145
- ), f"Axis '{axis.name}' has no valid default value."
146
- vfUserRegion[axis.name] = axis.default
147
- return vfUserRegion