-
- Figure 1: Visualization of 512x512 images generated by our PixelGen.
-
-
-
-## 🫖 Introduction
-We introduce PixelGen, a simple pixel diffusion framework with perceptual loss. Instead of modeling the full image manifold, PixelGen introduces two complementary perceptual losses to guide diffusion model towards learning a more meaningful **perceptual manifold**. An LPIPS loss facilitates learning better local patterns, while a DINO-based perceptual loss strengthens global semantics. With perceptual supervision, PixelGen surpasses strong latent diffusion baselines. It achieves an FID of 5.11 on ImageNet-256 without classifier-free guidance using only 80 training epochs, and demonstrates favorable scaling performance on large-scale text-to-image generation with a GenEval score of 0.79.
-
-
-
-
-
-- We achieve **5.11 FID** on ImageNet256x256 without CFG at 80 epochs, surpassing REPA's 5.90 FID at 800 epochs.
-- We achieve **1.83 FID** on ImageNet256x256 with CFG 160 epochs, competetive with latent diffusion models.
-- We achieve **0.79 overall score** on GenEval Benchmark with PixelGen-XXL/16.
-- **If you like our project, please kindly give us a star ⭐ on GitHub.** We hope to collaborate with you on building better pixel diffusion models, specifically looking at better samplers, CFG strategies, architectures, and refined loss design. Please feel free to reach out if you'd like to discuss ideas.
-
-## Illustration of Perceptual Manifold
-
-
-
-
- Illustration of different manifolds within the pixel space. The image manifold is a large manifold containing both perceptually significant information and imperceptible signals. The perceptual manifold contains perceptually important signals, providing a better target for pixel space diffusion. P-DINO and LPIPS are the two complementary perceptual supervision utilized in PixelGen.
-
-
-
-## 🧩 Visualizations
-+ Effectiveness of the perceptual losses in PixelGen.
-
-
-
-
-+ Visualization of more images generated by our text-to-image PixelGen.
-
-
-
-
-+ Visualization of 256*256 images generated by our class-to-image PixelGen.
-
-
- Figure 1: Visualization of images generated by our PixelGen. All images are at a 512x512 resolution.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Abstract
-
-
-
- Pixel diffusion generates images directly in pixel space in an end-to-end manner, avoiding the artifacts and bottlenecks introduced by VAEs in two-stage latent diffusion. However, it is challenging to optimize high-dimensional pixel manifolds that contain many perceptually irrelevant signals, leaving existing pixel diffusion methods lagging behind latent diffusion models. We propose PixelGen, a simple pixel diffusion framework with perceptual supervision. Instead of modeling the full image manifold, PixelGen introduces two complementary perceptual losses to guide diffusion model towards learning a more meaningful perceptual manifold. An LPIPS loss facilitates learning better local patterns, while a DINO-based perceptual loss strengthens global semantics. With perceptual supervision, PixelGen surpasses strong latent diffusion baselines. It achieves an FID of 5.11 on ImageNet-256 without classifier-free guidance using only 80 training epochs, and demonstrates favorable scaling performance on large-scale text-to-image generation with a GenEval score of 0.79. PixelGen requires no VAEs, no latent representations, and no auxiliary stages, providing a simpler yet more powerful generative paradigm.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Motivation
-
-
- It is challenging to optimize high-dimensional pixel manifolds that contain many perceptually irrelevant signals, leaving existing pixel diffusion methods lagging behind latent diffusion models. We introduce PixelGen, a simple pixel diffusion framework with perceptual loss. Instead of modeling the full image manifold, PixelGen introduces two complementary perceptual losses to guide diffusion model towards learning a more meaningful perceptual manifold. An LPIPS loss facilitates learning better local patterns, while a DINO-based perceptual loss strengthens global semantics.
-
-
-
-
- Figure 2: This work shows that pixel diffusion with perceptual loss outperforms latent diffusion. (a) A traditional two-stage latent diffusion denoises in the latent space, which is influenced by the artifacts of the VAE. (b) PixelGen introduces perceptual loss to encourage the diffusion model to focus on the perceptual manifold, enabling the pixel diffusion to learn a meaningful manifold rather than the complex full image manifold. (c) PixelGen outperforms the latent diffusion models using only 80 training epochs on ImageNet without CFG.
-
-
-
-
Illustration of Perceptual Manifold
-
-
-
- Figure 3: Illustration of different manifolds within the pixel space. The image manifold is a large manifold containing both perceptually significant information and imperceptible signals. The perceptual manifold contains perceptually important signals, providing a better target for pixel space diffusion. P-DINO and LPIPS are the two complementary perceptual supervision utilized in PixelGen.
-
-
-
-
Implementation
-
-
- We propose PixelGen, a simple yet effective pixel diffusion framework with perceptual supervision. PixelGen directly operates in the pixel domain without relying on latent representations, VAEs, or auxiliary stages. Following the x-prediction paradigm, the diffusion model predicts clean images instead of noise or velocity. To retain the benefits of flow matching, the predicted image is converted into velocity, resulting in a flow-matching objective.
- PixelGen focuses on the perceptual manifold rather than the full image manifold. To this end, we introduce two complementary perceptual losses. An LPIPS loss emphasizes local textures and fine-grained details, while a Perceptual DINO (P-DINO) loss aligns global semantics using patch-level features from a frozen DINOv2 encoder.
-
-
-
- Figure 4: Overview of PixelGen. The diffusion model directly predicts the image x instead of velocity or noise to simplify the prediction target. A flow-matching diffusion loss is retained to keep the advantages of flow matching via velocity conversion. Two complementary perceptual losses are introduced to encourage the diffusion model to focus on the perceptual manifold.
-
-
-
-
Empirically Analysis
-
-
- Perceptual supervision improves pixel diffusion by enhancing local details and global semantics. Starting from the JiT baseline, we progressively introduce the LPIPS loss and the P-DINO loss. As shown in Figure 5, the baseline model produces blurry images with weak structural consistency. After adding the LPIPS loss, local textures become sharper, and fine details are better preserved. This indicates that LPIPS effectively emphasizes perceptually important local patterns. When the P-DINO loss is further introduced, the generated images exhibit improved global structure and better semantics. These qualitative improvements are supported by quantitative results. The baseline model achieves an FID of 23.67 on ImageNet without classifier-free guidance. With LPIPS loss, the FID decreases to 10.00. After adding the P-DINO loss, it further drops to 7.46. This confirms that LPIPS and P-DINO provide complementary supervision. LPIPS focuses on local perceptual fidelity, while P-DINO enhances global semantics. Together, they guide the diffusion model toward a perceptually meaningful manifold.
-
-
-
- Figure 5: Effectiveness of perceptual supervision in PixelGen. LPIPS and P-DINO losses are progressively added to a baseline pixel diffusion model. The LPIPS loss improves local texture fidelity, while P-DINO further enhances global semantics.
-
-
-
-
-
-
-
-
-
-
-
-
-
Evaluations
-
Quantitative Results
-
-
-
-
-
-
-
-
-
-
-
Qualitative Results
-
-
- Figure 6: More Qualitative results of text-to-image generation at a 512x512 resolution. Our PixelGen supports multiple languages with the Qwen3 text encoder, such as Chinese and English.
-
-
-
-
- Figure 7: Qualitative results of class-to-image generation at a 256x256 resolution.
-
-
-
'}},function(t,e,i){"use strict";e.a=function(){return''}}]).default});
\ No newline at end of file
diff --git a/code/docs/static/js/bulma-slider.js b/code/docs/static/js/bulma-slider.js
deleted file mode 100644
index c6718de5c5ae59d2c22141a147f5afba41af9cbb..0000000000000000000000000000000000000000
--- a/code/docs/static/js/bulma-slider.js
+++ /dev/null
@@ -1,461 +0,0 @@
-(function webpackUniversalModuleDefinition(root, factory) {
- if(typeof exports === 'object' && typeof module === 'object')
- module.exports = factory();
- else if(typeof define === 'function' && define.amd)
- define([], factory);
- else if(typeof exports === 'object')
- exports["bulmaSlider"] = factory();
- else
- root["bulmaSlider"] = factory();
-})(typeof self !== 'undefined' ? self : this, function() {
-return /******/ (function(modules) { // webpackBootstrap
-/******/ // The module cache
-/******/ var installedModules = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/
-/******/ // Check if module is in cache
-/******/ if(installedModules[moduleId]) {
-/******/ return installedModules[moduleId].exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = installedModules[moduleId] = {
-/******/ i: moduleId,
-/******/ l: false,
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Flag the module as loaded
-/******/ module.l = true;
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
-/******/
-/******/
-/******/ // expose the modules object (__webpack_modules__)
-/******/ __webpack_require__.m = modules;
-/******/
-/******/ // expose the module cache
-/******/ __webpack_require__.c = installedModules;
-/******/
-/******/ // define getter function for harmony exports
-/******/ __webpack_require__.d = function(exports, name, getter) {
-/******/ if(!__webpack_require__.o(exports, name)) {
-/******/ Object.defineProperty(exports, name, {
-/******/ configurable: false,
-/******/ enumerable: true,
-/******/ get: getter
-/******/ });
-/******/ }
-/******/ };
-/******/
-/******/ // getDefaultExport function for compatibility with non-harmony modules
-/******/ __webpack_require__.n = function(module) {
-/******/ var getter = module && module.__esModule ?
-/******/ function getDefault() { return module['default']; } :
-/******/ function getModuleExports() { return module; };
-/******/ __webpack_require__.d(getter, 'a', getter);
-/******/ return getter;
-/******/ };
-/******/
-/******/ // Object.prototype.hasOwnProperty.call
-/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ // __webpack_public_path__
-/******/ __webpack_require__.p = "";
-/******/
-/******/ // Load entry module and return exports
-/******/ return __webpack_require__(__webpack_require__.s = 0);
-/******/ })
-/************************************************************************/
-/******/ ([
-/* 0 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isString", function() { return isString; });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(1);
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-var isString = function isString(unknown) {
- return typeof unknown === 'string' || !!unknown && (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && Object.prototype.toString.call(unknown) === '[object String]';
-};
-
-var bulmaSlider = function (_EventEmitter) {
- _inherits(bulmaSlider, _EventEmitter);
-
- function bulmaSlider(selector) {
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
- _classCallCheck(this, bulmaSlider);
-
- var _this = _possibleConstructorReturn(this, (bulmaSlider.__proto__ || Object.getPrototypeOf(bulmaSlider)).call(this));
-
- _this.element = typeof selector === 'string' ? document.querySelector(selector) : selector;
- // An invalid selector or non-DOM node has been provided.
- if (!_this.element) {
- throw new Error('An invalid selector or non-DOM node has been provided.');
- }
-
- _this._clickEvents = ['click'];
- /// Set default options and merge with instance defined
- _this.options = _extends({}, options);
-
- _this.onSliderInput = _this.onSliderInput.bind(_this);
-
- _this.init();
- return _this;
- }
-
- /**
- * Initiate all DOM element containing selector
- * @method
- * @return {Array} Array of all slider instances
- */
-
-
- _createClass(bulmaSlider, [{
- key: 'init',
-
-
- /**
- * Initiate plugin
- * @method init
- * @return {void}
- */
- value: function init() {
- this._id = 'bulmaSlider' + new Date().getTime() + Math.floor(Math.random() * Math.floor(9999));
- this.output = this._findOutputForSlider();
-
- this._bindEvents();
-
- if (this.output) {
- if (this.element.classList.contains('has-output-tooltip')) {
- // Get new output position
- var newPosition = this._getSliderOutputPosition();
-
- // Set output position
- this.output.style['left'] = newPosition.position;
- }
- }
-
- this.emit('bulmaslider:ready', this.element.value);
- }
- }, {
- key: '_findOutputForSlider',
- value: function _findOutputForSlider() {
- var _this2 = this;
-
- var result = null;
- var outputs = document.getElementsByTagName('output') || [];
-
- Array.from(outputs).forEach(function (output) {
- if (output.htmlFor == _this2.element.getAttribute('id')) {
- result = output;
- return true;
- }
- });
- return result;
- }
- }, {
- key: '_getSliderOutputPosition',
- value: function _getSliderOutputPosition() {
- // Update output position
- var newPlace, minValue;
-
- var style = window.getComputedStyle(this.element, null);
- // Measure width of range input
- var sliderWidth = parseInt(style.getPropertyValue('width'), 10);
-
- // Figure out placement percentage between left and right of input
- if (!this.element.getAttribute('min')) {
- minValue = 0;
- } else {
- minValue = this.element.getAttribute('min');
- }
- var newPoint = (this.element.value - minValue) / (this.element.getAttribute('max') - minValue);
-
- // Prevent bubble from going beyond left or right (unsupported browsers)
- if (newPoint < 0) {
- newPlace = 0;
- } else if (newPoint > 1) {
- newPlace = sliderWidth;
- } else {
- newPlace = sliderWidth * newPoint;
- }
-
- return {
- 'position': newPlace + 'px'
- };
- }
-
- /**
- * Bind all events
- * @method _bindEvents
- * @return {void}
- */
-
- }, {
- key: '_bindEvents',
- value: function _bindEvents() {
- if (this.output) {
- // Add event listener to update output when slider value change
- this.element.addEventListener('input', this.onSliderInput, false);
- }
- }
- }, {
- key: 'onSliderInput',
- value: function onSliderInput(e) {
- e.preventDefault();
-
- if (this.element.classList.contains('has-output-tooltip')) {
- // Get new output position
- var newPosition = this._getSliderOutputPosition();
-
- // Set output position
- this.output.style['left'] = newPosition.position;
- }
-
- // Check for prefix and postfix
- var prefix = this.output.hasAttribute('data-prefix') ? this.output.getAttribute('data-prefix') : '';
- var postfix = this.output.hasAttribute('data-postfix') ? this.output.getAttribute('data-postfix') : '';
-
- // Update output with slider value
- this.output.value = prefix + this.element.value + postfix;
-
- this.emit('bulmaslider:ready', this.element.value);
- }
- }], [{
- key: 'attach',
- value: function attach() {
- var _this3 = this;
-
- var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'input[type="range"].slider';
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
- var instances = new Array();
-
- var elements = isString(selector) ? document.querySelectorAll(selector) : Array.isArray(selector) ? selector : [selector];
- elements.forEach(function (element) {
- if (typeof element[_this3.constructor.name] === 'undefined') {
- var instance = new bulmaSlider(element, options);
- element[_this3.constructor.name] = instance;
- instances.push(instance);
- } else {
- instances.push(element[_this3.constructor.name]);
- }
- });
-
- return instances;
- }
- }]);
-
- return bulmaSlider;
-}(__WEBPACK_IMPORTED_MODULE_0__events__["a" /* default */]);
-
-/* harmony default export */ __webpack_exports__["default"] = (bulmaSlider);
-
-/***/ }),
-/* 1 */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-var EventEmitter = function () {
- function EventEmitter() {
- var listeners = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-
- _classCallCheck(this, EventEmitter);
-
- this._listeners = new Map(listeners);
- this._middlewares = new Map();
- }
-
- _createClass(EventEmitter, [{
- key: "listenerCount",
- value: function listenerCount(eventName) {
- if (!this._listeners.has(eventName)) {
- return 0;
- }
-
- var eventListeners = this._listeners.get(eventName);
- return eventListeners.length;
- }
- }, {
- key: "removeListeners",
- value: function removeListeners() {
- var _this = this;
-
- var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
- var middleware = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
-
- if (eventName !== null) {
- if (Array.isArray(eventName)) {
- name.forEach(function (e) {
- return _this.removeListeners(e, middleware);
- });
- } else {
- this._listeners.delete(eventName);
-
- if (middleware) {
- this.removeMiddleware(eventName);
- }
- }
- } else {
- this._listeners = new Map();
- }
- }
- }, {
- key: "middleware",
- value: function middleware(eventName, fn) {
- var _this2 = this;
-
- if (Array.isArray(eventName)) {
- name.forEach(function (e) {
- return _this2.middleware(e, fn);
- });
- } else {
- if (!Array.isArray(this._middlewares.get(eventName))) {
- this._middlewares.set(eventName, []);
- }
-
- this._middlewares.get(eventName).push(fn);
- }
- }
- }, {
- key: "removeMiddleware",
- value: function removeMiddleware() {
- var _this3 = this;
-
- var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-
- if (eventName !== null) {
- if (Array.isArray(eventName)) {
- name.forEach(function (e) {
- return _this3.removeMiddleware(e);
- });
- } else {
- this._middlewares.delete(eventName);
- }
- } else {
- this._middlewares = new Map();
- }
- }
- }, {
- key: "on",
- value: function on(name, callback) {
- var _this4 = this;
-
- var once = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
- if (Array.isArray(name)) {
- name.forEach(function (e) {
- return _this4.on(e, callback);
- });
- } else {
- name = name.toString();
- var split = name.split(/,|, | /);
-
- if (split.length > 1) {
- split.forEach(function (e) {
- return _this4.on(e, callback);
- });
- } else {
- if (!Array.isArray(this._listeners.get(name))) {
- this._listeners.set(name, []);
- }
-
- this._listeners.get(name).push({ once: once, callback: callback });
- }
- }
- }
- }, {
- key: "once",
- value: function once(name, callback) {
- this.on(name, callback, true);
- }
- }, {
- key: "emit",
- value: function emit(name, data) {
- var _this5 = this;
-
- var silent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-
- name = name.toString();
- var listeners = this._listeners.get(name);
- var middlewares = null;
- var doneCount = 0;
- var execute = silent;
-
- if (Array.isArray(listeners)) {
- listeners.forEach(function (listener, index) {
- // Start Middleware checks unless we're doing a silent emit
- if (!silent) {
- middlewares = _this5._middlewares.get(name);
- // Check and execute Middleware
- if (Array.isArray(middlewares)) {
- middlewares.forEach(function (middleware) {
- middleware(data, function () {
- var newData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-
- if (newData !== null) {
- data = newData;
- }
- doneCount++;
- }, name);
- });
-
- if (doneCount >= middlewares.length) {
- execute = true;
- }
- } else {
- execute = true;
- }
- }
-
- // If Middleware checks have been passed, execute
- if (execute) {
- if (listener.once) {
- listeners[index] = null;
- }
- listener.callback(data);
- }
- });
-
- // Dirty way of removing used Events
- while (listeners.indexOf(null) !== -1) {
- listeners.splice(listeners.indexOf(null), 1);
- }
- }
- }
- }]);
-
- return EventEmitter;
-}();
-
-/* harmony default export */ __webpack_exports__["a"] = (EventEmitter);
-
-/***/ })
-/******/ ])["default"];
-});
\ No newline at end of file
diff --git a/code/docs/static/js/bulma-slider.min.js b/code/docs/static/js/bulma-slider.min.js
deleted file mode 100644
index 7e62685763cf7668cfa8857fac0b27af2c277286..0000000000000000000000000000000000000000
--- a/code/docs/static/js/bulma-slider.min.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaSlider=e():t.bulmaSlider=e()}("undefined"!=typeof self?self:this,function(){return function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"isString",function(){return l});var r=n(1),i=Object.assign||function(t){for(var e=1;e=l.length&&(s=!0)):s=!0),s&&(t.once&&(u[e]=null),t.callback(r))});-1!==u.indexOf(null);)u.splice(u.indexOf(null),1)}}]),e}();e.a=i}]).default});
\ No newline at end of file
diff --git a/code/docs/static/js/fontawesome.all.min.js b/code/docs/static/js/fontawesome.all.min.js
deleted file mode 100644
index 9ee22fdb7753983bae3986b2436bdd167730cd5b..0000000000000000000000000000000000000000
--- a/code/docs/static/js/fontawesome.all.min.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/*!
- * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
- */
-!function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),"___FONT_AWESOME___"),e=function(){try{return!0}catch(c){return!1}}();var s=a||{};s[m]||(s[m]={}),s[m].styles||(s[m].styles={}),s[m].hooks||(s[m].hooks={}),s[m].shims||(s[m].shims=[]);var t=s[m];function M(c,z){var l=(2>>0;h--;)l[h]=c[h];return l}function Ac(c){return c.classList?bc(c.classList):(c.getAttribute("class")||"").split(" ").filter(function(c){return c})}function gc(c,l){var h,z=l.split("-"),a=z[0],v=z.slice(1).join("-");return a!==c||""===v||(h=v,~T.indexOf(h))?null:v}function Sc(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function yc(h){return Object.keys(h||{}).reduce(function(c,l){return c+"".concat(l,": ").concat(h[l],";")},"")}function wc(c){return c.size!==Lc.size||c.x!==Lc.x||c.y!==Lc.y||c.rotate!==Lc.rotate||c.flipX||c.flipY}function Zc(c){var l=c.transform,h=c.containerWidth,z=c.iconWidth,a={transform:"translate(".concat(h/2," 256)")},v="translate(".concat(32*l.x,", ").concat(32*l.y,") "),m="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),e="rotate(".concat(l.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(v," ").concat(m," ").concat(e)},path:{transform:"translate(".concat(z/2*-1," -256)")}}}var kc={x:0,y:0,width:"100%",height:"100%"};function xc(c){var l=!(1").concat(m.map(Jc).join(""),"").concat(l,">")}var $c=function(){};function cl(c){return"string"==typeof(c.getAttribute?c.getAttribute(cc):null)}var ll={replace:function(c){var l=c[0],h=c[1].map(function(c){return Jc(c)}).join("\n");if(l.parentNode&&l.outerHTML)l.outerHTML=h+(lc.keepOriginalSource&&"svg"!==l.tagName.toLowerCase()?"\x3c!-- ".concat(l.outerHTML," Font Awesome fontawesome.com --\x3e"):"");else if(l.parentNode){var z=document.createElement("span");l.parentNode.replaceChild(z,l),z.outerHTML=h}},nest:function(c){var l=c[0],h=c[1];if(~Ac(l).indexOf(lc.replacementClass))return ll.replace(c);var z=new RegExp("".concat(lc.familyPrefix,"-.*"));delete h[0].attributes.style,delete h[0].attributes.id;var a=h[0].attributes.class.split(" ").reduce(function(c,l){return l===lc.replacementClass||l.match(z)?c.toSvg.push(l):c.toNode.push(l),c},{toNode:[],toSvg:[]});h[0].attributes.class=a.toSvg.join(" ");var v=h.map(function(c){return Jc(c)}).join("\n");l.setAttribute("class",a.toNode.join(" ")),l.setAttribute(cc,""),l.innerHTML=v}};function hl(c){c()}function zl(h,c){var z="function"==typeof c?c:$c;if(0===h.length)z();else{var l=hl;lc.mutateApproach===y&&(l=o.requestAnimationFrame||hl),l(function(){var c=!0===lc.autoReplaceSvg?ll.replace:ll[lc.autoReplaceSvg]||ll.replace,l=_c.begin("mutate");h.map(c),l(),z()})}}var al=!1;function vl(){al=!1}var ml=null;function el(c){if(t&&lc.observeMutations){var a=c.treeCallback,v=c.nodeCallback,m=c.pseudoElementsCallback,l=c.observeMutationsRoot,h=void 0===l?C:l;ml=new t(function(c){al||bc(c).forEach(function(c){if("childList"===c.type&&0 {
- console.log(state);
- });
- }
-
- // Access to bulmaCarousel instance of an element
- var element = document.querySelector('#my-element');
- if (element && element.bulmaCarousel) {
- // bulmaCarousel instance is available as element.bulmaCarousel
- element.bulmaCarousel.on('before-show', function(state) {
- console.log(state);
- });
- }
-
- /*var player = document.getElementById('interpolation-video');
- player.addEventListener('loadedmetadata', function() {
- $('#interpolation-slider').on('input', function(event) {
- console.log(this.value, player.duration);
- player.currentTime = player.duration / 100 * this.value;
- })
- }, false);*/
- preloadInterpolationImages();
-
- $('#interpolation-slider').on('input', function(event) {
- setInterpolationImage(this.value);
- });
- setInterpolationImage(0);
- $('#interpolation-slider').prop('max', NUM_INTERP_FRAMES - 1);
-
- bulmaSlider.attach();
-
-})
diff --git a/code/docs/static/js/magnifier.js b/code/docs/static/js/magnifier.js
deleted file mode 100644
index e954c14de140cf02c4657a137820bc2022b638f6..0000000000000000000000000000000000000000
--- a/code/docs/static/js/magnifier.js
+++ /dev/null
@@ -1,58 +0,0 @@
-function magnify(imgID, zoom) {
- var img, glass, w, h, bw;
- img = document.getElementById(imgID);
- /*create magnifier glass:*/
- glass = document.createElement("DIV");
- if (zoom <= 0){
- glass.setAttribute("class", "img-magnifier-glass_init");
- }else {
- glass.setAttribute("class", "img-magnifier-glass");
- }
- /*insert magnifier glass:*/
- img.parentElement.insertBefore(glass, img);
- /*set background properties for the magnifier glass:*/
- glass.style.backgroundImage = "url('" + img.src + "')";
- glass.style.backgroundRepeat = "no-repeat";
- glass.style.backgroundSize = (img.width * zoom) + "px " + (img.height * zoom) + "px";
- bw = 3;
- w = glass.offsetWidth / 2;
- h = glass.offsetHeight / 2;
- /*execute a function when someone moves the magnifier glass over the image:*/
- glass.addEventListener("mousemove", moveMagnifier);
- img.addEventListener("mousemove", moveMagnifier);
- /*and also for touch screens:*/
- glass.addEventListener("touchmove", moveMagnifier);
- img.addEventListener("touchmove", moveMagnifier);
- function moveMagnifier(e) {
- var pos, x, y;
- /*prevent any other actions that may occur when moving over the image*/
- e.preventDefault();
- /*get the cursor's x and y positions:*/
- pos = getCursorPos(e);
- x = pos.x;
- y = pos.y;
- /*prevent the magnifier glass from being positioned outside the image:*/
- if (x > img.width - (w / zoom)) {x = img.width - (w / zoom);}
- if (x < w / zoom) {x = w / zoom;}
- if (y > img.height - (h / zoom)) {y = img.height - (h / zoom);}
- if (y < h / zoom) {y = h / zoom;}
- /*set the position of the magnifier glass:*/
- glass.style.left = (x - w) + "px";
- glass.style.top = (y - h) + "px";
- /*display what the magnifier glass "sees":*/
- glass.style.backgroundPosition = "-" + ((x * zoom) - w + bw) + "px -" + ((y * zoom) - h + bw) + "px";
- }
- function getCursorPos(e) {
- var a, x = 0, y = 0;
- e = e || window.event;
- /*get the x and y positions of the image:*/
- a = img.getBoundingClientRect();
- /*calculate the cursor's x and y coordinates, relative to the image:*/
- x = e.pageX - a.left;
- y = e.pageY - a.top;
- /*consider any page scrolling:*/
- x = x - window.pageXOffset;
- y = y - window.pageYOffset;
- return {x : x, y : y};
- }
-}
\ No newline at end of file
diff --git a/code/evaluations/dpg/dpg_cat_image.py b/code/evaluations/dpg/dpg_cat_image.py
deleted file mode 100644
index 06d9e41bfa78108b4b64ea9a297a32160f91f8d2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/dpg_cat_image.py
+++ /dev/null
@@ -1,42 +0,0 @@
-import cv2
-import numpy as np
-import os
-import pathlib
-import argparse
-
-def group_images(path_list):
- sorted(path_list)
- class_id_dict = {}
- for path in path_list:
- class_id = str(path.name).split('_')[0]
- if class_id not in class_id_dict:
- class_id_dict[class_id] = []
- class_id_dict[class_id].append(path)
- return class_id_dict
-
-def cat_images(path_list):
- imgs = []
- for path in path_list:
- img = cv2.imread(str(path))
- os.remove(path)
- imgs.append(img)
- row_cat_images = []
- row_length = int(len(imgs)**0.5)
- for i in range(len(imgs)//row_length):
- row_cat_images.append(np.concatenate(imgs[i*row_length:(i+1)*row_length], axis=1))
- cat_image = np.concatenate(row_cat_images, axis=0)
- return cat_image
-
-if __name__ == '__main__':
- parser = argparse.ArgumentParser()
- parser.add_argument('--src_dir', type=str, default=None)
-
- args = parser.parse_args()
- src_dir = args.src_dir
- path_list = list(pathlib.Path(src_dir).glob('*.png'))
- class_id_dict = group_images(path_list)
- for class_id, path_list in class_id_dict.items():
- cat_image = cat_images(path_list)
- cat_path = os.path.join(src_dir, f'{class_id}.jpg')
- # cat_path = "cat_{}.png".format(class_id)
- cv2.imwrite(cat_path, cat_image)
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/0.txt b/code/evaluations/dpg/prompts/0.txt
deleted file mode 100644
index 7855251607c5003e33cd67d3bffdebcdc88c2811..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/0.txt
+++ /dev/null
@@ -1 +0,0 @@
-An expansive field, blanketed by the soft light of morning, cradles a collection of eight cabbages, their green heads round and plump. These vegetables are nestled among rows of rich soil, dotted with glistening droplets of dew that cling to their crinkled leaves. As wisps of mist begin to lift, the cabbages lie poised, ready for the day's impending harvest.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/1.txt b/code/evaluations/dpg/prompts/1.txt
deleted file mode 100644
index c3b0feb57723e998fbe4396a1a632386bf1ef278..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/1.txt
+++ /dev/null
@@ -1 +0,0 @@
-An eye-catching vibrant red pickup truck with a stout and rectangular build is parked on the sandy shores as dusk sets in. The truck's glossy paint contrasts with the soft, amber hues of the setting sun reflected off the vehicle's surface. In the background, the gentle waves of the ocean can be heard as they meet the beach, with the silhouette of palm trees swaying gently in the evening breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/10.txt b/code/evaluations/dpg/prompts/10.txt
deleted file mode 100644
index a079da9116eecbb81ecea85a6d95701bdb158557..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/10.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a rustic wooden table, three ripe eggplants with a glossy royal purple skin are carefully arranged in a neat row. Their plump, oblong shapes complement the table's textured surface, and they cast soft shadows in the warm, ambient light. Nearby, the woven pattern of a tan-colored napkin peeks out from beneath the vibrant, richly colored vegetables.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/100.txt b/code/evaluations/dpg/prompts/100.txt
deleted file mode 100644
index 1804757318c0fee7fc39cd36eb67839aa5e7c4d4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/100.txt
+++ /dev/null
@@ -1 +0,0 @@
-An immaculate white vanity desk featuring an array of beauty products, among which a soft-bristled cosmetics brush and a sleek black eyeliner pencil are neatly arranged. To the side, a stark and dissonant element, a metallic handgun, lies on the textured surface of a grey concrete floor, creating a jarring juxtaposition against the delicate makeup tools. The vanity itself is positioned against a white wall, illuminated by the natural light streaming in from a nearby window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/101.txt b/code/evaluations/dpg/prompts/101.txt
deleted file mode 100644
index ea0b0c5c58165c5f439cc67874e25dbb6eafccef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/101.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a dimly lit room, the low luminance emanates from a bedside lamp casting a soft glow upon the nightstand. There lies a travel magazine, its pages open to a vivid illustration of a car driving along a picturesque landscape. Positioned on the image is a light pink toothbrush, its bristles glistening in the ambient light. Beside the magazine, the textured fabric of the bedspread is just discernible, contributing to the composed and quiet scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/102.txt b/code/evaluations/dpg/prompts/102.txt
deleted file mode 100644
index 6a3558cd4fb3dd5596b9292d203617911c77439a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/102.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two multicolored butterflies with delicate, veined wings gently balance atop a vibrant, orange tangerine in a bustling garden. The tangerine, with its glossy, dimpled texture, is situated on a wooden table, contrasting with the greenery of the surrounding foliage and flowers. The butterflies, appearing nearly small in comparison, add a touch of grace to the scene, complementing the natural colors of the verdant backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/103.txt b/code/evaluations/dpg/prompts/103.txt
deleted file mode 100644
index 35be9036983b7f8fcb111081a2db466c702a07e9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/103.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a spacious loft with high ceilings and exposed brick walls, the morning light filters through large windows, casting a soft glow on a pair of trendy, high-top sneakers. These sneakers, made of rugged leather with bold laces, contrast sharply with the ornate, metallic vintage coffee machine standing next to them. The coffee machine, with its intricate details and polished finish, reflects the light beautifully, setting a striking juxtaposition against the practical, street-style footwear on the polished concrete floor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/104.txt b/code/evaluations/dpg/prompts/104.txt
deleted file mode 100644
index 8834af08a993b2a4da6dbedf31d987b8ea8a3459..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/104.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two sleek blue showerheads, mounted against a backdrop of white ceramic tiles, release a steady stream of water. The water cascades down onto a vivid, crisp green pear that is centrally positioned directly beneath them. The pear's smooth and shiny surface gleams as the water droplets rhythmically bounce off, creating a tranquil, almost rhythmic sound in the otherwise silent bathroom.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/105.txt b/code/evaluations/dpg/prompts/105.txt
deleted file mode 100644
index 94de33d1b70a0c9c949720eaea6ca55cfdda5cb2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/105.txt
+++ /dev/null
@@ -1 +0,0 @@
-A traditional Venetian mask with intricate designs and feather embellishments is placed on a polished wooden table. Next to the mask, there sits a substantial golden trophy, shining with reflected light, its surface etched with small, detailed engravings. The table and its prestigious items are set against a deep sepia-toned backdrop that enhances the objects' visual appeal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/106.txt b/code/evaluations/dpg/prompts/106.txt
deleted file mode 100644
index 52ded3778dcaf1f92efd0837fd640bfbd006273c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/106.txt
+++ /dev/null
@@ -1 +0,0 @@
-During the twilight hour, an individual can be seen extending an arm towards the sky, pointing at a trio of wild birds gliding through the rich deep blue of the early evening sky. The birds' silhouettes contrast distinctly against the fading light, their wings spread wide as they soar. The person is silhouetted against the dusky sky, creating a peaceful scene of human connection with nature.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/107.txt b/code/evaluations/dpg/prompts/107.txt
deleted file mode 100644
index 866b2b9a32c1dd59f572290ae2d1ccefb291b2fe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/107.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a rich maroon stage, a quintet of grand pianos gleams under the stage lights, their polished black surfaces reflecting their surroundings. Each piano is encircled by a small scatter of walnuts, their round, brown shapes contrasting with the sleek lines of the instruments. The pianos are methodically arranged, allowing ample space for performers to maneuver around them during a recital.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/108.txt b/code/evaluations/dpg/prompts/108.txt
deleted file mode 100644
index 9e57222a3f7f96c52a24bf346f461a74bec0f6b1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/108.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a silent library setting, bathed in the soft glow of ceiling lights, stand two metal tripods, each clasping a single piece of white notepaper. Both tripods are positioned at the end of a long, mahogany table scattered with books and reference materials, hinting at a late-night study session. The library's rows of bookshelves cast long shadows on the carpeted floor, creating an atmosphere of calm scholarly focus as the clock strikes midnight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/109.txt b/code/evaluations/dpg/prompts/109.txt
deleted file mode 100644
index 5bfa1103de8546ef02f36a25cc9d0f15277e86cd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/109.txt
+++ /dev/null
@@ -1 +0,0 @@
-Adjacent to each other in a room, a large rectangular bed draped in a navy-blue comforter sits parallel to a square-shaped nightstand with a matte finish. The nightstand holds an angular lamp and a small stack of hardcover books. The two pieces of furniture are positioned on a plush beige carpet that covers the majority of the floor space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/11.txt b/code/evaluations/dpg/prompts/11.txt
deleted file mode 100644
index 6339b9ae5348b6f14aa0b9aac3cf6f102d657a28..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/11.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vintage-style kitchen featuring an integrated dishwasher that's finished with a panel matching the surrounding warm wood cabinetry. Above the dishwasher, a muted stone countertop is adorned with an assortment of vintage kitchen tools and fresh green herbs in terracotta pots. The room exudes a rustic charm, with exposed ceiling beams and a classic farmhouse sink completing the homely setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/110.txt b/code/evaluations/dpg/prompts/110.txt
deleted file mode 100644
index 0d874bd147faa1603c6e105414b154cfc4492a36..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/110.txt
+++ /dev/null
@@ -1 +0,0 @@
-A single, long green onion with its pristine white root end and vibrant green top stands upright in a tall, thin, clear glass vase. The delicate onion contrasts with the smooth and solid form of the vase which rests upon the speckled granite kitchen countertop. The morning light filters through a nearby window, bathing the onion and vase in a gentle, diffused glow that highlights their subtle textures and colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/111.txt b/code/evaluations/dpg/prompts/111.txt
deleted file mode 100644
index 80bd88dbd02a5cc179ae39cc7ee4a98da7bb1c2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/111.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the dim light, five pairs of diverse shoes are gathered together on the concrete ground, near the wheel of a gleaming gold sports car. The car boasts a polished finish that rivals the sun's radiance, and its sleek curves are evident even in the shadows. The shoes, ranging from worn sneakers to shiny leather loafers, create a contrasting ensemble against the luxury vehicle's opulent appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/112.txt b/code/evaluations/dpg/prompts/112.txt
deleted file mode 100644
index 777c52f2f5c18b67c9e25f9ab75cddb3c79fc4c4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/112.txt
+++ /dev/null
@@ -1 +0,0 @@
-Scattered across the polished hardwood floor, five vibrantly yellow cobs of corn lie in a haphazard formation, untouched and contrasting with the dark grain of the wood. Nearby, a mop with a wooden handle rests against a light grey wall, its stringy head soaked and discolored from use. The room is illuminated by the subdued, monochrome light of early morning, casting soft shadows across the cobs and the floor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/113.txt b/code/evaluations/dpg/prompts/113.txt
deleted file mode 100644
index 1f3617282e8196dab31b3388277fc7ab404bcbdb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/113.txt
+++ /dev/null
@@ -1 +0,0 @@
-A polished round silver bracelet rests beside a large square game board made of rich mahogany wood. Despite its compact size, the bracelet radiates with a bright shimmer, contrasting starkly against the muted tones of the chess squares on the game board. Each chess piece is meticulously aligned, creating a visual harmony between the circular curves of the bracelet and the straight edges of the board.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/114.txt b/code/evaluations/dpg/prompts/114.txt
deleted file mode 100644
index f7ab633148e2b2be16b0aa144cef3438ebfde96c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/114.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an elegantly simple room, two pairs of sandals—one blue and one red—sit tidily beneath a quaint, square wooden side table featuring a weathered finish that suggests a touch of rustic charm. The side table, which casts a soft shadow onto the textured salmon pink wall behind it, provides a harmonious balance to the vibrant footwear. The floor beneath the table is a polished light hardwood, reflecting a faint glow from the natural light entering the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/115.txt b/code/evaluations/dpg/prompts/115.txt
deleted file mode 100644
index f2b2aa71bad8b07967be7f03a12afd1fd37f3103..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/115.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delicate silver ring with a sleek band sits gracefully next to a large, dark leather wallet that seems to overflow with cards and receipts. Both items rest on a polished wooden bedside table, whose grain texture subtly complements the metallic luster of the ring. The wallet's bulky appearance emphasizes the fine simplicity of the ring, highlighting the stark difference in their sizes and designs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/116.txt b/code/evaluations/dpg/prompts/116.txt
deleted file mode 100644
index 24029d31f14747185841f2e9beb0360ee9443ca8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/116.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the fading light of late afternoon, a scene unfolds in the autumn park, where a pair of worn brown boots stands firm upon a bed of fallen orange leaves. Attached to these boots are two vibrant blue balloons, gently swaying in the cool breeze. The balloons cast soft shadows on the ground, nestled among the trees with their leaves transitioning to auburn hues. Nearby, a wooden bench sits empty, inviting passersby to witness the quiet juxtaposition of the still footwear and the dancing balloons.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/117.txt b/code/evaluations/dpg/prompts/117.txt
deleted file mode 100644
index a5eb8668f7c835d2aa523cab93a628c24ecd2791..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/117.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gleaming pair of golden cymbals lies in stark contrast to a collection of round, static bottles of toiletries arranged neatly on a shelf. The metallic sheen of the cymbals is emphasized by the surrounding muted tones of the shampoo and lotion containers. The bathroom shelf upon which they rest is made of polished oak, adding a warm touch to the setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/118.txt b/code/evaluations/dpg/prompts/118.txt
deleted file mode 100644
index 8bb94bcc2287a29f3ec599dcb457f0d455878261..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/118.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tranquil scene where two brown, fibrous coconuts rest on the lush green grass beside a solitary deer, which is lying down, taking a respite. The deer has a rich, brown coat with white spots and appears to be at ease in the natural surroundings. In the background, a few trees with verdant leaves provide a quiet backdrop to this peaceful setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/119.txt b/code/evaluations/dpg/prompts/119.txt
deleted file mode 100644
index a2086d45d5b0d6977ba76f83f8a76eebfa94f92c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/119.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the warm hue of the setting sun, a well-used wooden cutting board leans against the gray, splintered slats of an aging backyard fence. Nearby, a bright red stop sign, its paint slightly faded and peeling from years of service, is planted firmly beside a quaint garden shed with peeling blue paint and a rusty door handle. The grass, tinged orange by the sunset's glow, is dotted with dandelions and whispers of the day's end breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/12.txt b/code/evaluations/dpg/prompts/12.txt
deleted file mode 100644
index 3bec7e9990040d849b0702490099d6a4b9bb041d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/12.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two spiraling strands of rich, crimson-colored pasta rest elegantly on the surface of a polished dark wooden table, the grain of the wood accentuating their vibrant hue. This rustic Italian kitchen is bathed in the warm, golden light of the late afternoon sun, which highlights the intricate texture of the pasta. The table, set amidst traditional décor and terracotta pots filled with fresh herbs, offers a tranquil setting for this simple yet captivating culinary display.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/120.txt b/code/evaluations/dpg/prompts/120.txt
deleted file mode 100644
index 0042ef78cbf9a021c0648dba73ac62d11ce1c976..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/120.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an otherwise silent room, the melodic rhythm of a recorder being played gently reverberates throughout the space. A single lantern with a hexagonal frame and intricate metalwork sits nearby, emitting a soft, warm light that flickers subtly, illuminating the immediate vicinity. The walls, which are painted a muted cream color, catch the lantern's glow, creating a cozy ambiance around the musician.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/121.txt b/code/evaluations/dpg/prompts/121.txt
deleted file mode 100644
index b16d29cb979af11c6b7d50a90a896df59fe8446b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/121.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic, vintage wooden desk sitting in the corner of an antique store, its surface aged to a warm honey color. Upon the desk lies a silver flute, its polished surface gently reflecting the soft, golden light from the late afternoon sun streaming through a nearby window. Behind the flute, an array of eclectic cleaning products, from old-fashioned feather dusters to vintage glass bottles, is artfully arranged, adding to the charm of the setting. These items catch the sunlight in a way that casts an array of subtle shadows and highlights across the desk's surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/122.txt b/code/evaluations/dpg/prompts/122.txt
deleted file mode 100644
index 5952a94ffee8f62b960db24eb58430a6d01a2824..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/122.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old fashioned, metallic fan with a rounded base and rusted blades stands next to an ornate, antique knife with a weathered bone handle. Both items are propped against a timeworn wooden wall that bears the marks of age and the warm, golden hue of the afternoon sunlight filtering through a nearby window. The dust particles in the air catch the light, highlighting the vintage aura of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/123.txt b/code/evaluations/dpg/prompts/123.txt
deleted file mode 100644
index 52b6e26403f0107f888e29ea0675abf87169b458..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/123.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the bustling heart of the city, under the clear midday sky, stands a sparkling white sink, its porcelain surface gleaming in the sunlight. It is an unusual sight: the sink, vastly larger than a nearby old burgundy bicycle with a wicker basket, positioned as if it were a modern art installation. The surrounding concrete ground of the cityscape contrasts sharply with the clean and polished texture of the oversized sink.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/124.txt b/code/evaluations/dpg/prompts/124.txt
deleted file mode 100644
index bb5236f1bd90bec8eb42cd5ceb359ef414f37df7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/124.txt
+++ /dev/null
@@ -1 +0,0 @@
-Under the bright midday light, a sleek glass display shelf within a boutique shop showcases an array of cosmetics. Three lipsticks, each a different shade of pink, red, and burgundy, are aligned meticulously beside a pair of shining black leather shoes, reflecting the overhead lighting. The shoes boast a perfect sheen, hinting at their unworn condition, and they sit adjacent to the lipsticks, adding contrast with their sharp, polished appearance against the soft textures of the makeup.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/125.txt b/code/evaluations/dpg/prompts/125.txt
deleted file mode 100644
index 6eac11c9db470fdc78f0946f9fa9dda17d739746..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/125.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sizable rectangular storage box with a smooth, beige surface is positioned directly adjacent to a diminutive, round cherry with a glossy red exterior. The cherry's vibrant color contrasts sharply with the muted hue of the box. Both the box and the cherry rest on a white marble countertop that amplifies their distinct shapes and sizes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/126.txt b/code/evaluations/dpg/prompts/126.txt
deleted file mode 100644
index fa87dc469343e7cfe83d9e4aae04f1f59db9be95..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/126.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall metallic baseball bat, standing upright on a lush green field, is gently enshrouded by a soft pink towel with frayed edges. The clear blue sky overhead provides a stark contrast to the vibrant color of the towel. Surrounding the bat, there are a few white daisies scattered, their petals swaying slightly in the gentle breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/127.txt b/code/evaluations/dpg/prompts/127.txt
deleted file mode 100644
index 256b77f3c44e818af3842d6ab0175a0105e921a0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/127.txt
+++ /dev/null
@@ -1 +0,0 @@
-A giant faux oyster, with a rough textured exterior akin to rock, opens to reveal its sleek interior resembling a lustrous pearl. From within its spacious maw, a vintage camera with black leather casing and silver details gently slides out as if it were an oversized pearl escaping the confines of its shell. The camera is caught mid-motion, creating a sense of dynamic action against the still life of the display.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/128.txt b/code/evaluations/dpg/prompts/128.txt
deleted file mode 100644
index 725a73c6d56c4d314d9f368b64732e7a3ac8be01..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/128.txt
+++ /dev/null
@@ -1 +0,0 @@
-Beneath the expansive night sky, sprinkled with myriad twinkling stars, a flag adorning the pinnacle of a towering lighthouse drifts gently in the evening breeze, its hues subdued by the soft silver glow of the moon. The sturdy structure of the lighthouse, painted in alternating bands of white and red, stands as a stalwart sentinel on the rugged shoreline. At the water's edge, the rough texture of the rocks is intermittently made visible by the intermittent wash of foamy waves, where a solitary lobster, its dark, glossy carapace reflecting the moonlight, slowly makes its way out of the embrace of the ocean.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/129.txt b/code/evaluations/dpg/prompts/129.txt
deleted file mode 100644
index 43f228e1f5d8d658504ac8bb6bac0cfa1e8b8474..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/129.txt
+++ /dev/null
@@ -1 +0,0 @@
-A well-organized glass display cabinet contains a collection of seven hairdryers, each boasting a sleek design and different hues. Adjacent to this assortment, three luxurious silver watches are elegantly showcased, their reflective surfaces glinting under the soft glow of the evening light filtering through a nearby window. The watches are arranged on a plush velvet stand that enhances their sophisticated appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/13.txt b/code/evaluations/dpg/prompts/13.txt
deleted file mode 100644
index 9a06dec75b02146476d72f9c6d9ec851d7af5ede..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, black rectangular keyboard lies comfortably on the luxurious beige carpet of a quiet home office, bathed in the gentle sunlight of early afternoon. The keys of the keyboard show signs of frequent use, and it's positioned diagonally across the plush carpet, which is textured with subtle patterns. Nearby, a rolling office chair with a high back and adjustable armrests sits invitingly, hinting at a quick break taken by its usual occupant.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/130.txt b/code/evaluations/dpg/prompts/130.txt
deleted file mode 100644
index aee77f516e29ac017fa5ec627c55a70eb767ff97..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/130.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a brisk morning, a delicate white paper napkin gently enfolds a vibrant yellow mango, contrasting sharply with the fruit’s robust size. The mango, plump and juicy, sits prominently at the center of a light wooden dining table. Around it, the early daylight casts soft shadows, highlighting the texture of the napkin's folds as it cradles the mango.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/131.txt b/code/evaluations/dpg/prompts/131.txt
deleted file mode 100644
index 4e0d93d386a4fc29eafdbef645237063d2439ef9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/131.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spherical tissue dispenser sits flush against the curved edge of a white porcelain sink, creating a harmonious visual continuity. The tissue dispenser, with its polished silver finish, reflects the soft light in the room, contrasting with the sink's matte surface. The basin itself is neatly embedded into a marble countertop, which stretches across the bathroom, punctuated by chrome faucets that gleam under the overhead lighting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/132.txt b/code/evaluations/dpg/prompts/132.txt
deleted file mode 100644
index 45f11182dd3e6b81e14daf76c26b4cebcbf3ea34..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/132.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the corner of a dimly lit room, a rectangular, charcoal-gray computer box exhibits its sharp edges as it rests beside an elegantly draped, cherry-red silk bow tie. The contrast between the electronic's matte finish and the tie's glossy sheen is striking. The computer appears dormant, while the bow tie seems almost ready to be picked up and worn to an event. Behind these objects, the ambient lighting casts soft shadows against the plain, light-colored wall.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/133.txt b/code/evaluations/dpg/prompts/133.txt
deleted file mode 100644
index 641a599ec37c5d9fcf8f9da3086c80bf9b834862..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/133.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the midst of a bustling cityscape under the bright midday sun, a solitary wooden bench with peeling green paint sits empty on the sidewalk. A city worker dressed in a reflective orange vest is actively disinfecting the bench surface, using a clear spray bottle filled with a blue cleaning solution. Passersby continue with their day, navigating around the cleaning activity, while the noise of the city hums in the background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/134.txt b/code/evaluations/dpg/prompts/134.txt
deleted file mode 100644
index cbbd91c51d94f0fe3d02cb83f3b417c6383c4a08..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/134.txt
+++ /dev/null
@@ -1 +0,0 @@
-A giant brass tuba with its large bell facing upwards, eclipsing a petite penguin below. The penguin, with its characteristic black and white plumage, appears to waddle curiously around the towering instrument. This peculiar scene unfolds against the backdrop of a rich crimson sunset, casting a warm glow over the entire setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/135.txt b/code/evaluations/dpg/prompts/135.txt
deleted file mode 100644
index 4570451f0f1a427ac9dfe3f4f11fea4481e4151d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/135.txt
+++ /dev/null
@@ -1 +0,0 @@
-Chrome silver medals, both engraved with intricate designs, can be seen gently spinning within the drum of a white washing machine. The machine is placed beside a window through which bright sunlight streams, casting a warm glow on the machine's glossy surface. The gentle rotation of the medals creates a soft clinking sound against the steel interior of the washer, which is otherwise filled with clothes on a slow spin cycle.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/136.txt b/code/evaluations/dpg/prompts/136.txt
deleted file mode 100644
index f13a6719efa293696e8c02910d24599366366b80..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/136.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the dawn breaks, two personal care items, a toothbrush with white and blue bristles alongside a tube of toothpaste, are methodically placed under the protective cover of an awning adorned with a geometric hexagonal pattern. The soft morning light gently illuminates the scene, casting subtle shadows beneath the items on the reflective glass surface they rest upon. The awning's shade provides a tranquil, organized backdrop to the start of the day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/137.txt b/code/evaluations/dpg/prompts/137.txt
deleted file mode 100644
index cbc1807b8770f6a5855220363f1ddefeddc11917..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/137.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst the serene setting of a river bank, a single, bright rectangular bar of soap sits prominently on the rough, earthy terrain. Its surface gleams under the sunlight, contrasting with the natural surroundings. Several feet away, a curious black bear with a glossy coat cautiously approaches, nostrils flaring as it investigates the unfamiliar scent. The dense evergreen forest that lines the river's edge creates a lush, green backdrop to this unusual encounter.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/138.txt b/code/evaluations/dpg/prompts/138.txt
deleted file mode 100644
index 27132873059c72f3794cb24d8453941de2416be8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/138.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three perfectly shaped dumplings, with their pleats meticulously crimped, sitting in solitude on a reflective glass surface which captures their image under the soft glow of a moonlit night. The large mirror is resting against a wall with a faint pattern, amplifying the quietude of midnight. The room is hushed, with the only movement being the gentle shift of shadows as the night deepens, highlighting the stillness of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/139.txt b/code/evaluations/dpg/prompts/139.txt
deleted file mode 100644
index 12ca9f2a75d73ae826278bc350306523e500eac9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/139.txt
+++ /dev/null
@@ -1 +0,0 @@
-a pyramid-shaped tablet made of a smooth, matte grey stone stands in the foreground, its sharp edges contrasting with the wild, verdant foliage of the surrounding jungle. nearby, a crescent-shaped swing hangs from a sturdy tree branch, crafted from a polished golden wood that glimmers slightly under the dappled sunlight filtering through the dense canopy above. the swing's smooth surface and gentle curve invite a sense of calm amidst the lush greenery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/14.txt b/code/evaluations/dpg/prompts/14.txt
deleted file mode 100644
index 8a8229b31c46aebcc2d2f8cf5e5295182fb874ef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/14.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three vibrant green lettuce leaves gently float on the surface of crystal-clear water in a shallow white porcelain basin. The sunlight catches the delicate veins of the leaves, highlighting their fresh, crisp texture. Nearby, tiny air bubbles cling to the edges of the leaves and the smooth inner surface of the basin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/140.txt b/code/evaluations/dpg/prompts/140.txt
deleted file mode 100644
index 23de96604bed1ffe81efa59d8bccf8b894a02943..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/140.txt
+++ /dev/null
@@ -1 +0,0 @@
-An outdoor setting illuminated by sunlight, showcasing three vibrantly red towels, meticulously folded and placed on a concrete surface. Beside this tidy arrangement, a sleek white scooter stands parked, its handlebar casting a slender shadow on the ground. The contrasting colors create a striking visual against the backdrop of a clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/141.txt b/code/evaluations/dpg/prompts/141.txt
deleted file mode 100644
index 4c9a1c88aaf313de4a93b51db915a46550df0f7d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/141.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary, white swan gracefully makes its way across the tranquil surface of a still lake, its reflection almost perfect in the water. Above, mounted on the sturdy branches of dense, leafy trees, three black surveillance cameras silently observe the scene. Their lenses, though inactive and unblinking, appear to follow the swan's serene passage, contrasting starkly with the natural beauty of the early morning. The lake is surrounded by a lush greenery that gently sways in the light breeze, undisturbed by the technological sentinels.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/142.txt b/code/evaluations/dpg/prompts/142.txt
deleted file mode 100644
index b0702b13b2fa2f1dd6c539ab364ea90d83678946..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/142.txt
+++ /dev/null
@@ -1 +0,0 @@
-a bright neon pink hurdle stands out against the backdrop of a golden setting sun, casting long shadows on the sand below. perched upon the hurdle, a vibrant orange crab clings tightly, its pincers silhouetted against the dimming sky. in the distance, waves can be seen gently crashing onto the shore, reflecting the rich hues of the sunset.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/143.txt b/code/evaluations/dpg/prompts/143.txt
deleted file mode 100644
index f3fe84f359bb646d73d3786a080923eb0da8d1c9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/143.txt
+++ /dev/null
@@ -1 +0,0 @@
-A compact blue speaker with a sleek design sits atop the edge of a vibrant yellow bathroom sink. The sink is situated against a pristine white tiled wall, contrasting sharply with its vivid color. The texture of the speaker appears smooth and modern, clearly distinguishable from the glossy finish of the ceramic sink basin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/144.txt b/code/evaluations/dpg/prompts/144.txt
deleted file mode 100644
index 4e7828dca1f734b3e02fafe5e3c63f742dde9cb5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/144.txt
+++ /dev/null
@@ -1 +0,0 @@
-During a tranquil evening, a grey seal with inquisitive eyes explores a vibrantly illustrated book left on the coarse sands of a deserted beach. The book's pages flutter in the gentle sea breeze, revealing bursts of purples, greens, and reds. Nearby, scattered seashells and washed-up seaweed provide a natural backdrop to this unusual scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/145.txt b/code/evaluations/dpg/prompts/145.txt
deleted file mode 100644
index 9d4c3ae600bf264382277f6fe4587d151a5d2d5a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/145.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three brown chickens with glossy feathers are gathered around a large, metallic silver hammer lying on the ground. The hammer's handle is engraved with intricate designs, and it reflects the sunlight, drawing the birds' attention. The chickens appear to be pecking and bobbing their heads curiously, as if they are performing a dance in a circle around the tool. Nearby, blades of green grass can be seen poking through the soil, adding contrast to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/146.txt b/code/evaluations/dpg/prompts/146.txt
deleted file mode 100644
index a4b206605b6f82f92b5326e6be3d7db826e8ae1b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/146.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal scene of a giant pink, rubber glove emerging from the golden sands of the beach during the orange hues of sunset. The enormous glove, with its fingers outstretched, gently grips a tiny, sunlit yellow scallop shell. The tranquil ocean in the background ripples gently beneath a sky painted with the colors of dusk.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/147.txt b/code/evaluations/dpg/prompts/147.txt
deleted file mode 100644
index 2a60088ad56337a22c77823a51f82b4dc88ff6f2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/147.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the midst of a bustling cityscape, during the golden hour of sunset, stands an enormous trombone that stretches upwards like a unique city monument. Its brass surface is painted with bold sections of red, green, and yellow, mimicking the familiar sequence of a traffic signal. Around its base, people and vehicles move about, creating a dynamic contrast between the stillness of the instrument and the motion of the city life.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/148.txt b/code/evaluations/dpg/prompts/148.txt
deleted file mode 100644
index c5315658d070f7a3fe1d37df624c16da0dee7191..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/148.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid yellow chair with a smooth, plastic texture sits adjacent to a sleek red treadmill in a compact, square-shaped room. The wall behind these pieces of equipment is painted a vibrant turquoise blue, which contrasts sharply with the equipment. The sun shines through a window, illuminating the space at midday, casting soft shadows on the light grey flooring.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/149.txt b/code/evaluations/dpg/prompts/149.txt
deleted file mode 100644
index f646fd0dbbec1e0d67221e837996559acbd9d9a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/149.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint Parisian bistro table, with an ornate metal base, sits on a cobbled street, its surface hosting a classic French kettle with an elegant, sweeping curvilinear profile and a glossy finish that catches the sunlight. Next to it lies a soft, felt French beret, in a deep shade of navy blue, adding a touch of artistic flair to the setting. The backdrop is a bustling Paris afternoon, with the silhouette of the Eiffel Tower looming in the distance, framed by the vibrant green leaves of trees lining the avenue.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/15.txt b/code/evaluations/dpg/prompts/15.txt
deleted file mode 100644
index eb2000cbe5fdd9c2a8b3fc8371439680dd57e267..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/15.txt
+++ /dev/null
@@ -1 +0,0 @@
-An ornate silver cosmetics mirror gracefully positions itself upon a pristine white marble vanity top. Surrounding the mirror are various high-end makeup products and delicate perfume bottles, each catching the room's natural light in their uniquely colored glass. The vanity itself, sleek in design with clean lines, is nestled in a space that feels both modern and timeless.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/150.txt b/code/evaluations/dpg/prompts/150.txt
deleted file mode 100644
index 9b0e445d96fac0e0eae048d1509d0fc2b4e177a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/150.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit room during twilight, a sleek, white toothbrush with angular bristles rests against the curvature of a modern, black computer monitor. The soft glow of the screen illuminates the bristles, casting long shadows on the desk. Nearby, the monitor's base reflects a faint shimmer, hinting at the gradual transition from day to night outside the window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/151.txt b/code/evaluations/dpg/prompts/151.txt
deleted file mode 100644
index fe3ba1978ccdfff8398c6c9efc8bb3de16510d6b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/151.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit room, a sleek, black projector casts a bright image onto a large white screen for an evening presentation. Beside the bed, a small nightstand made of polished dark wood carries a solitary leather wallet, lying undisturbed amidst the quietude of the space. The wallet's smooth surface reflects the faint glow emanating from the projector, subtly highlighting its details and the meticulous stitching along its edges.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/152.txt b/code/evaluations/dpg/prompts/152.txt
deleted file mode 100644
index 76f9f6577ec575167b5b88626870f2cbca583ffb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/152.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of bathroom essentials arranged neatly on a cool, gray marble countertop, consisting of a toothbrush holder, soap dispenser, and matching container, all with a metallic finish. To the side, a juicy, pink halved grapefruit rests on a delicate ceramic plate adorned with a subtle floral pattern. The toiletry set is thoughtfully placed to create an inviting and organized display next to the grapefruit.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/153.txt b/code/evaluations/dpg/prompts/153.txt
deleted file mode 100644
index 7eeefb92430eb17eb2f286ac5da2abb1074b7b64..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/153.txt
+++ /dev/null
@@ -1 +0,0 @@
-A transparent glass flask stands upright on a smooth, dark surface, filled with bright green beans that sharply contrast against the stunning backdrop depicting a starry night sky. The intricately painted celestial scene features deep blues and purples, with dots of white representing distant stars. The curvature of the flask magnifies the beans and some of the stars, creating an enchanting visual effect.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/154.txt b/code/evaluations/dpg/prompts/154.txt
deleted file mode 100644
index 17d561da20d7259aeb2a508c19cc06d54cbff3f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/154.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bright white air conditioner, its sleek rectangular form protruding slightly, is mounted high on a beige wall above eye level. Directly below, on the tiled kitchen floor, stands a vintage round gas stove, painted in a vibrant shade of red and featuring classic white knobs. The contrast between the modernity of the air conditioner and the rustic charm of the gas stove creates a distinctive look in the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/155.txt b/code/evaluations/dpg/prompts/155.txt
deleted file mode 100644
index ca16eed116b4dbb1aead8ef85e1ec1a9021496f2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/155.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant hot pink cosmetic bag with a textured quilted pattern sits on the gray tile floor between two glossy, white ceramic urinals. The bag is partially unzipped, revealing an array of makeup brushes and beauty products peeking out. To the side, the chrome flush pipes of the urinals glint under the bright bathroom lighting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/156.txt b/code/evaluations/dpg/prompts/156.txt
deleted file mode 100644
index 7ecab2d8e3b99df6b6cf78752776bdbb97eac63c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/156.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit room during the nighttime, a red, circular router casts a soft blinking light, indicating activity. Beside it, a paintbrush with bristles stained in hues of blue and green lies abandoned on a wooden desk. The surface of the desk is slightly cluttered, with various papers scattered around the still equipment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/157.txt b/code/evaluations/dpg/prompts/157.txt
deleted file mode 100644
index e1b329101d44b1ae062b23a1c63f4dfe90c4593f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/157.txt
+++ /dev/null
@@ -1 +0,0 @@
-A fluffy white pillow rests against the cool glass of a large window, accompanied by a pair of sleek black binoculars positioned on the ledge. The windowsill, bathed in the early morning light, also houses a small potted plant with vibrant green leaves, offering a contrast to the neutral tones of the room. Outside the window, the faint pre-dawn hues hint at the promise of a new day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/158.txt b/code/evaluations/dpg/prompts/158.txt
deleted file mode 100644
index 6d2c48c8127a13223beadd4a4627282e9813baca..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/158.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the early morning light, a vibrant mango-colored hot-air balloon, with its size dwarfing a majestic brass trumpet, begins its peaceful ascent. The balloon's large, bulbous shape stands out sharply against the pale blues and soft pinks of the dawning sky. Its woven basket, crafted from sturdy pale wood, carries passengers who peer out in awe over the landscape below. The fabric of the balloon is smooth and taut, capturing the warming rays of the sun as it climbs higher into the expansive atmosphere.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/16.txt b/code/evaluations/dpg/prompts/16.txt
deleted file mode 100644
index edda026e56d8f47e6b3e572936100cc1936cdf85..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A hefty, red-painted chainsaw rests prominently on the surface of a sturdy, solid oak table. The metal components of the chainsaw catch the soft glow of the early morning sunlight, causing a shimmering effect. The wood's rich, deep grain stands in contrast to the boldness of the chainsaw, and there are wood shavings scattered nearby, hinting at recent activity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/160.txt b/code/evaluations/dpg/prompts/160.txt
deleted file mode 100644
index 62b26d3a328e12e1b3f9828af6544364b0b90376..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/160.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the sky transitions into hues of orange and purple during twilight, a sleek silver sailboat cuts through the calm waters. On the deck of the boat, a small makeshift kitchen setup can be seen, where someone is carefully preparing long, string-like noodles. The gleaming surface of the boat reflects the fading sunlight, and the gentle ripples on the water create a tranquil scene. Nearby, the silhouette of the coastline is just barely visible against the evening sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/161.txt b/code/evaluations/dpg/prompts/161.txt
deleted file mode 100644
index d4733ed987a7ee57bb958c4f976270b58580235d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/161.txt
+++ /dev/null
@@ -1 +0,0 @@
-Within the confines of a modern bathroom bathed in the subtle light of early morning, a sleek chrome showerhead glistens, mounted on a wall of finely veined marble tiles. Aside from the minimalist fixtures, a luxurious leather satchel with a hint of luster from its high-quality material casually occupies space on the smooth, cool surface of a marble countertop beside a pristine white sink. In the background, fluffy white towels are neatly stacked on a wooden shelf, providing a soft contrast to the room's hard surfaces.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/162.txt b/code/evaluations/dpg/prompts/162.txt
deleted file mode 100644
index ca744ff77c0bc06000e22ee04c2ad2389a1493e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/162.txt
+++ /dev/null
@@ -1 +0,0 @@
-A playful monkey with a chestnut coat and bright eyes is clumsily handling a crimson red heart-shaped tea pot. The monkey sits in a verdant jungle environment, surrounded by an array of glossy green leaves and suspended vines. The tea pot, with its glossy ceramic finish, reflects the dappled sunlight that filters through the dense canopy overhead.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/163.txt b/code/evaluations/dpg/prompts/163.txt
deleted file mode 100644
index 14a52c3e5635565a2c8339f446e6cd8d1ca983cd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/163.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two vibrant red jugs are carefully positioned below a trio of open black umbrellas, which stand stark against the backdrop of a grey, stormy sky. The jugs rest on the wet, glistening concrete, while the umbrellas, with their smooth, nylon fabric catching the breeze, provide a sharp contrast in both color and texture. Each umbrella casts a protective shadow over the jugs, seemingly safeguarding them from the impending rain.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/164.txt b/code/evaluations/dpg/prompts/164.txt
deleted file mode 100644
index 31c88452f629c9f9549fb22a8de183582db5b373..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/164.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an open outdoor setting, a decorative coffee table with elaborate wood carvings and curved legs is positioned under the expansive blue sky of a clear afternoon. On the surface of the table, an out-of-place toothbrush with white and blue bristles sits alone. The table stands on a patch of vibrant green grass, and no other items or furniture are immediately visible in the vicinity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/165.txt b/code/evaluations/dpg/prompts/165.txt
deleted file mode 100644
index 615d2b70fa04496daf91ae897993ec65247ac4e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/165.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a modern kitchen, a square, chrome toaster with a sleek finish sits prominently on the marble countertop, its size dwarfing the nearby red vintage rotary telephone, which is placed quaintly on a wooden dining table. The telephone's vibrant red hue contrasts with the neutral tones of the kitchen, and its cord coils gracefully beside it. The polished surfaces of both the toaster and the telephone catch the ambient light, adding a subtle shine to their respective textures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/166.txt b/code/evaluations/dpg/prompts/166.txt
deleted file mode 100644
index 0bb24d1646ab92820611450061a87f181acad9e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/166.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern office space featuring a sleek, transparent glass desk upon which five identical flat, rectangular smartphones are arranged in a precise, evenly spaced line. Each phone reflects the overhead lighting, emphasizing their dark, glossy screens. To the side of this technological display, a single roll of white toilet paper stands out, its soft texture a stark contrast to the smooth glass surface, poised precariously at the desk's edge as if forgotten in haste.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/167.txt b/code/evaluations/dpg/prompts/167.txt
deleted file mode 100644
index 57c5837adef3f056e4c29e18bc00afd8272d53b1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/167.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three sleek remotes are aligned perfectly next to a simple black picture frame, which encloses a monochrome photograph. These objects rest on the glossy surface of a rich mahogany coffee table. Surrounding them, the soft glow of a nearby lamp illuminates the living room's plush, earth-toned furniture, casting subtle shadows that contribute to a peaceful evening ambiance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/168.txt b/code/evaluations/dpg/prompts/168.txt
deleted file mode 100644
index 0068942c386bf76bb0185a271d06e06ef1ac21c9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/168.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene unfolds as two pairs of spectacles rest comically on the bridge of a horse's nose, glinting slightly against the fading light of a vibrant sunset. The backdrop is a quintessential rural farm, complete with wooden fences and distant rolling hills painting the horizon in hues of orange and purple. The glasses, one with round, golden frames and the other with square, jet-black rims, add a touch of eccentricity to the tranquil pastoral setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/169.txt b/code/evaluations/dpg/prompts/169.txt
deleted file mode 100644
index c78e76831ee01c43389c2cc67a8572c16db81e36..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/169.txt
+++ /dev/null
@@ -1 +0,0 @@
-A white radiator, attached to a pale yellow wall with a faint floral wallpaper border, radiates warmth and gently increases the temperature of the room. Near the radiator, a black analog scale sits idle on the bathroom's tiled floor, marked with white and gray hexagonal patterns. The scale stands alone, surrounded by the room's muted colors and simple decor, its needle motionless, poised for the next reading.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/17.txt b/code/evaluations/dpg/prompts/17.txt
deleted file mode 100644
index 94f00df2c4e9786b442796af6f7d52c346dc2039..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/17.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bright red lighter rests atop a polished wooden desk, its surface reflecting the soft overhead lighting. The desk itself boasts a rich and deep mahogany color, free from clutter except for the solitary lighter. Off to the side of the desk stands a green potted plant, adding a touch of vibrancy to the otherwise methodical arrangement.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/170.txt b/code/evaluations/dpg/prompts/170.txt
deleted file mode 100644
index e9fa6029917cdf70ca1b080acb603345daa7cd54..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/170.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst the subtle lighting of a storefront display as dusk sets in, three striking neon green high heels captivate the attention of passersby. Each shoe features a sleek stiletto heel and is carefully arranged in a coordinated fashion, creating an eye-catching contrast against the shop's understated backdrop. Positioned off to one side, a mop with a silver, curved metal handle leans casually against the window, its presence adding an unexpected twist to the display's overall composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/171.txt b/code/evaluations/dpg/prompts/171.txt
deleted file mode 100644
index c6730ec49162e7a9006d3d0d6057b68060c348eb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/171.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant yellow rabbit, its fur almost glowing with cheerfulness, bounds energetically across a sprawling meadow dotted with a constellation of wildflowers. The creature's sizeable, red-framed glasses slip comically to the tip of its nose with each jubilant leap. As the first rays of sunlight cascade over the horizon, they illuminate the dew-draped blades of grass, casting the rabbit's exuberant shadow against the fresh green canvas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/172.txt b/code/evaluations/dpg/prompts/172.txt
deleted file mode 100644
index e5ed280d0630f89dfbb5f6f5cc65c1851fa02f20..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/172.txt
+++ /dev/null
@@ -1 +0,0 @@
-A well-loved silver pot emits a gentle steam on a modern gas stove with blue flames licking at its base. In the foreground, a hand wields a vivid green marker that dances across the open pages of a sketchbook, which is sprawled casually on a nearby wooden kitchen table. The sketchbook contains whimsical drawings, random doodles intertwined with occasional splashes of color, capturing the spontaneous bursts of creativity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/173.txt b/code/evaluations/dpg/prompts/173.txt
deleted file mode 100644
index a8e14261c57d2fd661339ab86ae95c9e99f31d12..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/173.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the dim light of twilight, a room is visible with a backpack resting against the wall; the backpack is a deep blue with hints of grey and sports several small pockets along its exterior. Next to it, a neon green toothbrush stands upright, propped against a clear drinking glass on a wooden nightstand. Outside the window behind them, the sky transitions to a deep navy hue, dotted with twinkling stars that create a tranquil backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/174.txt b/code/evaluations/dpg/prompts/174.txt
deleted file mode 100644
index 48ad9401b17ccec55af500da66bb4841ddcd5c01..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/174.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two intricately designed bracelets with patterns of gold and silver hues rest at the base of a tall playground slide, which towers above them with its vibrant red and yellow plastic sides. The bracelets catch the fading light of a radiant sunset that paints the sky in brilliant shades of orange and pink. In the near distance, the silhouette of the playground swings can be briefly made out against the colorful backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/175.txt b/code/evaluations/dpg/prompts/175.txt
deleted file mode 100644
index 1060c577afcc77b14b4df8764a231e483559b507..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/175.txt
+++ /dev/null
@@ -1 +0,0 @@
-Within the discolored interior of a derelict building, an old claw-foot bathtub sits against a crumbling wall, its once-white enamel stained with time. Inside the tub rests a pair of vibrant, high-top sneakers—reds, blues, and yellows clashing with the drab surroundings. The sneakers, juxtaposed with the peeled paint and cracked tiles, suggest an untold story of hasty departure. Despite being inanimate, they seem to take on a life of their own as shadows elongate with the approach of midnight, casting an uncanny aura over the scene. Nearby, a window with broken panes allows the moonlight to filter in, further illuminating the sneakers' abandonment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/176.txt b/code/evaluations/dpg/prompts/176.txt
deleted file mode 100644
index 2829d8cf00c7a1a7e2ce1a8f69dec57fc1607f34..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/176.txt
+++ /dev/null
@@ -1 +0,0 @@
-Within an expansive auditorium, a single megaphone with a metallic finish and a bold black stripe lies abandoned on a vast, textured orange carpet. Rows of empty seats surround the area, hinting at the silence of an event now passed. The natural afternoon light filters in through large windows, casting long, soft shadows across the carpet and the solitary object at rest.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/177.txt b/code/evaluations/dpg/prompts/177.txt
deleted file mode 100644
index 4ddb1edd710f14fd067dc5a7810fe7495b1eba6c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/177.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small, red candle with a flickering flame is placed on the bathroom countertop, emitting a soft glow beside the large, square, white porcelain toilet. The candle's subtle shimmer reflects off the polished chrome fixtures of the bathroom, creating a warm ambiance. The size contrast between the tall, slender candle and the robust toilet form a unique visual pairing in the compact space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/178.txt b/code/evaluations/dpg/prompts/178.txt
deleted file mode 100644
index 2d8a5d33b77e4d9b4cafb254993c550f250bab94..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/178.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dining room setting showcasing an unusually large red bell pepper with a shiny, slightly wrinkled texture, prominently placed beside a diminutive golden medal with a red ribbon on a polished wooden dining table. The pepper's vibrant hue contrasts with the medal's gleaming surface. The scene is composed in natural light, highlighting the intricate details of the pepper's surface and the reflective quality of the medal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/179.txt b/code/evaluations/dpg/prompts/179.txt
deleted file mode 100644
index 7391b5aef85deaa4fec89a60684fb421ce534896..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/179.txt
+++ /dev/null
@@ -1 +0,0 @@
-An animated scene depicts a bright orange traffic cone in a playful balancing act with a small, pinkish-red hat on an imaginary, straight line. The cone's texture appears rough and rigid, in stark contrast to the soft, fabric texture of the diminutive hat. Both items are similarly hued but differ vastly in shape and size, creating a whimsical and absurd visual.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/18.txt b/code/evaluations/dpg/prompts/18.txt
deleted file mode 100644
index bcc581086ce04a9bfd6bf866835271a9c2095b2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/18.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the illumination of the evening, a trio of square-shaped white induction cookers sit neatly arranged on a large central cooking island with a smooth, marbled countertop. Around them are scattered various cooking utensils, a cutting board hosting a half-chopped onion, and a crystal-clear glass bowl filled with ripe cherry tomatoes. The overhead lights cast a soft glow on the metallic surface of the kitchen vent hood above the island, reflecting the cookers below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/180.txt b/code/evaluations/dpg/prompts/180.txt
deleted file mode 100644
index bd43ba36c82b864de2af61181db46424eebf7345..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/180.txt
+++ /dev/null
@@ -1 +0,0 @@
-A slice of vibrant red watermelon, with its green rind visible, serves as a plate for a single, orange-hued cooked shrimp. The curves of the shrimp follow the crescent shape of the melon, contrasting in both color and texture. Beside the watermelon, there are droplets of water, suggesting the fruit's juicy freshness.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/181.txt b/code/evaluations/dpg/prompts/181.txt
deleted file mode 100644
index 228afd69979d51ea4e2425e01f3e0f7ad7192419..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/181.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque winter morning is captured within a cozy kitchen, where a sturdy blue ladder stands erect near a window veiled with delicate patterns of frost. The morning light reveals the contrast between the ladder and the set of sleek, ebony chopsticks lying in repose on the surface of the highly polished wooden kitchen table. The table also bears the serene presence of a white porcelain teapot, poised as if waiting to pour warmth into the chilly day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/182.txt b/code/evaluations/dpg/prompts/182.txt
deleted file mode 100644
index fcb9e2967615671653a6990b3dadbb63f8c69d51..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/182.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary camel, with its characteristic humps and creamy beige coat, slowly ambles beside a striking, plush, round red couch, which seems oddly out of place in the vast desert landscape. The harsh midday sun casts a sharp shadow from the camel, dwarfing the small couch in comparison. Around the odd couple, the endless sea of sand contrasts with the vibrant red upholstery, as no other objects or signs of life interrupt the peculiar desert scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/183.txt b/code/evaluations/dpg/prompts/183.txt
deleted file mode 100644
index c2d016105057339900e16ce77c0b20b93db4857b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/183.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the fading light of dusk, three circular targets aglow with bright neon lights hang suspended in the tranquil evening air. Below, a well-worn pair of skating shoes, marked with scuffs and bearing the tale of countless rides, sits abandoned on the weathered wooden slats of an old park bench. Around the bench, the soft glow of nearby street lamps casts a subtle light, creating a gentle contrast with the vivid colors of the floating targets.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/184.txt b/code/evaluations/dpg/prompts/184.txt
deleted file mode 100644
index 4551c46787f8dbb6503396558b2c904d8d2dfc6d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/184.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious study room featuring a large rectangular oak desk dominated by a scarlet barbell used as an unconventional paperweight. The desk surface is scattered with papers, books, and a sleek, silver laptop. Flanking the desk are tall bookshelves filled with an array of books, and the sunlight filters through a large window, illuminating the space with natural light.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/185.txt b/code/evaluations/dpg/prompts/185.txt
deleted file mode 100644
index a582f4c4dfd2fc944f171600098acdc50d020e3c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/185.txt
+++ /dev/null
@@ -1 +0,0 @@
-Under a vast expanse of clear blue sky, a dilapidated piece of machinery with peeling orange paint and signs of rust is carefully maneuvering a pair of red bricks. The vehicle, possibly an aging forklift or crane, creaks as it transports the heavy materials across a barren construction site. Each brick has a rough texture, accentuated by the bright sunlight casting sharp shadows on the ground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/186.txt b/code/evaluations/dpg/prompts/186.txt
deleted file mode 100644
index 94f7be4fed272fdb5341c1810989f90d09eb18b4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/186.txt
+++ /dev/null
@@ -1 +0,0 @@
-During the warm glow of a dwindling summer evening, a particular fussy feline with distinctive calico markings is perched atop a garden table. The cat, seemingly indifferent to its surroundings, sports a pair of large, reflective aviator sunglasses that sit comically upon its small, furry face. Around the cat, there are scattered pots of blooming flowers, contributing to the charm of the scene, and in the background, hints of orange and pink skies are visible through the foliage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/187.txt b/code/evaluations/dpg/prompts/187.txt
deleted file mode 100644
index f14ec2b4ad42e3d6c728b2cdaf8246a46fa321d1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/187.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a smooth, polished wooden desk, there are five small square-shaped power converters with a metallic finish neatly placed beside each other. Behind them, two round pink erasers lie in contrast to the wood grain, slightly showing signs of use with pencil shavings nearby. The desktop itself is bathed in the warm glow of the room's lighting, highlighting the gentle textures of the wood and the matte surfaces of the converters and erasers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/188.txt b/code/evaluations/dpg/prompts/188.txt
deleted file mode 100644
index 438047dc31923704c10ea948c0029469a7c4561a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/188.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the midst of a sprawling savanna, a regal lion with a golden mane moves gracefully near a white washing machine and matching drying machine, which appear incongruous against the rolling dunes. The sun blazes down, casting sharp shadows that contour the sand around the appliances and the feline figure. Around this unusual scene, tufts of dry grass sway slightly in the hot breeze, accentuating the isolation of the domestic objects in this wild, open landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/189.txt b/code/evaluations/dpg/prompts/189.txt
deleted file mode 100644
index e1e6131529656535b41a6793428b03a8924692ef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/189.txt
+++ /dev/null
@@ -1 +0,0 @@
-Under the warm glow of an overhead light, a shiny chrome showerhead is poised above a pristine white bathtub with clawed feet. The porcelain surface of the tub is speckled with droplets of water, ready to embrace the evening's tranquility. To the side of the bathtub, an assortment of lavender-scented bath products and fluffy towels are neatly arranged, hinting at the luxurious bath time ritual that awaits.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/19.txt b/code/evaluations/dpg/prompts/19.txt
deleted file mode 100644
index 1bc95355879d740823ff1d54c27d4a9a832a2d3d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/19.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant brass saxophone rests upright on a stand in the center of a dimly lit stage, its polished surface catching the limited light and casting a warm glow. The slight shimmer of the instrument stands in stark contrast to the dark, empty chairs surrounding it, evoking a sense of anticipation. Its curves and keys are highlighted by a single beam of spotlight, waiting to come to life in the quiet twilight of the auditorium.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/190.txt b/code/evaluations/dpg/prompts/190.txt
deleted file mode 100644
index 253de912e533f1d242151fc4f1a74ccfdea7af94..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/190.txt
+++ /dev/null
@@ -1 +0,0 @@
-A stainless steel fork with tines pointed upward lies atop a navy blue pencil case with white zippers, bathed in the warm glow of early morning sunlight. The pencil case, slightly ajar, reveals an assortment of colored pencils and a pair of scissors peeking out. The items are resting on a wooden desk, which has the grain pattern gently highlighted by the sun's rays.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/191.txt b/code/evaluations/dpg/prompts/191.txt
deleted file mode 100644
index 9814c868093703c87c18b232081700aed4a52a2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/191.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two worn pairs of leather boots lie haphazardly on a dusty barn floor, their laces tangled and their muddy soles facing outward. They are adjacent to a tall, weathered wooden barrel that stands upright, bearing the marks and scratches of frequent use. The golden light from the setting sun filters through the gaps in the barn's wooden slats, casting elongated shadows that stretch towards the old, creaking doorway.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/192.txt b/code/evaluations/dpg/prompts/192.txt
deleted file mode 100644
index 953e74067667dc99646b4253dda0fda0dcc8c1df..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/192.txt
+++ /dev/null
@@ -1 +0,0 @@
-A curious vessel, with an architecture reminiscent of a giant green broccoli, basks in the bright sunlight, casting a shimmer across its intricate, leaf-like structures. It floats serenely in the midst of a vast ocean, the water around it sparkling as if sprinkled with diamonds due to the sun's reflection. The horizon stretches endlessly, with the clear blue sky meeting the deep azure of the sea at a distant line.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/193.txt b/code/evaluations/dpg/prompts/193.txt
deleted file mode 100644
index f2c5cbb3730010a140cd4e7f3675c118246c65e1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/193.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aged wooden nightstand with an elegant finish stands beside a tall bed, supporting an oversized violin that stretches beyond its edges. The gentle evening light cascades through an adjacent window, casting a warm amber glow on the instrument's polished surface. Intricate details on the violin's body glimmer subtly, capturing the essence of its classical beauty.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/194.txt b/code/evaluations/dpg/prompts/194.txt
deleted file mode 100644
index 65e89409731e8f322cb59823a00d3d4debb0ce56..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/194.txt
+++ /dev/null
@@ -1 +0,0 @@
-At a playground, there are two colorful plushie toys, fashioned to resemble cheerful little characters, securely riding on the backs of small mechanical sheep. These sheep are on a circular track, endlessly circling beneath the warm glow of an orange sunset that blankets the sky. The surrounding play area is dotted with other equipment, but these plushie toys, with their exaggerated smiles and bright button eyes, stand out against the fading daylight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/195.txt b/code/evaluations/dpg/prompts/195.txt
deleted file mode 100644
index d870bacaa874d8ab8b8efda0a8c7b1544b5b612e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/195.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the sun begins its descent in the late afternoon sky, a pair of brown leather boots can be seen tapping against a wooden pier, shedding the remnants of the ocean's saltwater. Nearby, a brightly colored surfboard, decorated with swirls of blue and yellow, stands propped up against a palm tree, basking in the warmth of the sun to dry off. Across the sandy beach, the waves gently lap at the shore, a rhythmic soundtrack to this tranquil scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/196.txt b/code/evaluations/dpg/prompts/196.txt
deleted file mode 100644
index 4c5b51b2b98fd6b8cd3781be70551c4ea6caeed9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/196.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vast, metallic extractor, its surface reflecting the pale hues of dawn, towers beside a wooden cello that sits elegantly aglow in the morning light. Both objects are bathed in a gentle, warm ambience as the sun rises, casting long, soft shadows across the floor. The extractor's robust shape and industrial design create a striking visual juxtaposition with the smooth, curved silhouette of the cello.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/197.txt b/code/evaluations/dpg/prompts/197.txt
deleted file mode 100644
index 0ae1a17ba91394824fa9a4c1e44458810abf4c06..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/197.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a sunlit kitchen, a vibrant array of green vegetables flourish in a wall-mounted planter positioned directly above a white power outlet. The lush leaves present a stark contrast to the crisp, clean paint of the wall. Sunlight streams in from a nearby window, casting a natural glow that enhances the deep greens of the spinach, kale, and herbs thriving within the urban indoor garden setup.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/198.txt b/code/evaluations/dpg/prompts/198.txt
deleted file mode 100644
index 69c95e13cdf96111aaa34d8d6f02213ba6d7d0d8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/198.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst the golden hour's warm glow, a triumvirate of sturdy, vibrant orange carrots lies clustered together, their smooth surface catching the light, on an aged wooden picnic table with a history etched into its grain. Adjacent to these garden-fresh vegetables, two pristine wine glasses with a deep ruby-red brilliance stand side by side, seemingly in anticipation of a celebratory toast. The rustic table is positioned outdoors, where the sun's descending rays cast an amber tapestry over the scene, enhancing the natural beauty and rich colors of the food and drink assembled for an evening feast.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/199.txt b/code/evaluations/dpg/prompts/199.txt
deleted file mode 100644
index ac2387619c059d25b784566d4d2b5e320d19928d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/199.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aged and weathered workbench is laden with tools and materials, its surface coated with a fine layer of sawdust. A rolled-out tape measure and a wooden ruler lie parallel across the bench, both extending their lengths to aid in an unseen project. Beside these measuring tools, a ceramic ashtray cradles a lit cigar and a smoldering cigarette, their trails of smoke winding upwards. The ashtray is situated to the left of the measuring tools, and behind it, various unfinished woodworks can be glimpsed, suggesting the area is frequented by a craftsman.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/2.txt b/code/evaluations/dpg/prompts/2.txt
deleted file mode 100644
index 3ce4b9a1b62e40ac6962ccd257f07e6b5b58e911..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/2.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant and modern bathroom featuring a sleek, white rectangular bathtub filled with a froth of soap bubbles. The bathtub rests upon a floor of gray, matte tiles that complement the room's minimalistic design. Against the room's far wall stands a large window that frames the warm, amber hues of a sunset, casting a tranquil glow throughout the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/20.txt b/code/evaluations/dpg/prompts/20.txt
deleted file mode 100644
index 95c04d9225aeff67a24a784d7e1bd4f0f56166f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/20.txt
+++ /dev/null
@@ -1 +0,0 @@
-An ornate royal carriage, painted in deep red with golden trim, stands prominently against a landscape blanketed in pristine snow. Behind it, the silhouettes of tall pine trees dusted with white can be discerned through the soft haze of a winter's day. In front of the carriage, the snow-covered ground glistens under the subtle light of the afternoon sun.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/200.txt b/code/evaluations/dpg/prompts/200.txt
deleted file mode 100644
index 2781b8169edec36b94790f6d042ef629eca37e0e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/200.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gleaming stainless steel showerhead mounted on a beige tiled wall, with beads of water steadily dripping from its nozzle onto the glossy white porcelain urinal below. The urinal is flanked by grey dividers, ensuring privacy, and the floor beneath is speckled with small, wet splashes reflecting the dim early morning light filtering through a frosted window just out of view. The metallic fixtures of the showerhead are complemented by the chrome handles and plumbing visible under the urinal, creating a cohesive and functional restroom vignette.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/201.txt b/code/evaluations/dpg/prompts/201.txt
deleted file mode 100644
index 717e1f3aeabb13fe718830f4aa4b0f74b4e54c98..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/201.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the calm and pristine setting of a forest blanketed in snow, three colorful skiboards are positioned vertically against a tree trunk, their pointed ends etched with vibrant patterns and designs standing out against the white backdrop. Beside them, two wooden hockey sticks lie, their shafts crossing over one another in a silent contest of height, both adorned with faded tape near the blade. The smooth, icy surface of a nearby frozen pond can be glimpsed through the trees, hinting at a recent winter sport rendezvous.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/202.txt b/code/evaluations/dpg/prompts/202.txt
deleted file mode 100644
index e954e43ddbdc07b4998208189fc00f39ebcce9e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/202.txt
+++ /dev/null
@@ -1 +0,0 @@
-An industrial scene featuring a large, rusty orange excavator with a weathered appearance and a mechanical arm extended. It is in the process of lifting heavy, metallic cubes with a patina of age, loading them into the bed of a weathered dark green pickup truck. The backdrop consists of a dilapidated factory with fading paint and broken windows, evidence of a once-thriving industrial era.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/203.txt b/code/evaluations/dpg/prompts/203.txt
deleted file mode 100644
index e5b13c6c3f18e8db3440e50897615a5386ae8d1c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/203.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a bathroom with white tiled walls, a pastel pink toothbrush is propped up next to a towering yellow mop with a fluffy fiber head. Despite their size difference, they both lean casually against the same wall, with the toothbrush appearing diminutive when compared to the mop. The floor is speckled with small water droplets, hinting that the mop may have been recently used.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/204.txt b/code/evaluations/dpg/prompts/204.txt
deleted file mode 100644
index 06b12290c5f7781e568f4411e8df6be5b041dfb5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/204.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the quiet glow of the afternoon sun, a bright yellow helmet and a dusty green backpack are spotted perched on the roof of a silver SUV. The helmet, with minor scuff marks and a dark visor, sits slightly askew, as if hastily placed there. The backpack, partially unzipped with a water bottle peeking out, leans against the vehicle's black roof rack, hinting at a recent adventure or a pause in a journey.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/205.txt b/code/evaluations/dpg/prompts/205.txt
deleted file mode 100644
index 5e2ccb907ccdad2a6c4dc6549b1bb885123191e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/205.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a tranquil forest clearing by the water's edge, a large orange tent with its entrance zipped shut is pitched on a grassy knoll overlooking a serene lake. A few steps away from the tent, on the forest floor scattered with autumn leaves, a circular gold bracelet catches the sunlight, creating a subtle sparkle amid the natural surroundings. The nearby trees cast gentle shadows over the area, enhancing the peaceful ambiance of the outdoor scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/206.txt b/code/evaluations/dpg/prompts/206.txt
deleted file mode 100644
index 52f00e1fb8b96537dbc948f88be746144929b250..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/206.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit room, a stark black blackboard and a pristine white whiteboard are mounted next to each other on a pale wall, creating a striking contrast. The whiteboard is clean, while the blackboard has faint remnants of chalk dust. Directly below them, on a brown wooden table, rests a single pink folder, its bright color standing out in the quiet shadow of the evening.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/207.txt b/code/evaluations/dpg/prompts/207.txt
deleted file mode 100644
index 324ddc07cbcdfa2eeab987eae46c85f9bff6d712..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/207.txt
+++ /dev/null
@@ -1 +0,0 @@
-A contemporary bathroom features a white hanging shelf, securely mounted on a pale blue wall, showcasing an assortment of toiletries. The items include a glass container of cotton swabs, a small plant in a terracotta pot, and an array of bottles with chrome caps reflecting the soft overhead light. Below the shelf, a plush cotton towel, perfectly fluffed and of a gentle lavender hue, hangs elegantly over a polished chrome towel bar.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/208.txt b/code/evaluations/dpg/prompts/208.txt
deleted file mode 100644
index 934e9f9c219774ac376c9e3e75870bb1263f2115..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/208.txt
+++ /dev/null
@@ -1 +0,0 @@
-On the lush green field, five orange cones are neatly arranged in a line. Nearby, three brown leather American footballs are scattered, their white laces and dimpled texture visible against the vibrant grass. In the background, the white lines marking the playing field add to the sense of organization and the sport being played.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/209.txt b/code/evaluations/dpg/prompts/209.txt
deleted file mode 100644
index 37edcee8f8e256b4dbdb4a64667bc2f9d1fab488..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/209.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the soft glow of the waning daylight that filters through the window of an old-fashioned boutique, a tie with a classic diamond pattern rests elegantly on top of a pair of well-used skater sneakers. The sneakers exhibit a history of adventures in their scuffed edges and faded canvas. Set against a backdrop of antique furnishings and eclectic trinkets, the tie's smooth texture contrasts with the rough fabric of the shoes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/21.txt b/code/evaluations/dpg/prompts/21.txt
deleted file mode 100644
index 59ea0b1f64dba5afed2510ffabbb8eff5b651a49..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/21.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant, lustrous emerald green necktie is carelessly strewn across the slick, polished surface of a dark mahogany dining table. The fine silk texture of the tie contrasts with the wood's deep, rich grain. Beside the tie, a scattering of loose papers and a silver pen give an impression of a hasty departure, perhaps after a morning of work or a formal event.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/210.txt b/code/evaluations/dpg/prompts/210.txt
deleted file mode 100644
index 6bc642d03b712cf964ae2494db7d259e82ed5a2a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/210.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant array of footwear with ten pairs of high heels standing prominently, their height casting slender shadows on the vintage wooden panel backdrop that suggests they are in the midst of a boutique's display. These heels, in hues ranging from deep crimson to glossy black, distinctly tower over the organized collection of other shoes that occupy the lower shelves. The soft, diffused light filtering through the boutique's windows indicates it's late afternoon, which gently illuminates the shoes' textures and silhouettes against the retro wood paneling.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/211.txt b/code/evaluations/dpg/prompts/211.txt
deleted file mode 100644
index fc528d2ca3834120e74ba2c2ab497095fddcf657..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/211.txt
+++ /dev/null
@@ -1 +0,0 @@
-Four bright yellow slippers are neatly aligned on a beige carpet, their fuzzy texture suggesting warmth and comfort. Next to them, a pair of elegant burgundy bow ties with a silk finish lay gracefully, hinting at a formal event. The color contrast between the vivid slippers and the refined bow ties creates a unique and curious combination.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/212.txt b/code/evaluations/dpg/prompts/212.txt
deleted file mode 100644
index b74d191bd8b70f58fb91d6a359e9257560e11cf0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/212.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a spacious room, an ornate vintage clock with a large, circular face and roman numerals stands prominently against a pastel-colored wall, its intricate hands pointing to the time. Beside it, a small, oval-shaped mirror with an elegant antique frame hangs neatly, reflecting a portion of the room’s interior. The contrast in size between the commanding presence of the clock and the modest mirror creates a unique focal point in the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/213.txt b/code/evaluations/dpg/prompts/213.txt
deleted file mode 100644
index a7d24b810ad74ca6d0a3c04469db0964cae95246..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/213.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delectable chocolate cake, light and fluffy in texture, with a rich dark brown hue, sits atop an ornate wooden table that features intricate carvings on its edges. To the right of the cake, a pristine white plate cradles seven plump sausages that bear the marks of grilling, their skins a dark, crispy brown contrasted against the plate's stark whiteness. Behind this culinary display, the backdrop reveals a contemporary kitchen characterized by sleek stainless-steel appliances and a smooth marble countertop bathed in the warm glow of pendant lighting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/214.txt b/code/evaluations/dpg/prompts/214.txt
deleted file mode 100644
index 7195d116373c28332fcb00cb8cf3b84b67f7499d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/214.txt
+++ /dev/null
@@ -1 +0,0 @@
-Under the soft glow of a rising sun, a round jade-colored table supports six freshly steamed baozi, their white wrappers slightly translucent, emitting tender wisps of steam. Neatly accompanying them are four ice cream cones, each boasting a different, vivid hue, ranging from the deep purple of blackberry to the cheerful yellow of mango. The morning light accentuates the contrast between the warm fog lifting from the baozi and the frosty sheen on the scoops of ice cream.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/215.txt b/code/evaluations/dpg/prompts/215.txt
deleted file mode 100644
index 9e058ba71cc028fac7464ab78877c3ed1aa7a19e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/215.txt
+++ /dev/null
@@ -1 +0,0 @@
-A deep red rose with plush petals sits elegantly coiled atop an ivory, intricately patterned lace napkin. The napkin rests on a rustic wooden table that contributes to the charming garden setting. As the late evening sun casts a warm golden hue over the area, the shadows of surrounding foliage dance gently around the rose, enhancing the romantic ambiance. Nearby, the green leaves of the garden plants provide a fresh and verdant backdrop to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/216.txt b/code/evaluations/dpg/prompts/216.txt
deleted file mode 100644
index ff9aabfa17990a36ee1c9b68ef6ac53fc40149db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/216.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking dishwasher with a glossy, rainbow-colored exterior stands out in a neatly-arranged kitchen with white marble countertops. Inside the open dishwasher, five stainless steel pots are being methodically cleaned by the powerful water jets. Surrounding the dishwasher are orderly arranged kitchen utensils and a spice rack filled with an assortment of colorful spices in clear glass jars.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/217.txt b/code/evaluations/dpg/prompts/217.txt
deleted file mode 100644
index 99a03e803cc9cbe62cef0289dcb9187021ab1dca..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/217.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a rainy day, three umbrellas with bright and varied colors—yellow, red, and blue—are opened wide and positioned upright on a worn, wooden table. Their fabric canopies are dotted with fresh raindrops, capturing the soft, diffused light of a hazy morning. Beside these umbrellas lies a classic round watch with a leather strap and a polished face that reflects the muted light. The watch and umbrellas share the table's space, hinting at a paused moment in a day that has just begun.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/218.txt b/code/evaluations/dpg/prompts/218.txt
deleted file mode 100644
index 31dedcbd4ce819bf5c5c15c9985ddb27901eb278..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/218.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the sun sets, casting a warm glow over the playground, a striking bright orange baseball bat lies half-buried in the sandy ground near the curved metal slide. The slide, painted in bold primary colors, forms a perfect arc that glistens with the residual daylight. Sparse footprints around the area hint at earlier games and laughter, now quiet in the evening's calm.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/219.txt b/code/evaluations/dpg/prompts/219.txt
deleted file mode 100644
index 414639e5f16e84105466aa1dba1ac16050ce2e25..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/219.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant green calculator rests neatly beside a trio of pristine white board erasers, neatly organized on a spacious, uncluttered wooden desk surface. The desk's polished finish reflects the soft, ambient light of the room, highlighting the contrast between the calculator’s buttons and its body. To the right of the calculator and erasers, there is ample space for writing materials or additional office supplies, suggesting an environment conducive to productivity and order.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/22.txt b/code/evaluations/dpg/prompts/22.txt
deleted file mode 100644
index e22a3f7f424ab00b7ef1f16a939200beef96cede..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/22.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the midst of a vibrant garden, a cylindrical green cup stands alone on a stone path, its surface reflecting the bright afternoon sunlight. The cup, with a smooth finish, is surrounded by blossoming flowers and lush greenery. The shadows of nearby plants dance on the cup as gentle breezes sway their leaves.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/220.txt b/code/evaluations/dpg/prompts/220.txt
deleted file mode 100644
index c3625e2cb97eaa3832783272f44270d7b2a67b50..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/220.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three glossy billiards balls, each distinctly colored in solid hues of red, yellow, and blue, are captured in a dynamic roll across a vibrant green felt billiards table. In stark contrast, a pair of granite curling stones with colored handles rest motionless nearby, their polished surfaces reflecting the soft, ambient lighting of the room. The billiards balls, significantly smaller in size compared to the hefty curling stones, navigate the expanse of the table with ease and precision.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/221.txt b/code/evaluations/dpg/prompts/221.txt
deleted file mode 100644
index ec58d00e0c234b2901f4757772e3235a27fcf2ea..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/221.txt
+++ /dev/null
@@ -1 +0,0 @@
-An outsized dolphin with a sleek, gray body glides through the blue waters, while a small, fluffy chicken with speckled brown and white feathers stands on the nearby sandy shore, appearing diminutive in comparison. The dolphin's fins cut through the water, creating gentle ripples, while the chicken pecks at the ground, seemingly oblivious to the vast size difference. The stark contrast between the dolphin's smooth, aquatic grace and the chicken's terrestrial, feathered form is highlighted by their proximity to one another.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/222.txt b/code/evaluations/dpg/prompts/222.txt
deleted file mode 100644
index eb68c8a7a378cc80c7ce547df2ea473d153368be..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/222.txt
+++ /dev/null
@@ -1 +0,0 @@
-A well-worn traditional fire tong with a darkened, metal finish rests gently beside a contemporary stainless steel extractor on a rugged, aged wooden table. The table's surface reveals the texture of the grain and bears the marks of frequent use. Sunlight pours through a nearby window, casting a soft, warm glow that highlights the contrast between the old and the new kitchen tools.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/223.txt b/code/evaluations/dpg/prompts/223.txt
deleted file mode 100644
index 8468007fde5d067fe878c118c63bacd872908fbc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/223.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst the darkness of a quiet room, illuminated by the ethereal blue light of a holographic display that projects a visualization of cyberspace, sits a sleek cell phone and a modern router/modem on a polished wooden desk. The intricate patterns of the wood grain are faintly visible under the neon glow, which casts soft reflections on the devices' surfaces. The router/modem, with its blinking indicator lights, stands beside the phone, which shows a clock on its screen indicating the late hour.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/224.txt b/code/evaluations/dpg/prompts/224.txt
deleted file mode 100644
index 92b0ac8a3f28e2265131119b4c282eb2c741e04b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/224.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three exquisitely crafted violins, with their elegant F-shaped sound holes and smooth, glossy wooden surfaces, rest gently beside a grand piano. The piano's polished ebony finish reflects the soft, gentle curves of the violins that lie on a velvet-lined case. Behind them, the piano's open lid reveals its intricate strings and hammers, inviting a symphony of sounds to be played.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/225.txt b/code/evaluations/dpg/prompts/225.txt
deleted file mode 100644
index afa294d4ab41f93b6b9af29f2c3164fc5712870e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/225.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the middle of a cozy room with a vintage charm, a circular wooden dining table takes the stage, its surface adorned with a decorative vase and a few scattered books. The room's warmth is maintained by an old-fashioned radiator humming steadily in the corner, a testament to its long service. As dusk approaches, the waning sunlight softly permeates the space through a window with a delicate frost pattern, casting a gentle glow that enhances the room's rustic ambiance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/226.txt b/code/evaluations/dpg/prompts/226.txt
deleted file mode 100644
index 7706b219671fa98585113b085b8058086c42c3b0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/226.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a worn-out stretch of city pavement, a bent, brown cigar lies discarded, its rough texture contrasting against the dull gray concrete. Nearby, a rust-covered key with intricate grooves rests haphazardly, hinting at long-forgotten locks and doors. The pavement's surface is littered with small pebbles and debris, telling tales of the bustling urban life that treads over it each day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/227.txt b/code/evaluations/dpg/prompts/227.txt
deleted file mode 100644
index 1be0b6757e1eea8861fcab84463e151c6d8e9263..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/227.txt
+++ /dev/null
@@ -1 +0,0 @@
-On the soft, warm sand of the beach, a fluffy white rabbit with rounded ears is caught in a curious moment, gently placing its paw on the ribbed surface of a pink scallop shell. The scallop, slightly open, reveals its smooth interior contrasting with its coarse outer texture, while hues of pink and orange from the setting sun reflect off its surface. There's a tranquil ocean backdrop with the gentle ebbing of the tide, and the fading daylight casts a golden glow over the scene, highlighting the rabbit's soft fur and the shell's subtle color.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/228.txt b/code/evaluations/dpg/prompts/228.txt
deleted file mode 100644
index 5f6c6e125f172d46ab529ab1b2a9402a55b6ed89..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/228.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy bathroom features a pristine, white claw-foot bathtub on a backdrop of pastel green tiles. Adjacent to the tub, a tower of soft, white toilet paper is neatly stacked, glimmering gently in the diffuse glow of the afternoon sunlight streaming through a frosted window. The gentle curvature of the tub contrasts with the straight lines of the stack, creating a harmonious balance of shapes within the intimate space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/229.txt b/code/evaluations/dpg/prompts/229.txt
deleted file mode 100644
index 01f4a9c3642be2e7dd785ab8a2dfd647742dc111..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/229.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three vibrant red fire extinguishers stand out prominently against a backdrop of intense orange flames that are consuming the scene. The fire extinguishers, with their glossy, metallic surfaces, appear gigantic in comparison to the diminutive five sheets of white notepaper scattered haphazardly around the area. The notepapers bear slight curling at their edges, suggesting subtle warping from the heat of the surrounding inferno.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/23.txt b/code/evaluations/dpg/prompts/23.txt
deleted file mode 100644
index dc8d85887664f42f9790c598c0c730af48bc5bb3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/23.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid pair of crimson, round headphones rests on the smooth surface of a transparent glass table. The glass reflects the gentle glow of the dim morning light, which filters through a nearby window. Around the headphones, there's a scattering of paper and pens, hinting at a quiet workspace that is not currently in use.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/230.txt b/code/evaluations/dpg/prompts/230.txt
deleted file mode 100644
index 8eb96821f5357e0bf2351283b4769a1350535c40..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/230.txt
+++ /dev/null
@@ -1 +0,0 @@
-The dresser is adorned with a vibrant pink lipstick tube that stands out against the dark wood finish. Beside it, two necklaces with glittering pendants capture the waning light of the evening, each sparkle enhancing the jewelry's intricate details. The necklaces are elegantly draped over a small stand, creating a luxurious display on the otherwise unadorned surface of the dresser.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/231.txt b/code/evaluations/dpg/prompts/231.txt
deleted file mode 100644
index 41fda84df8b4b906cc7a195ce64a713fac42bddb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/231.txt
+++ /dev/null
@@ -1 +0,0 @@
-A brightly colored hot air balloon with vibrant stripes of red, yellow, and blue hangs in the clear sky, its large round shape contrasting against the fluffy white clouds. Below it, a sleek black scooter with red accents speeds along a concrete pathway, its rider leaning forward in a hurry. The balloon moves at a leisurely pace, starkly contrasting with the frenetic energy of the scooter's rapid movement on the ground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/232.txt b/code/evaluations/dpg/prompts/232.txt
deleted file mode 100644
index ea92592bec278cab341d36c6e972f7f913ef2887..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/232.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vividly colored balloon with hues of red and blue hovers gently above a wooden cosmetics table. The table holds a delicate synthetic bristle brush dusted with powder to one side and a sleek black eyeliner pencil lying parallel to the brush. Nearby, an open compact mirror reflects the floating balloon, adding a sense of depth to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/233.txt b/code/evaluations/dpg/prompts/233.txt
deleted file mode 100644
index 550dec028a4f2e1268fd0e6ce71cc80eaad270d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/233.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three sleek black tripods standing in a row, their legs slightly splayed on a grey, granulated floor for stable support. Positioned prominently in front of them is a compact, silver remote control with a smooth, metallic finish. The arrangement suggests a photographic studio setup, with the remote likely used to control the cameras mounted on each tripod.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/234.txt b/code/evaluations/dpg/prompts/234.txt
deleted file mode 100644
index 06fa85f0fc6feb1cf8a550a669ce76b51d0a3f8c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/234.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old, vibrant red heavy truck with visible signs of wear and weathering stands stationary near a weathered stop sign of the same color. The truck is parked on a street lined with historical buildings featuring peeling paint and brick facades that speak to the rustic charm of the town. The scene is further characterized by cobblestone pathways and antique street lamps, suggesting a place that has withstood the passage of time.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/235.txt b/code/evaluations/dpg/prompts/235.txt
deleted file mode 100644
index ecfa07227a89219b97020ccc12f955638da8f751..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/235.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst the soft hues of twilight, two towering traffic lights preside over a bustling intersection, casting a brilliant scarlet glow that demands the attention of all nearby. Beneath their authoritative presence, a modest yellow crosswalk sign attempts to assert its own importance, though its illumination is meek in comparison. The red lights reflect faintly on the glossy hoods of cars waiting patiently for the signal to change, while the pedestrian lines lay painted starkly on the dark asphalt below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/236.txt b/code/evaluations/dpg/prompts/236.txt
deleted file mode 100644
index 6df03840b76814a12f10559e80b17d66433c999b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/236.txt
+++ /dev/null
@@ -1 +0,0 @@
-A frisky golden retriever with a shiny, shaggy coat stands next to a life-sized penguin statue with a sleek, glossy surface in the midst of a bustling public park. The dog, with its tongue playfully hanging out, seems to be in mid-bark or mid-laugh, directed at the stoic, black and white penguin which stands in stark contrast to the dog's exuberant pose. The park is bathed in the warm glow of the afternoon sun, casting long shadows on the green lawn speckled with dandelions. Nearby, children's laughter can be heard as they play, oblivious to this charming and whimsical scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/237.txt b/code/evaluations/dpg/prompts/237.txt
deleted file mode 100644
index 4a7f11995a22005d3269848df3bef4edb76c96a9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/237.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quiet scene is set within a busy commercial kitchen, where stainless steel surfaces are bustling with activity. In one corner, a gleaming white porcelain cup sits beside a large stainless steel basin, both impeccably clean and ready for their next purpose. The walls, clad in white subway tiles, reflect the glimmer of overhead lights, giving the room a bright, active atmosphere. In the background, the hum of ovens and stovetops blend with the rhythmic chopping of diligent cooks preparing for the morning rush.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/238.txt b/code/evaluations/dpg/prompts/238.txt
deleted file mode 100644
index 4d3e674521dabf7825fca51ccf772107da4e21df..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/238.txt
+++ /dev/null
@@ -1 +0,0 @@
-On the cool, silken sands of a deserted beach, a pair of blue sandals lies side by side, their straps glistening gently in the bright moonlight. Next to the sandals, a white protective face mask is placed neatly, its ear loops partially buried in the fine grains of sand. The tranquil nocturnal shoreline stretches far into the distance, with the rhythmic sound of waves creating a peaceful backdrop for the inanimate companions.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/239.txt b/code/evaluations/dpg/prompts/239.txt
deleted file mode 100644
index ffbdf3bd6fce453e6183ba69162b22e73fdd1d2a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/239.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the quiet of the evening, a clean, square tissue box with a floral pattern rests atop a folding table beside a pair of modern, metallic washing and drying machines. The laundry room is brightly illuminated, highlighting the soft blue hue of the machines and the sparkling cleanliness of their chrome accents. Along the wall, rows of wooden shelves hold neatly folded towels and various cleaning supplies.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/24.txt b/code/evaluations/dpg/prompts/24.txt
deleted file mode 100644
index e41c04f0e1b92d8a9323637efc089b4b465ea4a5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/24.txt
+++ /dev/null
@@ -1 +0,0 @@
-Five red hockey sticks, each with a slender shape and a worn texture from frequent use, are propped against the frosty rink's white boards. The sky above casts a dim, featureless gray light over the area, accentuating the early morning stillness. On the icy surface of the rink, illuminated by the ambient outdoor lighting, the sticks' shadows form elongated silhouettes, showcasing their readiness for the day's practice.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/240.txt b/code/evaluations/dpg/prompts/240.txt
deleted file mode 100644
index 266d2b7a284128948fb36f25e2cd2ce8a1b155a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/240.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a sturdy, wooden drafting table lies a vintage brass scale, gleaming with a polished finish alongside an extended yellow tape measure casually strewn across the table's surface. The tables crafted from a rich, dark hardwood, distinctly contrasts with stark white blueprints and rolled-up scrolls flanking the scale. The tape measure is partially coiled, with black and red measurement markings clearly visible and stretches out towards the edge of the table, indicating precise dimensions for an ongoing project.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/241.txt b/code/evaluations/dpg/prompts/241.txt
deleted file mode 100644
index 9c2fc6c7e04111e31a76124a57baf6e70c30f7d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/241.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a high exterior wall, two large white air conditioning units sit securely bracketed, their vents showing signs of weathering from constant exposure to the elements. Beside them, a rail mounted to the wall supports five sleek black hangers, their long forms casting faint shadows under the faint glow of the nearby street lamp. Above, the dark night sky stretches endlessly, with stars twinkling subtly far in the distance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/242.txt b/code/evaluations/dpg/prompts/242.txt
deleted file mode 100644
index b92bfadbb6d88e4d6dd454e5bb201d80f5f91a61..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/242.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amidst a hazy urban setting enveloped by a soft gray mist, a bright red fire truck speeds forward, sirens blaring and lights flashing. Its large wheels churn as the truck speeds past, sending a line of bright orange traffic cones tumbling in disarray. Behind the fire truck, the blurred shapes of city buildings loom, adding to the urgency of the scene as the vehicle rushes to an unseen emergency.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/243.txt b/code/evaluations/dpg/prompts/243.txt
deleted file mode 100644
index 9c92c7fd7a0230619037769f8050e9fe60670f33..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/243.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a peaceful home, the kitchen area features a stainless steel faucet, its sleek surface catching the light, towering just above a straw broom with bristles slightly frayed from use. The broom leans casually against a cream-colored wall, adjacent to the polished granite countertop that houses the sink and faucet. Around them, the kitchen is filled with other everyday utensils and appliances, creating a sense of domestic normalcy.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/244.txt b/code/evaluations/dpg/prompts/244.txt
deleted file mode 100644
index edc234337c89067a02154720fe23a41f6f446dc2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/244.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three delicious-looking sandwiches, overflowing with fresh lettuce, crisp cucumber, and ripe avocado slices, are neatly aligned on a sleek, glass-top table. Each sandwich is encased in a golden-brown bread that has been lightly toasted to perfection. The sunlight pouring through a nearby window casts a warm glow, accentuating the vibrant colors of the vegetables and making the table's glass surface shine with reflected light.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/245.txt b/code/evaluations/dpg/prompts/245.txt
deleted file mode 100644
index 716d035c483881725715a394c9f833fa1ed84c2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/245.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a clear blue tropical sea, a ripe yellow banana bobs on the gentle waves alongside a brown, hairy coconut. The fruit duo is surrounded by vibrant coral visible beneath the water's surface. Near the horizon, one can spot a small island with lush green palm trees swaying in the breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/246.txt b/code/evaluations/dpg/prompts/246.txt
deleted file mode 100644
index 1b9c0f1c46de1a8e8193f940df023d38183ab486..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/246.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid crimson cuboid-shaped recorder is positioned upright beside a circular, reflective CD with a transparent tone, resting delicately on a polished mahogany surface. The layout is complemented by a collection of other musical paraphernalia scattered around, including a pair of headphones with soft, cushioned earpieces and a stack of assorted CDs in colorful cases. The pristine surface beneath them reflects the gleaming light, highlighting the contrast between the sharp angles of the recorder and the smooth, rounded edges of the CD.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/247.txt b/code/evaluations/dpg/prompts/247.txt
deleted file mode 100644
index a0d9d5fca7b2df93f0b2ae3a06198e0bca597aff..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/247.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, silver hair dryer and a pristine white bar of soap are neatly placed next to one another on a marble bathroom countertop. The backdrop of the setting sun casts a warm, orange glow through the window, illuminating the array of toiletries and fluffy towels in soft light. The reflective surface of the countertop enhances the soothing ambiance created by the sun's fading rays.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/248.txt b/code/evaluations/dpg/prompts/248.txt
deleted file mode 100644
index bd1a35985322913b2b9ef9860423938c9fa1fa15..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/248.txt
+++ /dev/null
@@ -1 +0,0 @@
-The countertop hosts a vibrant red microwave that towers over a smaller, deep green coffee machine sitting beside it. The microwave has a sleek digital display, while the coffee machine features an array of buttons and a glass carafe. Behind these appliances, a white tiled backsplash completes the kitchen scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/249.txt b/code/evaluations/dpg/prompts/249.txt
deleted file mode 100644
index 3968eb8d2901493c9c83b559da1c7c2de7383e26..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/249.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pristine white baseball with red stitching is captured mid-air, as it's forcefully struck against a backdrop of a dusky evening sky showing hues of orange and purple. Below, a geometrically intriguing hexagonal game board with multicolored spaces rests atop the dark wood of an antique desk. The elegant desk shows the patina of age and is intricately carved, lending a sense of history and dignity to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/25.txt b/code/evaluations/dpg/prompts/25.txt
deleted file mode 100644
index dfbff659d6ec94444235ff2609dcf904ea2e29cb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A robust pigeon, with grey and white feathered plumage, sits comfortably on the sturdy branch of a venerable oak tree, replete with sprawling arms and knotted bark. Below, the mossy roots of the tree stretch out into the cobblestone paths of a charming village, where small, thatched-roof cottages neighbor each other. Sunlight dapples through the dense leaf canopy above, casting playful shadows on the scene below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/250.txt b/code/evaluations/dpg/prompts/250.txt
deleted file mode 100644
index 1ee1cd763983c7b6761a80780dfd9878a08c58bc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/250.txt
+++ /dev/null
@@ -1 +0,0 @@
-An expansive airport terminal alive with the hurried steps of travelers, featuring white tiled floors and large glass windows revealing views of parked airplanes. Overhead, a lattice of metal beams supports a ceiling from where seven dome-shaped black surveillance cameras keep a vigilant eye on the bustling concourse. Amidst the flow of people, rows of blue and grey seating areas are interspersed with digital flight information displays.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/251.txt b/code/evaluations/dpg/prompts/251.txt
deleted file mode 100644
index 1c01d4f3d31fdf719b859b00ed6bcc4dc55ceece..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/251.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small, round glass flask sits filled with a brightly colored, luminous potion on an aged wooden tabletop, its contours clear and sharp. The flask seems tiny in comparison to the massive stainless steel rice cooker positioned in the corner of the room, its steam vent puffing gently as it diligently prepares a sizeable meal for a nocturnal feast. The tabletop's surface is scattered with a few pieces of parchment and an assortment of dried herbs, which adds to the contrast between the delicate glassware and the robust kitchen appliance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/252.txt b/code/evaluations/dpg/prompts/252.txt
deleted file mode 100644
index e685a843878e0ce0a7d1a37da60d60c9a801beac..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/252.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the depths of a vibrant underwater scene, a large, dark red fish glides gracefully through the water, its scales glistening with the filtered sunlight from above. Surrounding the fish is a lively coral reef, bustling with an array of corals in striking hues of purple, yellow, and green, their unique and intricate forms providing a stunning backdrop. Tiny, iridescent fish dart around the nooks of the corals, adding to the dynamic and rich tapestry of marine life inhabiting this tranquil aquatic world.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/253.txt b/code/evaluations/dpg/prompts/253.txt
deleted file mode 100644
index baec327a6406289467d6466912b60a2dd499c20d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/253.txt
+++ /dev/null
@@ -1 +0,0 @@
-An interior wall is fitted with four square-shaped power outlets, uniformly aligned in a horizontal row directly above a ruby red, round stool. The wall's paint is a soft cream color, creating a contrast with the vibrant red of the stool. The stool's smooth texture and glossy finish reflect the ambient light, emphasizing its bold hue in the otherwise neutral-toned room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/254.txt b/code/evaluations/dpg/prompts/254.txt
deleted file mode 100644
index dd16707fa05193afc6dea3add3fbbe2d0203d611..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/254.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gleaming red sports car with aerodynamic curves and a polished finish stands out against the backdrop of the subdued twilight. Beside it rests a sleek black bicycle, its slender frame casting a long shadow on the concrete as the day gives way to night. The street is devoid of pedestrians, offering a tranquil scene with the vehicles motionless under the fading light.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/255.txt b/code/evaluations/dpg/prompts/255.txt
deleted file mode 100644
index 3c387267ee2249325bea59e2d7197b66d62dd7f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/255.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a bright day, a trio of sunshine yellow shrimp can be seen scuttling about the base of a striking zebra, its coat a contrast of black and white stripes reminiscent of a starry sky without a moon. The zebra stands casually on a patch of vibrant green grass, seemingly unfazed by the small crustaceans exploring around its hooves. The sun casts a warm glow on the scene, enhancing the vivid colors and casting short shadows on the ground beneath the animals.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/256.txt b/code/evaluations/dpg/prompts/256.txt
deleted file mode 100644
index fc3f2a779a6cbba8a92fa77bd0b7f3851c778909..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/256.txt
+++ /dev/null
@@ -1 +0,0 @@
-A metal ladder, silver and slightly weathered, stands against a partially-built brick wall within a construction site. Nearby, a sturdy shovel with a wooden handle and a dirt-stained blade leans against a mound of earth. Small clumps of soil spill onto the ground beside it. In the background, the silhouette of an unfinished building looms against the night sky, its shape barely visible under the faint glow of a distant street lamp.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/257.txt b/code/evaluations/dpg/prompts/257.txt
deleted file mode 100644
index 982ebb711d447a168a665e8472ec1ab153d996e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/257.txt
+++ /dev/null
@@ -1 +0,0 @@
-Amid the soft glow of twilight, a lone deer with a coat of warm brown and subtle spots stands still on the grassy bank of a tranquil lake. As it looks on, five geese with bright white feathers and orange beaks are captured in a moment of energetic flight, their wings beating in unison as they rise from the water's edge. The backdrop is painted with the serene surface of the lake, which reflects the blushing sky and the silhouettes of distant trees.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/258.txt b/code/evaluations/dpg/prompts/258.txt
deleted file mode 100644
index 8d6252261d2568e8dec548bc53d32f91d7c72916..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/258.txt
+++ /dev/null
@@ -1 +0,0 @@
-An image captured at dusk where the warm glow of the setting sun can be seen reflecting off the stainless-steel exterior of a pan that sizzles with seven perfectly round meatballs. Adjacent to the pan, on a hot grill, two thick, marbled steaks emit an appetizing aroma as they cook to a medium-rare finish. Random drops of oil pop and dance on the heated surfaces, signifying the heat at which these meats are being prepared.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/259.txt b/code/evaluations/dpg/prompts/259.txt
deleted file mode 100644
index e46464344b2c4c82f1d04fc37bff9823187a588c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/259.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the first rays of the morning sun spill over the market, a glimmer catches the eye from beneath a stark white awning, where a series of five ornate, golden cosmetic mirrors are carefully arranged. Each mirror, varying in size from small handheld to large tabletop versions, reflects the vibrant hustle and bustle of the early market goers. The stands surrounding the mirrors boast an array of colors from the goods for sale, highlighting the diverse cultural tapestry of the community.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/26.txt b/code/evaluations/dpg/prompts/26.txt
deleted file mode 100644
index b9012f8d0c90ecc9ce6b2f9b4be800cce0761763..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/26.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gray donkey with a tuft of dark mane lies tranquilly beneath the expansive branches of a large oak tree that sits at the edge of a meandering river. The river's crystal-clear waters reflect the lush greenery of the banks and the vibrant blue sky above. In the background, the gentle slope of the riverbank is dotted with wildflowers and tall grasses, creating a picture of pastoral serenity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/260.txt b/code/evaluations/dpg/prompts/260.txt
deleted file mode 100644
index e652a1ef26dcbb8737d2288e5d9900027f04dfc5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/260.txt
+++ /dev/null
@@ -1 +0,0 @@
-The scene is set on an unpolished wooden tabletop where the contrasting textures of a faded pink eraser, showing signs of frequent use, and a chrome-finished screwdriver with a glossy handle catch the eye. Both items are basked in the glow of the midday sun, highlighting the fine layer of dust that covers the table's surface. The screwdriver lies parallel to the table's edge, while the eraser is placed haphazardly near a scattering of pencil shavings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/261.txt b/code/evaluations/dpg/prompts/261.txt
deleted file mode 100644
index 5f6db59f78af41cc8f177bd00129556544c79855..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/261.txt
+++ /dev/null
@@ -1 +0,0 @@
-A playful scene unfolds as a monkey with auburn fur cavorts amidst a trio of ducks on the bank of a tranquil pond. The setting sun bathes the area in a soft, golden glow, casting elongated shadows on the ground. Each duck, with its glossy feathers reflecting the light, pecks at the grass while the monkey's agile form is silhouetted against the amber sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/262.txt b/code/evaluations/dpg/prompts/262.txt
deleted file mode 100644
index 5f96694be99529c9b1329a53202cbbf05c9f2110..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/262.txt
+++ /dev/null
@@ -1 +0,0 @@
-An eye-catching bright red megaphone rests on its side, situated in close proximity to a sleek black microphone that stands upright on a dark stage. The stage itself is equipped with various electronic devices and cables running across its surface, hinting at the preparations for an upcoming event. The microphone, with its polished metal finish, gleams under the stage lights, waiting to project the voice of the speaker into the night.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/263.txt b/code/evaluations/dpg/prompts/263.txt
deleted file mode 100644
index 87d0e18b56ec5eb469d1fc8623ffd33030895183..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/263.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the expansive grasslands, bathed in the orange hues of the setting sun, a tall giraffe gracefully bends its long neck toward a tranquil pond to sip water. Beside the pond, a small, bright red crab scuttles amongst the stones and reeds at the water's edge. The pond’s surface reflects the myriad colors of twilight, while in the background, the silhouettes of acacia trees stand against the dimming sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/264.txt b/code/evaluations/dpg/prompts/264.txt
deleted file mode 100644
index a7b748e063c062502e7722da095742a07fd9d701..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/264.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small, teardrop-shaped candle with a pale blue hue graces the surface of a large, cubic storage box. The box itself features a textured, glossy white finish and sits squarely in the corner of a room. To the side of the box, there's a stack of neatly folded towels in varying shades of beige and cream.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/265.txt b/code/evaluations/dpg/prompts/265.txt
deleted file mode 100644
index 593ab8b5b77722e82d23c1d684a3d35255baf127..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/265.txt
+++ /dev/null
@@ -1 +0,0 @@
-A majestic white crane with outstretched wings captured in the act of taking flight from a patch of green grass. In the foreground, an ambulance emblazoned with vibrant red crosses races past, its siren lights ablaze with urgency against the evening sky. The cityscape beyond is silhouetted by the fading hues of dusk, with the outlines of buildings casting long shadows as the day comes to a close.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/266.txt b/code/evaluations/dpg/prompts/266.txt
deleted file mode 100644
index 9b2928e6ebe9fc7d38e2356cd817eb00eb620a81..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/266.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old-fashioned kitchen setting with a cast-iron kettle and a ceramic teapot sitting atop a rough-hewn, wooden table that bears the marks and patina of age. The kettle's metallic surface has a dull gleam, reflecting the warm ambient light, while the teapot, adorned with a floral pattern, adds a touch of nostalgia to the setting. In the background, there is a window with curtains partially drawn, allowing for a soft natural light to fill the room. Nearby, a woven basket filled with dried flowers accentuates the rustic charm of the cozy interior.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/267.txt b/code/evaluations/dpg/prompts/267.txt
deleted file mode 100644
index 11cebece6a951ebb677a1dc9f8af013c838ebb23..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/267.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vintage rectangular carriage, with intricate metalwork and wooden panels, occupies the foreground, resting on the uneven cobblestone street. Above it, the sky is overcast with dark, billowing clouds that seem to loom ominously. Nearby, a sleek, rounded hoverboard with a glossy finish gracefully glides in circles around the carriage, its futuristic design contrasting sharply with the historical vehicle.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/268.txt b/code/evaluations/dpg/prompts/268.txt
deleted file mode 100644
index 6dd060cba774f613355dfdb3a02d504e332ebf7a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/268.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a rustic wooden table, a vibrant purple paintbrush, significantly larger than the standard size, lies beside a pair of silver-grey pliers with a matte finish. The bristles of the paintbrush appear soft and well-used, indicating a tool that has seen many a canvas, while the pliers show signs of wear, with slight scratches and smudges from frequent handling. The contrast between the artistic instrument and the utilitarian tool is striking against the natural grain of the wooden surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/269.txt b/code/evaluations/dpg/prompts/269.txt
deleted file mode 100644
index c16ae04135a01f36e0ccf03dc055d6eceefc9850..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/269.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a marble countertop, three colorful cleaning product bottles are neatly arranged next to a stainless steel sink that glints under the gentle morning sunlight. The blue, green, and yellow bottles contrast with the cool metallic sheen of the sink and the light reflects softly off their smooth surfaces. Behind the sink, the wall is adorned with white subway tiles that add a touch of simplicity to the setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/27.txt b/code/evaluations/dpg/prompts/27.txt
deleted file mode 100644
index 49815a2aece0ec53923c01bd1caf799b72048684..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/27.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three sleek silver wheelchairs, each featuring square-shaped seats and metallic frames, are arranged in a tidy row. The wheelchairs, with their black cushioned seats and shiny armrests, sit on a smooth gray concrete floor. The background reveals a soft beige wall, suggesting the setting may be a clinical or therapeutic environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/270.txt b/code/evaluations/dpg/prompts/270.txt
deleted file mode 100644
index 04a83700fbd0c0a3094090e0de63b667dd36e908..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/270.txt
+++ /dev/null
@@ -1 +0,0 @@
-A deserted park scene illuminated by a soft moonlight where an orange frisbee lies on the grass, slightly tilted to one side. Nearby, a wooden cello and its bow rest in solitude against a weathered park bench, their elegant forms casting long shadows on the pavement. The surrounding trees sway gently in the breeze, indifferent to the forgotten items left in the wake of an earlier emergency rehearsal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/271.txt b/code/evaluations/dpg/prompts/271.txt
deleted file mode 100644
index 2558db1232f1294c5869421a010fc2edd5921ac5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/271.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a room bathed in the warm glow of the late afternoon sun, a single large golden camera sits prominently on a desk. This camera, with its polished metallic finish, outshines and is notably bigger than the two smaller silver monitors positioned on either side of it. The edges of the monitors are reflecting the soft light, creating a contrast with the camera's shining surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/272.txt b/code/evaluations/dpg/prompts/272.txt
deleted file mode 100644
index ff6e956f8aef4b43613d2b77501f100963ef438c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/272.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aged and quaint room, lined with crinkled wallpaper, houses a row of four spherical, silver projectors resting on a weathered shelving unit at the rear. These projectors cast bright, focused beams of light toward the room's center, where an expansive antique oak desk sits solemnly. On the desk’s polished surface, three electronic keyboards, each with a different design and layout, are neatly arranged, waiting to be played.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/273.txt b/code/evaluations/dpg/prompts/273.txt
deleted file mode 100644
index 40012ca4cd632c9ccfd9154d25ded2f39d1e9968..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/273.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three white golf balls are precisely placed on the black, moving conveyor of a large treadmill. The golf balls, significantly smaller in scale, appear almost like tiny planets gliding along the treadmill's expansive surface. The ambient light casts a soft glow on the scene, accentuating the contrast between the smooth texture of the golf balls and the textured belt of the treadmill, as the treadmill operates in a room with fading daylight filtering through a nearby window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/274.txt b/code/evaluations/dpg/prompts/274.txt
deleted file mode 100644
index a6ff8255854039876b9a118d28c9c42606f691a3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/274.txt
+++ /dev/null
@@ -1 +0,0 @@
-An open pencil case with a variety of colored pencils strewn about lies adjacent to a set of sleek, black binoculars resting on the smooth surface of an aged oak desk. The desk, marked by the patina of use, features intricate grain patterns and is sprinkled with fine papers and an antique brass lamp. The combination of school supplies and exploratory equipment suggests a space dedicated to both study and adventure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/275.txt b/code/evaluations/dpg/prompts/275.txt
deleted file mode 100644
index f41d02d7bfec71b43c857e7d6e1380a855a2a473..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/275.txt
+++ /dev/null
@@ -1 +0,0 @@
-An immense grey elephant with gently flapping ears lumbers towards a bubbling stream, a stark contrast against the lush green grass. Meanwhile, in the cool, reflective waters, a sleek black swan glides gracefully, its red beak standing out against its dark feathers. The gentle ripples caused by the swan's movement disrupt the reflection of the overhanging trees on the water's surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/276.txt b/code/evaluations/dpg/prompts/276.txt
deleted file mode 100644
index eae2cb3b3c346a0cda0ada90baa1b8d92dcd8845..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/276.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic, warm-toned wooden table holds a white ceramic plate piled high with steaming dumplings, the pleats carefully crimped, indicating handcrafted care. Next to it sits a round, earthy-toned bowl filled with ripe, purple plums, their skins glossy and taut. The gentle glow of the setting sun casts a soft light over the scene, illuminating the golden wheat fields and a distant barn in the backdrop, painting a picturesque countryside tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/277.txt b/code/evaluations/dpg/prompts/277.txt
deleted file mode 100644
index 2125e478fb9398754af368f4288ea28fc8251563..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/277.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern kitchen vignette where a sleek, black induction cooker is placed on a polished granite countertop. Its surface glows as it heats a stainless steel pot, from which tendrils of steam rise, indicating a simmering soup within. Adjacent to the cooker, a vibrant red blender is in operation, its contents swirling at high speed, presenting a dynamic contrast to the tranquil act of the soup slowly cooking. The countertop around these appliances is dotted with various culinary tools and ingredients, embodying the lively activity typical of meal preparation time.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/278.txt b/code/evaluations/dpg/prompts/278.txt
deleted file mode 100644
index 0464881fcc45ee9ded517ceaa23bba4fe2b41cf4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/278.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the early hours of the day, a spacious, brightly-lit public restroom showcases two gleaming white toilets with shiny silver flush handles neatly aligned against a pale blue-tiled wall. Nearby, a pristine white urinal, also spotless and ready for use, is equipped with an automatic flush sensor. The floor beneath these fixtures is polished to a high shine, reflecting the overhead lights, and the entire space is absent of any visible debris or grime, emphasizing the meticulous cleanliness of the facility.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/279.txt b/code/evaluations/dpg/prompts/279.txt
deleted file mode 100644
index cfee93a51d083f3020333dfa3f3f4aa748a2614d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/279.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three red wine glasses, casting shimmering reflections from the morning sunlight, are evenly filled to the halfway point with a deep crimson liquid. Beside them, four matte purple plates rest unoccupied on a smooth, dark wooden dining table. The arrangement of the tableware suggests a pause in a meal, or the anticipation of company yet to arrive.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/28.txt b/code/evaluations/dpg/prompts/28.txt
deleted file mode 100644
index 6ee973e711dd3204aaad9b40f313fe79a13d2822..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/28.txt
+++ /dev/null
@@ -1 +0,0 @@
-A beautiful red kite, with a pattern of yellow suns and blue moons on its surface, floats effortlessly against the backdrop of a pristine blue sky. Its square shape is outlined by a strong frame, and long, flowing tails that dance whimsically in the wind. Below, the soft golden sands of the beach stretch out, creating a striking contrast with the kite's vivid colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/280.txt b/code/evaluations/dpg/prompts/280.txt
deleted file mode 100644
index 5a04855b89b37fe17be20a43e1e3284d524abbe0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/280.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern, spacious room bathed in natural sunlight, featuring a clean white wall and a hardwood floor with a subtle sheen. In the center, a pair of white sneakers sits side-by-side, neatly positioned on the floor. Wrapped around them is a single brown leather belt with a polished buckle that glints in the light, creating a sense of order within the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/281.txt b/code/evaluations/dpg/prompts/281.txt
deleted file mode 100644
index 6909f7b23d4af014d498939cee6fc54644feba40..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/281.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern kitchen scene where a stainless steel gas stove ignites with a soft blue flame, casting a warm glow on the surroundings. Close by on the granite countertop rests a green glass bottle, which reflects the flickering light, creating subtle reflections around it. The stove is surrounded by various cooking utensils and a spice rack filled with an assortment of colorful spices.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/282.txt b/code/evaluations/dpg/prompts/282.txt
deleted file mode 100644
index 6ea34d82c59029672dbf2f756da13e738ff94dc6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/282.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two slender bamboo-colored chopsticks lie diagonally atop a smooth, round wooden cutting board with a rich grain pattern. The chopsticks, tapered to fine points, create a striking contrast against the cutting board's more robust and circular form. Around the board, there are flecks of freshly chopped green herbs and a small pile of julienned carrots, adding a touch of color to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/283.txt b/code/evaluations/dpg/prompts/283.txt
deleted file mode 100644
index 6d01bd599f75b4fddb7b93417eec53020277d8ab..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/283.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small, silver lighter with a gentle flame flickering at its tip is placed beside a large, gleaming golden trophy on a polished wooden table. The trophy is intricately designed, with handles on each side and an engraving that signifies some kind of sporting achievement. The wooden table's surface reflects a faint glow from the lighter's flame, adding a subtle warmth to the surrounding cool metallic and wooden textures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/284.txt b/code/evaluations/dpg/prompts/284.txt
deleted file mode 100644
index 142320992263268c85e6d65fdc26cc3c4318af78..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/284.txt
+++ /dev/null
@@ -1 +0,0 @@
-Several large, cylindrical metal barrels, stacked in a pyramid formation, stand under a grey, overcast sky. Adjacent to these barrels is a massive, dark-colored SUV with tinted windows, both resting on the cracked pavement of an abandoned gas station. The desolate scene is illuminated by the diffuse light of the midday sun, which barely seeps through the thick cloud cover above.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/285.txt b/code/evaluations/dpg/prompts/285.txt
deleted file mode 100644
index 9c09e018de9fe513301337ba4c015029164dd0bb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/285.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a vibrant green field, a cinnamon-colored cat with stripes is in full sprint, its body low to the ground as it chases after a spherical toy designed to look like a charcoal-colored antelope. The toy is rolling unevenly across the terrain, causing tufts of grass to sway in its wake. The cat's fur ripples with each agile movement, and its intense focus is evident even at a distance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/286.txt b/code/evaluations/dpg/prompts/286.txt
deleted file mode 100644
index 0f1b58ed8d3450e1efc991e488f5cf507fdbbdfa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/286.txt
+++ /dev/null
@@ -1 +0,0 @@
-Under the soft hues of twilight, a standard black stapler can be seen next to a robust, orange and metallic chainsaw. Both items are cast in the gentle light, creating elongated shadows on the ground beneath them. The textures are distinctly different – the stapler's smooth, plastic finish contrasts sharply with the rugged, seemingly worn appearance of the chainsaw. They sit unusually together on a patch of grass still holding onto the day's warmth.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/287.txt b/code/evaluations/dpg/prompts/287.txt
deleted file mode 100644
index adf70db49d9e142464e65fa0e64cba45325e58de..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/287.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an expansive field, a chestnut horse with a flowing mane is captured in the midst of a powerful buck, its hooves churning up tufts of green grass. Adjacent to the field, a playful seal can be seen in a clear blue pond, its slick body arcing gracefully as it performs an energetic flip, splashing water droplets into the air. The surrounding area is dotted with wildflowers and a wooden fence encloses the field, maintaining a boundary between the terrestrial exuberance of the horse and the aquatic acrobatics of the seal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/288.txt b/code/evaluations/dpg/prompts/288.txt
deleted file mode 100644
index 61f0e1ba94e3dd00e1df3e5dca0ee4bd4e2802f5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/288.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the bathroom, a sleek circular metal sink reflects the soft overhead lighting, creating a serene and clean atmosphere. Next to the sink, three cylindrical bars of green soap are meticulously lined up, each embossed with intricate patterns, waiting to be used. The soaps rest upon a white marble countertop that contrasts with the cool, brushed finish of the sink.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/289.txt b/code/evaluations/dpg/prompts/289.txt
deleted file mode 100644
index 9deddb4faad15c3eed9e671f655529ff94ec1beb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/289.txt
+++ /dev/null
@@ -1 +0,0 @@
-A luxury bathroom featuring a pristine white bathtub with a soft, fluffy white towel neatly folded on its edge. Resting next to the towel is a bar of pink, scented soap poised on a ceramic soap dish. The tub is situated near a frosted window that allows for natural light to fill the room, highlighting the clean lines and elegant fixtures of the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/29.txt b/code/evaluations/dpg/prompts/29.txt
deleted file mode 100644
index c2736139ac952c3997b2f013de0f0f1a25a87892..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/29.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque bridge bathed in the warm glow of the early morning sun, flanked by two tall antique street lights. The street lights, with their ornate metalwork and frosted glass, cast elongated shadows across the weathered stone pathway of the bridge. The tranquil scene is further accentuated by the absence of pedestrians, giving the impression of a moment frozen in time just after dawn.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/290.txt b/code/evaluations/dpg/prompts/290.txt
deleted file mode 100644
index 507b60b8139c3cb3961bdf5da790288f782dc231..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/290.txt
+++ /dev/null
@@ -1 +0,0 @@
-A home office scene reveals a cylindrical, light-gray extension cord neatly coiled around the base of a sleek, black printer. The intricate texture of the cord contrasts with the printer's smooth, glossy surface. Near the printer, an array of paperwork is scattered, and the faint moonlight streaming through the window casts a soft glow on the scene at midnight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/291.txt b/code/evaluations/dpg/prompts/291.txt
deleted file mode 100644
index 3e12b91539f0cbe977995fd90fa30b61b6a20c38..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/291.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aged crimson oven occupies the corner of a rustic kitchen, its window revealing the golden-brown crust of bread as it bakes within. Next to it, a towering, polished metallic spoon leans against a weathered brick wall, reflecting the soft kitchen light. Scattered nearby are a scattering of flour and a wooden rolling pin on a worn, marble countertop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/292.txt b/code/evaluations/dpg/prompts/292.txt
deleted file mode 100644
index 7a3e46398cc4f67e14e67575a1cd97dd1b84e867..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/292.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic wooden table bathed in soft afternoon sunlight, showcasing a hearty, crusty loaf of freshly baked brown bread alongside a richly colored, firm purple eggplant. The textures of the bread's crackled crust juxtapose with the eggplant's smooth, glossy skin. Nearby, a folded linen napkin and an assortment of herbs suggest preparations for a savory meal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/293.txt b/code/evaluations/dpg/prompts/293.txt
deleted file mode 100644
index b78686b32813081cf397fc2ad2b7226bac8bb394..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/293.txt
+++ /dev/null
@@ -1 +0,0 @@
-At a bustling farmer's market stall, a ripe hamimelon with its signature netted green rind and succulent orange flesh lies beside a crisp head of lettuce, which displays vibrant green leaves. The two fresh produce items bask under the diffuse amber light of the late afternoon sun, which casts a soft glow over the array of fruits and vegetables. Around them, an assortment of seasonal goods is neatly arranged on wooden tables, inviting customers to sample the local harvest.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/294.txt b/code/evaluations/dpg/prompts/294.txt
deleted file mode 100644
index 1cef38b7098322ecd551c18caa481ff405fa9fb1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/294.txt
+++ /dev/null
@@ -1 +0,0 @@
-A robust, honey-toned wooden ladder resting against an ivory wall which is illustrated with an array of whimsical, pencil-drawn doodles depicting imaginative scenes. The doodles range from swirling galaxies to playful characters scattered across the wall's expansive canvas. The texture of the wood of the ladder contrasts with the smoothness of the wall, emphasizing the artisanal creativity imbued in the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/295.txt b/code/evaluations/dpg/prompts/295.txt
deleted file mode 100644
index 8b78fdca057b41164b6ca09ae3bb23b77c56926b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/295.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a spacious room, three brown wooden coffee tables of varying sizes stand upon a large, ornate red carpet with intricate patterns. The tables are arranged in a semicircular fashion, supporting an array of decorative items including small potted plants and coasters. The plush texture of the carpet contrasts with the smooth, polished surface of the tables, creating a harmonious visual effect within the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/296.txt b/code/evaluations/dpg/prompts/296.txt
deleted file mode 100644
index 5e353d212110d803cc4a330cfd81e0cc710eafda..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/296.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, crisp white Formula 1 car with sponsor logos emblazoned on it is parked upon a pier with smooth, polished marble slabs reflecting the sun's gleam. Beside the car, gently swaying on the clear azure waters, is a rustic wooden boat with weathered planks and faded paint. The boat's small bobbing motion contrasts with the stillness of the powerful racing car, making for an unusual yet fascinating combination at the water's edge.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/297.txt b/code/evaluations/dpg/prompts/297.txt
deleted file mode 100644
index 95d29135f4c4aa1a122d966388d39678b02324c9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/297.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a homey living area, against the backdrop of a pastel-hued wall, a sturdy mahogany side table stands adjacent to a plush, large teal couch. The side table features a lamp with a cream shade and a scattering of paperback books stacked neatly on its surface. Positioned comfortably next to the couch, the side table complements the warm ambiance, while the couch offers an inviting place to relax, covered with throw pillows in shades of teal, mustard, and gray.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/298.txt b/code/evaluations/dpg/prompts/298.txt
deleted file mode 100644
index ad56288f869dace83c07c91169387c1017038421..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/298.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint scene unfolds on a polished wooden table, drenched in the warm glow of the afternoon sun, where a quintet of deep purple, woven baskets with a round shape is meticulously arranged. Each basket cradles a square, rich crimson wallet that stands out against the violet hues. Delicate shadows cast by the baskets and wallets dance upon the table, accentuating their colors and contours in the sunlight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/299.txt b/code/evaluations/dpg/prompts/299.txt
deleted file mode 100644
index 20397c67f660b25aa0603ffbd2a172f606a848f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/299.txt
+++ /dev/null
@@ -1 +0,0 @@
-A polished brown leather briefcase with visible stitching details rests on a white tablecloth, displaying a sense of organization amidst the surrounding environment. Beside the briefcase, a vibrant red fedora hat provides a striking contrast against the pristine table covering. The table, placed in a room with light beige walls, gives an impression of a professional setting with a touch of personal style.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/3.txt b/code/evaluations/dpg/prompts/3.txt
deleted file mode 100644
index 2fbdd77454b97e25ca8d70ae932b9b9c5ec2993c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/3.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious room, where the soft glow of the evening light cascades through a nearby window, gently illuminating an antique mahogany desk. Atop the polished surface stands a single, ornate globe, its vibrant shades of green, blue, and brown continents contrasting beautifully against the deep blue of the oceans. The globe, detailed with meridian lines and country borders, spins gracefully on its axis, showcasing the intricacies of our world. Surrounding the globe on the desk are scattered vintage ink pens and crisp, ivory stationery, alluding to the quiet musings of a travel enthusiast or a learned scholar lost in thoughts of distant lands.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/30.txt b/code/evaluations/dpg/prompts/30.txt
deleted file mode 100644
index 4f1906cea57525c010947c54058500a1fd850bd9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of fresh, green asparagus is bundled tightly together, standing upright against a clear glass container with a water droplet pattern, giving them a soldier-like appearance. They exhibit a bright green hue that graduates to a paler shade toward their fibrous stems, enhancing their natural gradient. The spears are set against a neutral-toned, textured backdrop that contrasts boldly with their vivid color and linear form.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/31.txt b/code/evaluations/dpg/prompts/31.txt
deleted file mode 100644
index b4a581fd97f200f197e9b32f3645820ad013afe2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/31.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of freshly baked goods is presented on a rectangular silver tray with a reflective surface. To one side, vibrant sun-yellow lemon tarts, their delicate, flaky pastry crusts cradling a glistening citrus filling, are arranged neatly in a row. Adjacent to them, slightly purple-blueberry muffins, their tops golden brown and dusted with a fine layer of sugar, exhibit a contrasting texture. The pastries are placed against a backdrop of a marbled white countertop, with soft natural light enhancing their appetizing colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/32.txt b/code/evaluations/dpg/prompts/32.txt
deleted file mode 100644
index f1a72d885d24ce57c137d5d7e471b61f72578c2c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/32.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an expansive gymnasium, five vibrant neon orange basketballs are meticulously arranged in a perfect line on the polished, glossy hardwood court. The sheen of the floor reflects the fluorescent overhead lights and the silhouettes of the basketball hoops that stand at each end of the court. The basketballs, with their distinct black lines and textured surfaces, provide a stark contrast to the tan and amber hues of the wooden planks beneath them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/33.txt b/code/evaluations/dpg/prompts/33.txt
deleted file mode 100644
index 70809874efe7cd2d397325f08fe1da85e72675ec..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/33.txt
+++ /dev/null
@@ -1 +0,0 @@
-Golden, crispy French fries are strewn across a bustling kitchen counter, which is topped with a speckled granite surface. Amid a flurry of midday meal preparations, the scattered fries mingle with an array of ingredients and kitchen tools. Just beside the clutter, a stainless steel fryer continues to bubble away with the promise of more golden treats to come.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/34.txt b/code/evaluations/dpg/prompts/34.txt
deleted file mode 100644
index 2ad4ee74ae6df72278acf60017588e6c523d5f0e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/34.txt
+++ /dev/null
@@ -1 +0,0 @@
-An assortment of artisanal cheese wheels, each exhibiting a distinct texture and color palette, ranging from pale creamy whites to rich oranges, are spread across a rough-hewn wooden table brimming with character. The warm rays of the early morning sun filter through a window to the side, lending a natural illumination that highlights the subtle hues of the cheeses. In the background, the soft shadows cast by the window frame accentuate the contours of the rustic table, contributing to the inviting display of dairy delights.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/35.txt b/code/evaluations/dpg/prompts/35.txt
deleted file mode 100644
index 3b0f31238a57b2554d91413b5cfebe83940d0cf6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/35.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three graceful antelopes are seen grazing on the sparse, golden grasses of the sprawling savannah under the soft, purpling skies of dawn. The silhouette of an acacia tree punctuates the horizon as the first light of day gently begins to illuminate the vast, open plain. With delicate movements, the animals move slowly, their tan and white coats blending subtly with the earthy tones of their serene surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/36.txt b/code/evaluations/dpg/prompts/36.txt
deleted file mode 100644
index c01b415aeed3d4f96807a3735e046340a25a1472..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/36.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant pair of glasses with a unique, gold hexagonal frame laying on a smooth, dark wooden surface. The thin metal glints in the ambient light, highlighting the craftsmanship of the frame. The clear lenses reflect a faint image of the room's ceiling lights. To the side of the glasses, a leather-bound book is partially open, its pages untouched.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/37.txt b/code/evaluations/dpg/prompts/37.txt
deleted file mode 100644
index a22b866cdffcf834070b142f438855855529d43e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/37.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the dimly lit interior of a spacious wardrobe, a neat row of five hangers stands out, each one a different brilliant hue—ranging from a deep royal blue to a bright lemon yellow. They are spaced evenly apart, casting soft shadows against the dark wooden back of the closet. The smooth, plastic texture of the hangers contrasts with the rough texture of the wardrobe's interior, and their curved shapes seem almost to beckon items of clothing to drape over them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/38.txt b/code/evaluations/dpg/prompts/38.txt
deleted file mode 100644
index 4ddc4fbe607ac4140b19e8216369d0b0e29f49db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/38.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of delicate, wavy potato chips loosely spread across the surface of an elegant, dark mahogany table. The wood grain is prominently visible under the sporadically placed chips, with soft light accentuating their undulating texture. In the background, a muted, empty ceramic bowl hints at the recent snack session that took place.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/39.txt b/code/evaluations/dpg/prompts/39.txt
deleted file mode 100644
index f345bc47e9201d192f30492782720538a654b7fe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/39.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a clear warm day, the sun radiates down on a sandy beach where a close-up of a wafer cone reveals chocolate ice cream beginning to melt down its textured sides. In the background, the sea glistens and reflects the sunlight, with gentle waves lapping at the shore. The ice cream's rich brown tones contrast sharply with the blue and turquoise hues of the ocean, creating a striking visual. Nearby, a few colorful beach umbrellas are dotted along the water's edge, offering shade to beachgoers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/4.txt b/code/evaluations/dpg/prompts/4.txt
deleted file mode 100644
index 63abbe97c859282bbdde6dba5bb5a91e9fa52afe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/4.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a smooth, beige desktop, four ballpoint pens with blue, black, silver, and red barrels are meticulously arranged at right angles to each other, creating a rectangular outline. In the center of this rectangle, five wooden pencils with freshly sharpened tips are placed with their erasers touching, forming a precise circle. The stark contrast between the rigid geometry of the pens and the soft curve of the pencils is evident upon the uniform background of the desk's surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/40.txt b/code/evaluations/dpg/prompts/40.txt
deleted file mode 100644
index c08a015e9d5b9988f869fffd15555a2a388b5b27..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/40.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two glossy black motorcycle helmets are securely mounted on a white wall adorned with various tools and metal racks. The helmets, with their visors closed, are suspended next to each other by sturdy hooks, reflecting the fluorescent lights above. The wall's smooth texture starkly contrasts the matte finish of the protective gear.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/41.txt b/code/evaluations/dpg/prompts/41.txt
deleted file mode 100644
index 34f8b104774a036a5546866741ea02a0c8e1f3b9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/41.txt
+++ /dev/null
@@ -1 +0,0 @@
-Five red fire trucks sit parked in a semi-circle amidst a dense blanket of gray early morning fog enveloping the area. Each truck is equipped with ladders, hoses, and flashing emergency lights that pierce through the mist. The area surrounding the trucks is clear and spacious, suggesting an open field or wide street, allowing for quick movement in case an emergency call comes in.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/42.txt b/code/evaluations/dpg/prompts/42.txt
deleted file mode 100644
index 93647032e1702c9ee95c4fe0f3547e947313553d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/42.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the amber hues of dusk blanket the sky, a sleek Formula 1 car, emblazoned with vibrant colors and sponsorship logos, races around the asphalt track, its engine thundering defiantly against the quieting day. The powerful headlights cut through the dimming light, illuminating the course ahead while the car’s aerodynamic shape slices through the cool evening air. The grandstands, now silhouetted by the setting sun, are filled with a blurred sea of spectators, their cheers muffled by the roar of high-performance engines vying for the lead. The racing circuit is lined with bright white track limits and colored curbstones, highlighting the boundaries as the car expertly navigates each turn.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/43.txt b/code/evaluations/dpg/prompts/43.txt
deleted file mode 100644
index ba277a6163366b0ff113b2fdd82b8c0a42cae384..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/43.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cluster of plump, purple grapes, their surface kissed by the morning's dew, reflects the soft, golden light of the rising sun. Each grape, tightly packed alongside its fellows, shows off a frosty sheen indicating the cool freshness of early day. They hang delicately from a green vine that's draped across a rustic, wooden trellis in a peaceful garden.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/44.txt b/code/evaluations/dpg/prompts/44.txt
deleted file mode 100644
index f6e104df34c5667fa677d3ace3dfc436089ff435..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/44.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bright yellow tennis ball lies in stark contrast on the vibrant green of a freshly mowed grass court. The ball's fuzzy texture is highlighted by the sunlight, casting a small shadow on the neatly trimmed lawn. Nearby the baseline, the white chalk lines distinctly mark the boundaries of the playing field, creating a geometric harmony on the court.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/45.txt b/code/evaluations/dpg/prompts/45.txt
deleted file mode 100644
index cf5bddf8f1024eeb9ce1c7ddd83074af6ccd7060..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/45.txt
+++ /dev/null
@@ -1 +0,0 @@
-At a busy city crossroads, three square-shaped signs, featuring a bold crosswalk symbol in bright yellow, command attention from pedestrians and motorists alike. Positioned against the backdrop of a bustling urbanscape, the signs possess a reflective quality, enhancing their visibility even amidst the chaotic street movement. Anchored securely to the pavement, these uniform signs present the familiar pedestrian crossing imagery, delineating safe walking zones in an area dense with traffic.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/46.txt b/code/evaluations/dpg/prompts/46.txt
deleted file mode 100644
index 83dbc17f6e05dfcd4a7ac15dbe0e10fe9f6f62ae..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/46.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid scene unfolds where several deep red, perfectly round tomatoes spill from a woven brown basket onto a rustic wooden tabletop. The basket lies on its side as the plump tomatoes scatter across the surface, some touching the dark green leaves of a nearby herb plant. In the background, the blurred outline of an open kitchen window lets in soft, natural light, casting gentle shadows around the fallen produce.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/47.txt b/code/evaluations/dpg/prompts/47.txt
deleted file mode 100644
index e8a8dff7e53c7e56d908cf0872cf63d82ec44c2f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/47.txt
+++ /dev/null
@@ -1 +0,0 @@
-A slender, black comb glides effortlessly through a cascade of golden locks that fall over a woman's shoulder. The smooth teeth of the comb reflect the overhead lighting as it navigates through the silky strands. Surrounding the scene, hair care products and a mirror can be seen on a marble countertop, hinting at a grooming routine in progress.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/48.txt b/code/evaluations/dpg/prompts/48.txt
deleted file mode 100644
index f9aaa64073a5b16fd93bb1d04c671178daad0fda..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/48.txt
+++ /dev/null
@@ -1 +0,0 @@
-Eight vibrant green beach balls, each with a glossy texture, are randomly scattered across the golden sand that is patterned with the alternating shades of sunlight and shadow. Nearby, gentle waves lap at the shoreline, creating a rhythmic sound that complements the serene beachscape. The balls cast soft shadows on the sand, evidencing the bright midday sun overhead.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/49.txt b/code/evaluations/dpg/prompts/49.txt
deleted file mode 100644
index 58d7a3df2f9361a1739743af91b2377226bbd691..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/49.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two emerald green briefcases, both with a finish that's smooth to the touch, rest side by side upon the polished surface of an aged oak desk. The wood grain detailing on the desk is prominently displayed in the soft, diffused light of the afternoon sun that filters through a nearby window. Each briefcase is adorned with silver clasps that catch the light, creating a subtle but striking contrast against the dark, rich tones of the wood beneath them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/5.txt b/code/evaluations/dpg/prompts/5.txt
deleted file mode 100644
index 4c361ed1ac97e1e23c3b77d99b4e1de8ef73dab7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/5.txt
+++ /dev/null
@@ -1 +0,0 @@
-An illuminated calculator with a sleek, dark casing and round, raised buttons sits flat on a wooden office table. The sun's fading light gently seeps through the window, casting a warm glow over the calculator's surface and the scattered papers around it. Shadows from nearby objects subtly play across the table, enriching the tranquil setting of a quiet study space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/50.txt b/code/evaluations/dpg/prompts/50.txt
deleted file mode 100644
index 30442298e60087d45e2d2ba3ce0ff59799459ab5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/50.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three vibrant red dumbbells are neatly aligned on the polished wooden floor of a well-illuminated gym. The afternoon sunlight streams through the large windows, casting a warm glow on the equipment. In the background, there are rows of exercise machines and mirrors reflecting the interior of the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/51.txt b/code/evaluations/dpg/prompts/51.txt
deleted file mode 100644
index 10cd9a218e2823c2edb001ff323d4f753cc17715..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/51.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up view reveals a single, immaculate ace of spades resting on the surface of a polished mahogany table. The rich, dark wood of the table reflects the soft ambient light of the room. This card is positioned slightly askew, with the sharp, distinctly printed symbols contrasting against the smooth, even texture of the table's finish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/52.txt b/code/evaluations/dpg/prompts/52.txt
deleted file mode 100644
index 9f9264dd034c3b58c12d075ede3a6cc19543d531..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/52.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three juicy, vibrant red strawberries, each dotted with tiny yellow seeds, lying in contrast against a pristine white ceramic plate. The berries are clustered closely together, positioned near the center of the smooth, reflective surface. The glossy texture of the fruit is highlighted by the bright natural light illuminating the clean, simplistic setup.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/53.txt b/code/evaluations/dpg/prompts/53.txt
deleted file mode 100644
index 374ad13fdda7fd8af5ff2b5890cd4a5b998faf6a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/53.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two cylindrical-shaped, golden lamps with a brushed metallic finish stand side by side, casting a warm glow on the dark wooden bedside table. The illumination from the lamps highlights a small stack of books and a pair of reading glasses placed next to them. In the background, the subtle outline of a neatly made bed can be seen, with the surrounding area cloaked in the soft shadows of the midnight hour.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/54.txt b/code/evaluations/dpg/prompts/54.txt
deleted file mode 100644
index 370acdc6cc890df349157da109b45a61c1d7359a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/54.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the gentle light of the early morning, three red stuffed animals—two teddy bears and a plush fox—are propped against a soft pastel-colored wall within a peaceful nursery room. The wall itself is painted in a gradient of pastel hues, creating a calming backdrop for the vibrant toys. The toys' plush fabric appears soft to the touch, and they sit closely together as if in a huddled group, providing a cheerful contrast to the subtle tones of the room. Nearby, a white wooden crib with delicate bedding completes the serene setting, signifying the presence of a young child's space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/55.txt b/code/evaluations/dpg/prompts/55.txt
deleted file mode 100644
index 14ce66794b1cceab776af64fc65209c5268fe9bd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/55.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two zebras, their black and white stripes creating a dizzying effect, are galloping side by side across the sprawling savanna, tinged golden by the sunlight. The texture of the grass appears rough and dry, a testament to the arid climate. Dust is being kicked up by their hooves, and in the background, sparse acacia trees punctuate the otherwise open landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/56.txt b/code/evaluations/dpg/prompts/56.txt
deleted file mode 100644
index bcc9a0dc6801bed934835517eca056fc846ab6b6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/56.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a clean, organized office desk, there are three red staplers arranged in a precise line. Each stapler has a sleek, rectangular shape with a glossy finish that reflects the overhead lighting. They sit atop a polished, dark brown wooden surface surrounded by scattered paper clips and a few pens, providing a contrast to the vibrant red color of the staplers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/57.txt b/code/evaluations/dpg/prompts/57.txt
deleted file mode 100644
index 9bf5eb7a9c4166780937f509e26991361214051a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/57.txt
+++ /dev/null
@@ -1 +0,0 @@
-An open laptop with a sleek metallic finish and a black keyboard sits centered on a wooden desk. The desk displays an assortment of office supplies, such as a pen holder, a stack of notebooks, and a potted green plant to one side. Visible on the laptop's screen is a colorful array of icons against a bright wallpaper, indicating it is powered on and ready for use.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/58.txt b/code/evaluations/dpg/prompts/58.txt
deleted file mode 100644
index 88e79e7a6f796750bcde17a0f1e8c39606bd2b78..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/58.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a stretch of sunlit sidewalk, three identical cylindrical blue parking meters stand in a neat line, each adorned with a digital display and coin slot. Their metallic surfaces gleam intermittently as pedestrians pass by, casting fleeting shadows along the paved walkway. Positioned uniformly, they oversee the adjacent parked cars, quietly awaiting the next round of patrons to deposit their change.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/59.txt b/code/evaluations/dpg/prompts/59.txt
deleted file mode 100644
index 5e281dd0461a3734eab70ccab0b4aa7158fa7eb7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/59.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three sleek, dark wooden boats are resting along the banks of a tranquil, azure blue lake. The smooth surface of the water reflects the clear sky above and the lush greenery surrounding the lake's edge. Positioned close to each other, the boats' oars are tucked neatly inside, hinting at a recent or upcoming journey across the calm waters.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/6.txt b/code/evaluations/dpg/prompts/6.txt
deleted file mode 100644
index b3974bd9ab78be68b2e9adb7f4d55514dda1e70b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A majestic parrot with vibrant green, red, and blue feathers glides effortlessly across the bright blue sky. Its impressive wingspan is fully outstretched, catching the warm sunlight as it soars high above the tree line. Below, the landscape features rolling hills and patches of dense forest.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/60.txt b/code/evaluations/dpg/prompts/60.txt
deleted file mode 100644
index e21e33ee945bf683a63541da59d3147cc676575a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/60.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a tranquil expanse of ocean, tinged with the warm hues of the setting sun, five vivid red lifesaving rings can be seen gently bobbing on the surface of the calm water. The sinking sun casts an orange glow across the horizon, reflecting its fiery colors on the water's glass-like surface. The rings, spaced evenly apart, form a striking contrast with the deep blue of the sea, creating a picturesque scene devoid of any other vessels or swimmers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/61.txt b/code/evaluations/dpg/prompts/61.txt
deleted file mode 100644
index 46e15990340ceb203a2cb47922b1ae3a6810aec6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/61.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern kitchen featuring a polished granite countertop where a square-shaped stainless steel rice cooker stands conspicuously. The appliance's surface gleams under the natural morning light that filters through the window. Behind it, the kitchen wall is clad in a vibrant orange wallpaper with subtle patterns, adding a dash of color to the culinary space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/62.txt b/code/evaluations/dpg/prompts/62.txt
deleted file mode 100644
index 76b81e37f587fe6b0c8861e59e54eccc64013aac..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/62.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old skateboard with scuffed edges and faded stickers leans delicately against the rough texture of a red brick wall. Its wheels, well-worn and dusty, hint at many adventures it might have seen. Nearby, the early morning sun casts a soft glow on the ground, accentuating the contrasting textures of the brick and the smooth, aged wood of the skateboard deck.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/63.txt b/code/evaluations/dpg/prompts/63.txt
deleted file mode 100644
index aa1de64ce7d214be02979c9bc3a81bbb326d8415..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/63.txt
+++ /dev/null
@@ -1 +0,0 @@
-Atop the smooth green felt of a billiard table, three glossy red cue sticks lay orderly in parallel, as if awaiting their players. Around the edges of the table, a scattering of billiard balls rests in the calm before a match, each reflecting the warm, fading light of dusk creeping in through nearby windows. The room is quiet, and the ambiance suggests the anticipation of an evening game, with the only movements being the gentle sway of a ceiling fan above and the shadows stretching across the floor as the sun sets outside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/64.txt b/code/evaluations/dpg/prompts/64.txt
deleted file mode 100644
index 4ea9bf831175a8e7b14f5eab4e7ed9a172d89274..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/64.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old wooden stool with three legs and a unique triangular seat placed by the window, bathed in the soft glow of moonlight as the clock strikes midnight. The varnish on its surface has faded, hinting at its age and the many years it has stood there. Beside it, a tall grandfather clock, its pendulum swinging steadily, marks the late hour within the quiet room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/65.txt b/code/evaluations/dpg/prompts/65.txt
deleted file mode 100644
index 05cf83c0e6a4ddfcbcfd6a9c8be122c0b1ce958a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/65.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant display of ten round-shaped boxing gloves arranged in five pairs, each pair a different neon color, against a backdrop of a wall covered in colorful graffiti. The wall's artwork features an array of abstract designs and tags, adding an urban feel to the showcase. The gloves appear to be made of a glossy, leather-like material, and they are hung at eye level for easy viewing and selection.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/66.txt b/code/evaluations/dpg/prompts/66.txt
deleted file mode 100644
index 45e614554acf3103f512e785ef60438ee44afda6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/66.txt
+++ /dev/null
@@ -1 +0,0 @@
-An antique rickshaw with chipped and faded red paint stands solemnly under the vast expanse of an early morning sky tinged with the soft hues of dawn. The worn seat, hinting at many years of service, looks out over an empty cobblestone street that hints at the day's quiet beginning. Rustic details of the rickshaw's metalwork become more apparent in the gentle morning light, indicating its rich history and the countless stories it could tell.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/67.txt b/code/evaluations/dpg/prompts/67.txt
deleted file mode 100644
index 5a1c65b6e708175b2cee5a26b6c6fd00f66fb0a2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/67.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary microphone with a silver finish stands erect on an empty stage, its round, black base firmly planted on the dark wooden floorboards. The reflective surface of the microphone gleams under the bright stage lights. Directly behind the microphone, the backdrop is a rich, crimson curtain that hangs gracefully from the ceiling to the floor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/68.txt b/code/evaluations/dpg/prompts/68.txt
deleted file mode 100644
index 32425e95f965ee0902b5b6a9feba42716d461892..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/68.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artist with fingers dusted in multicolored pigments is holding a set of five cylindrical-shaped paint brushes that sport vibrant blue handles. These brushes are gently splayed between skilled fingers, poised like a conductor's baton ready to orchestrate strokes on a pristine white canvas that awaits on an easel. The bristles of the brushes appear soft and unused, contrasting with the worn-in look of the artist's hand, evidencing countless hours of previous creations.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/69.txt b/code/evaluations/dpg/prompts/69.txt
deleted file mode 100644
index 214f6424ab68f34ae332da9acbbfd637425c40d2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/69.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of five unique fish with deep blue, almost iridescent bodies, glide gracefully just above the sandy seabed. These aquatic creatures resemble delicate sea bubbles, with their round and translucent appearances. The surrounding waters are a calm shade of blue, casting a serene light on the ocean floor where patches of coral and seashells can be glimpsed.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/7.txt b/code/evaluations/dpg/prompts/7.txt
deleted file mode 100644
index db6233ddace80a09a4f84fbe2bb39b061b667afd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/7.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a warm room with a large window showcasing a picturesque winter landscape, three gleaming ruby red necklaces are elegantly laid out on the plush surface of a deep purple velvet jewelry box. The gentle glow from the overhead light accentuates the rich color and intricate design of the necklaces. Just beyond the glass pane, snowflakes can be seen gently falling to coat the ground outside in a blanket of white.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/70.txt b/code/evaluations/dpg/prompts/70.txt
deleted file mode 100644
index 84044f1b8b8b51938c4c42b2b01bdb5a92a9cb57..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/70.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two golden-brown spring rolls with a perfectly crispy texture sit invitingly on a woven bamboo mat. The setting sun casts a warm, orange hue over the scene, highlighting the glistening sheen of the freshly fried appetizers. Near the spring rolls, a small dish of dipping sauce reflects the sunset's glow, enticing one to indulge in the savory treat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/71.txt b/code/evaluations/dpg/prompts/71.txt
deleted file mode 100644
index 037ee03d84697b461dbe9d38d6b8e6a2cfcc6876..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/71.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a contemporary office with minimalist design elements, five square-shaped, black printers are arranged in a row along a white countertop. They are humming with activity as they produce documents, with sheets of white paper steadily emerging from their feed trays. Their glossy surfaces reflect the soft light coming from the overhead fixtures, and each printer displays a small, glowing screen indicating its current status. Surrounding the printers, swivel chairs with ergonomic designs and translucent glass partitions contribute to the overall sleek and professional ambiance of the workspace.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/72.txt b/code/evaluations/dpg/prompts/72.txt
deleted file mode 100644
index d6292b15291dde82c87d9ea81698d2fad7ec8f10..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/72.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the open expanse of a school's sports field, under the clear blue sky of a radiant sunny day, four vibrant American footballs are captured in mid-flight. The footballs, featuring hues of red, blue, yellow, and green, are spherical in shape, contrasting sharply with the green turf below. Each ball glistens in the sunlight as they arc gracefully above the field, momentarily suspended against the backdrop of a few wispy clouds.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/73.txt b/code/evaluations/dpg/prompts/73.txt
deleted file mode 100644
index a1f789eb4dc32e833689d779600c14fb4ac1c1c6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/73.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the center of a dimly lit stage, a vintage green guitar with a glossy finish leans gently against a classic black amplifier. The polished wooden flooring of the stage reflects the warm, golden hue from a single spotlight above, which casts an inviting glow over the instrument. A microphone stand with a chrome finish stands to the left of the guitar, poised for the evening's performance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/74.txt b/code/evaluations/dpg/prompts/74.txt
deleted file mode 100644
index 86343dab7ddb14ddf6f347f056542c94ef73b356..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/74.txt
+++ /dev/null
@@ -1 +0,0 @@
-Four square potted plants, each nestled in vibrant yellow pots, are aligned neatly on a gray concrete surface outside. They are being gently watered, with droplets of water glistening on their lush green leaves as the sun begins to set in the background. The surrounding area is quiet, and the soft light of the early evening casts a warm glow on the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/75.txt b/code/evaluations/dpg/prompts/75.txt
deleted file mode 100644
index 6da35b0da3ac5ee84d7173fc413d0b26d1f542e7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/75.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two woven baskets with brown and tan hues rest gently on the vibrant green grass in a peaceful meadow. The larger basket, slightly ajar, reveals a cozy blanket peeping out, while the smaller one seems to be packed with a picnic setup. Surrounding them, a few wildflowers add specks of color to the tranquil scene, uninterrupted by the gentle breeze swaying the grass blades.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/76.txt b/code/evaluations/dpg/prompts/76.txt
deleted file mode 100644
index 6e45b03e0f93b3e348936529383b41af1c5c6e93..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/76.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit bathroom with off-white tiles, there sits a wooden shelf against the wall, supporting five rolls of toilet paper arranged neatly side by side. Each roll is compact and untouched, displaying a uniform quilted texture. The shelf is positioned above a small waste bin, and to the side, a soft, pale blue towel hangs loosely.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/77.txt b/code/evaluations/dpg/prompts/77.txt
deleted file mode 100644
index 69ac506788a57dc4110e2f0061c616c628871bab..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/77.txt
+++ /dev/null
@@ -1 +0,0 @@
-Five savory pizzas with vibrant red tomato sauce and a generous amount of golden cheese are being baked to perfection inside the warm, rustic brick oven. The oven, radiating heat, has a wooden handle peeking out, suggesting it's an old-fashioned, manually-operated one. The flames at the back cast a flickering glow, highlighting the oven's arch and the earthen tones of the bricks.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/78.txt b/code/evaluations/dpg/prompts/78.txt
deleted file mode 100644
index 3efc05b51bb47b7c1f38bc01d56d5b8a33de8f3c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/78.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two vibrant aqua blue dolphins are gracefully leaping over the mirror-like sea surface, illuminated by the warm hues of an awe-inspiring sunset. The endless sea stretches into the horizon, reflecting the oranges and pinks of the fading sun, while the waves gently lap against each other. Nearby, the calm water is disrupted by the playful splashes created by the dolphins' acrobatics, encapsulating a moment of pure joy and freedom in nature.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/79.txt b/code/evaluations/dpg/prompts/79.txt
deleted file mode 100644
index bdc59a12d2e305d13eab0104a4db6ed1dd3b92ff..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/79.txt
+++ /dev/null
@@ -1 +0,0 @@
-three sleek, brass faucets with a modern, geometric shape stand aligned, streaming clear water into a white basin below. the sink is surrounded by a marble countertop, which reflects the light and brings out the warm golden tones of the metal. droplets of water can be seen splashing gently around the base of each faucet, indicating the force of the flowing water.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/8.txt b/code/evaluations/dpg/prompts/8.txt
deleted file mode 100644
index ae8367cca24dacf7c1154e63fa1dfdb5309d8e8f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/8.txt
+++ /dev/null
@@ -1 +0,0 @@
-An eye-catching red hoverboard floats above the steel gray asphalt of a bustling urban street, surrounded by the golden hues of the setting sun during evening rush hour. The road is lined with tall buildings casting long shadows, and the air is filled with the sounds of the city’s activity. The hoverboard's sleek design and vibrant color contrast sharply with the muted tones of the concrete environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/80.txt b/code/evaluations/dpg/prompts/80.txt
deleted file mode 100644
index 1761871c182957c42d2c1058a3afc7943907b329..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/80.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two bars of soap, one lavender and the other oatmeal-colored, are neatly placed beside a vibrant yellow pineapple with a thick, green crown. They rest on a white porcelain dish that contrasts with the dark granite countertop. Behind them, a small kitchen window lets in natural light that helps highlight their distinct textures and colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/81.txt b/code/evaluations/dpg/prompts/81.txt
deleted file mode 100644
index 45ab6839bc47efdebaf9632eae80edf2617cfc56..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/81.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a brightly-lit laundry room, a pair of ripe yellow bananas rest nonchalantly against the sleek surface of a silver washing machine. The spacious room is adorned with colorful splashes of paint on the walls, creating a lively and playful atmosphere. Sunlight streams through a nearby window, enhancing the vibrancy of the space and casting soft shadows around the cheerful fruits.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/82.txt b/code/evaluations/dpg/prompts/82.txt
deleted file mode 100644
index 765ee41cba88e501c7cedec0aac163abce586e4c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/82.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a dimly lit space, a vibrant green broom with stiff bristles is being used to sweep a muted, grey floor. Shadows stretch across the room, illuminated by the soft orange glow of a smoldering cigarette that has been left unattended. The faint light creates an eerie dance of wisps of smoke in the blue hues of the twilight. Nearby, a simple wooden chair and a metal bucket can be seen, suggesting the room's utilitarian purpose.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/83.txt b/code/evaluations/dpg/prompts/83.txt
deleted file mode 100644
index 2583919db5f001e4283bb7d60c59fca41b8a3275..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/83.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three cows, a mix of white and brown patches, are lazily grazing in an expansive meadow under the soft glow of the afternoon sun. Before them, stands a large blackboard, planted firmly in the grass, creating a striking contrast with the surrounding lush greenery. Above them, a few wispy clouds are scattered in the otherwise clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/84.txt b/code/evaluations/dpg/prompts/84.txt
deleted file mode 100644
index 8abea925e8d5d08a223c14638acd1b6128c78ee9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/84.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a reflective metallic table, there is a brightly colored handbag featuring a floral pattern next to a freshly sliced avocado, its green flesh and brown pit providing a natural contrast to the industrial surface. The table is set for lunch, with silverware and a clear glass water bottle positioned neatly beside the avocado. The juxtaposition of the colorful fashion accessory and the rich texture of the avocado creates a striking visual amidst the midday meal setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/85.txt b/code/evaluations/dpg/prompts/85.txt
deleted file mode 100644
index a1c23b4a4137ad73d1172edcbfd5a65c7264ae0e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/85.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid nuclear green electric drill in action, its bit spinning rapidly as it bores into a thick, black leather belt. The power tool's textured grip ensures a firm hold and starkly contrasts with the sleek, dark surface of the belt, which is held down against a sturdy wooden workbench. Around the drill, shreds of black material and wood dust are scattered, evidence of the tool's forceful endeavor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/86.txt b/code/evaluations/dpg/prompts/86.txt
deleted file mode 100644
index 6d5dfafc60a6209e3c4921094949d1b85e35f665..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/86.txt
+++ /dev/null
@@ -1 +0,0 @@
-A medium-sized brown dog with a shiny coat stands in a large room filled with warm, yellow sunlight streaming in from a nearby window. The curious canine directs its attention towards a pristine white porcelain urinal situated awkwardly in the center of the otherwise unfurnished space. The room's aging, cracked walls, painted a once-bright shade of blue, provide a stark contrast to the urinal's smooth and clean surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/87.txt b/code/evaluations/dpg/prompts/87.txt
deleted file mode 100644
index ec58cd78ea29f11353fba7c2c4c9cca6d24019a5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/87.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of three vibrant magenta hats, each featuring a unique pattern and texture, are arranged side by side on a dark, polished wooden surface. Nearby, two translucent bottles with intricate designs reflect the ambient light. The bottles are carefully positioned to the right of the hats, and their contents cast a slight shadow on the wood grain.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/88.txt b/code/evaluations/dpg/prompts/88.txt
deleted file mode 100644
index 399c34621f0eefd4d17075b42652c4f01986d4f1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/88.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dusty brown baseball glove, looking worn from many games, dramatically overshadows a pair of small silver pliers lying next to it. Both items rest on a wooden workbench, and the glove's leather creases hint at its frequent use. The pliers' red handles are slightly ajar, suggesting a recent task left unfinished.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/89.txt b/code/evaluations/dpg/prompts/89.txt
deleted file mode 100644
index c98bc9dfae0e908220c4ac92c6b19fcbbcf5e8d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/89.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two glossy red high heels with pointed toes and slender stiletto heels are positioned ominously over a diminutive grey mouse cowering on the creamy white floor. The mouse's fur is slightly ruffled, betraying a sense of trepidation, as it looks up at the imposing footwear. The contrasting size and color between the vibrant shoes and the mouse emphasize the stark difference in their presence.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/9.txt b/code/evaluations/dpg/prompts/9.txt
deleted file mode 100644
index ed8aa8946cde1d902661705f00a97a4226a88568..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/9.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two richly purple-colored folders resting on a wooden table flooded with warm sunlight. The table's surface reflects a subtle sheen, highlighting the folders' smooth texture and the shadows they cast. Around the folders, the table is mostly clear, save for a silver pen lying diagonally near one of the folders.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/90.txt b/code/evaluations/dpg/prompts/90.txt
deleted file mode 100644
index ffb6b93dc374e358f04b0468e8a8149367afec05..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/90.txt
+++ /dev/null
@@ -1 +0,0 @@
-A worn piece of luggage placed beside a metal spoon, both lying atop an aged, dusty table. The dim light of the moon barely illuminates the objects, revealing their outlines in the quiet darkness of midnight. Shadows stretch across the table's surface, enhancing the stillness of the nocturnal scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/91.txt b/code/evaluations/dpg/prompts/91.txt
deleted file mode 100644
index 748e81c958a32a4ea8af3a6af618b928a75eabeb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/91.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the waning twilight, two canvas tents, conical in shape, are nestled closely on a field of soft, lush grass, their silhouettes casting gentle shadows. Near these temporary abodes, a sturdy square table sits under the open sky, with a lone black billiard ball positioned at its center, unmoving and glossy. The scene is quiet and still, as though the entire world is holding its breath for the break shot that will commence the morning's game of billiards.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/92.txt b/code/evaluations/dpg/prompts/92.txt
deleted file mode 100644
index 59fe8c62e06ec7045479eeea49da3905571147a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/92.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two square-shaped pink erasers rest on the tiled floor next to a pristine white porcelain toilet. The erasers feature slight smudges from use and are positioned closely to each other. In the background, the metal toilet flush handle gleams under the bright bathroom light, and a soft blue bath mat lies a short distance away, partially visible in the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/93.txt b/code/evaluations/dpg/prompts/93.txt
deleted file mode 100644
index 7afa9ab3af4813d0456129f7d5e5a385f4794014..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/93.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pair of striking royal blue slippers with a plush, round appearance and a cozy texture stands prominently in the foreground, drawing the eye with their vibrant color. They contrast with the muted, distant backdrop where a weathered green truck, heavy and sturdy, sits idle with traces of dust and use marking its surface. The background is bathed in the warm glow of a burnt-orange sunset that casts long shadows and highlights the outlines of other objects scattered around the faded and pebbled ground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/94.txt b/code/evaluations/dpg/prompts/94.txt
deleted file mode 100644
index d815650c481dff6125412f9f892d94ee797cbfc2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/94.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two bright red skiboards are propped up against the rugged bark of a tall pine tree, their bindings reflecting the sunlight that filters through the branches. Next to them, a pair of black skating shoes with neon green laces sits neatly on the freshly fallen snow. The surrounding area is quiet and untouched, suggesting an anticipation for an exhilarating afternoon of winter sports activities.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/95.txt b/code/evaluations/dpg/prompts/95.txt
deleted file mode 100644
index 52a7f8649862e3230b7e7eddd84bd693a5515e51..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/95.txt
+++ /dev/null
@@ -1 +0,0 @@
-The kitchen counter, bathed in soft afternoon light, showcases a collection of five golden keys strewn haphazardly across its white surface. Behind them rests a dark-colored microwave, designed with a nostalgic, retro aesthetic that contrasts with the modern simplicity of the surroundings. Nearby, a transparent vase holds a sprig of fresh greenery, adding a touch of life to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/96.txt b/code/evaluations/dpg/prompts/96.txt
deleted file mode 100644
index b238695e4e2ac1c4e21df05b30903fff051ad263..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/96.txt
+++ /dev/null
@@ -1 +0,0 @@
-Four sleek airplanes, with shiny metallic surfaces reflecting the sunlight, fly in a tight formation through the clear blue sky. Below them, an orange and black zigzagged extension cord lies haphazardly across a dusty brown field, contrasting with the precise aerobatics above. The planes' trailing jet streams create parallel lines that transiently scar the vastness of the open sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/97.txt b/code/evaluations/dpg/prompts/97.txt
deleted file mode 100644
index 8c2c71ca2bfe5cf61a97e8f87a9086a7b11c726f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/97.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant pink pig trots through a snowy landscape, a bright blue backpack strapped securely to its back. The pig's thick coat contrasts with the soft white blanket of snow that covers the ground around it. As it moves, the blue backpack stands out against the pig's colorful hide and the winter scene, creating a striking visual amidst the serene, frost-covered backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/98.txt b/code/evaluations/dpg/prompts/98.txt
deleted file mode 100644
index 77443cb689b4cee3471eb80543680eff52421006..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/98.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a polished wooden table, a small circular red earphone rests, its size notably less than that of the rectangular-shaped green tape dispenser placed beside it. The table surface reflects the soft glow of the morning light, accentuating the smooth texture of the earphone's surface and the matte finish of the green tape dispenser. In the background, the grain of the wood can be seen, giving a warm ambiance to the arrangement of objects on the table.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/99.txt b/code/evaluations/dpg/prompts/99.txt
deleted file mode 100644
index da35f600b27020477aba5291c7c772cfddb4fcc8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/99.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the spacious backyard, a large square green trash bin stands firmly on the grass, its solid structure stark against the natural setting. Approaching it, a vibrant red baseball rolls steadily across the lawn, its round shape contrasting with the rectangular contours of the bin. The grass, slightly damp, leaves a faint trail on the ball as it moves closer to the stationary receptacle.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000010363.txt b/code/evaluations/dpg/prompts/COCOval2014000000010363.txt
deleted file mode 100644
index 2248d9b5f29e6ca50a3e948676bdc207f413409a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000010363.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek gray cat balances on the roof of a polished black car. The car is situated in a driveway, flanked by neatly trimmed hedges on either side. Sunlight reflects off the car's surface, highlighting the cat's poised stance as it surveys its surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000014635.txt b/code/evaluations/dpg/prompts/COCOval2014000000014635.txt
deleted file mode 100644
index 2aca35309967cb1fc956d920fa70c9a07a4119fd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000014635.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman dressed in a warm, stylish coat is seated at a small round table. She appears to be in a cozy indoor setting, possibly a café or a waiting area. The table is adorned with a vase containing a single flower, adding a touch of elegance to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000023272.txt b/code/evaluations/dpg/prompts/COCOval2014000000023272.txt
deleted file mode 100644
index 6168dd20cfb392136b935c93f784593e85562070..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000023272.txt
+++ /dev/null
@@ -1 +0,0 @@
-A calico cat, sporting a patchwork of orange, black, and white fur, is comfortably nestled on top of a sleek Mercedes Benz. The luxury vehicle, with its emblem glinting in the light, is stationary, possibly in a quiet residential area. The cat, with its eyes gently shut, appears to be in a state of serene repose, oblivious to the world around it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000041572.txt b/code/evaluations/dpg/prompts/COCOval2014000000041572.txt
deleted file mode 100644
index b7ab1d2344d3716c5043d94c91fb3b05a9f5857d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000041572.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vintage black and white photograph captures a tense moment on a baseball field. In the foreground, a batter stands ready at home plate, his posture poised for the incoming pitch. On the mound, the pitcher is caught mid-windup, the baseball clutched tightly in his hand, with the rest of the players positioned strategically around the diamond.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000042810.txt b/code/evaluations/dpg/prompts/COCOval2014000000042810.txt
deleted file mode 100644
index a84460796081d70272548ff6a79b90004015e7a5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000042810.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman dressed in athletic attire, featuring a crisp white top and a vibrant pink skirt, is poised on a tennis court. She is in the midst of a serve, with the tennis ball held aloft in one hand and her racket ready in the other. The court is marked with white lines and surrounded by a high fence, indicating a dedicated space for the sport.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000045844.txt b/code/evaluations/dpg/prompts/COCOval2014000000045844.txt
deleted file mode 100644
index dbb760a4a5e5c59fd0d856463260ba14d3dfc85d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000045844.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an open area, two children are energetically swinging their rackets on a makeshift tennis court outlined with chalk on the ground. Makeshift nets are set up, and the kids are wearing casual sports attire, indicating an informal game. The surrounding area is spacious enough to accommodate their game, with a few trees casting a gentle shade nearby.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000053916.txt b/code/evaluations/dpg/prompts/COCOval2014000000053916.txt
deleted file mode 100644
index 79ee332fb2b591be1f698c249681ad5c7d5bec05..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000053916.txt
+++ /dev/null
@@ -1 +0,0 @@
-A serene grassland dotted with acacia trees under a clear sky. Two zebras stand side by side on the green grass, their stripes contrasting with the surrounding foliage. The shade from a large tree offers them a cool respite from the sun's warmth.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000055053.txt b/code/evaluations/dpg/prompts/COCOval2014000000055053.txt
deleted file mode 100644
index 3e3402734faed70f975196d97c4332d45e07cadf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000055053.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small town road lined with quaint houses and a smattering of trees on either side. In the middle of the road, a trio of white sheep ambles along, seemingly at ease amidst the quiet neighborhood. The road stretches out ahead, curving slightly as it disappears into the distance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000063595.txt b/code/evaluations/dpg/prompts/COCOval2014000000063595.txt
deleted file mode 100644
index c649335d96fa80c979c8bf1916f661ba0eb2f491..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000063595.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tennis court with a player dressed in a vibrant red shirt preparing for a serve. The player is positioned at the baseline, racket in hand, focused on the upcoming play. The court is marked with white lines, and a net stretches across the center, dividing the playing field.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000064574.txt b/code/evaluations/dpg/prompts/COCOval2014000000064574.txt
deleted file mode 100644
index 0a3b279cfca727fec78a86aef0862fa978a8ba2d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000064574.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy indoor setting with a soft, textured blanket spread out on a flat surface. Resting upon the blanket are a sleek pen and an assortment of personal hair care products, including brushes and combs. The items are neatly arranged, suggesting a moment of grooming or self-care preparation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000070471.txt b/code/evaluations/dpg/prompts/COCOval2014000000070471.txt
deleted file mode 100644
index 5c4cf14d304c75ef79cfb456c17654561be49da7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000070471.txt
+++ /dev/null
@@ -1 +0,0 @@
-An adult is seated on a beige couch in a living room, holding a small child in their lap. The child, with a mischievous glint in their eye, is playfully biting into a black television remote. Around them, the room is filled with scattered toys and a plush, colorful rug on the floor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000077222.txt b/code/evaluations/dpg/prompts/COCOval2014000000077222.txt
deleted file mode 100644
index 32da37bcef12fc284f2b22988e2fe4e1e8bcbffd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000077222.txt
+++ /dev/null
@@ -1 +0,0 @@
-a uniformed soldier kneeling down to meet the eye level of a group of young children. the children are gathered around with expressions of curiosity and excitement. the soldier's smile is warm and friendly as he extends his hand for a handshake or high-five.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000084701.txt b/code/evaluations/dpg/prompts/COCOval2014000000084701.txt
deleted file mode 100644
index cbef762aa15a1f16fb365c59129692fe607e3a6b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000084701.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious living room featuring a large, comfortable couch facing a modern coffee table. Alongside the main furniture, there's a stack of suitcases and travel bags, hinting at recent travels or an upcoming trip. The room is completed with tasteful decor and a large window allowing natural light to fill the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000085298.txt b/code/evaluations/dpg/prompts/COCOval2014000000085298.txt
deleted file mode 100644
index a401e29b12ec993353a716af59e3f6836f0fcb9a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000085298.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young girl with her hair tied back stands in the middle of a tennis court, gripping a tennis racket with determination. The court is marked with white lines, indicating the boundaries for the game. Around the court, a tall fence can be seen, enclosing the area for players and spectators alike.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000092768.txt b/code/evaluations/dpg/prompts/COCOval2014000000092768.txt
deleted file mode 100644
index 162000ae1bd71f5f54ea5dd20e393456af4c0b6b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000092768.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elderly gentleman with a weathered face sits on a park bench, cradling a well-worn wooden guitar in his arms. His fingers are poised over the strings, ready to play a tune. The bench is situated along a path lined with trees that provide a canopy of shade overhead.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000095297.txt b/code/evaluations/dpg/prompts/COCOval2014000000095297.txt
deleted file mode 100644
index 544bcd8d88769305d47622315aeef170a76ffd96..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000095297.txt
+++ /dev/null
@@ -1 +0,0 @@
-a man is seated at a rustic wooden table, holding an oversized slice of pizza in his hands. the pizza is loaded with an array of colorful toppings, and strings of melted cheese stretch with each bite he takes. the table also has a few scattered napkins and a half-empty soda glass beside a pizza box with the lid ajar.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000096306.txt b/code/evaluations/dpg/prompts/COCOval2014000000096306.txt
deleted file mode 100644
index 66a81f194584cc978844a357e4e7c1d58e171d69..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000096306.txt
+++ /dev/null
@@ -1 +0,0 @@
-An indoor recreational space with several table tennis tables set up for play. Players are engaged in matches, with some practicing serves while others are in the midst of a rally. The room is filled with the sound of ping pong balls being struck back and forth across the tables.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000100343.txt b/code/evaluations/dpg/prompts/COCOval2014000000100343.txt
deleted file mode 100644
index c72e8d2628cacc9824aadc2ac8997196472e690e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000100343.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy kitchen scene where a plush teddy bear is seated amongst a bunch of ripe bananas. The bananas are resting on a wooden countertop, which also features a variety of other groceries and kitchen utensils. In the background, a window allows natural light to illuminate the teddy bear's soft fur and the vibrant yellow of the bananas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000101456.txt b/code/evaluations/dpg/prompts/COCOval2014000000101456.txt
deleted file mode 100644
index 5a21e1a7913bb54fe15fce0923322b287bd43055..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000101456.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious kitchen with a large wooden table at the center, cluttered with an assortment of pots, pans, and cooking utensils. The table is surrounded by matching wooden chairs, and the walls are lined with shelves filled with spices and kitchenware. Sunlight streams in through a window, casting a warm glow on the array of cookware.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000103161.txt b/code/evaluations/dpg/prompts/COCOval2014000000103161.txt
deleted file mode 100644
index 9fb85cd1b55e153938c155c8175fe6dfc08172e6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000103161.txt
+++ /dev/null
@@ -1 +0,0 @@
-a white ceramic plate holding a simple meal consisting of a few roasted potatoes and an egg sandwich with a golden yolk peeking out. The plate is set upon a wooden dining table, accompanied by a fork and a knife lying beside it. The sandwich is made with toasted bread, adding a crunchy texture to the dish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000110587.txt b/code/evaluations/dpg/prompts/COCOval2014000000110587.txt
deleted file mode 100644
index 54bd6a25f76e7533f57482edf43e1d781edd1903..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000110587.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man stands in front of a bathroom mirror, a toothbrush lodged in his mouth as he brushes his teeth. The bathroom is equipped with a white porcelain sink and a small window that lets in natural light. On the counter, there's a tube of toothpaste lying next to a cup filled with assorted dental hygiene tools.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000113571.txt b/code/evaluations/dpg/prompts/COCOval2014000000113571.txt
deleted file mode 100644
index 249385bfb141233f7fd2627425bb5de0b1336834..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000113571.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man stands at a table with a colorful birthday cake adorned with lit candles. He carefully slices the cake with a long knife, preparing to serve the guests. The table is covered with a festive tablecloth and scattered with other party accessories.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000126046.txt b/code/evaluations/dpg/prompts/COCOval2014000000126046.txt
deleted file mode 100644
index cd64fa25e683ae167e59e8e131c0024fcc6e38af..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000126046.txt
+++ /dev/null
@@ -1 +0,0 @@
-An urban street corner featuring freshly painted blue arrows on the asphalt, directing traffic flow. Several bright orange traffic cones are strategically placed to guide vehicles around a construction area. In the background, a traffic light hangs above, glowing green, signaling drivers to proceed with caution.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000126671.txt b/code/evaluations/dpg/prompts/COCOval2014000000126671.txt
deleted file mode 100644
index a8d3de439c8ea2639285c35eceeb42f88d056c71..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000126671.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clean, bright bathroom featuring a white toilet next to a bathtub. The tub is equipped with a shower that has a striped curtain partially drawn. The walls are tiled, and a small window allows natural light to filter in, illuminating the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000136271.txt b/code/evaluations/dpg/prompts/COCOval2014000000136271.txt
deleted file mode 100644
index 597f05b30e1914d695c0ee5d76ac25f946f654a5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000136271.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of colorful fruit bins line the front of a local produce stand, each filled with fresh, ripe selections. Above each bin, clear signs display the prices, inviting passersby to browse and purchase. The stand is neatly organized, showcasing a variety of fruits from apples to exotic mangoes, catering to the tastes of a diverse clientele.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000146190.txt b/code/evaluations/dpg/prompts/COCOval2014000000146190.txt
deleted file mode 100644
index feb678837b02b1c2f866721d8d6e1aae99d8250a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000146190.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious green field under a clear blue sky, with a single figure standing in the center. The person is captured in mid-action, tossing a brightly colored frisbee with a focused expression. Around them, the grass sways gently, and in the distance, a line of trees can be seen marking the field's boundary.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000164121.txt b/code/evaluations/dpg/prompts/COCOval2014000000164121.txt
deleted file mode 100644
index 921e54f7dadeb22c7f31788afd2008590ef896ea..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000164121.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious kitchen featuring natural wooden cabinets that show signs of frequent use. The countertop is cluttered with an assortment of kitchen gadgets, utensils, and a bowl of fresh fruit. Sunlight streams in, illuminating the space and highlighting the details of the cluttered surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000166358.txt b/code/evaluations/dpg/prompts/COCOval2014000000166358.txt
deleted file mode 100644
index a04763691119ea00d76d86a497e6d3725d922fd9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000166358.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sprawling snow resort bustling with activity, with skiers and snowboarders dotting the slopes. Multiple ski lifts are in operation, carrying guests to the top of the white, powdery hills. The resort features a large lodge at the base, where more people can be seen enjoying the amenities.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000167696.txt b/code/evaluations/dpg/prompts/COCOval2014000000167696.txt
deleted file mode 100644
index 1e2daa08217e0feb0505a75ebb84cf56644b30f5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000167696.txt
+++ /dev/null
@@ -1 +0,0 @@
-a life-sized zebra sculpture positioned in the center of a well-manicured garden space. The garden is dotted with a variety of lush plants and flowers, providing a vibrant backdrop to the monochromatic statue. A gravel pathway winds around the garden, inviting visitors to view the sculpture from different angles.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000180784.txt b/code/evaluations/dpg/prompts/COCOval2014000000180784.txt
deleted file mode 100644
index 74b213380ce9ac8b474b0c0739ea5620bb894b5a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000180784.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint, single-engine propeller plane with a vibrant paint job rests in the middle of a wide-open grassy field. The field is bordered by a simple fence and a few scattered trees in the distance. The plane's small size suggests it's designed for personal or recreational use, and it sits idle under the clear sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000180800.txt b/code/evaluations/dpg/prompts/COCOval2014000000180800.txt
deleted file mode 100644
index 2e6d109c621e78784a653ed1a2ac7a997c88a8ce..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000180800.txt
+++ /dev/null
@@ -1 +0,0 @@
-Rows of neatly arranged wooden shelves line the interior of a local grocery store's produce section. On one of the shelves, small metal pails filled with bright, ripe oranges catch the eye. The oranges are stacked to the brim, offering a fresh and colorful selection to shoppers passing by.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000183648.txt b/code/evaluations/dpg/prompts/COCOval2014000000183648.txt
deleted file mode 100644
index d5cf69142f840bb947aa1cc2c8e16aec33ce2f03..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000183648.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of three individuals positioned beside a towering elephant in an open area. The elephant's gray skin contrasts with the colorful clothing of the people. They appear to be engaged in a moment of interaction, with the vast sky above them and the ground beneath scattered with dry grass.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000187240.txt b/code/evaluations/dpg/prompts/COCOval2014000000187240.txt
deleted file mode 100644
index 842253488a8e0cec37b11a2c2d17b98fb24d086f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000187240.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant red bus is parked on a bustling city street, its size overshadowing the adjacent white van. The street is lined with a mix of small shops and residential buildings, each with their own unique facades. The vehicles are positioned parallel to the curb, with the bus's destination sign clearly visible above its windshield.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000191919.txt b/code/evaluations/dpg/prompts/COCOval2014000000191919.txt
deleted file mode 100644
index c2a79e40232320e670aab3068b34ac0516d4e84d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000191919.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pastoral scene unfolds with a herd of cows scattered across a lush green field, leisurely grazing under the open sky. The field is bordered by a simple wooden fence, and in the distance, a cluster of trees can be seen lining the horizon. The cows, with their varied brown and white patterns, appear content in their tranquil environment, occasionally lifting their heads to survey their peaceful surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000205054.txt b/code/evaluations/dpg/prompts/COCOval2014000000205054.txt
deleted file mode 100644
index 8bcfc3485d1dc902cab911604dd3d360b9966b1c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000205054.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy room featuring a sturdy wooden table at the center. Atop the table, a gray cat is comfortably sprawled out, basking in the tranquility of the space. The table also holds a few scattered papers and a potted plant, adding a touch of lived-in charm to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000206496.txt b/code/evaluations/dpg/prompts/COCOval2014000000206496.txt
deleted file mode 100644
index 9adf296587c4425a7c660d7835ae443f0d25f65c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000206496.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of tourists is seated atop a large elephant, which is part of a caravan of elephants walking in a line. Each elephant carries passengers securely fastened in a howdah, and they are led by guides walking alongside them. The procession of elephants moves through a natural trail surrounded by dense foliage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000211560.txt b/code/evaluations/dpg/prompts/COCOval2014000000211560.txt
deleted file mode 100644
index bea45f354534f80e561771f09711ac4e8ebf12b0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000211560.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large black bear with a thick coat of fur is sprawled out on a rocky outcrop. Its gaze is fixed directly on the camera, giving a sense of direct engagement with the viewer. The rocks where the bear rests are surrounded by a smattering of green foliage, hinting at a forested habitat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000212403.txt b/code/evaluations/dpg/prompts/COCOval2014000000212403.txt
deleted file mode 100644
index 88b22a4d8cd9751d75895606ac877576d51e74d7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000212403.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rider atop a chestnut horse in the middle of a spacious pasture enclosed by a wooden fence. The pasture is dotted with patches of green grass and the occasional tree, providing a serene setting for the horse and rider. In the distance, a barn can be seen, completing the pastoral scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000214123.txt b/code/evaluations/dpg/prompts/COCOval2014000000214123.txt
deleted file mode 100644
index 43060dbb53aa8e56b2000cdb43df3d9a00f13cfe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000214123.txt
+++ /dev/null
@@ -1 +0,0 @@
-two women are seated at a modern kitchen island with sleek countertops. they appear to be engaged in a casual conversation over cups of coffee. the kitchen is equipped with contemporary appliances and a vase of fresh flowers adds a touch of color to the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000217133.txt b/code/evaluations/dpg/prompts/COCOval2014000000217133.txt
deleted file mode 100644
index 7b43726cfc0dd30c3c786382cf412affd4bb7f4c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000217133.txt
+++ /dev/null
@@ -1 +0,0 @@
-an aged pickup truck sits with its hood propped open, revealing a dusty and intricate engine beneath. The vehicle's body shows signs of wear and rust, hinting at its long service and many journeys. The truck is parked on a stretch of gravel, with no other vehicles in immediate sight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000224622.txt b/code/evaluations/dpg/prompts/COCOval2014000000224622.txt
deleted file mode 100644
index c74966d4dd3adeddaadf75725e866d5f37d52909..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000224622.txt
+++ /dev/null
@@ -1 +0,0 @@
-a towering clock tower stands against the backdrop of a clear blue sky. the clock face is visible, showing the time, with intricate details around its frame. the structure's architecture is a blend of classic and modern elements, with the tower rising prominently above the surrounding buildings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000229427.txt b/code/evaluations/dpg/prompts/COCOval2014000000229427.txt
deleted file mode 100644
index 940c0176fd9dfbe029a98c6024d1990571c0020e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000229427.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two people, a man and a woman, are standing in a spacious living room, each holding a game controller in their hands. They are focused on a large television screen in front of them, which is displaying a colorful video game interface. Around them, the room is furnished with a comfortable couch and a coffee table scattered with magazines and remote controls.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000231527.txt b/code/evaluations/dpg/prompts/COCOval2014000000231527.txt
deleted file mode 100644
index 730d4e63a782852078dc3c103166936648cd64a4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000231527.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic wooden table with a natural grain finish, bathed in soft light. On its surface, a cluster of ripe oranges is arranged next to two glass jars filled with a vibrant orange marmalade. The jars catch the light, highlighting the rich color and texture of the contents within.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000239274.txt b/code/evaluations/dpg/prompts/COCOval2014000000239274.txt
deleted file mode 100644
index 03a6c68000b7242d6e4e13472892fdcfcab5fd54..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000239274.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large pontoon boat, its deck lined with rows of seats, is filled with passengers. The boat is just beginning to move away from the dock, creating ripples on the water's surface. The shoreline is dotted with trees and a few buildings that are slowly receding into the background as the ferry starts its journey across the calm lake.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000241677.txt b/code/evaluations/dpg/prompts/COCOval2014000000241677.txt
deleted file mode 100644
index 26f47cf14db739c193204a240730b29c27fc71f1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000241677.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scenic trail where a group of riders are mounted on their horses, moving in a line. The horses appear well-groomed, and the riders are dressed in casual riding attire. The path they are on is bordered by trees, and the group seems to be enjoying a leisurely ride in the countryside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000245497.txt b/code/evaluations/dpg/prompts/COCOval2014000000245497.txt
deleted file mode 100644
index 4d103109944f635a3bbcc788c3ee8ba32ca0e320..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000245497.txt
+++ /dev/null
@@ -1 +0,0 @@
-a young skateboarder caught mid-air as they leap off the last step of a concrete staircase. the skateboarder's focus and determination are evident in their posture. the steps are part of a public urban area, with metal railings on one side and a grassy patch visible in the background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000261981.txt b/code/evaluations/dpg/prompts/COCOval2014000000261981.txt
deleted file mode 100644
index 8a969a0e9243be4751b3ab97efd8925f3a27345b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000261981.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek black cat with a smart tie around its neck lounges comfortably on a neatly made bed. The bed features a white duvet and a selection of plush pillows against a simple headboard. The room is illuminated by soft light, highlighting the cat's glossy fur and the playful contrast of its formal accessory.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000264619.txt b/code/evaluations/dpg/prompts/COCOval2014000000264619.txt
deleted file mode 100644
index c89c6d78bd3d60737434d68a8a95416c0ef4b16b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000264619.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sandy beach scene where a man stands at the water's edge, clutching a brightly colored surfboard under his arm. In the distance, two wind gliders are skimming across the surface of the ocean, their sails billowing in the breeze. The horizon is dotted with small boats, and the sky above is clear, hinting at favorable conditions for water sports.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000276149.txt b/code/evaluations/dpg/prompts/COCOval2014000000276149.txt
deleted file mode 100644
index 79ba2dac44546927927df93d0ee69a8d61c0cf1d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000276149.txt
+++ /dev/null
@@ -1 +0,0 @@
-A snowy landscape bustling with activity as numerous individuals are scattered throughout the area. People are dressed in warm winter clothing, some are engaged in building a snowman, while others are enjoying a snowball fight. The ground is covered in a thick blanket of fresh snow that crunches underfoot, with footprints crisscrossing in various directions.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000277051.txt b/code/evaluations/dpg/prompts/COCOval2014000000277051.txt
deleted file mode 100644
index aff195590d1c27f46babc6634d214544f5348f9b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000277051.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic wooden table set outside, perhaps in a garden or patio area. On its surface, a pair of small birds are perched, casually observing their surroundings. The table shows signs of weathering, indicating it's been a part of the outdoor scenery for some time.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000284772.txt b/code/evaluations/dpg/prompts/COCOval2014000000284772.txt
deleted file mode 100644
index 6bcfd7dfc2fcd0bbb8473b12caf38e9a55ed77cc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000284772.txt
+++ /dev/null
@@ -1 +0,0 @@
-A brown dog paddles through the clear blue water, its eyes focused ahead. In its mouth, it firmly holds a brightly colored Frisbee, seemingly proud of its retrieval. The sun reflects off the water's surface, creating a sparkling effect around the swimming canine.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000309495.txt b/code/evaluations/dpg/prompts/COCOval2014000000309495.txt
deleted file mode 100644
index 05e164bb0662cd92eb8607411ad5e8ac7647e69f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000309495.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pristine white bathroom with a ceramic toilet installed against a tiled wall. Beside the toilet, a single roll of toilet paper rests on a holder within arm's reach. The floor is tiled in a matching white, reflecting the cleanliness of the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000310532.txt b/code/evaluations/dpg/prompts/COCOval2014000000310532.txt
deleted file mode 100644
index 931d6b8d5e81a2ac9add0b2857715b5672c16ef0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000310532.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pristine white bathroom featuring a freestanding tub adjacent to a matching white sink. The walls are adorned with minimalist decor and the floor is tiled in a subtle grey pattern. Natural light streams in, illuminating the chrome fixtures and clean lines of the bathroom's design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000311879.txt b/code/evaluations/dpg/prompts/COCOval2014000000311879.txt
deleted file mode 100644
index 3317a478c351028ac817035cd3289386d54ce4ac..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000311879.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern kitchen interior featuring stainless steel appliances, including a sleek oven and a large refrigerator. The countertops are clean and spacious, with a few cooking utensils neatly arranged. The kitchen is well-organized, with ample cabinet space above and below the countertops.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000313130.txt b/code/evaluations/dpg/prompts/COCOval2014000000313130.txt
deleted file mode 100644
index 0135b8fa278a3a3bfca2d450079e79d6664897f2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000313130.txt
+++ /dev/null
@@ -1 +0,0 @@
-a modern kitchen features a sleek silver refrigerator standing beside a matching microwave. The appliances are set against a wall with a subtle paint finish, and the room is illuminated by natural light streaming in from a nearby window. The clean lines and minimalist design suggest a contemporary home with an emphasis on functionality.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000319830.txt b/code/evaluations/dpg/prompts/COCOval2014000000319830.txt
deleted file mode 100644
index 943e3bf80ba95a8e480f2d2540bdd02a7a391de3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000319830.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual stands at the water's edge, a fishing rod in hand, poised and focused on the task at hand. The bank is lined with reeds and rocks, providing a natural habitat for the fish. In the distance, the gentle flow of the water creates a serene backdrop for this tranquil fishing scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000321522.txt b/code/evaluations/dpg/prompts/COCOval2014000000321522.txt
deleted file mode 100644
index 2575fe14c49408fd4c1645d6bb5da5eb4245789d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000321522.txt
+++ /dev/null
@@ -1 +0,0 @@
-The kitchen boasts a vintage aesthetic, complete with classic appliances that hark back to a bygone era. Retro pictures adorn the walls, adding to the nostalgic charm of the space. The countertops are lined with period-appropriate gadgets and decorative items, complementing the overall old-fashioned theme.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000325237.txt b/code/evaluations/dpg/prompts/COCOval2014000000325237.txt
deleted file mode 100644
index 1710e717caa980bce4c8a7a82cd8d62f9b7c320d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000325237.txt
+++ /dev/null
@@ -1 +0,0 @@
-Pedestrians with umbrellas navigate a wet sidewalk glistening from the rainfall. The street alongside is lined with lampposts and trees that are gently swaying in the breeze. Puddles have formed on the ground, reflecting the overcast sky and the city buildings that loom in the background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000328512.txt b/code/evaluations/dpg/prompts/COCOval2014000000328512.txt
deleted file mode 100644
index 8f3607b280e32f955e68be0e3a0e18c5023eae5d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000328512.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image of a giraffe's face, with its large, brown eyes staring directly into the camera lens. The giraffe's long neck and distinctive patterned fur are clearly visible against a backdrop of blue sky and a few scattered clouds. Its ears are perked up, giving it a look of curiosity as it gazes at the viewer.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000339120.txt b/code/evaluations/dpg/prompts/COCOval2014000000339120.txt
deleted file mode 100644
index 6b858dcab0f9b559c0ab03d7eb6de17d411b4271..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000339120.txt
+++ /dev/null
@@ -1 +0,0 @@
-An outdoor tennis court with a green surface and white boundary lines. A man and a child are engaged in a playful tennis match, each holding a racket and focusing on the ball. The court is surrounded by a tall fence, and there are trees casting shadows on the ground nearby.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000341973.txt b/code/evaluations/dpg/prompts/COCOval2014000000341973.txt
deleted file mode 100644
index 8ef5727876db7c8bd963096f765dc1b9267561d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000341973.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two young girls stand side by side in a brightly lit room, each holding a colorful doughnut with a smile. They are dressed casually, and the room behind them features a neutral-colored wall and a few hanging pictures. Their cheerful expressions suggest they are enjoying a fun moment together during a friendly gathering.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000342593.txt b/code/evaluations/dpg/prompts/COCOval2014000000342593.txt
deleted file mode 100644
index 92af1fb37a28c6faff707bb9d6eef5e66099d61f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000342593.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young boy is seated comfortably in a cushioned chair in a well-organized living room. He is intently focused on the television screen in front of him, gripping a video game controller with both hands. Around him, the room is adorned with a few framed pictures and a plant on the windowsill, adding a touch of homeliness to the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000354868.txt b/code/evaluations/dpg/prompts/COCOval2014000000354868.txt
deleted file mode 100644
index 6484c84781b54313d75361cfa1e02636a801dd71..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000354868.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aged locomotive, its surface weathered and worn, chugs forcefully along the tracks of a sprawling rail yard. The yard is a maze of intersecting rails, scattered with various railcars and equipment. The train's determined movement gives the impression of urgency as it navigates through the industrial landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000360132.txt b/code/evaluations/dpg/prompts/COCOval2014000000360132.txt
deleted file mode 100644
index 4b22c5529b6478d64bb38f433138e1a484e1c89e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000360132.txt
+++ /dev/null
@@ -1 +0,0 @@
-a tall giraffe standing next to a water hole, its long neck extended towards the lush leaves of an acacia tree. the tree's branches are just within reach of the giraffe's curious gaze. the scene is set in a sunlit savannah with the water hole reflecting the clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000361885.txt b/code/evaluations/dpg/prompts/COCOval2014000000361885.txt
deleted file mode 100644
index 22755590992fb5fb3cec276a4c1acb9c6dc6863f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000361885.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious living area with modern furnishings and a large flat-screen TV mounted on the wall. In the center, a man is standing with a Wii remote in hand, ready to play a video game. The room is well-organized, with no visible clutter and a sleek, contemporary design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000365511.txt b/code/evaluations/dpg/prompts/COCOval2014000000365511.txt
deleted file mode 100644
index 2a15e4fbcb5a905724ae402c2747786f5f40d8fa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000365511.txt
+++ /dev/null
@@ -1 +0,0 @@
-A suburban street lined with power lines that intersect above, casting a web of shadows on the pavement below. To the side, a solitary tree stands tall, its branches reaching towards the lines. Nearby, a street sign is clearly visible, indicating directions or street names for passersby.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000367228.txt b/code/evaluations/dpg/prompts/COCOval2014000000367228.txt
deleted file mode 100644
index 86177b50372420cb3659c11cc79792b3d116065b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000367228.txt
+++ /dev/null
@@ -1 +0,0 @@
-A youthful individual is engaged in flying a colorful kite in a spacious grassy field adjacent to a calm body of water. The sky above is clear, allowing the kite to ascend steadily on the gentle breeze. In the background, the water's edge is lined with reeds and small bushes, complementing the serene outdoor activity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000367905.txt b/code/evaluations/dpg/prompts/COCOval2014000000367905.txt
deleted file mode 100644
index 886469a4b26e04014f72d14f65b84394b0ca64a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000367905.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man wearing a black rash guard is caught mid-fall from his surfboard amidst the ocean waves. The surfboard is visible, slightly tilted, indicating the loss of balance. The ocean around him is a deep blue, and the horizon can be seen in the distance with a clear sky overhead.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000377183.txt b/code/evaluations/dpg/prompts/COCOval2014000000377183.txt
deleted file mode 100644
index 7c3b39b9e0ae98d0a321fb2846247ee9fdc62581..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000377183.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern office space featuring a sleek desk with a computer set up, including a monitor, keyboard, and mouse. Beside the computer, there's a printer with a stack of paper next to it. An ergonomic office chair is positioned in front of the desk, ready for someone to sit down and start working.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000390241.txt b/code/evaluations/dpg/prompts/COCOval2014000000390241.txt
deleted file mode 100644
index 80007e832c022258475082a87bc282dc88fb5938..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000390241.txt
+++ /dev/null
@@ -1 +0,0 @@
-An overturned bus lying on its side on a stretch of road. The bus's wheels are exposed to the sky, and its windows are shattered, with glass fragments scattered around. The scene is cordoned off with yellow caution tape, indicating an area of investigation or cleanup.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000398222.txt b/code/evaluations/dpg/prompts/COCOval2014000000398222.txt
deleted file mode 100644
index ff16e746d8f8a602562ad2bee2fb64eebc27b262..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000398222.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious dining room filled with a large table set for a feast, surrounded by guests engaged in lively conversation. The table is adorned with fine china, gleaming silverware, and an array of colorful dishes ready to be enjoyed. Soft lighting casts a warm glow over the scene, highlighting the faces of the many attendees who have come together to enjoy the dinner party.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000403792.txt b/code/evaluations/dpg/prompts/COCOval2014000000403792.txt
deleted file mode 100644
index 1a4fa525bd36d9a75c2f0dda38a36c535f830f15..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000403792.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two snowboarders, clad in colorful winter gear, are seated on a chairlift, their snowboards hanging below them. The lift cables stretch upward, disappearing into the distance as they ascend the snowy mountain. Around them, the landscape is dotted with pine trees and the trails carved by previous adventurers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000406315.txt b/code/evaluations/dpg/prompts/COCOval2014000000406315.txt
deleted file mode 100644
index 49c94cad7b7f5e2c51ff2b6095d01f1c9abaed91..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000406315.txt
+++ /dev/null
@@ -1 +0,0 @@
-A playful scene unfolds in a spacious room where a young boy with a mischievous grin is climbing into a large, open suitcase. The suitcase lies on a soft carpet, surrounded by toys and clothes scattered about. The boy seems to be attempting a game of hide-and-seek, tucking himself into the suitcase with a look of anticipation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000410889.txt b/code/evaluations/dpg/prompts/COCOval2014000000410889.txt
deleted file mode 100644
index 72161c6228fddac13639ba9d508519296bab8ee0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000410889.txt
+++ /dev/null
@@ -1 +0,0 @@
-A freshly baked pizza sits on a wooden table, its crust golden and edges slightly charred. The top is generously adorned with a variety of colorful toppings, including slices of pepperoni, chunks of bell pepper, and melted cheese. A sprinkling of fresh basil leaves adds a touch of green to the vibrant dish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000411953.txt b/code/evaluations/dpg/prompts/COCOval2014000000411953.txt
deleted file mode 100644
index 99dae073ed9deea393991bc0ad88e6f1582c4424..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000411953.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man dressed in a crisp white shirt and sleek black tie is seated with a guitar in his hands. He is focused intently on the strings, fingers positioned to strum a chord. The room around him is blurred, emphasizing the musician and his instrument as the central subjects of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000413552.txt b/code/evaluations/dpg/prompts/COCOval2014000000413552.txt
deleted file mode 100644
index 12c19ae26b0d274392133db734411663164f6062..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000413552.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy indoor setting where a woman is seated with a baby on her lap. The infant, dressed in a colorful outfit, gazes directly into the lens of the camera with a curious expression. The background is softly blurred, highlighting the interaction between the child and the camera.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000417946.txt b/code/evaluations/dpg/prompts/COCOval2014000000417946.txt
deleted file mode 100644
index 725a9800a96669821ff43828b2c6978686cbbd38..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000417946.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scenic outdoor area captured in a photograph, featuring a lush green lawn with a variety of plants and trees. In the background, there's a clear blue sky with a few scattered clouds. The image conveys a sense of openness and natural beauty.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000424349.txt b/code/evaluations/dpg/prompts/COCOval2014000000424349.txt
deleted file mode 100644
index 123582023f025c40c127da553dc686d61025e29e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000424349.txt
+++ /dev/null
@@ -1 +0,0 @@
-A chef dressed in a white apron and a tall chef's hat is sliding a freshly topped pizza into a large industrial oven. The professional kitchen is equipped with stainless steel countertops and a variety of cooking utensils hanging from a rack above. The warm glow from the oven illuminates the chef's focused expression as they carefully handle the pizza peel.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000425925.txt b/code/evaluations/dpg/prompts/COCOval2014000000425925.txt
deleted file mode 100644
index 0d05f97d07a333f5a5af7a258beb37a7eb06b2e1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000425925.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bustling city street lined with various shops and cafes, leading the eye towards a distinctive building in the distance. The building is notable for its maroon steeple, which houses clocks just beneath a prominent standing platform. The architecture of the building stands out against the urban landscape, hinting at historical significance amidst the modern city life.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000434657.txt b/code/evaluations/dpg/prompts/COCOval2014000000434657.txt
deleted file mode 100644
index 4fe8f316fe374034d66158000a24e3814b714aef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000434657.txt
+++ /dev/null
@@ -1 +0,0 @@
-a solitary surfer is riding a wave, his silhouette outlined against the ocean's expanse. the water around him is a gradient of blues, with white foam cresting at the wave's peak. in the distance, the shoreline is visible, hinting at a vast beach beyond.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000441411.txt b/code/evaluations/dpg/prompts/COCOval2014000000441411.txt
deleted file mode 100644
index 9e627fc367283a466c14c78f4bfdd6b64ef030fd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000441411.txt
+++ /dev/null
@@ -1 +0,0 @@
-A domestic cat with a sleek coat stands alert next to a plush brown teddy bear. The teddy bear is seated on a hardwood floor, its size comparable to the feline companion beside it. Both the cat and the teddy bear are positioned near a light-colored wall, with a hint of a houseplant's green leaves in the corner of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000447553.txt b/code/evaluations/dpg/prompts/COCOval2014000000447553.txt
deleted file mode 100644
index 55c2c57ae03f6a50d5f79ba4fc73d409c6eee642..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000447553.txt
+++ /dev/null
@@ -1 +0,0 @@
-A serene beach scene with a vast expanse of sand stretching out towards the horizon. In the distance, a couple is seen with a colorful kite soaring high in the sky above them. The beach is devoid of other visitors, giving the couple a private moment with the gentle sea breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000449726.txt b/code/evaluations/dpg/prompts/COCOval2014000000449726.txt
deleted file mode 100644
index 606ac9533e33c09842f36edde5309ffb5d459255..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000449726.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic piece of crusty bread with a circular cutout in the center, where a fried egg sits perfectly cooked. The yolk is still runny, and the edges of the egg are slightly crispy. The plate on which the bread and egg rest is white, providing a stark contrast to the golden brown hues of the meal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000465130.txt b/code/evaluations/dpg/prompts/COCOval2014000000465130.txt
deleted file mode 100644
index f27f2d51a7e2acfe50e8030bfd50a1c9119f5e4d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000465130.txt
+++ /dev/null
@@ -1 +0,0 @@
-The room features a neatly made bed with a plush comforter, positioned against a soft-colored wall. Adjacent to it, a cozy chair and a couch offer additional seating options, while a sleek TV stand and a sturdy desk complete the room's furnishings. The desk is set up with a lamp and some stationery, ready for work or study.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000471528.txt b/code/evaluations/dpg/prompts/COCOval2014000000471528.txt
deleted file mode 100644
index eb968c592ceb9a6b42b6ce06074af010f009d04f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000471528.txt
+++ /dev/null
@@ -1 +0,0 @@
-An eye-catching graphic designed to capture the attention of writers across the country. It features bold text and vibrant colors to announce the National Novel Writing Month event. The graphic includes motivational slogans and the dates of the event, encouraging authors to unleash their creativity and join the challenge.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000479732.txt b/code/evaluations/dpg/prompts/COCOval2014000000479732.txt
deleted file mode 100644
index 18eb8ca94003082870de242baf2c9ee2a17a79c7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000479732.txt
+++ /dev/null
@@ -1 +0,0 @@
-A hefty sandwich filled with an assortment of meats and vegetables is nestled within a white Styrofoam container. The container sits on a plain surface, with a few crumbs scattered around it. The sandwich appears to be freshly made, with the contents slightly spilling out the sides due to its generous fillings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000493435.txt b/code/evaluations/dpg/prompts/COCOval2014000000493435.txt
deleted file mode 100644
index f429e33c9ac2d9524328f7b9909c8c8a2d545e78..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000493435.txt
+++ /dev/null
@@ -1 +0,0 @@
-A park bench made of weathered wood, with a large, flat-screen television set precariously on top. Behind the bench, an open umbrella with a colorful pattern provides a stark contrast to the bench's muted tones. The scene is set on a paved path with grass on either side, hinting at a public space with an unusual arrangement of objects.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000508291.txt b/code/evaluations/dpg/prompts/COCOval2014000000508291.txt
deleted file mode 100644
index 0a82ae13fdbae1a976ef90817420a827b2652182..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000508291.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vast open field dotted with patches of greenery and a few scattered trees under a clear blue sky. two giraffes are seen gracefully moving across the terrain, their long necks and legs casting shadows on the ground. in the distance, a gentle slope rises to meet the horizon, hinting at the expansive savannah that stretches beyond.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000509270.txt b/code/evaluations/dpg/prompts/COCOval2014000000509270.txt
deleted file mode 100644
index 68953c77ded1cbd33f3c8cd61f8a8d779a3cc95f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000509270.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant yellow kite soars high in the sky, its long tail fluttering in the wind. Below it, a diverse array of other kites of various shapes and sizes fill the air, creating a colorful spectacle. The kites dance and dip against the backdrop of a clear blue sky, occasionally crossing paths as they ride the gentle breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000513096.txt b/code/evaluations/dpg/prompts/COCOval2014000000513096.txt
deleted file mode 100644
index ef556ab6abaa457f249c5068b6dbf481a5ac7f26..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000513096.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two men are standing in a room with walls adorned with historical memorabilia. On the left, a man dressed in a crisp military uniform gazes intently at a series of glass cases. Inside the cases, an array of bullet shells is meticulously arranged and labeled for display, while the man in the suit on the right points towards one of the exhibits, seemingly explaining its significance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000516248.txt b/code/evaluations/dpg/prompts/COCOval2014000000516248.txt
deleted file mode 100644
index 6ead791ef76a910971eda23372bd262109bf6f9a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000516248.txt
+++ /dev/null
@@ -1 +0,0 @@
-An office desk with a sleek, modern computer monitor that dominates the space. To the right, a hand is poised over a wireless mouse, guiding the cursor across the screen. The desk surface is clean except for a few essential items like a keyboard, a notepad, and a cup of pens beside the computer setup.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000516542.txt b/code/evaluations/dpg/prompts/COCOval2014000000516542.txt
deleted file mode 100644
index d67179ab25bf1c721409834d733438efb5344a6e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000516542.txt
+++ /dev/null
@@ -1 +0,0 @@
-A series of colorful signs are lined up along the roadside at the town's edge, each promoting different library events. The signs feature dates and times for upcoming book sales, author readings, and children's story hours. The backdrop to these signs is a quiet street that leads into the heart of the town, with the library itself visible in the distance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000537211.txt b/code/evaluations/dpg/prompts/COCOval2014000000537211.txt
deleted file mode 100644
index b0f6b2d4cfbfe7bef38e2ca574e3ffe0179c7e7a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000537211.txt
+++ /dev/null
@@ -1 +0,0 @@
-A serene lakeside setting where a wooden dock extends into the water. A man is casually seated at the edge, enjoying a hot dog, with a relaxed posture that suggests a leisurely day. The water is calm, and the dock appears to be a popular spot for visitors to take in the view and enjoy a bite to eat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000542910.txt b/code/evaluations/dpg/prompts/COCOval2014000000542910.txt
deleted file mode 100644
index 62071046ce6d7ec515dcebc93959d0c6157950bf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000542910.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman with an intense expression is interacting with an unseen person to the side of the frame. Her facial expression is one of playful aggression, with her teeth bared in a mock snarl. She appears to be in a brightly lit room, with casual attire suggesting a comfortable, informal setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000546965.txt b/code/evaluations/dpg/prompts/COCOval2014000000546965.txt
deleted file mode 100644
index d1b849418b73908049414856773534c26246fa14..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000546965.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large transport truck with a two-tiered trailer loaded with multiple cars of different colors. The truck is parked on a wide, paved area, possibly a parking lot or a vehicle distribution center. Each car is securely fastened to the trailer, ready for delivery to their respective destinations.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000559400.txt b/code/evaluations/dpg/prompts/COCOval2014000000559400.txt
deleted file mode 100644
index cddde05f7bbdce742a4a190449c7cfb96c76c204..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000559400.txt
+++ /dev/null
@@ -1 +0,0 @@
-Rows of fresh produce line the interior of a bustling grocery store. Bags filled with crisp apples and plump grapes are neatly arranged on the shelves, inviting shoppers to add them to their carts. The fruits' vibrant colors stand out against the backdrop of other grocery items in the background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000566470.txt b/code/evaluations/dpg/prompts/COCOval2014000000566470.txt
deleted file mode 100644
index 9d93fe41e61fc387a3b1382c97d7297680823470..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000566470.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two wooden rowboats with a weathered finish are resting side by side on the sandy shore. The boats are empty, with their oars tucked neatly inside, hinting at a recent return from a journey on the water. In the background, the gentle waves of the sea can be seen, with the horizon stretching wide beyond them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000567609.txt b/code/evaluations/dpg/prompts/COCOval2014000000567609.txt
deleted file mode 100644
index 6a6f38e52943c5444773acc2844517b13b2b9ede..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000567609.txt
+++ /dev/null
@@ -1 +0,0 @@
-An interior space featuring a collection of yellow ceramic ornaments neatly arranged on a shelf. In the center of the room stands a table with a clear glass vase filled with a bouquet of fresh flowers. The walls are adorned with framed artwork, complementing the warm tones of the ceramics and floral arrangement.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000572260.txt b/code/evaluations/dpg/prompts/COCOval2014000000572260.txt
deleted file mode 100644
index 0f9486ad097603c83b9ffd5d39c15cd327362ee8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000572260.txt
+++ /dev/null
@@ -1 +0,0 @@
-A room with walls lined with shelves filled to the brim with an assortment of objects. Each shelf is crowded with items ranging from books and vases to small trinkets and photo frames. The collection appears eclectic, with no immediate sense of order, giving the space a lived-in and personalized feel.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/COCOval2014000000580698.txt b/code/evaluations/dpg/prompts/COCOval2014000000580698.txt
deleted file mode 100644
index 595c243d58c3357bc3e1eb84fe406e12898979f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/COCOval2014000000580698.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large brown bear is partially submerged in a clear, tranquil body of water. The sun casts a warm glow on the bear's fur, highlighting its texture and creating a serene scene. The water ripples gently around the bear as it sits calmly, enjoying the warmth of the sunlight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench0.txt b/code/evaluations/dpg/prompts/countbench0.txt
deleted file mode 100644
index 9e7ced7b78e85d522b6153e172ba452b9e8fe566..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up photograph provides a bird's-eye view of an elegant tea selection box, partitioned into neat compartments. Each section cradles a different variety of tea, carefully wrapped in paper sachets with small labels indicating their flavors. The box itself boasts a light gray base with artistic splashes of vibrant oranges and pinks, adding a touch of vivid color to the array of teas presented within.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench1.txt b/code/evaluations/dpg/prompts/countbench1.txt
deleted file mode 100644
index 6126e13c36ac4254410494944a5c3e50aca6c543..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic composition captures the essence of good fortune with four ace playing cards, each standing upright on its corner, aligned in a perfect formation, reflecting onto the sleek surface below them. The playing cards possess a crisp white background, accented by the vibrant red and black symbols designating hearts, diamonds, clubs, and spades. This visual is set against a stark black and deep red backdrop, creating a striking contrast that emphasizes the cards and their significance. The photograph is credited to Samantha Craddock, encapsulating the 'Feeling Lucky' concept with clarity and artistic flair.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench10.txt b/code/evaluations/dpg/prompts/countbench10.txt
deleted file mode 100644
index 9c471ab2d3dda42039a1ee29d5cc742390d9da54..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench10.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegantly designed bathroom features two white pedestal sinks stationed at either end, framing a custom-built cabinet nestled snugly in between. This unique cabinet is crafted to match the sleek aesthetic of the pedestals, finished in a soft beige hue with silver handles that add a touch of sophistication. It offers the perfect blend of the classic pedestal style with the practicality and storage of a traditional vanity, ensuring functionality without compromising on elegance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench11.txt b/code/evaluations/dpg/prompts/countbench11.txt
deleted file mode 100644
index 89624c90e3f815fadf7456621f1a57dfdfe84364..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench11.txt
+++ /dev/null
@@ -1 +0,0 @@
-A set of four green plastic food containers displayed against a stark white background, each captured from a distinct angle to showcase the varying perspectives of their design. The containers exhibit a smooth texture and a slightly reflective surface that catches the light subtly. Arranged neatly, they demonstrate the versatility of their form and capacity through the different foreshortenings presented.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench12.txt b/code/evaluations/dpg/prompts/countbench12.txt
deleted file mode 100644
index 51a9f48fca666e26b87eb9ce55c792db229e4daf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of eight elegant side chairs from the 1950s, designed by Gianni Vigorelli, each stands 37 1/2 inches tall. The frames are made from pearwood, featuring a warm, golden-brown hue with a smooth finish that highlights the wood's natural grain. The seats and backrests are upholstered in a sleek, black vinyl, providing a comfortable yet durable seating surface. These chairs measure 16 1/2 inches in width and 17 3/8 inches in depth, making them well-proportioned for a variety of dining spaces.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench13.txt b/code/evaluations/dpg/prompts/countbench13.txt
deleted file mode 100644
index 4434779178b6299e1c7f663794b83d5e32cb6d73..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench13.txt
+++ /dev/null
@@ -1 +0,0 @@
-An assortment of vibrant candies in various shapes and textures, each distinctly highlighted against a pristine white backdrop. The set features nine unique compositions, showcasing the candies from different angles and perspectives, allowing for the play of light and shadow to emphasize their colorful foreshortenings. Among the mix, glistening hard candies reflect the light, soft gummy treats exhibit their stretchy texture, and foil-wrapped chocolates add a metallic contrast to the collection.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench14.txt b/code/evaluations/dpg/prompts/countbench14.txt
deleted file mode 100644
index 5e0500a9626dda3194bb1599cc0cc4d606adf65a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of four intricately designed bookmarks, each featuring black and white doodles of various flowers and ornamental patterns. These bookmarks are tailored for adults who enjoy coloring, offering a creative and relaxing activity. The detailed vector illustrations are perfect for bringing to life with a splash of color, and the bookmarks are crafted to be both functional and aesthetically pleasing.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench15.txt b/code/evaluations/dpg/prompts/countbench15.txt
deleted file mode 100644
index fe3700d4740e77f9374cff47f2cb3dca65205b0a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench15.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three individuals donned in matching black security uniforms stand against a stark white backdrop. Their focused expressions are partially concealed as they peer intently through binoculars, each facing a different cardinal direction as though scanning for signs of activity. The central figure is slightly elevated, on a raised platform, giving the impression that they are overseeing the area with heightened vigilance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench16.txt b/code/evaluations/dpg/prompts/countbench16.txt
deleted file mode 100644
index 5e50d9f7d8cfed2822d2a389490b53c46fb1b271..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of six finely crafted porcelain plates, each adorned with intricate blue and white "Merryman" patterns, indicative of their unique and valuable nature. These plates, likely originating from London in the year 1752, have an undeniable historical charm and are thought to be from the Lambay estate. They are estimated to be valued between £20,000 to £30,000, reflecting their rarity and the craftsmanship of the era.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench17.txt b/code/evaluations/dpg/prompts/countbench17.txt
deleted file mode 100644
index 5031f1f92a4b1a171660498d6a7e60f2030c8633..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench17.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of five monochromatic photographs, captured by the esteemed Gordon Parks, is meticulously arranged on a dark grey wall. Each image serves as a poignant window into the lives affected by poverty in Rio de Janeiro during the tumultuous 1960s. The high-contrast black and white tones of the photos bring stark attention to the subjects within, highlighting the raw emotional intensity and the historical significance of the scenes depicted.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench18.txt b/code/evaluations/dpg/prompts/countbench18.txt
deleted file mode 100644
index a3348ecf90da34263c10bc587fe1bf825e0a6a78..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench18.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cheerful family of four gathered around a wooden dining table set within a brightly lit kitchen. The table is laden with a scrumptious breakfast spread, including bowls of colorful fruit, pitchers of juice, and plates of toast. Two young children, a boy and a girl, their faces lit up with joy, are seated between their parents, eagerly reaching for their favorite dishes. Behind them, the kitchen is cozy and welcoming, complete with white appliances and a vase of fresh flowers adding a touch of warmth to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench19.txt b/code/evaluations/dpg/prompts/countbench19.txt
deleted file mode 100644
index 5130754baedd158c5b71d61e62706eeefea6a768..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench19.txt
+++ /dev/null
@@ -1 +0,0 @@
-Nine differently colored labels, each featuring the iconographic representation of a Central Processing Unit, aligned neatly for visual comparison. These square icons vary in shades from vibrant red to deep blue, with the CPU symbol prominently displayed in the center. The texture of the labels appears smooth, and they are arranged in a grid pattern on a plain, light background that enhances their visibility in the illustration.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench2.txt b/code/evaluations/dpg/prompts/countbench2.txt
deleted file mode 100644
index 52c58f418a685b42cc03af42bd6b9739d538b05c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench2.txt
+++ /dev/null
@@ -1 +0,0 @@
-The sky is adorned with the impressive formation of four sleek Blades aircraft, each painted in vibrant hues of red and white, with their contrails presenting a mesmerizing spectacle as they perform 26 consecutive loops, an endeavor set to break a world record. Mike Newman, who is visually impaired, daringly executed the initial loop with commendable skill before his co-pilot seamlessly assumed control for the remainder of the gravity-defying feat. Onlookers on the ground watch in awe as these agile planes carve perfect circles in the azure canvas above, their engines humming in harmonious unison.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench20.txt b/code/evaluations/dpg/prompts/countbench20.txt
deleted file mode 100644
index cbf90efe7d6852537f7dba1ed575daf437a46a55..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench20.txt
+++ /dev/null
@@ -1 +0,0 @@
-a collection of four vibrantly colored, circular buttons, each featuring a simplistic heart icon with a prominent plus sign at its center, signaling the option to add to favorites. These flat-designed icons are isolated against a clean background, making them immediately identifiable for user interface purposes. Each button presents a different hue: one is red, another blue, the third one is a sunny yellow, and the last one is green, creating a visually appealing and intuitive set for users to interact with.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench21.txt b/code/evaluations/dpg/prompts/countbench21.txt
deleted file mode 100644
index b6ca98dab822ad33e63da39d18eeb11784088924..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench21.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant tableau depicting ten children of various ages aligned on a long wooden bench in an outdoor setting, each with a unique expression of merriment. The bench, weathered and sturdy, supports their collective weight as they pose for the photo, surrounded by lush greenery and brightly colored balloons tethered to the bench ends. The children are dressed in casual party attire, with several sporting colorful hats, and the scene is illuminated by the warm glow of a string of lights dangling overhead, suggestive of a festive celebration in their midst.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench22.txt b/code/evaluations/dpg/prompts/countbench22.txt
deleted file mode 100644
index b688c3dd1f19bc7b64531f5ae6c1a5836b974a17..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital vector illustration depicting a serene winter scene with six tall spruce trees silhouetted in black. The trees are set against a crisp white background that is dotted with an array of delicate, intricate snowflakes, varying in size and design. This image conveys the stillness and beauty of a snowy landscape without any other elements to distract from the stark contrast between the dark evergreens and the wintry backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench23.txt b/code/evaluations/dpg/prompts/countbench23.txt
deleted file mode 100644
index 1726819a94b8ec7e6113c4faf87d043ad7864081..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench23.txt
+++ /dev/null
@@ -1 +0,0 @@
-A colorful collection of four cartoon-styled calendars, each uniquely illustrating the essence of a different season. The spring calendar bursts with shades of green and pink, featuring blooming flowers and sprouting leaves. The summer calendar glows with vibrant sun motifs and vivid blue skies. Autumn is represented with warm oranges and browns, showcasing falling leaves and harvest themes. The winter calendar is adorned with soft whites and blues, depicting snowy scenes and cozy fireside images. Each calendar is distinct, yet they all share a whimsical charm that captures the spirit of their respective seasons.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench24.txt b/code/evaluations/dpg/prompts/countbench24.txt
deleted file mode 100644
index 5a6f7df4ef72a6f15af6ed4cc8ac766a26d3db63..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint collection of waterproof stickers, each featuring whimsical designs of cats and dogs intertwined with imagery of meaty meatballs and festive New Year couplets. The set comprises a small, curated group of five unique stickers, each with its own vibrant color scheme and glossy texture. These stickers are neatly displayed in a section designated for pet lovers and holiday enthusiasts, providing a charming and functional decoration that can withstand the elements.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench25.txt b/code/evaluations/dpg/prompts/countbench25.txt
deleted file mode 100644
index 71ae2b26bad4e3a94ef094ed4dd281050aa86b1b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed analysis on the future of Liverpool's striker line-up, contemplating the value and potential each player brings to the team. The focus is on the eight forwards currently with the club, assessing their skills and considering whether they should be retained or sold, especially with the imminent signing of Christian Benteke. Charts and statistics accompany the evaluation, providing a comprehensive overview of the players' performances to inform the decision-making process.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench26.txt b/code/evaluations/dpg/prompts/countbench26.txt
deleted file mode 100644
index 2515f3d6daa604b4968d94abaf137a0b17ffaefe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench26.txt
+++ /dev/null
@@ -1 +0,0 @@
-an elegant set of six vintage silver tablespoons, each intricately crafted with the 1847 Rogers Ambassador pattern. The spoons, exhibiting a fine luster and delicate engravings, lie gracefully aligned on a dark velvet cloth. The ornate design of each handle reflects the care and craftsmanship of the historic silverware, with flourishes and floral motifs adorning the metal surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench27.txt b/code/evaluations/dpg/prompts/countbench27.txt
deleted file mode 100644
index de7d25fe51a11486da4a1005d8029362df7ac149..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench27.txt
+++ /dev/null
@@ -1 +0,0 @@
-Seven cylindrical brown glass beer bottles are symmetrically arranged on a reflective surface, casting subtle shadows and clear reflections on the stark white background. Each bottle stands upright, showcasing their identical shape and size, with labels facing forward that hint at their various contents. The glossy finish of the bottles contrasts with the matte texture of the background, emphasizing the simplicity and symmetry of the composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench28.txt b/code/evaluations/dpg/prompts/countbench28.txt
deleted file mode 100644
index c6d56c8f8a16ed0788edd51c013502c64184cc9b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench28.txt
+++ /dev/null
@@ -1 +0,0 @@
-An expansive dining space features a large wooden table with three additional extension leaves, providing ample room for guests. Around the table, there are six matching chairs, each crafted with elegant design, and among them, a Leander high chair stands out, specially designed for a child to join the family meals. The table is set under a hanging chandelier that casts a warm glow over the polished surface of the wood.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench29.txt b/code/evaluations/dpg/prompts/countbench29.txt
deleted file mode 100644
index 8fc5b4f0dccf38666581d715982a55d2d4e7c30a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench29.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of nine beautifully crafted labels, designed specifically for the summer season, each featuring shades of blue and yellow. These labels are presented in a vector format, with item number 20445318, showcasing various summer-themed icons and motifs. The assortment includes labels of different shapes such as circular, rectangular, and even ribbon-like banners, ideal for summer sales, events, or product packaging in a sunny and vibrant design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench3.txt b/code/evaluations/dpg/prompts/countbench3.txt
deleted file mode 100644
index b823427f28135f06c71d53ef51f5244d59ab4293..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench3.txt
+++ /dev/null
@@ -1 +0,0 @@
-Ten School Resource Officers are set to serve in seven local school districts, as part of the School Resource Officer (SRO) Program led by Broome County District Attorney Steve Cornwell. The officers, in their distinct uniforms, will be a significant presence in the school environment, providing security and fostering relationships with the students. The schools, each with its unique architectural design and color scheme, will benefit from this added layer of security and community engagement. This initiative is a significant part of the district attorney's efforts to ensure a safe and conducive learning environment for the students.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench30.txt b/code/evaluations/dpg/prompts/countbench30.txt
deleted file mode 100644
index d2e29650fe7a59aea0c33c50623d1023ce68a4f9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of nine vibrant, assorted speech bubble stickers, each displaying the acronym 'LOL' in bold, playful lettering. The stickers feature a kaleidoscope of colors such as pink, yellow, blue, and green, set against a pristine white background, emphasizing their colorful appeal. Each sticker has a unique shape and size, adding to the diversity of the set, and their surfaces are smooth with a slight sheen, suggesting they are made of a high-quality adhesive material suitable for a variety of surfaces.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench31.txt b/code/evaluations/dpg/prompts/countbench31.txt
deleted file mode 100644
index ecb4c363581ff9a465692c4e8aa0c5ac75115dfd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench31.txt
+++ /dev/null
@@ -1 +0,0 @@
-an interior design arrangement showcasing a pair of iconic Eames RAR chairs in a sleek black finish, with their characteristic smooth curves and wooden rocker legs. Adjacent to the chairs, there's a contemporary black bedroom furniture set that includes a bed frame, nightstands, and a dresser, all featuring minimalist lines and matte surfaces. The entire setup is part of a home design concept that blends modern aesthetics with classic mid-century elements.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench32.txt b/code/evaluations/dpg/prompts/countbench32.txt
deleted file mode 100644
index c7cbd955dd2bcce9f8c245dd9753284469801c22..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A carefully arranged still life photo of a natural bird's nest containing three beige, speckled eggs. The nest is positioned on a subdued, dark backdrop to enhance the texture and detail of the twigs and eggs. The lighting is focused to create soft shadows and highlights that reveal the intricate patterns on the eggs and the interwoven structure of the nest.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench33.txt b/code/evaluations/dpg/prompts/countbench33.txt
deleted file mode 100644
index 5f7768aa8d289e479c60dcf8a7385d1e07f3899f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant canvas stretched across a 2cm thick wooden frame, adorned with the illustration of abstract, beautiful female faces depicted on three separate segments of the canvas. The artwork displays a unique juxtaposition of blooming flowers and the delicate features of women, with a rich color palette that includes hues of purple, red, and yellow. Each of the three portions of the canvas seamlessly connects, creating a continuous visual narrative that celebrates feminine beauty and botanical elegance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench34.txt b/code/evaluations/dpg/prompts/countbench34.txt
deleted file mode 100644
index b6a3f41a50b07373aefc0f7f2a6943ab01701ec0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tranquil pond with vibrant clear blue water, where three pristine white waterlilies float gracefully on the surface. Each waterlily has a perfectly formed shape with delicate petals radiating outwards from a yellow center. The smooth surface of the water reflects the sky above, enhancing the serenity of the scene, as gentle ripples emanate outward from the blossoms.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench35.txt b/code/evaluations/dpg/prompts/countbench35.txt
deleted file mode 100644
index 236cd3fbdedc34fdb24415655ce96e279ec451ef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench35.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic wooden wall displaying a row of five golden stars representing Amazon feedback. Next to the stars, there's a human index finger pointing at the highest star, implying a top rating. The wood grain texture is visible around the shiny golden stars, and the contrast between the natural wood and the metallic gleam of the stars is striking.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench36.txt b/code/evaluations/dpg/prompts/countbench36.txt
deleted file mode 100644
index a56ca7230126e1fa5ee263c693e6382182205eca..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench36.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artistic array of six vibrant mugs featuring a spectrum of colors, each with a smooth, glossy finish indicative of gradient mesh design elements. These mugs are depicted in a two-dimensional vector format, suitable for stock imagery, and their handles are gracefully curved to the right, allowing for easy visual differentiation. The mugs' colors transition flawlessly from one to another, showcasing the use of digital illustration techniques for a realistic appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench37.txt b/code/evaluations/dpg/prompts/countbench37.txt
deleted file mode 100644
index 143b2b3e5f727b597f418c1cd728bdeb7e7da499..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench37.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two metal baking sheets rest on a kitchen countertop; one holds a spread of raw, vibrant green broccoli and pale white cauliflower florets, while the other displays the same vegetables transformed by heat, their colors now a deeper green and brown, edges crisped from baking. These trays provide a visual contrast between their pre and post-oven states, showcasing the effects of roasting on their textures and hues.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench38.txt b/code/evaluations/dpg/prompts/countbench38.txt
deleted file mode 100644
index 6f8a85a6640e73872e6908ea640046590e8a2b83..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench38.txt
+++ /dev/null
@@ -1 +0,0 @@
-An image of a serious-looking businessman, dressed in a tailored grey suit with a crisp white shirt and a dark tie. He is depicted in an unusual setting, lifting two surprisingly heavy dumbbells, his arms flexed showing significant effort. This unexpected juxtaposition against an office background, complete with a wooden desk and a black ergonomic chair, creates a striking visual.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench39.txt b/code/evaluations/dpg/prompts/countbench39.txt
deleted file mode 100644
index e0a9c5ff9afc111719bb6997acd19dd6638601eb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of images displaying a male nurse, each capturing different poses and facial expressions. He is dressed in a pristine white coat, which contrasts against the deep blue scrubs underneath. In one picture, he holds a stethoscope with a concentrated expression, while another shows him with a reassuring smile, offering a comforting presence. A clipboard is clutched in his hand in a third image, where his brow is furrowed in thought. The background features a clean, clinical setting with beige walls and medical equipment in view.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench4.txt b/code/evaluations/dpg/prompts/countbench4.txt
deleted file mode 100644
index a7fd2fb056ecfca7539a9be8b579287ff5bb8699..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A comprehensive PDF Cross Stitch Pattern available for instant download, featuring an assortment of ten meticulously crafted designs. Each pattern showcases a unique cacti or succulent plant housed within a geometric terrarium, optional for those who wish to add an extra layer of complexity to their craft. These patterns embody intricate details that celebrate the natural beauty of desert flora, enhanced by the sharp angles and clear lines of the terrariums.
diff --git a/code/evaluations/dpg/prompts/countbench5.txt b/code/evaluations/dpg/prompts/countbench5.txt
deleted file mode 100644
index a2f9a00190cd9f2c248966cac7ad89e162f62246..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench5.txt
+++ /dev/null
@@ -1 +0,0 @@
-A collection of nine vibrant VIP sign icons, indicating membership or exclusive status. Each label varies in color, providing a rainbow spectrum from red to violet, and they are designed with a sleek, glossy texture. The symbols feature a simple, bold font that stands out against the solid background, rendering them ideal for vector illustrations where distinction is key.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench6.txt b/code/evaluations/dpg/prompts/countbench6.txt
deleted file mode 100644
index bc50e88627fbc6a137368cd60712096cebc66d93..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed vector illustration showcasing four separate square compositions, each highlighting different aspects of waste management and recycling processes. The vibrant images feature a variety of flat design icons and pictograms that represent sorting bins, recycling symbols, and cleaning equipment. Each square has a distinct color palette to categorize the type of waste, ranging from organic to plastic, metal, and paper, emphasizing the importance of recycling and proper disposal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench7.txt b/code/evaluations/dpg/prompts/countbench7.txt
deleted file mode 100644
index e93ef539dfa20e77e15d9488ffabf96335f75495..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench7.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the vibrant backyard of a suburban home in Yarmouth, Maine, USA, three children of varying ages (a toddler around 2-3 years old, a preschooler aged 4-5, and a young child around 6-7 years) are gleefully playing in the spray of a water sprinkler. The lawn, lush and green, serves as a soft cushion under their bare feet as they run and jump through the scattering droplets of water. The afternoon sun highlights the joyful expressions on their faces as they engage in this quintessential summertime activity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench8.txt b/code/evaluations/dpg/prompts/countbench8.txt
deleted file mode 100644
index ef4250a6530ba3a7fd42dfee6d15bcae5f8ae198..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench8.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a spacious living room, two 3-seater sofas with plush white cushions are symmetrically positioned opposite each other, creating a welcoming conversational area. Between them sits a nature grey 39" coffee table made of Ostuni white mahogany, giving off a rustic yet modern vibe. Surrounding the central coffee table, three matching lounge armchairs with grey upholstery offer additional seating, enticing guests to relax and enjoy the space. The arrangement of the furniture promotes easy movement and social interaction within the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/countbench9.txt b/code/evaluations/dpg/prompts/countbench9.txt
deleted file mode 100644
index 8bba80945bacbd59585eb7ef33d24bee44a3a71d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/countbench9.txt
+++ /dev/null
@@ -1 +0,0 @@
-An illustration depicting a group of six stylish girls clad in vibrant, eye-catching swimsuits, each showcasing a unique design and an array of lively colors that stand out against the plain background. The characters are accessorized with various beach-related items such as sunglasses, hats, and beach balls, providing a sense of summer fun. The artwork, created using a vector style, boasts clean lines and a modern aesthetic that captures the energy of a joyful, sunny day at the beach.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb0.txt b/code/evaluations/dpg/prompts/diffusiondb0.txt
deleted file mode 100644
index 7fac27d59f03520ece52d13d17af9f918b8c3aaa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A visually striking digital portrayal of a futuristic woman, designed with an exquisite attention to detail that showcases her elegant pose, encased in an array of meticulously rendered leaves. Produced by the skilled artist Janice Sung, the image is a high-definition 4K creation that glows with stunning volumetric lighting effects. The woman's appearance is characterized by a level of hyper-realism that captures the intricate textures of her skin and the leaves, enhanced by the luminous, fantasy-inspired ambiance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb1.txt b/code/evaluations/dpg/prompts/diffusiondb1.txt
deleted file mode 100644
index 6a47b91d93abaf6d9be845f4fa88f732bc668679..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb1.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the digital artwork, Pinocchio and Geppetto are portrayed in exquisite detail, riding vintage bicycles along a cobblestone street, reminiscent of the early 20th century. Pinocchio's wooden texture is intricately rendered, with the grain of the wood and the joins of his limbs visible in ultra-high definition. Geppetto, beside him, is clothed in period-appropriate attire, his expression one of joy and concentration. The scene is crafted in 4K and 8K resolutions, boasting lifelike realism and clarity that highlights every nuance of the characters and setting. This vivid representation, popular among enthusiasts on Artstation, showcases a level of detail that elevates it to a piece of highly detailed digital art.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb10.txt b/code/evaluations/dpg/prompts/diffusiondb10.txt
deleted file mode 100644
index 7db967e432150547e68c135dca3b280c78ef05d0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb10.txt
+++ /dev/null
@@ -1 +0,0 @@
-An impressively detailed pencil illustration of Maggie Smith in the character of Reverend Mother is generating buzz on the ArtStation platform. The artwork, which has garnered awards for its lifelike quality, demonstrates a finesse reminiscent of Artgerm and Greg Rutkowski's dynamic strokes, with compositions that subtly hint at the influence of Alphonse Mucha's style. Its cinematic feel is accentuated by the careful play of light and shadow, earning acclaim and trending status among the art community.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb11.txt b/code/evaluations/dpg/prompts/diffusiondb11.txt
deleted file mode 100644
index 57c085e18bb6108a5917f6883eddd0ddd993e9d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb11.txt
+++ /dev/null
@@ -1 +0,0 @@
-An ominous figure looms within the frame, a dark demonic entity with an array of infinite, wispy wings that cascade behind it like a shadowy aurora. Each translucent wing shimmers with a sinister glow, suggesting an otherworldly portal to a malevolent dimension, illuminated in an eerie spectrum of dark neochrome colors. The unsettling image, reminiscent of the haunting styles of Beksinski and Gammell, is captured through the lens of a 35mm camera, casting a tangible unease as though the entity could breach the confines of its two-dimensional prison at any moment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb12.txt b/code/evaluations/dpg/prompts/diffusiondb12.txt
deleted file mode 100644
index 9ba8222e032a5c27be8b0d620d2c9b81fa39348d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A high-resolution portrait of the acclaimed actress Julianne Moore trending on Pinterest, captured by the lens of photographer Kyle Thompson. Her hair is styled in full platinum blonde waves that frame her intensely expressive, pale-skinned visage with high detail. The photograph, exuding realism and superior quality, showcases her piercing gaze that imparts a sense of subtle strength.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb13.txt b/code/evaluations/dpg/prompts/diffusiondb13.txt
deleted file mode 100644
index 4d2aaae69c05ef3ce317c8d6ba8d61b23497a82f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb13.txt
+++ /dev/null
@@ -1 +0,0 @@
-a captivating matte painting by Artem Demura, showcasing a dimly lit room filled with tall wooden bookshelves crammed with books of diverse sizes and colors. In the center, a sturdy, aged table is set, its surface cluttered with an assortment of items, perhaps long abandoned. The room is drenched in shadows, but shafts of volumetric lighting pierce through the darkness, highlighting the fine dust particles suspended in the air and illuminating the intricate details of the room's contents.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb14.txt b/code/evaluations/dpg/prompts/diffusiondb14.txt
deleted file mode 100644
index 8220c2ba2d0f8168230f5cba5d491dd3a598d5bc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb14.txt
+++ /dev/null
@@ -1 +0,0 @@
-This is a vibrant, digitally-created watercolor illustration portraying an apocalyptic scene with sharp focus and a smooth finish. The artwork, by James Jean, features Rossdraws' signature style with elements reminiscent of Frank Frazetta's fantasy aesthetics, incorporating Mcbess's bold linework, and infused with the ethereal quality of Sakimichan's enchantments. The dynamic composition showcases a whirlwind of colors that vividly depicts the chaotic yet mesmerizing moment at the end of the world.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb15.txt b/code/evaluations/dpg/prompts/diffusiondb15.txt
deleted file mode 100644
index d5071a76a1a3ff6be035ead51a6d9fc403f015f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb15.txt
+++ /dev/null
@@ -1 +0,0 @@
-An awe-inspiring depiction of a gargantuan space squid, its tentacles wrapped tightly around a vividly colored planet, as it seems to consume the celestial body. The backdrop is a tapestry of outer space, scattered with twinkling stars and nebulous clouds, rendered in exquisite detail that highlights the surrealism of this cosmic horror. The artwork, suitable for an 8K resolution display, showcases the level of intricacy often celebrated on platforms like CGSociety, where digital fantasy artistry is pushed to the limits.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb16.txt b/code/evaluations/dpg/prompts/diffusiondb16.txt
deleted file mode 100644
index fd51ca6a00932049ee2a0b37f43e6dc5504a99be..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb16.txt
+++ /dev/null
@@ -1 +0,0 @@
-a collection of rare and vibrant CS: GO holo stickers, each emblazoned with the logos of iconic esports teams. The Titan Katowice 2014 sticker shines with a prismatic effect, while the iBuyPower Katowice 2014 sticker boasts a delicate balance of red and black hues. The Reason Gaming Katowice 2014 and LDLC.com Katowice 2014 stickers both display a mesmerizing holographic sheen, capturing the eye with every tilt and turn. These stickers represent a significant piece of esports history and are a must-have for enthusiasts and collectors alike.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb17.txt b/code/evaluations/dpg/prompts/diffusiondb17.txt
deleted file mode 100644
index 8355abf77b5b58e84f229d0a2b37f3a9f1acc7db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb17.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an expansive sewer bathed in shadow, a mechanical spider looms, crafted with astonishing detail that suggests it could spring to life at any moment. The fine drawing, accentuated with hyper-realistic textures, showcases the intricacy of its design, each metallic segment reflecting the scant warm light that filters through the gloom. The artwork is presented in an ultra-high definition 4K resolution, capturing the essence of this eerie, mechanical wonder in a moody, warm-lit environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb18.txt b/code/evaluations/dpg/prompts/diffusiondb18.txt
deleted file mode 100644
index a5d40b22b3e0efdd12063f2fe3a162587c9936b4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb18.txt
+++ /dev/null
@@ -1 +0,0 @@
-A visual timelapse piece crafted in the style of Botticelli's 'Birth of Venus' using vibrant acrylic paints. The scene is bustling with a kaleidoscope of colors, showcasing a central figure that emerges with ethereal grace amidst the bold, sharp focus of its details. Surrounding this figure, the canvas is brought to life with an array of vivid hues and painstakingly rendered unrealistic elements that create an explosion of fantastical imagery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb19.txt b/code/evaluations/dpg/prompts/diffusiondb19.txt
deleted file mode 100644
index 9e7bc85eec86364ad8dabaa6dd91f6978a75801c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb19.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal figure appears to be sculpted from intertwining tendrils of gray smoke and whirling flurries of snow, giving the impression of a man caught in a blizzard. In one hand, this ethereal being holds what looks to be a gateway to the cosmos, depicted in a photorealistic manner with vibrant nebulae and star clusters visible within its confines. The entire scene is a highly detailed octane render, showcasing sharp contrasts and the interplay of light and shadow that imbues the image with a sense of depth and complexity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb2.txt b/code/evaluations/dpg/prompts/diffusiondb2.txt
deleted file mode 100644
index 48a93c0180d773e5a14d8a1139db47d86060f3e8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb2.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate character sheet showcasing a demogorgon design, with artistic influences drawn from creators like Moebius, Greg Rutkowski, Zabrocki, Karlkka, and Jayison Devadas. The concept art, detailed and rich in texture, is vividly rendered in an 8K resolution and features a zenith view, capturing the monstrosity of the creature. The unique pincushion lens effect enhances the ultra-wide angle perspective, making the demogorgon appear even more imposing. This piece is currently trending on Artstation, highlighting the artistic community’s appreciation for Phuoc Quan’s distinctive style.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb20.txt b/code/evaluations/dpg/prompts/diffusiondb20.txt
deleted file mode 100644
index 86640a32a1844898da3a0c1dcd7a7ae74c280b39..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb20.txt
+++ /dev/null
@@ -1 +0,0 @@
-The image captures a whimsical scene with a brown tabby cat, its fur patterned in shades of dark brown, black, and light taupe. The cat, situated as if in the throes of space, is portrayed with a transparent, gleaming bubble encasing its head like an astronaut's helmet. Around it, an assortment of smaller bubbles float serenely in the imagined cosmos, with a creatively interpreted Saturn adorned with rings in the backdrop, providing an aura of interstellar exploration.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb21.txt b/code/evaluations/dpg/prompts/diffusiondb21.txt
deleted file mode 100644
index e899be2e73bd0302b0c12b05d9b02cf6ae64a1ad..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb21.txt
+++ /dev/null
@@ -1 +0,0 @@
-A thought-provoking piece of digital art that has gained popularity on ArtStation depicts a surreal scene where an open binder notebook serves as a door, standing incongruously amidst a dense woodland setting. The trees surrounding the notebook are rendered in meticulous detail, their bark dark and textured against the misty backdrop. The overall feel of the image evokes an eerie sense of a thriller, with the peculiar juxtaposition of the school supply and the natural environment inviting viewers to ponder the story behind it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb22.txt b/code/evaluations/dpg/prompts/diffusiondb22.txt
deleted file mode 100644
index daa49b18bb9fbb1c0a44d89f9d118fe75484c21b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb22.txt
+++ /dev/null
@@ -1 +0,0 @@
-an intricately detailed character drawing by Bastien Lecouffe Deharme featuring an elderly gentleman with long, flowing grey hair. He possesses majestic, large grey wings that extend from his back, conveying both wisdom and strength. The refinement of the character is further accentuated by a polished monocle nestled over one keen eye, and he is dressed in sophisticated attire that hints at a bygone era of elegance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb23.txt b/code/evaluations/dpg/prompts/diffusiondb23.txt
deleted file mode 100644
index d3d9ff251bacb25294dd2778be38b1295e5966a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb23.txt
+++ /dev/null
@@ -1 +0,0 @@
-Augusta National Golf Club is showcased under ethereal conditions, with the renowned first and second holes entirely submerged in water. The scene is illuminated by a soft, ambient glow that filters through the morning fog, casting delicate light rays across the tranquil expanse. The photography captures the unexpected beauty of the iconic golf course, paying homage to the Masters, despite nature's inundation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb24.txt b/code/evaluations/dpg/prompts/diffusiondb24.txt
deleted file mode 100644
index d2ce244e42903c94349b7521664212c316e72982..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital composition featuring a man with finely detailed, lifelike features standing beside a whimsically fantastical creature reminiscent of the renowned Studio Ghibli's style. The creature is adorned with a smooth, glossy coat that gives off the impression of a vibrant array of textures. Both figures are positioned against a stunningly crisp and clear 8k resolution backdrop that accentuates the intricate details and colors of their surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb25.txt b/code/evaluations/dpg/prompts/diffusiondb25.txt
deleted file mode 100644
index 3250cc7f18b65080a52810298176c81e632ea015..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb25.txt
+++ /dev/null
@@ -1 +0,0 @@
- an elaborate digital masterpiece that features the artist Tommy Cash, rendered in the distinctive and psychedelic style of Alex Grey combined with the nostalgic Americana of Norman Rockwell. The high-resolution 8K image is bursting with ornate details and intricate patterns, creating a fantasy-like atmosphere. Tommy Cash is depicted with hyper-realistic skin tones and textures, surrounded by a kaleidoscopic array of symbolic elements and vibrant colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb26.txt b/code/evaluations/dpg/prompts/diffusiondb26.txt
deleted file mode 100644
index d5ab983207b4e31f3d843fa8b72c2be30e173345..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb26.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the depicted oil painting, we can observe Yair Lapid, gripping a torch where flames flicker wildly, cast in a dramatic, chiaroscuro light reminiscent of Michelangelo's style. He stands as a central figure amongst a cluster of people who are rendered with great detail, showcasing distinct yet harmonious facial expressions and postures. The background of the scene is a muted blend of earthy tones, creating a stark contrast that highlights the central composition of Yair and his companions.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb27.txt b/code/evaluations/dpg/prompts/diffusiondb27.txt
deleted file mode 100644
index 65db5cc18d02cb834fc3c62444ca7e8840816d1f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb27.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking image depicting an imagined distant galaxy teeming with life, inspired by the work of the renowned artist Caspar David Friedrich, is showcased in high quality on Artstation. The matte painting presents a vibrant scene filled with ethereal colors and pulsating with otherworldly energy. As viewers delve into the scene, they encounter intricate details of celestial bodies and the silhouettes of people populating this fantasy cosmos.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb28.txt b/code/evaluations/dpg/prompts/diffusiondb28.txt
deleted file mode 100644
index 399c5e2d2de3dd32b3aad81da774c90f92e3f1cc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb28.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate visual display combining the unique styles of Geert Goiris, Sally Mann, and Paolo Roversi, synthesizing into a singular piece of award-winning concept art entitled "Portrait of Chaos." The artwork features a compelling blend of surreal landscapes, enigmatic portraits, and ethereal scenes, each contributing a distinct texture and emotion. The colors in the image are a juxtaposition of muted tones and stark contrasts, with an emphasis on the play of light and shadow.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb29.txt b/code/evaluations/dpg/prompts/diffusiondb29.txt
deleted file mode 100644
index c5821ec2fc1ad961919b9428ab277602f358fc27..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb29.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed and vividly colored painting by Edward Hopper that captures a group of mallgoths with pale complexions and dark, tattered clothing congregating in a dimly lit Hot Topic store. The scene is set against the backdrop of black and red shelves crammed with band merchandise and gothic accessories, while fluorescent lights cast an eerie glow over the scene. Each zombified figure appears to be engaged in conversation or browsing through the various items, creating a still yet dynamic tableau within the bustling environment of the mall.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb3.txt b/code/evaluations/dpg/prompts/diffusiondb3.txt
deleted file mode 100644
index 2a4980758c573aaabc70c61715cfb7f58615d826..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb3.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bustling subway scene comes to life in a digital painting that has become a favorite on Artstation, showcasing a diverse crowd where an Indian woman stands out, attired in a vivid orange traditional garment. Beside her, a Chinese man is depicted in sharp focus, wearing a light blue shirt and holding onto a strap for balance. Concept art by renowned artists Artgerm, Greg Rutkowski, and Magali Villeneuve, the illustration captures the energy of the tube through intricate details and realistic textures. The background is filled with a multitude of passengers, each rendered distinctly to emphasize the crowded nature of the tube.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb30.txt b/code/evaluations/dpg/prompts/diffusiondb30.txt
deleted file mode 100644
index d5b2e356ad9cea61cb0c73e4ba5fc5e09591bb04..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A highly detailed photorealistic illustration displaying a cowboy in a dynamic, cinematic lighting setup. The cowboy, rendered in stunning 8k resolution, stands at 6000 mm tall, capturing every facet of his rugged attire from the leather boots to the wide-brimmed hat. In the background, the bokeh effect beautifully blurs the lights, creating a striking contrast with the sharpness of the cowboy's figure in the foreground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb31.txt b/code/evaluations/dpg/prompts/diffusiondb31.txt
deleted file mode 100644
index ad8f5ee8f8e50064a4e3c5ab6f8872106327fcb0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb31.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative abode, reminiscent of the signature style of the renowned architect Zaha Hadid, floats ethereally above ground on a sizable cloud. The structure boasts a sleek, white, curvilinear form enveloped in lush, vibrant green vegetation, with hanging vines gracefully draping its sides. The house's futuristic design contrasts with the organic tapestry of flora, creating a harmonious blend of nature and avant-garde architecture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb32.txt b/code/evaluations/dpg/prompts/diffusiondb32.txt
deleted file mode 100644
index 17f015054adeb8d31b4349239a222f79926f4ef4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital anime-style illustration of Peter Thiel that showcases intricate details and vibrant colors, trending on ArtStation. He is depicted wearing a meticulously designed Saiyan uniform from the Dragon Ball Z series, with the uniform featuring a prominent blue and orange color scheme. The portrait captures Thiel with a determined expression, his hair styled in the iconic spiky Saiyan fashion, set against a simple, nondescript background to emphasize the character design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb33.txt b/code/evaluations/dpg/prompts/diffusiondb33.txt
deleted file mode 100644
index dfa87fd56c7e81b8e1a3cefa7d17c2021e77fbb6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb33.txt
+++ /dev/null
@@ -1 +0,0 @@
-a highly intricate and vibrant cityscape that reflects a fusion of Moebius's imaginative design and Makoto Shinkai's detailed animation style. The streets are aglow with neon signs in a kaleidoscope of colors, casting reflections on the glossy, rain-slicked pavements. Towering skyscrapers with glowing windows rise towards a starless night sky, as the artwork garners significant attention and praise on ArtStation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb34.txt b/code/evaluations/dpg/prompts/diffusiondb34.txt
deleted file mode 100644
index 17a3dbc74b816daf80bccbe26715089ffeb943f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb34.txt
+++ /dev/null
@@ -1 +0,0 @@
-An exquisite collection of premium 2D magical spell art assets, showcasing minimalistic designs with elegant gradients. Each piece is meticulously crafted, allowing for seamless kit-bash integration into digital projects. These paid assets flaunt a refined aesthetic ideal for enhancing any visual piece requiring a touch of enchantment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb35.txt b/code/evaluations/dpg/prompts/diffusiondb35.txt
deleted file mode 100644
index a83389380ec72a0c4420e51e7d318b37ee1045b9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb35.txt
+++ /dev/null
@@ -1 +0,0 @@
-an intense scene unfolds on the streets of San Francisco, where bursts of orange muzzle flashes cut through the gray smoke billowing in the air. Armed police officers take cover behind their black and white patrol cars, exchanging fire with sharply dressed individuals, suspected members of the mafia, wielding shiny pistols. The chaos is concentrated on a street lined with historic red-brick buildings, their windows reflecting the glaring emergency lights of police vehicles. Nearby, discarded bullet casings glint on the asphalt, evidence of the fierce battle taking place.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb36.txt b/code/evaluations/dpg/prompts/diffusiondb36.txt
deleted file mode 100644
index 40fad598ad4526401591d5d90b95ef9677f6c36d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb36.txt
+++ /dev/null
@@ -1 +0,0 @@
-A lively movie set from the 1980's, characterized by vibrant neon lights and retro decor. In the foreground, a group of glamorous actresses donning glittery costumes and bold makeup strike dramatic poses. Behind them, vintage cameras and crew members are captured mid-action, surrounded by era-specific props and posters adorning the walls.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb37.txt b/code/evaluations/dpg/prompts/diffusiondb37.txt
deleted file mode 100644
index d99fe4b77ff9e77d080c070d2ac14e03345e2e78..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb37.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artistic representation bringing together the unique styles of Artgerm, Greg Rutkowski, and Alphonse Mucha to showcase a character that bears a striking resemblance to Vitalik Buterin, resembling the fictional creature Gollum. The character is given an elongated, gaunt figure with expressive, large eyes, and is illustrated amidst an Art Nouveau backdrop, reminiscent of Mucha's work. The use of vibrant colors and detailed linework reflects the collaborative influence of the three artists, creating a striking and memorable piece.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb38.txt b/code/evaluations/dpg/prompts/diffusiondb38.txt
deleted file mode 100644
index 4aafb48a453aee8d985181ada8d25da2822a61f1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb38.txt
+++ /dev/null
@@ -1 +0,0 @@
-in the whimsical artwork by Remedios Varo, a boy roams through a cobbled street with a giant yellow and black butterfly on a leash. The butterfly towers over the boy, its wings a complex network of vibrant hues and patterns, contrasting with the dull grays and browns of the surrounding buildings. The boy, dressed in a simple green shirt and brown trousers, looks up in awe at his colossal companion as they proceed on their surreal promenade.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb39.txt b/code/evaluations/dpg/prompts/diffusiondb39.txt
deleted file mode 100644
index 455d799c1a9469c3caf0cf73157d64d469a81a4c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb39.txt
+++ /dev/null
@@ -1 +0,0 @@
-a grainy black-and-white image from a 1920s television show, featuring the iconic figure of Batman. He is captured mid-dance, with exaggerated gestures typical of vaudeville performances of the time. The scene shows him on a simple stage with minimal props, evoking the early days of television when the focus was purely on the performer's charisma and talent.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb4.txt b/code/evaluations/dpg/prompts/diffusiondb4.txt
deleted file mode 100644
index 99fc6a165eec00dc589ec5b168074bb87f192e0a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A captivating portrait by the acclaimed artist Krenz Cushart, showcasing a young girl with ethereal beauty, gracefully suspended amidst the soft, billowy clouds. Her delicate features are rendered with meticulous attention to detail, enhanced by the artist's intricate brush strokes that bring life to her flowing hair and the subtle play of light across her visage. The artwork, suffused with a dreamlike quality, has garnered widespread admiration and is currently a sensation on the Pixiv Fanbox platform.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb5.txt b/code/evaluations/dpg/prompts/diffusiondb5.txt
deleted file mode 100644
index 1857f2fcb8bcabadbb50871105d393e2d15a9e10..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb5.txt
+++ /dev/null
@@ -1 +0,0 @@
-a captivating painting dominated by rich, deep colors and an eclectic mix of artistic styles, featuring a gothic clown girl as the central figure. The clown girl's enigmatic expression is captured through the bold strokes and distorted forms reminiscent of Francis Bacon and Adrian Ghenie's work. Her attire is detailed with intricate patterns and textures, echoing the finesse of James Jean and Petra Cortright's digital artistry, while sections of the background blend seamlessly into the abstract realism characteristic of Gerhard Richter. The subtle, haunting illustrations accompanying the figure bear the distinctive mark of Takato Yamamoto. This 8 thousand-dollar masterpiece is an intriguing blend of western and eastern art influences, creating a visually arresting tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb6.txt b/code/evaluations/dpg/prompts/diffusiondb6.txt
deleted file mode 100644
index 6950c8068ca74dccd27e992528aeb5723d0c93e5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital art piece depicting an anthropomorphic fox character with vibrant orange fur and emerald green eyes, wearing a sleek, silver-hued jacket and holding a neon-lit shopping bag, standing in the midst of a bustling, high-tech mall. The scene draws inspiration from Makoto Shinkai with its depth and use of light, the detailed and realistic texture akin to the works of James Gurney, while incorporating characteristic anime-style aesthetics. Surrounding the fox are other fantastical creatures, each rendered with the distinct, expressive touch reminiscent of Don Bluth's animation. Artists like Hibbary, Dark Natasha, and Goldenwolf could be credited with influencing the fox's lifelike fur and captivating poise. The image would be well-suited for the galleries of FurAffinity, known for its community of artists who celebrate anthropomorphic animals through their creative endeavors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb7.txt b/code/evaluations/dpg/prompts/diffusiondb7.txt
deleted file mode 100644
index 3a78eabbb0ecbafbe581c31859f2961c0fd18338..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb7.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artistic fusion of styles reminiscent of the great masters like H.R. Giger's dark surrealism, Richard Schmid's refined realism, and Jeremy Lipking's contemporary impressionism comes to life in a striking full-length portrait painting. The expansive canvas is filled with loose, impressionistic brushstrokes that capture the haunting beauty of a Victorian-style giant spaceship. The vessel exists in an otherworldly space, its intricate metalwork framed by ethereal swaths of color, giving it an almost dreamlike presence amidst the undefined, loose genre of the painting's background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb8.txt b/code/evaluations/dpg/prompts/diffusiondb8.txt
deleted file mode 100644
index 67eacb52449d6ae222765d6f162746261609754e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb8.txt
+++ /dev/null
@@ -1 +0,0 @@
-A captivating 1950s-style movie poster that radiates a retrofuturistic charm, adorned with the artistic influence of legends like Moebius, Brom, and Ian Miller. It features a striking character in the foreground, presenting to an audience of intrigued scientists who are seated in a spacious conference room. The poster is illuminated with moody, vibrant colors that bring the scene to life, and every intricate detail is rendered with exceptional clarity in a 4K resolution.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/diffusiondb9.txt b/code/evaluations/dpg/prompts/diffusiondb9.txt
deleted file mode 100644
index 2932b587d3da59058564b986f92dd23396dc2077..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/diffusiondb9.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital illustration of a girl features her with vibrant rainbow-colored hair that cascades smoothly down her shoulders. She has two spiraling unicorn horns emerging from her forehead, adding a fantastical element to the portrait. Fresh, vivid colors blend seamlessly in gradients across the composition, showcasing a high level of detail and skill. The image is in sharp focus, with rim lighting that highlights the contours of her face and creates a sense of depth against the softly blurred background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext0.txt b/code/evaluations/dpg/prompts/drawtext0.txt
deleted file mode 100644
index e8125801c07d805521732b69308b193ef5abf7f7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A visually striking isometric design spells out the word 'DRAW' using an array of artist pencils with softly rounded edges, demonstrating the principles of modular constructivism. Each pencil features a pastel color palette, blending harmoniously against a serene blue background. The entire composition benefits from soft, smooth lighting that accentuates the textures and forms, created with a physically based rendering technique that provides a realistic appearance, with the entire artwork centrally positioned within the frame, creating a trendy and aesthetically pleasing image.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext1.txt b/code/evaluations/dpg/prompts/drawtext1.txt
deleted file mode 100644
index 5a98b32db81115dadc97f8ace12ca5372e82c395..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A visually striking digital art piece featuring the phrase "It takes AI and rain to make a rainbow" set against a deep black background. The text is displayed in vibrant, holographic neon colors that shimmer and change as if touched by light, creating an illusion of depth and movement. Surrounding the words are colorful, swirly patterns that give off a magical ripple effect, enhancing the 'bruh moment' of surreal wonder it aims to elicit. Intricate white and gold neon lines weave through the composition, adding an elegant contrast to the bold colors. The entire scene is crafted using 3D computer graphics, achieving a photorealistic quality that makes the elements seem tangible.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext10.txt b/code/evaluations/dpg/prompts/drawtext10.txt
deleted file mode 100644
index 73422c3bc52e9d178cc7fa51d5ea2088d031ae86..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext10.txt
+++ /dev/null
@@ -1 +0,0 @@
-A complex piece of generative art on a white background, featuring the words "Time is temporary, everything is temporary" emerging from a swirl of viscous smoke crafted from an intricate array of dots. It resembles flowing rivers, incorporating elements of graph design that give it an analytical yet abstract aesthetic. The typography has a fluidity that suggests impermanence and the fleeting nature of existence.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext11.txt b/code/evaluations/dpg/prompts/drawtext11.txt
deleted file mode 100644
index cb1b33658d999a9d747cb2e6e0824daf60fc16d9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext11.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aerial view of Toronto's skyline dominated by the iconic CN Tower standing tall amongst the surrounding buildings. The image is taken from the window of an airplane, providing a clear, bird's-eye perspective of the urban landscape. Across the image, the words "The CN Tower" are prominently displayed in the playful Comic Sans font. The cluster of city structures is neatly bisected by the glistening blue ribbon of a river.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext12.txt b/code/evaluations/dpg/prompts/drawtext12.txt
deleted file mode 100644
index 622232152124dec9ccd21223fefb2ceda9fb7211..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext12.txt
+++ /dev/null
@@ -1 +0,0 @@
-a tranquil cityscape with high-rise buildings silhouetted against the evening sky. In the foreground, a large, fluffy, solitary cloud hovers subtly, its edges tinged with a golden hue from the setting sun. Below the cloud, in elegant, rounded cursive letters, the words 'contemplate the clouds' invite onlookers to pause and reflect amidst the urban environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext13.txt b/code/evaluations/dpg/prompts/drawtext13.txt
deleted file mode 100644
index 976af0588c9d6503cfd54ef615aa9736f1063dea..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A robust, powerful vehicle with a matte black finish and oversized tires sits imposingly in the frame, its structure evidently designed for rugged terrains. Bold, white lettering on the side of the truck declares "I'm a truck, not a car," asserting its identity with pride. Its exterior is characterized by reinforced bumpers and a raised suspension, showcasing its capability to tackle challenging off-road conditions.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext14.txt b/code/evaluations/dpg/prompts/drawtext14.txt
deleted file mode 100644
index 9cbf42d99f9f67d87ea3ee62907c4a7f05acf407..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A beautifully aged antique book is positioned carefully for a studio close-up, revealing a rich, dark brown leather cover. The words "Knowledge is Power" are prominently featured in the center with thick, flowing brushstrokes, gleaming in opulent gold paint. Tiny flecks of the gold leaf can be seen scattered around the ornately scripted letters, showcasing the craftsmanship that went into its creation. The book is set against a plain, uncluttered background that focuses all attention on the intricate details of the cover's design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext15.txt b/code/evaluations/dpg/prompts/drawtext15.txt
deleted file mode 100644
index 69be0172db22deabecfa7b5b889be3bdbdb8a9a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext15.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed painting from the 17th century in the French Baroque style, featuring an imposing female lion with a thick golden mane and deep, expressive eyes. The majestic lion is depicted with soft, intricate brushstrokes against a backdrop of rolling hills and a cloudy sky. In a humorous contrast to the grandeur of the scene, a whimsical speech bubble emerges from the lion's mouth containing the word "meow" in elegant script.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext16.txt b/code/evaluations/dpg/prompts/drawtext16.txt
deleted file mode 100644
index f00105e017d8b985135e6437f1034be0ff8f0bec..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext16.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the image, a sleek, metallic humanoid robot stands before a dusty chalkboard, on which it has carefully scrawled 'Representation Learning' in eloquent cursive. Surrounding the central text are several complex mathematical formulas and intricate diagrams, each contributing to a lecture on advanced concepts in machine learning. The robot's articulated fingers hold a piece of white chalk, leaving a trail of fine dust as it continues to write.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext17.txt b/code/evaluations/dpg/prompts/drawtext17.txt
deleted file mode 100644
index d131d73b6fcf88d00217f339844772f9bbf8e3c9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext17.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant and playful three-dimensional rendering of the word 'fuzzy' made from an assortment of colorful furry spheres, each varying in size. The spheres are clumped together to form chunky, organic letter shapes that appear soft to the touch. The whimsical text is centered within the frame, casting a slight shadow on the plain background, enhancing its three-dimensional effect.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext18.txt b/code/evaluations/dpg/prompts/drawtext18.txt
deleted file mode 100644
index 3a9c2a65bebcc03012433b7eab6d6d8ed921756b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext18.txt
+++ /dev/null
@@ -1 +0,0 @@
-an animated image depicting a green turtle with a perplexed expression on its face. The turtle is standing upright on two legs and has a large, transparent thought bubble above its head, filled with the paradoxical question, 'what if there was no such thing as a thought bubble?' surrounding the turtle, there are simplistic drawings of grass and flowers, emphasizing the cartoonish nature of the image.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext19.txt b/code/evaluations/dpg/prompts/drawtext19.txt
deleted file mode 100644
index a89fb0d1ee82a91d7c0dc9700d024ab19932e406..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext19.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant field of tall sunflowers standing against a clear blue sky, with one large, cheerful flower in the foreground about to be overwhelmed by an approaching green tractor. the sunflower's bright yellow petals and deep brown center contrast the cold metal of the tractor's body. the ominous caption 'after the sunflowers, they will come for you' overlays the image, giving an eerie foreshadowing to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext2.txt b/code/evaluations/dpg/prompts/drawtext2.txt
deleted file mode 100644
index 2998a56dce2c7c2aad50e96b94c6075fbf95e008..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext2.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a stark white wall, the phrase "Art is never finished, only abandoned" comes to life through an array of dynamic paint splatters. The mural, reminiscent of graffiti art, is infused with muddy colors that give it a textured, woodcut appearance. Surrounding the bold, handcrafted letters, a spectrum of colors blend and bleed into each other, creating a visual dance on the edge of abstraction. The artwork stands out as a vivid and beautiful example of spectral color usage, drawing the viewer's eye into a world of continuous creation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext20.txt b/code/evaluations/dpg/prompts/drawtext20.txt
deleted file mode 100644
index 9f127c30e7719a999926415ee096a1745e7cfe80..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digital image depicts an animated panda character, standing at a podium in a spacious conference room, giving a presentation to an invisible audience. The panda is adorned with a blue tie and is pointing towards a large projector screen that displays bold text stating 'Diffusion Models – in the style of van Gogh,’ with swirling patterns reminiscent of the famous Dutch painter's work in the background. The room is lined with grand windows showing a clear day outside, and rows of empty black chairs face the presenting panda, suggesting an air of anticipation for the talk.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext21.txt b/code/evaluations/dpg/prompts/drawtext21.txt
deleted file mode 100644
index 55ae10436e3cbc83883862ac0b60ee63594251fa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext21.txt
+++ /dev/null
@@ -1 +0,0 @@
-An ornate representation of the Taj Mahal intricately positioned at the center of a gold leaf mandala, which showcases an array of symmetrical patterns and delicate filigree. Surrounding the central image, the mandala's design features accents of vibrant blues and reds alongside the gold. Below this striking visual, the words "Place of Honor" are inscribed in an elegant, bold script, centered meticulously at the bottom of the composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext22.txt b/code/evaluations/dpg/prompts/drawtext22.txt
deleted file mode 100644
index 77a32c75b4c11135a0726e4c30c630fc6b909830..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A complex sculpture resembling a human brain, intricately woven from silver wires and sheets of off-white paper, strategically folded and molded. Each convolution of the brain is meticulously crafted, with the phrase 'deep thoughts' inscribed in a flowing script along the cerebral folds. This thought-provoking art piece is centrally displayed on a plain pedestal, highlighting its detailed craftsmanship and the profundity of its intended message.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext23.txt b/code/evaluations/dpg/prompts/drawtext23.txt
deleted file mode 100644
index 2de22f5f18417b85fcf8a4e99b956e1b26125df4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext23.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant garden filled with an array of colorful flowers meticulously arranged to spell out the word 'peace' on the lush green grass. The garden is enclosed by a white picket fence and surrounded by tall trees that sway gently in the breeze. Above, against the backdrop of a blue sky, whimsical clouds have been shaped to form the word 'tensions', contrasting with the tranquil scene below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext24.txt b/code/evaluations/dpg/prompts/drawtext24.txt
deleted file mode 100644
index dec6e4ad2c8c6619f6244cafae76bfe6309688db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext24.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate display of grapevines artfully shaped to form the phrase "open your mind," emerging from the top of a sculpted head. The head is adorned with colorful flowers where butterflies are delicately perched, adding life to the scene. The DSLR captured image showcases the crisp textures and vibrant hues against a softly blurred background, accentuating the central theme.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext25.txt b/code/evaluations/dpg/prompts/drawtext25.txt
deleted file mode 100644
index c81d4c931f74d8c5916382d14aa4646c72154596..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up view of a canvas where the word 'swirl' is artistically represented with muted pastel colors, such as light pink, baby blue, and soft yellow, mixed elegantly into a white background. The paint appears thick and tactile, giving it a 3D globular texture that seems almost liquid in form. The colors gently intertwine with each other, following the shape of the letters, creating an appealing visual of blending hues.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext26.txt b/code/evaluations/dpg/prompts/drawtext26.txt
deleted file mode 100644
index 51b79c45151d0481320792aab6399cfa77bcbf85..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext26.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digitally rendered image of a whimsical toothpaste tube figurine that boasts a candy pastel color palette. The figurine is set against a soft, neutral background, enhancing its playful charm. On the body of the toothpaste tube, bold letters spell out the reminder 'brush your teeth,' inviting a sense of dental care responsibility. The tube cap is carefully designed to exhibit a realistic, shiny texture, creating a striking contrast with the matte finish of the tube itself.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext27.txt b/code/evaluations/dpg/prompts/drawtext27.txt
deleted file mode 100644
index 2ff6d0de946fed1a6ce6ac78dbca92794a03bc65..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext27.txt
+++ /dev/null
@@ -1 +0,0 @@
-an image capturing an assortment of trees, ranging from young saplings to full-grown specimens with thick trunks and sprawling branches. The trees are pictured in a lush green forest, where each tree stands at a different height, signifying their unique stages of growth. The photo's emphatic caption, 'growth is a continuous process,' is etched at the bottom, inspiring a reflection on development and progress.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext28.txt b/code/evaluations/dpg/prompts/drawtext28.txt
deleted file mode 100644
index 30279dbb8c8c54b42ed2a5b49a6f4ce630652ace..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext28.txt
+++ /dev/null
@@ -1 +0,0 @@
-Sitting at one end of a wooden park bench, the perspective is directed upwards towards a clear blue sky with a few fluffy clouds drifting by. In the expanse of the sky, the inspirational phrase 'imagine the outcome' appears, almost as if written by an airplane's smoke trail. The bench, with its weathered slats and cast-iron arms, provides a tranquil spot for contemplation within the grassy expanse of the park.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext29.txt b/code/evaluations/dpg/prompts/drawtext29.txt
deleted file mode 100644
index 741f02b7611ffbf251e29f8c8d81051e78d9e39c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext29.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artist's rendition of the Hubble Space Telescope, bathed in the glimmer of distant stars set against the backdrop of the sprawling Milky Way galaxy. The image is rich with hues of blue and purple nebulas, and the telescope appears as a sophisticated structure with reflective solar panels. Overlaying this cosmic panorama is bold, inspirational text that reads 'The Universe is a Mystery, But We Are Here to Solve It', signifying the relentless human pursuit of knowledge beyond our world.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext3.txt b/code/evaluations/dpg/prompts/drawtext3.txt
deleted file mode 100644
index 4c5ebc2059f9b7ae7c74c941ff223981faa75c61..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext3.txt
+++ /dev/null
@@ -1 +0,0 @@
-an architectural blueprint displaying a simple house design, with clean lines indicating a large triangular roof atop square walls, and a rectangular base representing the floor. The drawing is executed with precise, thin blue lines on a white background, giving it a technical and minimalist appearance. Alongside the schematics, there's handwritten text that reads 'this house is built on the principles of abstraction', suggesting an artistic or philosophical approach to the building's design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext30.txt b/code/evaluations/dpg/prompts/drawtext30.txt
deleted file mode 100644
index 6effc5d9e85fd25fa1740578b2324d47b9a79017..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image depicting two hands against a muted background, with one hand delicately gripping a bright red heart and the other securely holding a jagged yellow lightning bolt. Above them, bold lettering in a strong, contrasting color proclaims 'love is power'. The text is stylized with an energetic font that echoes the dynamic essence of the symbols cradled in the hands.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext31.txt b/code/evaluations/dpg/prompts/drawtext31.txt
deleted file mode 100644
index b8f8df7b7a5708cd10166315bd0de7bbf5455197..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext31.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up of a folded newspaper with a bold headline 'Aliens Found in Space' sprawled across the top in large black letters. The subheading underneath reads, 'The Truth About Everything Now Challenged', printed in a smaller yet prominent font. The newspaper, with its slightly crumpled texture, lies on a wooden table surface, surrounded by a scattered assortment of coffee mugs and pens.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext32.txt b/code/evaluations/dpg/prompts/drawtext32.txt
deleted file mode 100644
index dc14b42ff42d32969cc6f4b6d41f69fd7da7d2dd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext32.txt
+++ /dev/null
@@ -1 +0,0 @@
-An image of a newspaper lies flat, its bold headline 'Local pig eats prize pumpkin' emblazoned across the top in large lettering. Below the headline, there's a photograph capturing a pink pig with muddy spots, surrounded by the remnants of a once massive, bright orange pumpkin, now half-devoured. The paper appears slightly crumpled, emphasizing its texture, with the photograph and text clearly visible against the off-white background of the newsprint.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext33.txt b/code/evaluations/dpg/prompts/drawtext33.txt
deleted file mode 100644
index e30e15cb2a5b60694a5f86a78443c4d000038cf6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A creative studio photograph featuring tactile text spelling 'hello' with vibrant, multicolored fur that stands out boldly against a pure white background. This playful image is showcased within a unique frame made of equally fluffy material, mimicking the texture of the centerpiece. The whimsical arrangement is perfectly centered, lending a friendly and inviting vibe to the viewer.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext34.txt b/code/evaluations/dpg/prompts/drawtext34.txt
deleted file mode 100644
index 4e773a99deb998d5d5f0d5089e4cf87c0834c849..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant parrot perched confidently on the wooden railing of an old pirate ship, its feathers a bold mixture of greens, blues, and reds. It's donned a small, comically endearing pirate hat atop its head. The backdrop is filled with the taut ropes and billowing sails of the ship, and emblazoned across the image is a humorous caption declaring, "I'm the captain now."
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext35.txt b/code/evaluations/dpg/prompts/drawtext35.txt
deleted file mode 100644
index 952ea1903c103f12a6943f72b693d687ebe0630b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext35.txt
+++ /dev/null
@@ -1 +0,0 @@
-a colorful bowl filled with milk and alphabet-shaped cereal pieces floating on the surface. Amongst the scattered letters, the word 'smackeroo' is carefully arranged in the center of the bowl. The bowl sits on a light-colored table, with a silver spoon resting beside it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext36.txt b/code/evaluations/dpg/prompts/drawtext36.txt
deleted file mode 100644
index e595c02a3239346d90b497204507075e20db957f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext36.txt
+++ /dev/null
@@ -1 +0,0 @@
-A unique perspective of a large, irregular-shaped gray stone casting a long, imposing shadow over the ground, as seen from the vantage point of an ant. The sun's position gives the shadow a stretched appearance, trailing across the textured dirt surface speckled with tiny pebbles and grass blades. The caption 'look at that shadow!' humorously emphasizes the grandeur of the scene from the ant's perspective.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext37.txt b/code/evaluations/dpg/prompts/drawtext37.txt
deleted file mode 100644
index 96085f3dc5c640f01eb307bbcec241693f62e7e4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext37.txt
+++ /dev/null
@@ -1 +0,0 @@
-a simple white background highlighting a hand-drawn black circle that encompasses the playful, cursive text 'infinity makes me happy'. The words are crafted to resemble a quick, personal brush script, giving it a casual and intimate feel. Just outside the circle, faint sketch marks are visible, implying a human touch in the creation of this design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext38.txt b/code/evaluations/dpg/prompts/drawtext38.txt
deleted file mode 100644
index d65300cde103ff541cfb3dd8649291dee03b6ea7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext38.txt
+++ /dev/null
@@ -1 +0,0 @@
-a dense forest shrouded in darkness, illuminated only by a single light glowing faintly in the distance. the trees have thick, twisted trunks and are densely packed, their branches creating a canopy that shades the forest floor. clearly visible against this shadowy backdrop is the stark white text "I've come to talk with you again," evoking a sense of solitude and mystery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext39.txt b/code/evaluations/dpg/prompts/drawtext39.txt
deleted file mode 100644
index 0bc7a8424cab0664d7ec63f24ee8fcca5f5c4e26..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext39.txt
+++ /dev/null
@@ -1 +0,0 @@
-a small green lizard basking on the white, pentagonal home plate of a baseball field, with the words 'made it safe' written in a cartoonish speech bubble above its head. surrounding the home plate is a well-trodden dusty red infield, and in the background, the neatly manicured outfield grass stretches out. beyond the field, a row of bleachers can be seen, hinting at the presence of an eager audience awaiting the next play.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext4.txt b/code/evaluations/dpg/prompts/drawtext4.txt
deleted file mode 100644
index a2965cd9c3d7e27541dca008fe6a43316017bde5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant, wide-angle studio shot capturing oversized, three-dimensional letters spelling out "colorful". Each letter is meticulously crafted from an assortment of fuzzy spheres, varying in size and hues, giving the text a rich, tactile appeal. These chunky elements are perfectly aligned in the center of a square canvas, creating a dynamic and visually engaging composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext5.txt b/code/evaluations/dpg/prompts/drawtext5.txt
deleted file mode 100644
index 71e5714d185e91151c56bd61dff97408b570fa4f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext5.txt
+++ /dev/null
@@ -1 +0,0 @@
-A metallic robot with a rounded head and drooping shoulders stands on a stainless steel assembly line designed for butter packaging. Surrounding the robot are tubs of spread, some of which have spilled onto the conveyor belt, causing a minor disruption. The robot's digital face displays a frown, and above it, a flashing red light signals a malfunction in the process. Large, cartoonish speech bubbles emerge from the robot, playfully emblazoned with the words, "I can't believe it's not butter!" in bold, white letters.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext6.txt b/code/evaluations/dpg/prompts/drawtext6.txt
deleted file mode 100644
index 7944211616849b90e00ab13b058372d60af38f11..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext6.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artistic display featuring light magenta and blue paint streaks applied with a wide brush, creating a translucent effect as they overlap on a sheet of plastic configured into the shape of the letter 'F'. This creative piece is set against a pure white background, which accentuates the colors and the unique translucency of the materials. The edges of the paint strokes are soft and blend seamlessly into one another, giving the artwork a sense of fluidity and motion.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext7.txt b/code/evaluations/dpg/prompts/drawtext7.txt
deleted file mode 100644
index 9b83d6222c3cef6fe417fccb95b2d101b8397cd8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext7.txt
+++ /dev/null
@@ -1 +0,0 @@
-an aerial vehicle with the inscription 'helicopter tours' emblazoned along its side is captured in the action of descending onto a circular helipad that's nestled in the midst of a verdant valley. The expansive landscape surrounding it includes a meandering river, clusters of dense trees, and majestic mountains standing tall under the clear skies. Sunlight shines off the helicopter's glossy exterior, accentuating its deep blue and white colors as it prepares for a gentle touchdown.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext8.txt b/code/evaluations/dpg/prompts/drawtext8.txt
deleted file mode 100644
index 810b924f37fa8ef87808ea5adb5a7ee69f47e6d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext8.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately designed sculpture of the letter W, rendered in three-dimensional form, is masterfully crafted from a thin wire with an iridescent light metallic chrome finish. The isometric perspective emphasizes the sculpture's geometric precision, showcasing its ultra-detailed structure. It stands prominently against a deep, dark background, further accentuating the reflective and shimmering quality of the wire material.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/drawtext9.txt b/code/evaluations/dpg/prompts/drawtext9.txt
deleted file mode 100644
index 28480e9a231032de22a17fe0d0dc8aff9dfb5fa3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/drawtext9.txt
+++ /dev/null
@@ -1 +0,0 @@
-A colorful scene at the shoreline with a red crab sitting on the golden sand, beside a vibrant turquoise surfboard. The sun, resembling a massive, glowing orange orb, hangs low in the sky, which is painted with a spectrum of a rainbow's hues. Thought bubbles appear above the crab, filled with the words 'you are all that matters', hinting at a whimsical, introspective moment on this picturesque beach.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized0.txt b/code/evaluations/dpg/prompts/localized0.txt
deleted file mode 100644
index a2577d7ffa8ce151e72f22a2a368b244b82afad9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant outdoor field with lush green grass and neatly painted boundary lines. Numerous athletic men, donned in brightly colored sports attire, are energetically chasing after a spherical ball under the bright daylight. The background is a soft focus, enhancing the dynamic movement of the players in the foreground. Surrounding the playing area, there are scattered equipment and water bottles, indicating a serious game is in progress.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized1.txt b/code/evaluations/dpg/prompts/localized1.txt
deleted file mode 100644
index 51fcda5dbb9754c3a49d419893f4849ad8075fae..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delectable meal is prepared on a round white plate, featuring a savory food item gently positioned next to a small ceramic bowl. In the foreground, a second plate is meticulously set with a silver fork resting atop its rim. To the right of this setting, a stainless steel knife shines beside an array of other dining utensils and accouterments arranged neatly on a polished wooden table.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized10.txt b/code/evaluations/dpg/prompts/localized10.txt
deleted file mode 100644
index 6acf89c70c4d77bb942467f1ce8271e64876b5b0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized10.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately edited photograph captures a bustling road lined with an array of vehicles such as sleek cars, motorbikes, and bicycles. In the background, a tall concrete wall runs alongside the road, interrupted by a solitary lamppost that stands erect. Lush green trees can be seen peeking over the top of the wall, with bits of the sky and other structures subtly visible through the foliage. Various signs and billboards are also dotted along the periphery of the road, adding to the urban landscape of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized11.txt b/code/evaluations/dpg/prompts/localized11.txt
deleted file mode 100644
index d2100338095ecec785ffbc5390e5b6a36bcb260b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized11.txt
+++ /dev/null
@@ -1 +0,0 @@
-The image displays a vibrant array of multicolored flowers and lush green leaves clustered at the lower section. In the bottom right corner, a small, round, terracotta pot peeks into the frame, providing a contrast to the natural elements. The floral bouquet features petals ranging from deep purples to bright yellows, with a variety of leaf shapes and sizes nestled amongst them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized12.txt b/code/evaluations/dpg/prompts/localized12.txt
deleted file mode 100644
index 6268a65f796a1fd5d8f6e4963c57ce4b92f06a0b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid green iguana is perched motionlessly atop a worn wooden log, its intricate scales exhibiting various shades of green and black. Behind the reptile, a rough-textured wall stands, painted in a faded color, which contrasts with the image's predominantly dark backdrop. The shadows envelop the surroundings, highlighting the iguana as the central focus of this composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized13.txt b/code/evaluations/dpg/prompts/localized13.txt
deleted file mode 100644
index 843d7d58d4a6f3b71d1dc1adf40b3dc6c25b958a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized13.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the foreground, two birds with vibrant feathers are perched upon rugged grey rocks that jut out near a tranquil pond with lush green plants at the water's edge. In the midground, a rustic wooden fence creates a boundary line, subtly dividing the natural scene from the world beyond. The background extends into a vast expanse of soft blue sky dotted with tufts of white clouds, stretching far into the horizon.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized14.txt b/code/evaluations/dpg/prompts/localized14.txt
deleted file mode 100644
index 498f8ccb5260f6cc735c7472a4395ebba2f30a3a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized14.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the photograph, there's a round, brown plate that is neatly arranged with an assortment of vibrant, colorful food. Positioned against a stark white background, the plate's contents stand out, creating a striking contrast. The surface of the food gleams slightly, suggesting a freshly prepared meal waiting to be enjoyed.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized15.txt b/code/evaluations/dpg/prompts/localized15.txt
deleted file mode 100644
index 901b185ad3e8ed64d72976ad1c7f91eea13660cc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized15.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the image, a sleek white car sits parked on a smooth concrete surface, its polished exterior reflecting the sunlight. Behind the vehicle, a tall, weathered wall stands, painted in a faded blue with peeling patches revealing its past layers. The car's position, about an arm's length away from the wall, creates a clear spatial separation between the two.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized16.txt b/code/evaluations/dpg/prompts/localized16.txt
deleted file mode 100644
index ef9068a36535de264b9f7dccad59fedf78147980..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized16.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the foreground of the image, a variety of colorful fruits are scattered across a wooden table, with their fine details and textures in sharp focus. The background features a blurred arrangement of kitchenware and a pastel-colored wall, providing a soft contrast to the vivid sharpness of the fruits on the table. The diffused light gently illuminates the scene, highlighting the smooth skins of the fruits and casting subtle shadows upon the wooden surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized17.txt b/code/evaluations/dpg/prompts/localized17.txt
deleted file mode 100644
index d319834caf9c32b353e544b954ea456ad1b3ce84..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized17.txt
+++ /dev/null
@@ -1 +0,0 @@
-A closer look at the ground reveals a scattering of rocks in a mosaic of colors and shapes. Some are small, weathered pebbles tinged in earthy browns and soft grays, while others are larger, jagged stones with hues of deep red and speckled granite. The varied textures are evident, from smooth, water-worn surfaces to the coarse, granular feel of the larger boulders, all lying haphazardly on a bed of sandy soil.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized18.txt b/code/evaluations/dpg/prompts/localized18.txt
deleted file mode 100644
index fd63e56e50559c8c82cefd6db6b80f8d9b862e79..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized18.txt
+++ /dev/null
@@ -1 +0,0 @@
-The photo captures a tranquil natural setting with an expanse of green grass, which leads to an assortment of vibrant plants at varying heights. Scattered throughout the scene, autumnal dried leaves are strewn among the grass, hinting at the change of seasons. Towering trees with diverse foliage create a textured canopy against the clear blue sky, offering a snapshot of a diverse ecosystem.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized19.txt b/code/evaluations/dpg/prompts/localized19.txt
deleted file mode 100644
index a6215575ee53e8082f24f06bbfbca3fe264844f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized19.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern electronic device featuring a sleek grey panel, which is adorned with bright, illuminated text offering clear instructions. Surrounding the text, there's an array of tactile buttons in black and red, and several toggle switches with orange indicators that provide user control. The arrangement of buttons and switches appears organized, facilitating ease of use for various functionalities.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized2.txt b/code/evaluations/dpg/prompts/localized2.txt
deleted file mode 100644
index 4de753ed401613576b1a0eb4a3e4a6ec67f47c9f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized2.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern interior scene featuring a sleek, white pedestal standing squarely on a polished concrete floor. Atop the pedestal rests an avant-garde, mesh-like structure, its curves and interwoven lines resembling a futuristic sofa. Behind this unique piece of furniture, there is a crisp white wall, upon which hangs an assortment of small, framed pictures and decorative shelves holding minimalist ornaments.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized20.txt b/code/evaluations/dpg/prompts/localized20.txt
deleted file mode 100644
index 0d111e3390d3bad92b423d4acd916c3f6084f9d9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A textured concrete wall serves as a canvas for vibrant graffiti. The colorful artwork features a detailed portrait and bold lettering with various hues of blue, orange, and pink. Surrounding the graffiti, there are signs of age on the wall, including slight wear and chipped paint, highlighting the contrast between the old surface and the fresh paint.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized21.txt b/code/evaluations/dpg/prompts/localized21.txt
deleted file mode 100644
index 57888b246a935d58f6f8517e5b15942b49adc250..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized21.txt
+++ /dev/null
@@ -1 +0,0 @@
-The expansive surface appears to be a wall constructed from weathered wooden planks, each exhibiting unique patterns of grain and knots. The rustic wooden barrier casts subtle shadows, hinting at its rough texture and the natural variations in its warm brown tones. No other objects are in view, putting the entire focus on the wooden wall's organic and sturdy character.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized3.txt b/code/evaluations/dpg/prompts/localized3.txt
deleted file mode 100644
index abe2cfbb7221685201e0b70f80df2197dc549972..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized3.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a grassy outdoor setting, several individuals are wearing protective helmets and standing near vivid blue and yellow inflatable pillars. In the foreground, there's a semblance of a game or event taking place amidst the greenery. Towards the back, multiple tents are set up alongside a tall bamboo structure, and colorful posters are visible, fluttering in the gentle breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized4.txt b/code/evaluations/dpg/prompts/localized4.txt
deleted file mode 100644
index d55e180dd20b5993118644bd9d586e808b6b0fbb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized4.txt
+++ /dev/null
@@ -1 +0,0 @@
-In this monochromatic photograph, an array of vehicles, including cars and motorcycles, are captured against an urban backdrop. The background features an assortment of streetlights casting a soft glow, utility poles rising towards the sky, stacked logs waiting to be moved, and the silhouettes of various walls that add to the complexity of the scene. The foreground is dominated by a stretch of road that guides the viewer's eye through the image, paving a path amidst the diverse elements contained within this black and white tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized5.txt b/code/evaluations/dpg/prompts/localized5.txt
deleted file mode 100644
index 237d8a148bd9e818c5b4d55b32bfadbe0e3e6435..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized5.txt
+++ /dev/null
@@ -1 +0,0 @@
-Foregrounded in the image, a vibrant display of flowers, their petals ranging from a delicate pink to a deep magenta, bloom alongside green buds on slender stems. Rising majestically behind the botanical array are silhouettes of verdant trees, some houses with red-tiled roofs peeking out among them, and the faint outline of distant mountains. Above this serene landscape, the expansive sky is adorned with fluffy, white clouds drifting gently across a soft blue canvas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized6.txt b/code/evaluations/dpg/prompts/localized6.txt
deleted file mode 100644
index faccf8de85cd6973ce91094e3c9749d7442f6a43..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized6.txt
+++ /dev/null
@@ -1 +0,0 @@
-The photograph captures a wide expanse of sky with trees dotting the horizon, their leaves vibrant green against the blue backdrop. Below, neatly stacked boxes rest against a black metal railing, which runs parallel to the lush grass. Scattered around the vicinity, miscellaneous objects are haphazardly placed. The composition is framed with elegant black borders on both the left and right sides, giving the image a structured finish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized7.txt b/code/evaluations/dpg/prompts/localized7.txt
deleted file mode 100644
index 5195d0eaa97c75a7cece80f028867d884c1b6f2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized7.txt
+++ /dev/null
@@ -1 +0,0 @@
-The focal point of the image is a colorful Rubik's cube with a mix of unsolved red, blue, green, and yellow squares. Just beneath the cube, the texture of a soft, dark cloth can be observed, providing a contrast to the cube's vivid colors. The backdrop is enveloped in shadows, accentuating the cube's brightness. To the lower portion of the frame, a nondescript black object is partially visible, adding a sense of depth to the composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized8.txt b/code/evaluations/dpg/prompts/localized8.txt
deleted file mode 100644
index a32377324efd9a5a00b5f8ef5da0637eb5cc691b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized8.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the visual, an object with a vivid orange hue and intricate patterns catches the eye. The bottom left portion of the object bears inscriptions in a darker tone, offering a clue to its purpose or origin. It stands out boldly against a stark white background, providing a striking contrast that accentuates its design and color.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/localized9.txt b/code/evaluations/dpg/prompts/localized9.txt
deleted file mode 100644
index 42ac692ead3ac3c18066f476242e6e8c6fb94bae..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/localized9.txt
+++ /dev/null
@@ -1 +0,0 @@
-Centrally placed on a raised platform, a sleek red sports car gleams under bright lights. The platform is surrounded by railings, beyond which a small crowd of people are scattered, some intently observing the car, others engaged in conversation. Advertising banners and promotional stands can be glimpsed in the background, flanking a large white tent that is set up near a modern building structure with glass facades.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney0.txt b/code/evaluations/dpg/prompts/midjourney0.txt
deleted file mode 100644
index ce08200c326190ae9148afb76be514df93e774dd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney0.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate tower crafted of white cloth and rope stands with an ethereal presence against the stark tundra backdrop, with windows and ramparts woven into its design. The structure appears to float just above the muted colors of the earth, with clouds swelling around it, adding a voluminous depth to the scene. The photograph boasts an impressive dynamic range, capturing the subtlest nuances from the brightest cloud to the deepest shadow. Reminiscent of a Studio Ghibli fantasy blended with the magical realism of a Michael Parkes painting, the image is strikingly detailed and remarkably photorealistic.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney1.txt b/code/evaluations/dpg/prompts/midjourney1.txt
deleted file mode 100644
index 2cf40a0a426a08c13758117c4be04e4ad3c7b40b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney1.txt
+++ /dev/null
@@ -1 +0,0 @@
-An extraordinary rendition of Melbourne's Southern Cross Station presented from a bird's-eye view, encapsulated by the signature aesthetics akin to the works of Makoto Shinkai. The image boasts a resolution of 8K, delivering an ultra-detailed and sharply defined portrayal that captures even the subtlest of features. The station and its surroundings are bathed in epic lighting that casts dramatic shadows and projects vivid light refractions across the scene, offering a sense of hyperrealism that's enhanced by the ultra uplight effect. Each element within the composition is rendered with high fidelity, giving life to a photorealistic scene that is both captivating and intricately depicted.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney10.txt b/code/evaluations/dpg/prompts/midjourney10.txt
deleted file mode 100644
index 131d5fa4085adde1176ecf1660df1f33481e6f33..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney10.txt
+++ /dev/null
@@ -1 +0,0 @@
-An epic scene unfolds, styled in the manner of Richard Schmid, where a fierce battle rages under a tempestuous sky pouring rain. Amidst the chaos, a colossal cave troll roars defiantly, towering over the Viking warriors who are locked in combat with their enemies. The backdrop is a city engulfed in flames, with thick smoke rising into the stormy atmosphere, all rendered in a vivid, cinematic matte painting. The gloomy weather and the city's destruction intensify the drama of the Viking army's relentless fight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney11.txt b/code/evaluations/dpg/prompts/midjourney11.txt
deleted file mode 100644
index d605451881c2123f247828a0176fed864a6963df..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney11.txt
+++ /dev/null
@@ -1 +0,0 @@
-a distorted, low-resolution video feed from a trail camera, displaying a bizarre scene of animated minion figurines moving erratically within a crop circle that appears cursed and sinister. the image is plagued with digital artifacts, creating a grainy texture that adds to the unsettling atmosphere. flashes of datamoshing cause the figures to appear fused and deformed, creating a chilling effect as they twist and contort in unnatural ways.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney12.txt b/code/evaluations/dpg/prompts/midjourney12.txt
deleted file mode 100644
index a315d97697315938ded593921844a9221792f314..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney12.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the midst of an enigmatic scene, a mystical cat sits enveloped by undulating curls of vibrant smoke in hues of purple, blue, and green. Its eyes shine luminously, emitting an aura of enigmatic chaos magic that seems to dance around its sleek, shadowy fur. At the forefront of this visual marvel, an emblematic 'all seeing eye' is prominently featured, adding to the arcane theme. The background fades into a blur, creating a shallow depth of field that places the focus squarely on the eerie yet captivating feline figure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney13.txt b/code/evaluations/dpg/prompts/midjourney13.txt
deleted file mode 100644
index 80dc85da37a07e44a1f82474a9e1b6ecb35dffbf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid and eclectic depiction of a fisherman's village drawn by Ralph Steadman, composed of dark velvet hues, contrasting with splashes of bright yellow and teal. In the foreground, a tall coconut tree sways, its silhouette framed against the backdrop of a small, bustling island. A sturdy jetty extends into the water, where several fishing boats rock gently with the waves.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney14.txt b/code/evaluations/dpg/prompts/midjourney14.txt
deleted file mode 100644
index 66a594349907b4b217f18a742df8f4a3c268553c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A mannequin dressed in a black latex maid's uniform stands prominently in a photography store, displaying a chic hat positioned at an angle and a fashionable hip skirt. The figure is surrounded by suspended groceries appearing as if frozen mid-air, creating a dynamic storefront arrangement. Around the mannequin are shelves stocked with well-known brands of photographic supplies, such as Kodak and Fuji film, while posters advertising the latest IMAX releases and redshift photography techniques adorn the walls, promoting a high level of photorealism in their imagery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney15.txt b/code/evaluations/dpg/prompts/midjourney15.txt
deleted file mode 100644
index eef49e132b2161ba9d4553440766bac3ea4070a4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney15.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative digital artwork that features a fantasy female character, stylized with the intricate detail and ethereal qualities reminiscent of Peter Mohrbacher's angelic designs. The scene is richly textured with the layered brushwork akin to Craig Mullins, while the character is positioned in a whimsical world that pays homage to Studio Ghibli's magical backdrops. The color palette and decorative patterns echo the opulent artistry of Gustav Klimt and the flowing elegance of Alphonse Mucha, while the bold contrast and shadowing are influenced by Mike Mignola's distinctive style. Frank Frazetta's dynamic forms and Boris Vallejo's muscular fantasy realism influence the figure's pose and musculature, creating a visually arresting tableau with extreme detail and depth.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney16.txt b/code/evaluations/dpg/prompts/midjourney16.txt
deleted file mode 100644
index 326b0b03f90ef54162544628fe769b083d92fd45..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A digitally rendered image of the iconic Monalisa capturing a selfie, boasting 8K resolution and hyper-realistic details that highlight the delicate textures of her skin and the intricate fibers of her clothing. The scene is illuminated with cinematic lighting that casts soft shadows and enhances the depth of field, giving a three-dimensional quality to the image. The background is blurred artfully, drawing full attention to her enigmatic expression and the modern device in her hands, all created with the precision of an Octane render engine.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney17.txt b/code/evaluations/dpg/prompts/midjourney17.txt
deleted file mode 100644
index 57458df8c37694ebcd896d93f114aeb024ed54c1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney17.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately designed airship, with sleek steel panels and ornate golden trims, hovers gracefully above a bustling port. The city skyline, a fantastical fusion of floating islands and elevated platforms, echoes the artistic vision of Ivan Shishkin's creations on ArtStation, reminiscent of the game Bioshock Infinite. Captured with the depth of field effect of a 35mm lens, the image exudes a cinematic quality, with the airship’s cables and anchors creating a stark contrast against the backdrop of the sky-high metropolis.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney18.txt b/code/evaluations/dpg/prompts/midjourney18.txt
deleted file mode 100644
index 2a58b21982604c3f8ea3bfc6b349aaffb5364af5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney18.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed representation of the Marvel character Ghost Rider featuring a human skull, with flames licking around the contours of the skull and rising above it in a fierce expression of fiery vengeance. The skull, alight with bright orange and yellow tones, dominates the image with its full head in view, set against a stark, void-like background that accentuates its fierceness. The character concept art captures both the macabre essence and supernatural intensity of the spectral figure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney19.txt b/code/evaluations/dpg/prompts/midjourney19.txt
deleted file mode 100644
index ee173b2a91d683a6401f1ae62d5c045d9efc4530..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney19.txt
+++ /dev/null
@@ -1 +0,0 @@
-Visually intriguing macro photography captures the essence of mystical waves, seemingly afloat and intertwined with delicate, hair-like particles. Shades from a psychedelic color palette entwine, creating a stunning and surreal scene reminiscent of twilight. These vibrant waves, rendered with high-octane graphical precision, offer a hyper-realistic glimpse into an otherworldly dimension.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney2.txt b/code/evaluations/dpg/prompts/midjourney2.txt
deleted file mode 100644
index c3b86d765013686b2bc86d1e1c3b9dfe0a330ff1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney2.txt
+++ /dev/null
@@ -1 +0,0 @@
-An anthropomorphic wolf, clad in a crisp white shirt and a patterned tie, sits elegantly on a subway train designed in the distinctive styles of Wes Anderson and Moebius. The setting of the New Yorker Magazine cover is depicted through a silkscreen print that showcases an image transfer technique, embodying a realistic comic illustration with intricate details. The wolf's poised demeanor contrasts with the bustling subway environment, where every texture and pattern speaks to the meticulous attention to detail characteristic of the illustrative work.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney20.txt b/code/evaluations/dpg/prompts/midjourney20.txt
deleted file mode 100644
index 071bf35d84109c4712487f32f790ed911a6ca8a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A grand, sprawling landscape inspired by the iconic style of Hayao Miyazaki's "Nausicaä of the Valley of the Wind" and the "Breath of the Wild" from The Legend of Zelda series. The scene blends the fantastical elements of Studio Ghibli's post-apocalyptic setting with the vibrant, open-world aesthetic found in the game. Towering, ancient trees with twisted roots rise from the earth, while bioluminescent creatures add a touch of surreal luminance, hinting at an adventure awaiting at the edge of the world.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney21.txt b/code/evaluations/dpg/prompts/midjourney21.txt
deleted file mode 100644
index 6234b689839e945fa755cc60970e30fdae097653..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney21.txt
+++ /dev/null
@@ -1 +0,0 @@
-a magnificent underwater sculpture depicting an angel with intricately designed wings that mimic the delicate structures of coral. The statue is positioned in a way that creates a majestic silhouette against the filtered light from above, evoking a sense of awe and mystery. This visual composition, with its dramatic upward angle and the interplay of shadow and light, brings to mind the stylistic elements associated with the cinematic aesthetics of the film "Blade Runner 2049."
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney22.txt b/code/evaluations/dpg/prompts/midjourney22.txt
deleted file mode 100644
index 816c35a0af677b2fd35c3ac73e44a9c8f4e58cd1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney22.txt
+++ /dev/null
@@ -1 +0,0 @@
-Entwined in an enchanting dance, colorful whisps of light with a luminous glow twist and swirl against the backdrop of a deep, dark void. The edges of these curling tendrils shimmer with an occult-inspired essence, sparkling with what could be described as chaos magic. Each strand appears in sharp focus against a background that dissolves into the shallow depth of field, highlighting the ethereal play of light and shadow.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney23.txt b/code/evaluations/dpg/prompts/midjourney23.txt
deleted file mode 100644
index cc789aaed5fe2c2130ab40cbe8cd96630e7a0139..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney23.txt
+++ /dev/null
@@ -1 +0,0 @@
-An incredibly detailed digital artwork depicting an enormous skyscraper soaring into the sky, set against the background of an industrial power station as imagined by visionary artists Peter Elson, Chris Moore, and Jim Burns in 4K resolution. The skyscraper is adorned with intricate designs, reflective glass windows, and numerous protruding antennas. The power station at its base is a complex of pipes, wires, and glowing energy cores, showcasing a hyper-realistic portrayal of future technology.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney24.txt b/code/evaluations/dpg/prompts/midjourney24.txt
deleted file mode 100644
index d69a15acfcce22c978b9c1c57e386d30d506ad3f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A meticulously crafted Art Nouveau screenprint featuring a dog's face, characterized by its remarkable symmetry and elaborate detailing. The canine visage, which is the central motif of the piece, exhibits intricate linework and stylized features typical of the Art Nouveau aesthetic. The artwork is deftly rendered in a harmonious palette, with each element of the design echoing the balanced and ornate nature of the style.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney25.txt b/code/evaluations/dpg/prompts/midjourney25.txt
deleted file mode 100644
index 4ff6915cb5092123ce0d4824f8b0f396681edd99..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed 4K resolution portrait of a character concept art dubbed "Under The Dreaming Tree," characterized by its symmetrical design and realistic texturing. The intricately drawn character is situated centrally in the composition, surrounded by an ethereal backdrop that features the namesake tree with its expansive, leaf-laden branches. The character's visage displays a serene expression, with eyes that seem to reflect a hidden world within.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney26.txt b/code/evaluations/dpg/prompts/midjourney26.txt
deleted file mode 100644
index ebdb2ff132926b63b6dd34a019d2828d15168091..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney26.txt
+++ /dev/null
@@ -1 +0,0 @@
-An expansive palace constructed from iridescent materials that shimmer with hues reminiscent of a vivid, Slime-like substance, majestically stands at the heart of a fantastical realm. Its towers twist skyward, defying conventional architecture with their organic, flowing forms. In the foreground, a field of exotic flowers blooms, each petal displaying an array of otherworldly colors that could have been plucked from a Lovecraftian spectrum, while overhead, a radiant sun bathes the surreal landscape in brilliant light.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney27.txt b/code/evaluations/dpg/prompts/midjourney27.txt
deleted file mode 100644
index 561e7b4073cc8bacfbfbbeae5cacea43375e96e6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney27.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aerial view captures the Chernobyl station in the gentle embrace of spring, framed in the distinct and meticulous symmetry reminiscent of a Wes Anderson tableau. The imposing structure is centered between the burgeoning greenery that flanks it, under the vast expanse of a midday sky punctuated by towering cumulonimbus clouds. The scene is a study in contrasts, with the stark industrial facade of the station juxtaposed against the whimsical patterns of nature reasserting itself.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney28.txt b/code/evaluations/dpg/prompts/midjourney28.txt
deleted file mode 100644
index 6ac9848117754524040a7da717a5158916235502..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney28.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vintage full-page schematic drawing of a virtual reality headset from the 1800s, rendered in precise, symmetrical line art occupies the gray paper. The intricate details of the design are captured in the fine lines and annotations that fill the page. Surrounding the central image, there are smaller diagrams and text that provide additional explanations and specifications for the headset's components.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney29.txt b/code/evaluations/dpg/prompts/midjourney29.txt
deleted file mode 100644
index 5036fe207852075d770c187c3ace4f2750733dc1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney29.txt
+++ /dev/null
@@ -1 +0,0 @@
-A voluminous library, bathed in soft, muted blue hues, stretches majestically across a spacious Victorian-style living room. Intricately carved wooden bookshelves, filled with an array of books of various sizes and colors, line the walls and a grand fireplace sits as the room's focal point. The vray render showcases hyperrealistic textures, from the plush, patterned rug beneath the polished wooden tables, to the delicate fabric of the antique armchairs scattered throughout the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney3.txt b/code/evaluations/dpg/prompts/midjourney3.txt
deleted file mode 100644
index f0aad89dc9548909409df7a179aee6b3d7ac68c9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney3.txt
+++ /dev/null
@@ -1 +0,0 @@
-An evocative tintype photograph by Ansel Adams, capturing the chilling tableau of gaunt, skeletal figures with the mythical visage of Icarus, their bodies conjoined in a macabre ballet as they plummet through a midnight sky. The figures are adorned with an array of feathered wings that are sprawling from their emaciated frames in a desperate, though futile, attempt at salvation. High levels of detail reveal the intricate interplay of shadow and light, casting an otherworldly glow across the scene that harkens back to the haunting visual narratives of the 1800s.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney30.txt b/code/evaluations/dpg/prompts/midjourney30.txt
deleted file mode 100644
index 488480b419cf402b2a7b8886fa49bd80c5b75473..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rendered Celtic temple stands majestically in a digital landscape created using Unreal Engine 5, exhibiting high details that contribute to its photorealistic appearance. Intricate stone textures and realistic lighting effects are captured with the help of Octane rendering, enhancing the visual fidelity of the scene. The temple is surrounded by a lush environment, featuring detailed foliage that demonstrates the advanced capabilities of the rendering software.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney31.txt b/code/evaluations/dpg/prompts/midjourney31.txt
deleted file mode 100644
index 5286934a69ea1c61a6fde01481983c5e56fd421a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney31.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed character concept art piece presented in 4K resolution, portraying the concept of 'Blind Ambition.' The character is situated dead-center in a symmetrical portrait stance, their gaze obscured, suggesting the metaphorical blindness of ambition. The realism of the artwork is accentuated by subtle textures and shading that bring the character to life on a digital canvas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney32.txt b/code/evaluations/dpg/prompts/midjourney32.txt
deleted file mode 100644
index 66a32e6e864dd1c88d30c1c4de760201e16a6868..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gritty, realistic interpretation of the World War II Normandy invasion, painted in the grandiose and dramatic style reminiscent of Albert Bierstadt's sweeping landscapes. The scene integrates the atmospheric lighting and moody skies associated with Edward Hopper's work, while also incorporating the fine detail and dynamic compositions akin to Craig Mullins' digital artistry. The painting captures the raw emotion and chaotic intensity of the historic moment, portrayed through the use of deep, muted tones and the precise depiction of soldiers' expressions amidst the battle-torn beaches.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney33.txt b/code/evaluations/dpg/prompts/midjourney33.txt
deleted file mode 100644
index 96ca6893910647101f8e97f3d07464f4bf951b64..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A 35mm film still capturing a scene from David Lynch's reimagined version of 'The Wizard of Oz', with the setting transposed to the lush, green backdrop of the Pacific Northwest. In the frame, a Dorothy character dons a plaid dress reminiscent of flannel, common in the region, and her ruby slippers contrast with the verdant forest floor. Towering evergreens and a hazy mist encapsulate the background, providing an enigmatic touch true to Lynch's signature style.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney34.txt b/code/evaluations/dpg/prompts/midjourney34.txt
deleted file mode 100644
index 3d7394b359e58bf2970585bf7818906f4c5527ad..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney34.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the art piece, a realistically depicted young girl with flowing blonde hair gazes intently into the distance, her eyes reflecting the vibrant hues of a spring forest. The verdant greens and soft pastels of the budding trees are captured in subtle brushstrokes, giving the scene a serene and tranquil atmosphere. The minimalist composition focuses on the girl's expression of wonder and the lush woodland background, while the texture of the oil paint adds depth and richness to the canvas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney35.txt b/code/evaluations/dpg/prompts/midjourney35.txt
deleted file mode 100644
index baa1ba24501196a430576e9c45e8c2fcfa510fcc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney35.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque scene that is reminiscent of the Hudson River School style, with a whimsical twist incorporating dessert-themed elements. The river of rich, flowing chocolate curves through the landscape, while mountains in the distance resemble scoops of different ice cream flavors. Fluffy, pink cotton candy trees dot the banks of the river, adding a sweet playfulness to the traditional pastoral setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney36.txt b/code/evaluations/dpg/prompts/midjourney36.txt
deleted file mode 100644
index f008dcd60e5d73361495528fd28e35ed90ae8684..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney36.txt
+++ /dev/null
@@ -1 +0,0 @@
-An ancient-inspired agora stands amidst a dense palm farm, its robust columns crafted from the sturdy trunks of Sabal palms, rising into the sky. The structure's foundation and seating areas are composed of a unique oyster shell concrete, lending a textured, gritty feel to the smooth surfaces. The space between the palms is filled with the rustic beauty of this communal gathering spot, which is both inviting and impressive in its naturalistic design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney37.txt b/code/evaluations/dpg/prompts/midjourney37.txt
deleted file mode 100644
index 4b01df5231ed89cf23c462a936d2072b084336b8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney37.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, white laboratory designed with a blend of Matt Mahurin's moody aesthetic and Tsutomu Nihei's architectural sensibilities creates a stark, futuristic scene. The room features angular, geometric furniture with surfaces that have a smooth, matte finish, reflecting the dim, ambient lighting. Along the walls, various high-tech equipment and monitors display cryptic data, casting soft blue glows that contribute to the laboratory's enigmatic atmosphere.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney38.txt b/code/evaluations/dpg/prompts/midjourney38.txt
deleted file mode 100644
index 9eba59e593f060e2487e185bee933ce1814eacc7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney38.txt
+++ /dev/null
@@ -1 +0,0 @@
-An endearing, fluffy creature with fur in various shades of lavender and teal, straight out of a Pixar film, illuminated by vibrant, volumetric lighting that provides a rich depth to the scene. The textured fur of the character reflects the high-quality 4k resolution, adding to its lifelike photorealistic appearance. Positioned next to the monster, a sparkling star accentuates its whimsical nature, set against a meticulously rendered background that showcases Pixar's attention to detail.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney39.txt b/code/evaluations/dpg/prompts/midjourney39.txt
deleted file mode 100644
index e6f10a138e379e99f47bd0c373a26ec17a2c316f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scene featuring several prominent items: a piece of matte black paper lies beneath a set of decorative zodiac-themed tarot cards, carefully placed in the center. Above this arrangement, two spherical ornaments designed to resemble moons hang suspended, with a silhouette of a mountain range providing a stark backdrop. Additionally, two white streaks, perhaps cords or decorative ribbons, run parallel to each other, intersecting the paper and the tarot cards, adding a dynamic element to the composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney4.txt b/code/evaluations/dpg/prompts/midjourney4.txt
deleted file mode 100644
index 344a66aa96803ce4c11305ba16c8846a39d05900..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A stage designed with a fusion of natural and industrial elements, featuring sleek silver glass panels reminiscent of a high-tech laboratory, situated alongside a soft, feathered carpet. The flooring transitions into an area of polished wood leading to a sturdy stone wall, adding an earthy touch to the synthetic ambiance. Overhead, raw concrete merges into the form of a salvia patens roof, juxtaposed with a tranquil sand-laden backdrop that suggests the gentle shores of a lake. In the center, an oval mirror with a slim steel frame reflects the composed space, including the transparent screen that adds a layer of modernity to this eclectic setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney5.txt b/code/evaluations/dpg/prompts/midjourney5.txt
deleted file mode 100644
index 60db2d22f752034036d83502081f8b0e3d5c0123..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney5.txt
+++ /dev/null
@@ -1 +0,0 @@
-An outdoor setting where an array of brightly painted rocks is meticulously arranged in a gridded pattern on the ground. Each stone is carefully spaced to maintain uniformity and starts with vibrant red rocks in the top right corner, progressing through the colors of the rainbow to end with deep violet ones in the lower left corner. The smooth surfaces of the stones glisten in the sunlight, enhancing the vividness of each hue.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney6.txt b/code/evaluations/dpg/prompts/midjourney6.txt
deleted file mode 100644
index 3e4b8d7819afd563f5dc727558388f15f6d647e4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A retro-futuristic album cover that encapsulates the essence of the synthwave movement in 1985, crafted exclusively in varying shades of blue. The primary visual is an old-fashioned car emerging from the mouth of a dimly lit tunnel, its gleaming headlights cutting through the surrounding darkness. The artwork is cinematic in its composition, featuring vintage elements that suggest motion and speed, finished with a fine film grain texture that mimics the classic look of a 35mm photograph. The band's name, "BRO," is emblazoned above the image in a bold, stylized font that complements the album's overall theme.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney7.txt b/code/evaluations/dpg/prompts/midjourney7.txt
deleted file mode 100644
index a6312afbef8932bde1bf750c742add94cba2ab99..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney7.txt
+++ /dev/null
@@ -1 +0,0 @@
-Within a grand extraterrestrial place of worship, a group of alien beings is depicted in reverent prayer, illuminated by beams of light filtering through stained glass panels featuring cosmic motifs. The advanced alien architecture captures the imagination with soaring arches and embedded technology, rendered in striking yellow and blue tones that highlight the meticulous detail and realism of the scene. This masterpiece of science fiction, brought to life with the precision of Octane rendering software at an 8K resolution, showcases an awe-inspiring tableau, reminiscent of the most sophisticated pieces found on the ArtStation platform.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney8.txt b/code/evaluations/dpg/prompts/midjourney8.txt
deleted file mode 100644
index aac391371fbdca5fbf206c94274657d3bc9434da..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney8.txt
+++ /dev/null
@@ -1 +0,0 @@
-A realistic human skeleton, its aged bones a stark off-white, stands erect in the center of an empty, dust-covered swimming pool. The skeleton clutches a golden spear, its tip gleaming even in the muted light, held aloft as if in a declaration of power. Red drapery is artfully hung around the skeleton's frame, creating a strong contrast with its pale bony structure and the dull grey of the pool's concrete.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/midjourney9.txt b/code/evaluations/dpg/prompts/midjourney9.txt
deleted file mode 100644
index 6b94423f9419e58e9327a34e0d9feb0fb1bfa01b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/midjourney9.txt
+++ /dev/null
@@ -1 +0,0 @@
-A photorealistic depiction of a transformation from a furry caterpillar to a demonic figure with lifelike textures and detail. The caterpillar's body is portrayed with soft, delicate hairs transitioning into a glistening, wet pupa stage. The final form emerges as a horror-inducing demon with a screaming visage, sharp fangs, and red, slimy hands that are deformed yet eerily precise in their 3-dimensional rendering.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts0.txt b/code/evaluations/dpg/prompts/partiprompts0.txt
deleted file mode 100644
index 9014deb720715d6b14a80b3361bebfcb3dd4ef9c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cheerful sloth, adorned with a black leather jacket and a brown cowboy hat, stands confidently on a patch of green grass. Its attire is completed with a red tartan kilt and a neatly tied bowtie. In one claw, it grasps a sturdy quarterstaff, while the other holds a large, ancient-looking book. Positioned a short distance behind the sloth, there is a gleaming Volkswagen van, its exterior decorated with vibrant flower patterns. The entire whimsical scene is captured through a wide-angle lens from a low vantage point, emphasizing the sloth's stature and the van's presence.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts1.txt b/code/evaluations/dpg/prompts/partiprompts1.txt
deleted file mode 100644
index f4262d3639070086ab69c68eb6bf42b183c309d4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant oil painting depicts a glossy, turquoise VW van parked against the backdrop of a bustling city skyline. In the foreground, a contented sloth stands out with its unique attire consisting of a sleek leather jacket, a traditional tartan kilt, and a quirky bowtie, all topped off with a classic cowboy hat. The sloth grips a sturdy quarterstaff in one hand while balancing a large, leather-bound tome in the other, all set upon a lush patch of green grass that contrasts with the urban environment behind it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts10.txt b/code/evaluations/dpg/prompts/partiprompts10.txt
deleted file mode 100644
index a1530f3253b3f4e31075cf3e34cc3b72edcff111..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts10.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed sculpture of an ancient pharaoh, crafted from a lustrous bronze metal, stands imposingly against a plain backdrop. The statue is adorned with a pair of intricate steampunk glasses that rest on the bridge of its sculpted nose, and it wears a weathered leather jacket draped over a crisp white t-shirt. Emblazoned on the shirt is a detailed illustration of a space shuttle, adding a modern twist to the traditional regal attire.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts100.txt b/code/evaluations/dpg/prompts/partiprompts100.txt
deleted file mode 100644
index 045f9982331ec929983d17ff612b45647216b425..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts100.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aerial perspective captures three individuals peering down at the bustling city streets from the edge of a skyscraper's rooftop. They are surrounded by a safety barrier, and the rooftop itself is adorned with gravel and small potted plants. Far below, the urban tapestry of roads, vehicles, and pedestrians unfolds in a miniature display, while other tall buildings rise up in the vicinity, creating a canyon of architectural marvels.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts101.txt b/code/evaluations/dpg/prompts/partiprompts101.txt
deleted file mode 100644
index 62d27fabb8da9d883b42913cc87e58a8e65ace05..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts101.txt
+++ /dev/null
@@ -1 +0,0 @@
-A classic Greek statue carved from white marble, depicting a muscular man with a stern expression as he gently comforts a cat with an unusually large head. The cat, also sculpted from marble, seems to be at ease in the man's strong arms. The statue stands on a stone pedestal, and the intricate details of the man's curly hair and the cat's fur texture are visible, highlighting the sculptor's skilled craftsmanship.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts102.txt b/code/evaluations/dpg/prompts/partiprompts102.txt
deleted file mode 100644
index b8bbfaf881440d02f11691f2be69962d41ea35a1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts102.txt
+++ /dev/null
@@ -1 +0,0 @@
-a reimagined version of the Mona Lisa, where the iconic figure is depicted with a brown cowboy hat tilted rakishly atop her head. In her hand, she grips a silver microphone, her mouth open as if caught mid-scream of a punk rock anthem. The background, once a serene landscape, is now a vibrant splash of colors that seem to echo the intensity of her performance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts103.txt b/code/evaluations/dpg/prompts/partiprompts103.txt
deleted file mode 100644
index beb3a6dd6b9434160413c4d486277def633efa0f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts103.txt
+++ /dev/null
@@ -1 +0,0 @@
-a skilled barista in a white apron carefully pouring milk from a stainless steel pitcher into a white ceramic coffee cup. The milk swirls into the dark espresso, creating an intricate leaf pattern on the surface of the latte. The coffee cup sits on a saucer atop a polished wooden counter, surrounded by an array of coffee-making equipment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts104.txt b/code/evaluations/dpg/prompts/partiprompts104.txt
deleted file mode 100644
index 1aec28f913c56f5065cc4d6cbfb95ea994620e97..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts104.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young boy with a joyful expression is perched high on the shoulders of a woman dressed in a long, flowing red dress. The woman's dress has intricate lace detailing along the hem and sleeves, and she stands with poise and grace. The boy, wearing a striped shirt and denim shorts, wraps his small hands around the woman's forehead for balance as they share a moment of connection.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts105.txt b/code/evaluations/dpg/prompts/partiprompts105.txt
deleted file mode 100644
index c5f251ac886df2be1059d572ec0e799648bd1efd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts105.txt
+++ /dev/null
@@ -1 +0,0 @@
-a family of four, consisting of two adults and two children, strolls along a sandy beach with gentle waves lapping at their bare feet. The adults are holding hands, and the children are playfully skipping ahead. The sky above them is a clear blue, and seagulls can be seen flying near the water's edge. In the distance, a lighthouse stands tall on a rocky outcrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts106.txt b/code/evaluations/dpg/prompts/partiprompts106.txt
deleted file mode 100644
index c5cc9fe939b72b0c26171ebcdeea753688410c1d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts106.txt
+++ /dev/null
@@ -1 +0,0 @@
-a striking portrait that captures the essence of Salvador Dalí, with one side of his face depicted in his iconic, surrealistic style, and the other half transformed into a metallic, robotic visage. The painting features a vivid array of colors, with the robotic side incorporating shades of silver and hints of circuitry, contrasting with the warm, flesh tones of Dalí's human side. The background is a simple, solid color to ensure the focus remains on the intricate details of Dalí's dual representation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts107.txt b/code/evaluations/dpg/prompts/partiprompts107.txt
deleted file mode 100644
index f823573c09a85dbef36e19b6472bd05dfa57b8c7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts107.txt
+++ /dev/null
@@ -1 +0,0 @@
-A focused young woman with round spectacles is deeply engrossed in a thick, leather-bound book that rests on a polished mahogany desk. The desk is neatly organized, with a brass desk lamp casting a warm glow over her reading material. To her left, there's a small potted plant with vibrant green leaves, adding a touch of nature to the scholarly setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts108.txt b/code/evaluations/dpg/prompts/partiprompts108.txt
deleted file mode 100644
index 7f8771f61cc6e283b3a88891b8ea456403970f88..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts108.txt
+++ /dev/null
@@ -1 +0,0 @@
-a focused woman wielding a heavy sledgehammer, poised to strike an intricately carved ice sculpture of a goose. The sculpture glistens in the light, showcasing its detailed wings and feathers, standing on a pedestal of snow. Around her, shards of ice are scattered across the ground, evidence of her previous strikes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts109.txt b/code/evaluations/dpg/prompts/partiprompts109.txt
deleted file mode 100644
index 68fd0c5917bff8e2103b0f599bac3f574f8799e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts109.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman with long, flowing black hair and rich, dark skin stands elegantly in a pristine white dress that cascades to the floor. The dress features delicate lace detailing along the hem and sleeves, adding a touch of sophistication. She is positioned near a large window with sheer curtains, which allows soft natural light to accentuate the contrast of her dress against her skin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts11.txt b/code/evaluations/dpg/prompts/partiprompts11.txt
deleted file mode 100644
index bd8edf192d14e260c09616dfe167e5b6d689a7d4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts11.txt
+++ /dev/null
@@ -1 +0,0 @@
-On the barren, gray surface of the moon, two chestnut horses adorned with silver harnesses are depicted pulling an antique carriage. In the surreal background, the Statue of Liberty stands tall, its green patina contrasting with the sandy hues of the Great Pyramid nearby. Above this otherworldly scene, the Planet Earth hangs majestically in the dark lunar sky, its blues and greens vibrant against the starkness of space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts110.txt b/code/evaluations/dpg/prompts/partiprompts110.txt
deleted file mode 100644
index 942dbe541ad87dabfe54b948f5da2144b40327a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts110.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man and a woman are seated at a small round table with a checkered tablecloth. The man is enjoying a golden-brown glazed donut, while the woman delicately forks a piece of rich chocolate cake with a glossy icing. Between them is a vase with a single red rose, and in the background, a cream-colored wall is adorned with framed pictures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts111.txt b/code/evaluations/dpg/prompts/partiprompts111.txt
deleted file mode 100644
index c11ede994e09fc1f767f7fcdb906f8f39b4f21e9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts111.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elderly woman with silver hair and glasses sits comfortably in an armchair, a colorful picture book open in her lap. Beside her, a young boy and girl, her grandchildren, listen intently, the boy wearing a green-striped shirt and the girl in a yellow dress. They are surrounded by a cozy room with a plush beige carpet and a small wooden table stacked with more books.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts112.txt b/code/evaluations/dpg/prompts/partiprompts112.txt
deleted file mode 100644
index 4f2d955fdb235340e64a7b5ca40787c2b7ddc100..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts112.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man and a woman are standing in the bed of a vintage pickup truck, which is painted a faded shade of red. The truck's bed is scratched and worn, indicating its age and use. The man is wearing a denim jacket and the woman a green sweater, both are casually leaning against the cab of the truck. Behind them, the backdrop is a field of tall grass, hinting at a rural setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts113.txt b/code/evaluations/dpg/prompts/partiprompts113.txt
deleted file mode 100644
index fc0cb7ab545313d13b2fa64add98f743f76a21d6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts113.txt
+++ /dev/null
@@ -1 +0,0 @@
-an elderly woman with shoulder-length straight gray hair and round metal-rimmed glasses sits comfortably in a plush armchair. She is wearing a lavender cardigan over a white blouse, and a silver necklace can be seen around her neck. In her lap rests an open hardcover book, and beside her, a small wooden side table holds a ceramic teacup and saucer.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts114.txt b/code/evaluations/dpg/prompts/partiprompts114.txt
deleted file mode 100644
index 373bf1b38cb4ad8fc1506de53f714c65c972d03a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts114.txt
+++ /dev/null
@@ -1 +0,0 @@
-A joyful black Labrador retriever with a glossy coat leaping up towards a smiling woman clad in a bright red sweater. The woman is standing in a grassy backyard, her arms open to embrace the energetic dog. Behind them, a wooden fence can be seen, partially covered by climbing green ivy.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts115.txt b/code/evaluations/dpg/prompts/partiprompts115.txt
deleted file mode 100644
index 36f28b4ed51483f27efc15cb2c0e90a035401133..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts115.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed painting that features the iconic Mona Lisa, with her enigmatic smile, set against a bustling backdrop of New York City. The cityscape includes towering skyscrapers, a yellow taxi cab, and the faint outline of the Statue of Liberty in the distance. The painting merges the classic with the contemporary, as the Mona Lisa is depicted in her traditional attire, while the city behind her pulses with modern life.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts116.txt b/code/evaluations/dpg/prompts/partiprompts116.txt
deleted file mode 100644
index 41feb1ca6d2ed8a4ef5acadc995ad74c324a6438..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts116.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall man with dark hair, wearing a gray suit and sunglasses, is carefully stooping down to enter a sleek, low-profile red sports car. The car's glossy paint reflects the sunlight, highlighting its aerodynamic design. The vehicle is parked on a clean, concrete driveway beside a neatly trimmed lawn.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts117.txt b/code/evaluations/dpg/prompts/partiprompts117.txt
deleted file mode 100644
index db4a7113312dd0b9f59ba86f6be2ef888b11fdfb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts117.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man with shoulder-length blonde hair and deep brown eyes stands casually in a room. He's wearing a simple white t-shirt that contrasts with his distressed blue jeans. Around him, the space is minimally furnished, with a single potted plant in the corner adding a touch of greenery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts118.txt b/code/evaluations/dpg/prompts/partiprompts118.txt
deleted file mode 100644
index 0766f37d00754afcc761198a741c96ca54261897..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts118.txt
+++ /dev/null
@@ -1 +0,0 @@
-a collection of individuals clad in bright ski gear against the contrasting backdrop of a vast beige sand dune. Each person is equipped with skis and poles, ready to ascend the gentle slope of the dune under a clear blue sky. Their colorful attire stands out vividly against the monochrome landscape of sand.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts119.txt b/code/evaluations/dpg/prompts/partiprompts119.txt
deleted file mode 100644
index 81dad1ea41ecb3d51b3a1d2fe084a75a80b35a60..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts119.txt
+++ /dev/null
@@ -1 +0,0 @@
-a group of four musicians performing live on a modestly-sized stage with bright spotlights casting shadows behind them. The lead singer, clad in a red leather jacket, grips the microphone stand, while the guitarist, dressed in a black shirt, strums his electric guitar with fervor. The drummer, situated at the back, is partially obscured by his drum kit, and the bassist sways to the rhythm. In front of the stage, a small but enthusiastic audience is gathered, some with raised hands, enjoying the live music.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts12.txt b/code/evaluations/dpg/prompts/partiprompts12.txt
deleted file mode 100644
index dd76ac23df5f6367835acf4b186770b81e67dd40..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scenic train journey unfolds during the monsoon season in Kerala, with raindrops rhythmically tapping against the windowpane. Inside one of the train's carriages, a plush koala bear toy, donning a small, colorful hat, is propped up against the glass, peering out at the lush landscape. Outside, numerous tall coconut trees sway gently in the rain, their green fronds glistening with moisture, creating a verdant backdrop as the train meanders through the countryside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts120.txt b/code/evaluations/dpg/prompts/partiprompts120.txt
deleted file mode 100644
index 091e2e855bdb2783b592d43647b99aa9abea454b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts120.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking black and white image captures the whimsical scene of a panda, adorned with a pointed wizard's hat, perched atop a majestic horse. The panda appears engrossed in an open book it holds with its paws. The horse, with a glossy chestnut coat, stands motionless on an urban street, its hooves nestled among tufts of vibrant green grass peeking through the pavement cracks. In the background, a large expanse of a gray concrete wall serves as a canvas for a mural of vivid flowers in hues of red, yellow, and blue, with the bold letters spelling out "PEACE" adding a splash of color and a message of tranquility to the urban setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts121.txt b/code/evaluations/dpg/prompts/partiprompts121.txt
deleted file mode 100644
index ecd46fc702e304fdebcb4675c57fd5d13e52eff5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts121.txt
+++ /dev/null
@@ -1 +0,0 @@
-A plump wombat, adorned in a crisp white panama hat and a vibrant floral Hawaiian shirt, lounges comfortably in a bright yellow beach chair. In its paws, it delicately holds a martini glass, the drink precariously balanced atop the keys of an open laptop resting on its lap. Behind the relaxed marsupial, the silhouettes of palm trees sway gently, their forms blurred into the tropical backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts122.txt b/code/evaluations/dpg/prompts/partiprompts122.txt
deleted file mode 100644
index a8fea4be5c700c2914c1541ce2e0f1115f8fd848..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts122.txt
+++ /dev/null
@@ -1 +0,0 @@
-A majestic granite statue of a wombat warrior, clad in intricately detailed armor, stands proudly in the center of a temple's cella. The statue, gripping a broad sword with both hands, is bathed in a soft beam of light that filters down from an unseen source above, highlighting the textures of its stony surface. It is perched upon an ornate pedestal, which adds to its imposing presence. The scene is captured through a wide-angle lens, giving it a grandiose and expansive feel, reminiscent of an anime-style oil painting with vibrant colors and dynamic shading.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts123.txt b/code/evaluations/dpg/prompts/partiprompts123.txt
deleted file mode 100644
index ea2b5c1e3f7447e2f4950426ad7452ba181f15ea..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts123.txt
+++ /dev/null
@@ -1 +0,0 @@
-An impressionistic painting depicts a vibrant blue cow standing serenely in a field of delicate white flowers. Adjacent to the cow, there is a robust tree with a canopy of red leaves and branches laden with yellow fruit. The brushstrokes suggest a gentle breeze moving through the scene, and the cow's shadow is cast softly on the green grass beneath it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts124.txt b/code/evaluations/dpg/prompts/partiprompts124.txt
deleted file mode 100644
index 6007e0e6044a27fc8d02b860332d2734363fa059..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts124.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cartoonish scene unfolds with a white rabbit, dressed in a snug blue jogging outfit, clutching its side in evident discomfort, its facial expression twisted in pain. Meanwhile, a confident turtle, sporting a bright red tank top, strides past the finish line with a triumphant smile. The background is a simple race track that curves out of sight, lined with cheering spectators composed of various animated creatures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts125.txt b/code/evaluations/dpg/prompts/partiprompts125.txt
deleted file mode 100644
index 4c6e04a27ecabc7487e0a98508c7e500eb4bdc51..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts125.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate Chinese ink and wash painting that depicts a majestic tiger, its fur rendered in delicate brush strokes, wearing a traditional train conductor's hat atop its head. The tiger's piercing eyes gaze forward as it firmly grasps a skateboard, which features a prominent yin-yang symbol in its design, symbolizing balance. The background of the painting is a subtle wash of grays, suggesting a misty and timeless landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts126.txt b/code/evaluations/dpg/prompts/partiprompts126.txt
deleted file mode 100644
index 62c45e33744598e5a393dde8f2f2dc6b31594565..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts126.txt
+++ /dev/null
@@ -1 +0,0 @@
-An animated squirrel with a rebellious punk rock vibe, clad in a black leather jacket adorned with shiny metal studs, is captured mid-shout into a silver microphone. The rodent stands confidently on an old, rugged tree stump that serves as an impromptu stage, with one paw gripping a small brown beer bottle. The stage is dimly lit, with only a few spotlights highlighting the squirrel's dynamic performance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts127.txt b/code/evaluations/dpg/prompts/partiprompts127.txt
deleted file mode 100644
index fe2ccb85d05dd402624651883025e2c4ab00eb2d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts127.txt
+++ /dev/null
@@ -1 +0,0 @@
-A slow-moving sloth, with shaggy brown fur and a relaxed expression, is seated in a bright red go-kart on a winding race track. In its three-toed claw, it clutches a ripe yellow banana, seemingly undisturbed by the race. Just a few meters behind the kart, a single banana peel lies on the asphalt track, a potential hazard for the other racers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts128.txt b/code/evaluations/dpg/prompts/partiprompts128.txt
deleted file mode 100644
index c0ace66c90dfb7b3ba3786a1eb5975f0eb263d34..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts128.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking portrait photograph showcasing a fluffy, cream-colored hamster adorned with a vibrant orange beanie and oversized black sunglasses. The hamster is gripping a small white sign with bold black letters that proclaim "Let's PAINT!" The background is a simple, blurred shade of grey, ensuring the hamster remains the focal point of the image.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts129.txt b/code/evaluations/dpg/prompts/partiprompts129.txt
deleted file mode 100644
index ff92fe721e27465ade37b695054a265db4ca7732..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts129.txt
+++ /dev/null
@@ -1 +0,0 @@
-A contented sloth, with a wide grin on its face, is decked out in an eclectic ensemble featuring a sleek black leather jacket and a brown cowboy hat atop its head. It's also sporting a traditional tartan kilt paired with a smart red bowtie around its neck. In one claw, the sloth firmly grips a wooden quarterstaff, while the other supports a large, thick book with a leather-bound cover.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts13.txt b/code/evaluations/dpg/prompts/partiprompts13.txt
deleted file mode 100644
index 372eeacd0cb16a19399cc8c79d39eb9d5b13b6a2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts13.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative aerial panorama of downtown Manhattan, where the iconic Millennium Wheel stands out, juxtaposed against the backdrop of the Statue of Liberty, both bathed in the golden hues of the afternoon sun. The skyline is transformed by the surreal addition of the Great Pyramid, which sits majestically on a sandy island, surrounded by the steel and glass skyscrapers. The Hudson River meanders around the cityscape, reflecting the unusual yet striking architectural ensemble.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts130.txt b/code/evaluations/dpg/prompts/partiprompts130.txt
deleted file mode 100644
index a0b6de9ea689c7b1eaf3a93a9723b292802854ec..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts130.txt
+++ /dev/null
@@ -1 +0,0 @@
-An anime-style illustration depicts a muscular, metallic tiger with sharp, angular features, standing on a rooftop. The tiger is in a dynamic pose, gripping a sleek, red electric guitar, and its mouth is open wide as if caught in the midst of a powerful roar or song. Above the tiger, a bright spotlight casts a dramatic beam of light, illuminating the scene and creating stark shadows on the surrounding rooftop features.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts131.txt b/code/evaluations/dpg/prompts/partiprompts131.txt
deleted file mode 100644
index a69f9cd228a4f5ea72901be67711b2acb534d0c4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts131.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical child's crayon drawing depicting a green gecko adorned with a blue and white striped train conductor's hat. The gecko, with a playful smile, is holding a small flag featuring a black and white yin-yang symbol. The drawing is characterized by bold, colorful strokes and is placed on a fridge door, held by a variety of magnets.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts132.txt b/code/evaluations/dpg/prompts/partiprompts132.txt
deleted file mode 100644
index da73022c4b94c826a6d06b6beb6347e7945e338f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts132.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a whimsical scene, a gray donkey with a determined expression is engaged in a game of tug-of-war with a large, purple octopus. The donkey has the rope firmly gripped between its teeth, while the octopus's tentacles are wrapped around the other end of the rope, creating a stark contrast in textures. In the midst of their playful battle, a nimble orange cat is captured mid-leap over the taut rope, adding a dynamic element to the unusual tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts133.txt b/code/evaluations/dpg/prompts/partiprompts133.txt
deleted file mode 100644
index 3a781adb92bd25bb4bf5f77a424d630b2b60f2ce..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts133.txt
+++ /dev/null
@@ -1 +0,0 @@
-An anthropomorphic beaver, exuding an air of sophistication, stands upright beside a towering pile of books in a library setting. The beaver is adorned with a pair of round, wire-rimmed glasses perched on its nose, a neatly buttoned vest, and a vibrant necktie featuring an array of geometric patterns. The surrounding shelves are filled with an assortment of leather-bound and hardcover books, some with gold lettering on their spines, creating a backdrop of literary abundance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts134.txt b/code/evaluations/dpg/prompts/partiprompts134.txt
deleted file mode 100644
index 7545470c6eddf0c77c4ee50b0cd64822fb1a96d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts134.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical image captures a green frog with a contemplative expression, sitting comfortably on a lily pad while holding a newspaper. The newspaper, humorously titled "Toaday," features a bold headline and an illustration of another frog on its front page. The frog's webbed fingers are spread across the paper, which is slightly crumpled from being held.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts135.txt b/code/evaluations/dpg/prompts/partiprompts135.txt
deleted file mode 100644
index bd463af8cfc09c9f62d3afb8e64c3e82e1c3b398..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts135.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall giraffe, adorned in a whimsical white bathing suit with polka dots, is cautiously approaching the edge of a wooden diving board. The diving board extends over a large, clear blue swimming pool, reflecting the bright sunlight. The giraffe's long legs move gingerly, displaying a mix of hesitation and grace as it prepares to execute its dive.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts136.txt b/code/evaluations/dpg/prompts/partiprompts136.txt
deleted file mode 100644
index 3663d3a71a36530d90bf37dd2b96c34a2c1b9890..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts136.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene featuring a small elf with pointed ears and a green hat, sipping orange juice through a long straw from a disproportionately large orange. Next to the elf, a curious squirrel perches on its hind legs, while an owl with wide, observant eyes watches intently from a branch overhead. The orange's vibrant color contrasts with the muted browns and greens of the surrounding forest foliage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts137.txt b/code/evaluations/dpg/prompts/partiprompts137.txt
deleted file mode 100644
index 8d859e5510a8141831d49ed9d9f649ef16389de2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts137.txt
+++ /dev/null
@@ -1 +0,0 @@
-A glossy black dog with a shiny coat is comfortably seated on a rustic wooden chair, its tail gently resting on the seat. Beside the chair, a white cat with distinctive black ears and bright green eyes is standing on its hind legs, with its front paws placed on the edge of the chair, as if engaging in a silent conversation with the dog. The chair sits on a smooth, terracotta-tiled floor, and behind them, a potted plant adds a touch of greenery to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts138.txt b/code/evaluations/dpg/prompts/partiprompts138.txt
deleted file mode 100644
index 68b18c094145dca0930b48660e866d0d97692f9a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts138.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant scene featuring a punk rock platypus, its webbed feet firmly planted on an old tree stump. The creature is clad in a black leather jacket, embellished with shiny metal studs, and it's passionately shouting into a silver microphone. Around its neck hangs a bright red bandana, and the stump is situated in a small clearing surrounded by tall, green grass.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts139.txt b/code/evaluations/dpg/prompts/partiprompts139.txt
deleted file mode 100644
index 3609beb88910ea6786d110623ccb6afc3b93cac3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts139.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene where a llama, adorned with a pair of oversized, round sunglasses, stands confidently on the metallic deck of a spacecraft. The deck beneath the llama's hooves gleams with a polished silver finish, reflecting the starry cosmos that surrounds the vessel. In the vast backdrop, the Earth looms large, a swirl of blue oceans and white clouds, providing a stunning contrast to the spaceship's sleek, futuristic design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts14.txt b/code/evaluations/dpg/prompts/partiprompts14.txt
deleted file mode 100644
index e318209af78bba205a3be1f3a90cefbf28362153..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal lunar landscape unfolds with the iconic Great Pyramids and the Sphinx, all replicated in meticulous detail on the moon's dusty, grey surface. In the foreground, the silhouette of an astronaut, clad in a pearly white spacesuit, is captured from behind, gazing upon the ancient wonders. Above this otherworldly scene, the Earth hangs majestically in the dark expanse of space, its blue and white visage a stark contrast to the barren moonscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts140.txt b/code/evaluations/dpg/prompts/partiprompts140.txt
deleted file mode 100644
index ac6abc85a6a4cdc95909813478462a43a7b9454c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts140.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant pink flamingo stands attentively, its beak nestled within the pages of an oversized book laid open on a grassy patch. To the side of this curious scene, a towering stack of hardcover books leans slightly, as if mirroring the flamingo's posture. The entire whimsical setup is captured in a high-resolution DSLR photograph, showcasing the intricate details of the flamingo's feathers and the colorful book spines.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts141.txt b/code/evaluations/dpg/prompts/partiprompts141.txt
deleted file mode 100644
index 24089536efb447bd57eab7daad14591596effefa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts141.txt
+++ /dev/null
@@ -1 +0,0 @@
-A towering Egyptian obelisk stands under a clear sky, its ancient hieroglyphs barely visible in the sunlight. Atop this stone pillar, a menacing black dragon with scales like onyx crouches, its wings unfurled and its fiery breath directed towards a solitary knight below. The knight, clad in shining silver armor, holds up a shield in a futile attempt to deflect the intense heat, while the ground around him is scorched and illuminated by the dragon's flames.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts142.txt b/code/evaluations/dpg/prompts/partiprompts142.txt
deleted file mode 100644
index 4a74905963ffa644650812952aa739a37db9eace..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts142.txt
+++ /dev/null
@@ -1 +0,0 @@
-An animated frog with a rebellious punk rock style, clad in a black leather jacket adorned with shiny metal studs, is energetically shouting into a silver microphone. The frog's vibrant green skin contrasts with the dark jacket, and it stands confidently on a large green lily pad floating on a pond's surface. Around the lily pad, the water is calm, and other pads are scattered nearby, some with blooming pink flowers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts143.txt b/code/evaluations/dpg/prompts/partiprompts143.txt
deleted file mode 100644
index c728139369fc05e5b1501b4b32a17248ee123b4d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts143.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two sea creatures, a swordfish with its elongated, pointed bill and a narwhal with its iconic spiraled tusk, are engaged in an underwater duel on a sandy seabed that resembles an arena. The swordfish's sleek, silvery body contrasts with the mottled gray and white of the narwhal as they circle each other. On the sidelines, a bright red crab and a dark-shelled lobster wave their claws enthusiastically, as if cheering on the competitors amidst the swaying sea plants.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts144.txt b/code/evaluations/dpg/prompts/partiprompts144.txt
deleted file mode 100644
index 4aada7658f017115fa9a8653e3b00684be558493..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts144.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical image capturing a squirrel standing upright on a patch of green grass. The squirrel, with its bushy tail and brown fur, is holding a wooden arrow above its head with its tiny paws, as if it's just won a battle. In its left hand, it grips a miniature longbow, and around it, fallen autumn leaves add a touch of natural decor to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts145.txt b/code/evaluations/dpg/prompts/partiprompts145.txt
deleted file mode 100644
index ca18f825161be6a3396061476c2d662c5ffe37fb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts145.txt
+++ /dev/null
@@ -1 +0,0 @@
-A majestic brown horse stands in profile, its coat gleaming in the sunlight, with a black saddle securely fastened on its back. The number 55 is prominently displayed in white on the horse's rear flank, indicating its identification or racing number. The horse's mane is neatly combed, and it appears calm and well-trained, ready for a ride or competition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts146.txt b/code/evaluations/dpg/prompts/partiprompts146.txt
deleted file mode 100644
index bf98329730388b0f6a765f6ae306bd80fff98481..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts146.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene featuring a large red dragon, its scales glistening with a fiery hue, donned in a sleek black tuxedo with a crisp white shirt and a bow tie. The dragon is seated at a wooden table, intently focused on a chessboard where the pieces are intricately designed to resemble miniature robots, each with its own unique metallic finish. The game is set against a backdrop of a stone-walled room, with the dragon's tail casually draped over the edge of its chair.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts147.txt b/code/evaluations/dpg/prompts/partiprompts147.txt
deleted file mode 100644
index e606ab0afc5ab9f39e4fadcd6326d845b6f56d87..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts147.txt
+++ /dev/null
@@ -1 +0,0 @@
-A glossy black dog with a curious expression sits snugly between a lush green bush and an unusual pair of green pants that stand upright as if an invisible person were inside them. The pants are supported by a hidden frame, creating a whimsical garden display. The dog's shiny coat contrasts with the matte texture of the foliage and the fabric of the pants.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts148.txt b/code/evaluations/dpg/prompts/partiprompts148.txt
deleted file mode 100644
index c45f8b91a3829a1f158651b1102260c8b96a988d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts148.txt
+++ /dev/null
@@ -1 +0,0 @@
-A panoramic view of a sprawling field blanketed with vibrant wildflowers, where a tall giraffe and a striped zebra stand side by side. The giraffe's long neck stretches towards the blue sky, while the zebra's black and white stripes provide a stark contrast against the multicolored floral backdrop. In the distance, a line of acacia trees can be seen under the bright sunlight, completing this picturesque savanna scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts149.txt b/code/evaluations/dpg/prompts/partiprompts149.txt
deleted file mode 100644
index 0a48a9f3164007e6b6bb6ad6ed21f51574f3060d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts149.txt
+++ /dev/null
@@ -1 +0,0 @@
-A fluffy white poodle, adorned with a red baseball cap, stands on its hind legs in front of a green chalkboard. In one paw, it holds a large, open dictionary, while the other paw is used to scrawl the word "bonez" in white chalk. The floor beneath the poodle is scattered with colorful pieces of chalk, and the room is filled with small wooden desks and chairs, suggesting a classroom setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts15.txt b/code/evaluations/dpg/prompts/partiprompts15.txt
deleted file mode 100644
index 55616c4afcb9d3f1d820692609dfd1cf1d839220..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts15.txt
+++ /dev/null
@@ -1 +0,0 @@
-A towering statue of Abraham Lincoln, cast in a silvery-gray stone, is adorned with a gleaming, opaque astronaut's helmet that reflects the barren lunar landscape. The statue is positioned on the moon's surface, with its craters and dust visible around the base. In the dark sky above, the planet Earth looms large, a swirl of blue and white against the blackness of space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts150.txt b/code/evaluations/dpg/prompts/partiprompts150.txt
deleted file mode 100644
index fde82769584c89f7a5042cb605953c92e01bfcd0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts150.txt
+++ /dev/null
@@ -1 +0,0 @@
-An oil-on-canvas masterpiece that captures the dynamic essence of a blue night sky, bursting with the energy of swirling azure hues and speckled with stars that seem to explode in shades of yellow. Dominating the celestial scene is a luminous, fuzzy-edged yellow crescent moon, casting its soft glow from the upper portion of the canvas. Below this cosmic display, a tranquil village is depicted to the right, its quaint houses huddled in repose. On the left, a towering cypress tree stretches upwards, its branches undulating like flames, creating a stark contrast against the serene sky. In the distance, amidst the gentle roll of blue hills, the spire of a church stands tall, a silent sentinel overlooking the sleepy hamlet.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts151.txt b/code/evaluations/dpg/prompts/partiprompts151.txt
deleted file mode 100644
index f4a06b6a7878fe26e357408f0ffb6009c08cdb31..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts151.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vivid oil painting that depicts a surreal and dreamlike seascape, where time seems to have lost all meaning. The canvas is filled with an array of clocks and watches, all of which are distorted and melting across the barren terrain, their shapes soft and elongated in a manner that defies reality. On the left side of the painting, a small wooden table stands, its surface dominated by a golden pocket watch that has attracted a swarm of tiny ants. At the heart of the scene, there is an odd, flesh-like figure draped over a lifeless tree, adding to the enigmatic and otherworldly atmosphere of the artwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts152.txt b/code/evaluations/dpg/prompts/partiprompts152.txt
deleted file mode 100644
index 27a6f7627e9b82c2ab1051ffddc430fb54f860f2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts152.txt
+++ /dev/null
@@ -1 +0,0 @@
-A lone figure, cloaked in a heavy mist, stands on an ancient cobblestone street, gazing upwards at the towering, dark gothic architecture that looms ominously above. The soft, golden glow of an old-fashioned street lamp casts a warm light nearby, contrasting with the cool, grey stones underfoot. This scene, reminiscent of a bygone era, is captured in the textured brushstrokes of an oil painting, giving it a timeless quality.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts153.txt b/code/evaluations/dpg/prompts/partiprompts153.txt
deleted file mode 100644
index 2e7e24b277ccbc71a4d44bf879da816a2ede3dad..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts153.txt
+++ /dev/null
@@ -1 +0,0 @@
-A haunting painting depicts a ghastly, pale creature with an expression of terror, its body bearing a resemblance to both a lifeless corpse and the nascent form of a sperm or fetus. The creature's twisted outline is mirrored in the tumultuous, swirling patterns that dominate the blood-red sky above. The entire scene is set against a backdrop that evokes a sense of foreboding, with the stark red tones and fluid lines creating a sense of motion and unease.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts154.txt b/code/evaluations/dpg/prompts/partiprompts154.txt
deleted file mode 100644
index 131ee82eaa6488dc1595de74f8212948f6ce1fd2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts154.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed oil painting depicts a raccoon dressed in a black suit with a crisp white shirt and a red bow tie. The raccoon stands upright, donning a black top hat and gripping a wooden cane with a silver handle in one paw, while the other paw clutches a dark garbage bag. The background of the painting features soft, brush-stroked trees and mountains, reminiscent of traditional Chinese landscapes, with a delicate mist enveloping the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts155.txt b/code/evaluations/dpg/prompts/partiprompts155.txt
deleted file mode 100644
index 32b85f07836ead8f605acfb400331d6ef560ca9f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts155.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed oil painting captures the intricate fur of a young badger as it gently sniffs at a bright yellow rose. The scene is set against the rough texture of a large tree trunk, with the badger's claws slightly digging into the bark. In the softly painted background, a tranquil waterfall cascades down, its waters a shimmering blue amidst the greenery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts156.txt b/code/evaluations/dpg/prompts/partiprompts156.txt
deleted file mode 100644
index 342e46f2336c92fb5d9680ae6d0a3c7c71cf8b6e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts156.txt
+++ /dev/null
@@ -1 +0,0 @@
-An oil painting depicting an abstract anime landscape, where a vibrant door stands out amidst a backdrop of shadowy hues. The door, painted in bright, luminescent colors, appears to be a gateway, cutting through the surrounding darkness with its inviting glow. Swirls of contrasting colors give the impression of a mystical portal, beckoning viewers to step through into a realm of knowledge and discovery.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts157.txt b/code/evaluations/dpg/prompts/partiprompts157.txt
deleted file mode 100644
index 5733e6b9cdb3c5412a6f9193065067d597493462..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts157.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate oil painting that captures two rabbits standing upright in a pose reminiscent of the iconic American Gothic portrait. The rabbits are anthropomorphized, donning early 20th-century rural clothing with the male rabbit wearing a black jacket and the female in a colonial print apron. The background features a wooden farmhouse with a gothic window, emulating the style and composition of the original artwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts158.txt b/code/evaluations/dpg/prompts/partiprompts158.txt
deleted file mode 100644
index 50fea19d6a2900b1b6335012b14210c2a8bdbe88..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts158.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed painting depicts an ancient, ornate treasure chest with intricate carvings and a heavy, rusted metal clasp, nestled in the shadows of a dark, damp cave. Beside the chest, a broad sword with an embellished hilt stands propped up, its blade catching the faint, eerie glow emanating from within the chest. The rough texture of the cave walls is accentuated by the contrast of the sword's gleam and the chest's subtle sheen.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts159.txt b/code/evaluations/dpg/prompts/partiprompts159.txt
deleted file mode 100644
index 45d2147d40834f39bbeb745b3f889c142667c668..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts159.txt
+++ /dev/null
@@ -1 +0,0 @@
-An abstract oil painting that radiates a blend of bright, joyful colors, with swirls of yellow and white that suggest a sense of light and positivity. The canvas is filled with dynamic strokes and splashes of color that seem to dance and spread across the surface, reaching out as if to touch every edge of the frame. The painting gives the impression of happiness diffusing into the space around it, with no single point of focus but rather a harmonious amalgamation of uplifting hues.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts16.txt b/code/evaluations/dpg/prompts/partiprompts16.txt
deleted file mode 100644
index 350cdd3b8df382d87d744421e06beafccb19a40c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A plush teddy bear, adorned with a shiny black motorcycle helmet and a flowing red cape, is perched confidently on a miniature red motorcycle. The toy bike and its adventurous rider are positioned against the bustling backdrop of Rio de Janeiro, with the iconic Dois Irmãos mountain peaks rising majestically in the distance. The scene captures the playful contrast between the soft texture of the teddy bear and the sleek metal of the motorcycle, all under the bright Brazilian sun.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts160.txt b/code/evaluations/dpg/prompts/partiprompts160.txt
deleted file mode 100644
index 09326f269c43bcaa1b5cc402b6fd37751e8e6a21..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts160.txt
+++ /dev/null
@@ -1 +0,0 @@
-An abstract cubist painting depicts a chaotic scene where a tornado, composed of angular shark figures, collides with the geometric forms of a skyscraper. The skyscraper is rendered in a series of fragmented, multi-colored planes, suggesting the reflective surfaces of glass and steel. The sharks, with their sharp edges and varying shades of grey and blue, swirl around in a tumultuous dance of destruction within the painting's frame.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts161.txt b/code/evaluations/dpg/prompts/partiprompts161.txt
deleted file mode 100644
index 522ac99ac7b2d8e7520317a609f413740c042871..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts161.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed oil painting that captures the essence of an elderly raccoon adorned with a distinguished black top hat. The raccoon's fur is depicted with textured, swirling strokes reminiscent of Van Gogh's signature style, and it clutches a bright red apple in its paws. The background swirls with vibrant colors, giving the impression of movement around the still figure of the raccoon.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts162.txt b/code/evaluations/dpg/prompts/partiprompts162.txt
deleted file mode 100644
index 9cf72185ede3b9e26afbff1974894237f0b68c1c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts162.txt
+++ /dev/null
@@ -1 +0,0 @@
-a surrealistic painting that depicts a vibrant red sports car with its form melting over the curved edges of a large, ornate golden clock. The background of the painting is a desolate landscape with a clear blue sky, reminiscent of Salvador Dali's distinctive style. The car's glossy paint appears to be dripping like liquid, blending the concepts of time and motion in a dreamlike tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts163.txt b/code/evaluations/dpg/prompts/partiprompts163.txt
deleted file mode 100644
index 6a4918de4765e5e8e0bea6e109f1f4636dbfded7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts163.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vivid and bizarre oil painting by Salvador Dalí that depicts a cat with exaggerated features engaged in a game of checkers. The checkerboard is floating in an undefined space, with pieces that seem to melt over the edges. The background swirls with a mix of warm and cool colors, adding to the dream-like quality of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts164.txt b/code/evaluations/dpg/prompts/partiprompts164.txt
deleted file mode 100644
index 44579142f97c5e3ce864629fa2f26364f47e389a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts164.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed oil painting captures the essence of a young badger, its fur rendered with fine brushstrokes that give it a tactile quality. The badger's snout is gently poised above a vibrant yellow rose, which stands out against a backdrop of muted green foliage. The contrast between the animal's coarse fur and the delicate petals of the rose is emphasized through the artist's skillful use of texture and color.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts165.txt b/code/evaluations/dpg/prompts/partiprompts165.txt
deleted file mode 100644
index 1e319cfae4c75e5b5831543a805a5fdc113943ca..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts165.txt
+++ /dev/null
@@ -1 +0,0 @@
-an abstract oil painting dominated by deep red and black hues, with thick, textured patches of white creating a stark contrast. The canvas is stretched over a sturdy wooden frame, and the paint appears to be applied with vigorous, impasto techniques. This piece of art is hung on a neutral-colored wall, allowing the vibrant colors and bold textures to stand out prominently.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts166.txt b/code/evaluations/dpg/prompts/partiprompts166.txt
deleted file mode 100644
index 226aa00d5f48abc5f84bfce1ca2dc7814c6d13ae..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts166.txt
+++ /dev/null
@@ -1 +0,0 @@
-An exquisite oil painting that captures a raccoon with an almost human-like poise, dressed in attire reminiscent of the 17th century. The raccoon's fur is rendered in rich, textured strokes of brown and gray, and it wears a white ruffled collar and a deep red velvet coat that would befit a noble of Rembrandt's era. The background of the painting is a muted blend of dark, warm tones, creating a subtle contrast that draws attention to the subject's detailed and expressive face.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts167.txt b/code/evaluations/dpg/prompts/partiprompts167.txt
deleted file mode 100644
index 58f725159d8c965dbda588d8dae74ae9c0310e89..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts167.txt
+++ /dev/null
@@ -1 +0,0 @@
-An abstract oil painting that depicts a chaotic blend of vibrant colors and swirling patterns, giving the impression of a vast, disorienting landscape. The canvas is filled with bold strokes of reds, blues, and yellows that seem to clash and compete for space, symbolizing the complexity and confusion of navigating through life. Amidst the turmoil, a small, indistinct figure appears to be wandering, searching for direction in the overwhelming expanse.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts168.txt b/code/evaluations/dpg/prompts/partiprompts168.txt
deleted file mode 100644
index 637592dae25730d4f8e4d3c707129b0662dea6cd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts168.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant abstract painting featuring three geometric shapes: a large blue triangle, a smaller yellow triangle, and a red triangle, all against a white background. The blue triangle has a smooth texture, while the yellow and red triangles have a more textured, almost brush-stroked appearance. The shapes are arranged in a way that suggests dynamic movement and balance within the composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts169.txt b/code/evaluations/dpg/prompts/partiprompts169.txt
deleted file mode 100644
index 1917393644ad6da0e612c8d524898753a5be9344..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts169.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed watercolor painting that captures a majestic snowy owl with its pristine white feathers standing in the midst of a lush green field. The owl's bright yellow eyes are a stark contrast to the soft hues of the grass, and its feathers are intricately detailed, giving a sense of texture to the artwork. The field is dotted with wildflowers and the occasional blade of grass that sways gently, suggesting a light breeze in this tranquil scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts17.txt b/code/evaluations/dpg/prompts/partiprompts17.txt
deleted file mode 100644
index 4e5ff076236611d20ed63d98969970ee237222db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts17.txt
+++ /dev/null
@@ -1 +0,0 @@
-An altered image of the Space Shuttle Endeavor, its exterior painted a bright yellow, as it soars high above the Earth's atmosphere. The vast expanse of South America is prominently visible below, with the deep blue of the surrounding ocean contrasting against the yellow of the shuttle. The curvature of the Earth can be seen at the edges of the photo, highlighting the shuttle's altitude.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts170.txt b/code/evaluations/dpg/prompts/partiprompts170.txt
deleted file mode 100644
index 1f1cf93ef5624e59797a6c222661958a0e308841..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts170.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed oil painting that showcases a vibrant and whimsical creature, a fusion of a hamster and a dragon, set against a swirling backdrop of psychedelic colors. The creature's fur is a kaleidoscope of hues, with scales that shimmer in iridescent tones, and it's depicted with a playful yet majestic pose. The artwork is framed in an ornate, golden frame that complements the fantastical theme of the painting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts171.txt b/code/evaluations/dpg/prompts/partiprompts171.txt
deleted file mode 100644
index 301589535419e312cd91dcbbda8acde5fb0013f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts171.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed 17th-century Dutch Baroque painting depicting a chestnut horse standing amidst a vibrant field of tulips and daisies. The horse's mane and tail are elegantly captured by the artist, flowing with the gentle breeze that seems to animate the scene. In the background, a traditional windmill sits under a partly cloudy sky, completing this pastoral landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts172.txt b/code/evaluations/dpg/prompts/partiprompts172.txt
deleted file mode 100644
index edfab574a64c715318a84843faf3b70a60cc1858..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts172.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately detailed oil painting that captures the whimsical essence of a feline super math wizard. The cat, adorned with a wizard's hat and cape, is surrounded by floating mathematical symbols and equations. The rich textures of the brush strokes give depth to the cat's fur and the magical elements, creating a vivid and captivating scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts173.txt b/code/evaluations/dpg/prompts/partiprompts173.txt
deleted file mode 100644
index c9b80fd22dfd3e280ec4486b78e0917f14dad3ce..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts173.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed sketch of a space shuttle, rendered in the intricate, technical style reminiscent of Leonardo da Vinci's famous drawings. The shuttle is depicted with numerous annotations and measurements, showcasing its complex design and structure. The paper on which it is drawn has an aged, yellowed appearance, adding to the historical feel of the artwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts174.txt b/code/evaluations/dpg/prompts/partiprompts174.txt
deleted file mode 100644
index 34ee6a15b532e74dc4180a6e963669caa114d981..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts174.txt
+++ /dev/null
@@ -1 +0,0 @@
-an impressionistic painting that features a vibrant array of colors, depicting a tree with a swirl of green and yellow leaves next to an old stone building with a red-tiled roof. The brush strokes are thick and visible, giving the painting a textured look, and the tree's branches seem to dance around the building's edges. The sky in the background is a mix of blues and purples, suggesting either dawn or dusk.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts175.txt b/code/evaluations/dpg/prompts/partiprompts175.txt
deleted file mode 100644
index 75442c15c6197cdc5843ab1d3650ff5bc7ab9889..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts175.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed oil painting depicting a ginger cat with green eyes, intently focused on a game of checkers. The cat is seated at a small wooden table, with the checkerboard laid out in front of it, pieces strategically placed. The painting captures the texture of the cat's fur and the wood grain of the table, set against a soft, neutral background that draws attention to the subject.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts176.txt b/code/evaluations/dpg/prompts/partiprompts176.txt
deleted file mode 100644
index 9c29ee96809c71a6181559f717707367a1e7c190..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts176.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate piece of graffiti art depicting a robot with hues of blue and silver sprawls across a weathered brick wall. Bold, stylized letters spell out "Fly an airplane" just above the robot, adding a whimsical touch to the urban canvas. In front of the mural, a concrete sidewalk stretches out, with tufts of green grass stubbornly sprouting from the cracks, hinting at nature's resilience in the cityscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts177.txt b/code/evaluations/dpg/prompts/partiprompts177.txt
deleted file mode 100644
index bc132fbe0da2707f7746520799a044e9462a2049..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts177.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant depiction of a robot, spray-painted in hues of blue and silver, adorns an aged brick wall. The sidewalk in front of the wall, made of weathered concrete slabs, is interrupted by tufts of green grass sprouting from the cracks. The artwork casts a shadow on the uneven ground, hinting at the late afternoon sun.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts178.txt b/code/evaluations/dpg/prompts/partiprompts178.txt
deleted file mode 100644
index fdf57a0b67bdc5e7d21242c3d8947f6d7c884feb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts178.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant and colorful graffiti mural on a textured concrete wall, featuring the phrase "BE EXCELLENT TO EACH OTHER" in bold, stylized lettering. Next to the text, there's an image of a whimsical green alien, donning a sleek black tuxedo with a bright red bow tie. The alien's playful expression adds a touch of humor to the otherwise rough urban canvas.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts179.txt b/code/evaluations/dpg/prompts/partiprompts179.txt
deleted file mode 100644
index c6cdfa6fede097420ae2e6dec9b252e968322190..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts179.txt
+++ /dev/null
@@ -1 +0,0 @@
-A grand city fountain situated in the center of a bustling square, with a creamy white liquid cascading down its tiers instead of water. The fountain's base is surrounded by numerous cats of various colors and sizes, eagerly lapping up the milk. The stone structure of the fountain is intricately carved, and despite the unusual substitution of milk, it stands as an impressive focal point in the urban landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts18.txt b/code/evaluations/dpg/prompts/partiprompts18.txt
deleted file mode 100644
index e9c24b3a52bf9be4784e6a057962872c9fbe7998..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts18.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image captures a furry wombat with a curious expression, donning a bright red backpack snugly fitted on its back. The adorable marsupial stands on its hind legs, with both arms raised in a triumphant or playful gesture. In the distance, the iconic Mount Rushmore serves as a majestic backdrop, with the carved faces of the four presidents etched into the mountainside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts180.txt b/code/evaluations/dpg/prompts/partiprompts180.txt
deleted file mode 100644
index 5f24f5b8528ba1d750f07f9cb2fb4cd3236ffce6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts180.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant watercolor mural depicting a group of foxes playing jazz instruments adorns a large wall on a bustling city street. The foxes are painted in various shades of orange and red, with one playing a saxophone and another on the drums, set against a backdrop of colorful musical notes. The wall itself is part of a row of buildings, with pedestrians passing by and occasionally stopping to admire the artwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts181.txt b/code/evaluations/dpg/prompts/partiprompts181.txt
deleted file mode 100644
index fa5ff7f76d7d1584b02e0e76db624f19632e3962..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts181.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint fairy cottage nestled in a lush garden, with delicate smoke wisps rising from its stone chimney. The cottage features a thatched roof and walls covered in climbing ivy. A curious squirrel peers out from a small, round window, framed by wooden shutters.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts182.txt b/code/evaluations/dpg/prompts/partiprompts182.txt
deleted file mode 100644
index 41e7076f55171992f5c99bca6cb94dc9c3dfa136..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts182.txt
+++ /dev/null
@@ -1 +0,0 @@
-a close-up image of a sandy beach, where a bright red bucket lies on its side, surrounded by an array of colorful seashells scattered across the fine grains. there are no birds in sight, particularly no sandpipers, which often frequent such shores. the gentle waves in the background suggest the proximity to the water's edge.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts183.txt b/code/evaluations/dpg/prompts/partiprompts183.txt
deleted file mode 100644
index 3a6507b5685a20973b7f003cf127ddf44ed801cc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts183.txt
+++ /dev/null
@@ -1 +0,0 @@
-a concrete sidewalk running alongside a weathered wooden post, which has a bright blue '5' prominently painted on its flat top surface. The post is planted firmly in the ground, with patches of green grass sprouting around its base. To the side of the sidewalk, there's a neatly trimmed hedge that stretches out of view.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts184.txt b/code/evaluations/dpg/prompts/partiprompts184.txt
deleted file mode 100644
index afcd07f6f7757f9e41fe74d4c372c667e7dd00f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts184.txt
+++ /dev/null
@@ -1 +0,0 @@
-a tranquil lakeside setting where a herd of sauropods is seen gracefully traversing the water's edge. The gentle giants, with their long necks and tails, are silhouetted against the backdrop of a dense forest. The calm lake reflects the soft hues of the sky as the prehistoric creatures continue their age-old migration.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts185.txt b/code/evaluations/dpg/prompts/partiprompts185.txt
deleted file mode 100644
index e989d78ff6f748ca63fa73159e07f7a30880e213..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts185.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque painting depicting a charming white country home with a spacious wrap-around porch adorned with hanging flower baskets. The house is set against a backdrop of lush greenery, with a cobblestone pathway leading to its welcoming front steps. The porch railing is intricately designed, and the home's windows boast traditional shutters, adding to the quaint aesthetic of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts186.txt b/code/evaluations/dpg/prompts/partiprompts186.txt
deleted file mode 100644
index f030a63c4d884f12743489cc96a7af0e859637a9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts186.txt
+++ /dev/null
@@ -1 +0,0 @@
-A pristine white bird with a long neck and elegant feathers stands in the foreground, with a towering dinosaur sculpture positioned behind it among a grove of trees. The dinosaur, a deep green in color with textured skin, contrasts sharply with the smooth plumage of the bird. The trees cast dappled shadows on the scene, highlighting the intricate details of both the bird and the prehistoric figure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts187.txt b/code/evaluations/dpg/prompts/partiprompts187.txt
deleted file mode 100644
index ad0e6857a1252e41ae0c3b5601c047259006d9e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts187.txt
+++ /dev/null
@@ -1 +0,0 @@
-a breathtaking photograph capturing the vibrant hues of a sunset with streaks of pink and orange painting the sky behind the majestic Grand Canyon. The canyon's intricate rock formations are silhouetted against the illuminated backdrop, showcasing the deep crevices and towering spires. In the foreground, the Colorado River can be glimpsed winding its way through the ancient geological marvel.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts188.txt b/code/evaluations/dpg/prompts/partiprompts188.txt
deleted file mode 100644
index 1578d9cc4ee948a05a09b4736d4a936636f62127..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts188.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spectacular display of fireworks illuminates the night sky with bursts of red, white, and blue. the vibrant colors reflect off a nearby lake, creating a mirror image of the aerial spectacle. in the foreground, silhouettes of a small crowd can be seen gathered to watch the show, with some individuals pointing upwards in awe.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts189.txt b/code/evaluations/dpg/prompts/partiprompts189.txt
deleted file mode 100644
index a11969b243a81f3e0fe88b471e5d89d9f0e066d9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts189.txt
+++ /dev/null
@@ -1 +0,0 @@
-a modern storefront with large glass windows and a bold sign above the entrance that reads 'openai' in sleek, white lettering. The facade is painted in a muted gray, complementing the contemporary design. Inside, through the transparent windows, one can see rows of neatly arranged products and a few customers browsing.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts19.txt b/code/evaluations/dpg/prompts/partiprompts19.txt
deleted file mode 100644
index f8c74a67669f3b4ee16ec21cec3822224d0bcbe1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts19.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a temple, a unique wall painting captures the whimsical image of pandas engaged in a game of tennis, rendered in a style reminiscent of ancient Egyptian hieroglyphics. The pandas are depicted with exaggerated, playful expressions, using rackets that are stylistically simplified. The wall on which the painting is displayed has a textured, sandy hue, providing a stark contrast to the dark, bold lines of the painted figures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts190.txt b/code/evaluations/dpg/prompts/partiprompts190.txt
deleted file mode 100644
index c340509c5ba4859cc86200ce61b6fcdd36b50d5c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts190.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bold, white sign with the words 'KEEP OFF THE GRASS' stands prominently next to a lush, green lawn. The sign, with its stark black lettering, is mounted on a metal pole and positioned at the edge of the neatly trimmed grass. Surrounding the lawn are small flowering plants, adding a touch of color to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts191.txt b/code/evaluations/dpg/prompts/partiprompts191.txt
deleted file mode 100644
index 04391b06953fc8487be756092a627c1e41bf0229..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts191.txt
+++ /dev/null
@@ -1 +0,0 @@
-A monochromatic photograph capturing the stark contrast of a solitary black tree against a white, snowy landscape. The tree's intricate branches are devoid of leaves, creating a network of dark lines that stand out sharply. In the background, the horizon is barely distinguishable, with the white of the snow blending into the overcast sky above.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts192.txt b/code/evaluations/dpg/prompts/partiprompts192.txt
deleted file mode 100644
index 6ab2a205d10dfddbb62ed0fd770c601196ed47f7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts192.txt
+++ /dev/null
@@ -1 +0,0 @@
-a standard green tennis court with white boundary lines, where numerous bright yellow tennis balls are strewn across the playing surface. Surrounding the court is a tall chain-link fence, and there is a player's bench off to the side with a couple of rackets resting on it. The net is taut and stands prominently in the center of the court, casting a faint shadow on the ground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts193.txt b/code/evaluations/dpg/prompts/partiprompts193.txt
deleted file mode 100644
index 3bd2df64478f223b9792e94799c9305178fa98e6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts193.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clear night sky where a slender crescent moon hangs delicately between the silhouetted branches of tall trees. The moon's pale light casts a soft glow on the intricate patterns of the branches, creating a contrast against the dark blue of the night sky. No other celestial bodies are visible in the small patch of sky framed by the intertwining tree limbs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts194.txt b/code/evaluations/dpg/prompts/partiprompts194.txt
deleted file mode 100644
index 133b11abd3f91ca80e5d482ac197858a1b5c3c20..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts194.txt
+++ /dev/null
@@ -1 +0,0 @@
-a picturesque autumn scene where a quaint cottage with a thatched roof sits beside a tranquil lake, surrounded by trees with leaves in vibrant shades of orange, red, and yellow. The cottage's wooden exterior is complemented by white-framed windows, and a stone chimney rises above the roofline. The lake reflects the warm fall colors, creating a mirror image of the foliage and the small structure on its calm surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts195.txt b/code/evaluations/dpg/prompts/partiprompts195.txt
deleted file mode 100644
index 00154e4ecc1264379960fdd91061a3833f9d5370..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts195.txt
+++ /dev/null
@@ -1 +0,0 @@
-a view through a window pane speckled with raindrops, showcasing a cityscape of tall buildings with reflective glass facades. the gray overcast sky looms above the urban skyline, and the raindrops create a blurred effect on the structures in the distance. the window's frame is a stark white, contrasting with the muted colors of the city beyond.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts196.txt b/code/evaluations/dpg/prompts/partiprompts196.txt
deleted file mode 100644
index a3657a2bd935e596ae1f2073079e019b85e33774..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts196.txt
+++ /dev/null
@@ -1 +0,0 @@
-a standard-sized basketball hoop with a net that has seen better days, mounted against a faded red brick wall. wedged firmly within the hoop is an oversized blue rubber ball, too large to pass through the net. the ground below is a cracked concrete surface, with faded court lines barely visible.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts197.txt b/code/evaluations/dpg/prompts/partiprompts197.txt
deleted file mode 100644
index e7c10ccec104bc3ec78521db419b70abf87723cf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts197.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the center of a bustling intersection, a large tree with a thick trunk and sprawling branches stands out amidst the concrete. Its green leaves contrast sharply with the grey asphalt roads that converge around it. Traffic lights and street signs are positioned awkwardly around the tree's base, creating an unusual juxtaposition of nature and urban infrastructure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts198.txt b/code/evaluations/dpg/prompts/partiprompts198.txt
deleted file mode 100644
index f55bbecae1b23cbb38bcb586a0f3b9f2c2cde9ee..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts198.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clear blue sky serves as the backdrop for a white airplane, leaving behind a long, linear chemtrail that stretches across the expanse. The trail is a stark white against the deep blue, and it slowly diffuses at the edges as it drifts away from the plane. Below, the landscape is dotted with the occasional fluffy white cloud, providing a serene contrast to the straight line above.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts199.txt b/code/evaluations/dpg/prompts/partiprompts199.txt
deleted file mode 100644
index 422c2185b3b1f53c3bc55ee80452e05863f6eea4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts199.txt
+++ /dev/null
@@ -1 +0,0 @@
-a brightly colored storefront with large, bold letters spelling out 'AwesomePurchase' above the entrance. The shop's window displays are neatly arranged with an array of products, and a small, potted plant sits to the left of the door. The facade of the building is a clean, modern white, contrasting with the vibrant signage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts2.txt b/code/evaluations/dpg/prompts/partiprompts2.txt
deleted file mode 100644
index 3b262b0f59b0609cabf3adb1975ce23c1646bea2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts2.txt
+++ /dev/null
@@ -1 +0,0 @@
-A high-resolution DSLR image captures a glossy Volkswagen van, its exterior artistically adorned with a vibrant mural depicting a bustling cityscape. Parked on a patch of lush green grass, the van serves as a backdrop to an unusual sight: a contented sloth, standing upright. The sloth is dressed in an eclectic ensemble consisting of a sleek leather jacket, a wide-brimmed cowboy hat, a traditional tartan kilt, and a neatly tied bowtie. In its clawed hands, it firmly grasps a wooden quarterstaff and an oversized, leather-bound book.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts20.txt b/code/evaluations/dpg/prompts/partiprompts20.txt
deleted file mode 100644
index 4448ae8962fe7ab974dbeb6d0734b1dc6c4c7c2b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A ceramic Athenian vase with a smooth, matte black finish stands prominently against a plain white background. The vase is adorned with a unique painting that depicts pangolins engaged in a game of basketball, rendered in a style reminiscent of ancient Egyptian hieroglyphics. The intricate design features a combination of earthy tones and bold outlines, giving the artwork a sense of dynamic movement and historical depth.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts200.txt b/code/evaluations/dpg/prompts/partiprompts200.txt
deleted file mode 100644
index 70b7634237437d89e2cb657831911f0201802d02..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts200.txt
+++ /dev/null
@@ -1 +0,0 @@
-A classic wooden rocking chair with a smooth, varnished finish sits adjacent to the green, chain-link fence of a tennis court. The court's surface is a vibrant blue with white boundary lines, and a few tennis balls can be seen resting near the net. In the background, there's a tall fence that separates the court from a row of dense, neatly trimmed hedges.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts201.txt b/code/evaluations/dpg/prompts/partiprompts201.txt
deleted file mode 100644
index f2a21b238be831fad1c33b1a3e8727b691793854..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts201.txt
+++ /dev/null
@@ -1 +0,0 @@
-a picturesque mountain stream with crystal clear water flowing over smooth, rounded stones. Several salmon, their scales glistening with a pinkish hue, can be seen leaping energetically from the water, attempting to navigate upstream. The banks of the stream are lined with lush green vegetation, and small wildflowers peek out from the foliage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts202.txt b/code/evaluations/dpg/prompts/partiprompts202.txt
deleted file mode 100644
index 73c1893517df4379fe13f5afe04c153aeea62cd1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts202.txt
+++ /dev/null
@@ -1 +0,0 @@
-a rustic windmill with weathered wooden blades stands amidst a field of vibrant wildflowers. the structure, painted in faded red and white, towers over the colorful blooms, which include poppies and daisies. the windmill's base is encircled by a low stone wall, and in the background, the clear sky stretches above the pastoral scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts203.txt b/code/evaluations/dpg/prompts/partiprompts203.txt
deleted file mode 100644
index eedad3cb0393c58ce758fa359fc19545fe69d3c3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts203.txt
+++ /dev/null
@@ -1 +0,0 @@
-a massive tornado with a swirling gray funnel cloud, tearing through the landscape with debris flying around its base. At the top of the vortex, a small wooden house, with its windows shattered and roof partially torn off, is being lifted into the air. The tornado is moving across an open field, and the sky above is a menacing shade of dark gray.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts204.txt b/code/evaluations/dpg/prompts/partiprompts204.txt
deleted file mode 100644
index f71bff3b8a06789e0180936a704225e51fa56c84..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts204.txt
+++ /dev/null
@@ -1 +0,0 @@
-A glossy black grand piano stands majestically adjacent to the green mesh of a tennis court net. The piano's open lid reveals its intricate golden interior, contrasting with the stark white lines of the court. Nearby, a collection of tennis balls is scattered on the ground, hinting at a recent game.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts205.txt b/code/evaluations/dpg/prompts/partiprompts205.txt
deleted file mode 100644
index 15871eaadf50444d6009eaa1dfebdda46e0cef76..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts205.txt
+++ /dev/null
@@ -1 +0,0 @@
-the word 'START' is boldly written in white chalk on a gray concrete sidewalk. the letters are large and slightly smudged at the edges, indicating recent use. to the side of the word, there's a small pile of colorful chalk pieces, and the sidewalk extends into the distance, bordered by a neatly trimmed green lawn.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts206.txt b/code/evaluations/dpg/prompts/partiprompts206.txt
deleted file mode 100644
index bf81b09c3619a41135480e0efd36ca3f3f157084..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts206.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dilapidated spaceship, covered in patches of rust and with peeling paint, is depicted in the midst of a powerful blast-off, leaving a trail of smoke and fire behind. In the distance, a sprawling cityscape with towering skyscrapers stretches towards the horizon, where it meets the calm expanse of the ocean. Beyond the city, a range of majestic mountains rises up, and above it all, a large, dark moon dominates the sky, casting a mysterious glow. The entire scene is rendered in a high-contrast anime style, with sharp lines and dramatic shading that give the illustration a dynamic and intense feel.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts207.txt b/code/evaluations/dpg/prompts/partiprompts207.txt
deleted file mode 100644
index 271048f76651850bbe0d617db15f1c481bb4c0bf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts207.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside a subway train, the seats are occupied by several red pandas with soft, reddish-brown fur. One particularly curious red panda is engrossed in reading a newspaper, holding it with its black and white paws. Through the train's windows, a dense jungle with lush green foliage can be seen passing by in the background. The interior of the train is a mix of metallic grays and bright artificial lighting, contrasting with the natural colors visible outside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts208.txt b/code/evaluations/dpg/prompts/partiprompts208.txt
deleted file mode 100644
index fe9e796b4d5e5ead62f14344beb9fc6f767c55a5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts208.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant yellow 2017 Porsche 911 is captured in motion, navigating a winding mountain road with its sleek body hugging the curve. The sports car's headlights are piercing through the overcast weather, illuminating the path ahead. In the background, a lush green valley stretches out beneath a sky filled with grey clouds, hinting at the vast expanse beyond the road's edge.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts209.txt b/code/evaluations/dpg/prompts/partiprompts209.txt
deleted file mode 100644
index 71f64145bfbdb94b73ab995f04edb99418919242..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts209.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking blue semi-truck with a matching trailer is captured mid-air, soaring over a neatly aligned row of motorcycles. The motorcycles are positioned between two sturdy metal ramps, which facilitated the truck's impressive jump. The scene unfolds in an open area with a clear sky overhead, emphasizing the boldness of the blue truck as it defies gravity in this daring stunt.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts21.txt b/code/evaluations/dpg/prompts/partiprompts21.txt
deleted file mode 100644
index 17a6bc9c10a98145dfa0c1bbe098c633cefbd9e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts21.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed photograph captures the image of a statue with the likeness of an ancient pharaoh, unexpectedly accessorized with a pair of bronze steampunk goggles resting atop its head. The statue is dressed in an anachronistic fashion, featuring a crisp white t-shirt and a fitted black leather jacket that contrasts with its traditional headdress. The background is a simple, solid color that accentuates the statue's unconventional attire and the intricate details of the steampunk eyewear.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts210.txt b/code/evaluations/dpg/prompts/partiprompts210.txt
deleted file mode 100644
index acf63034f7291e4bf8bd6f87314dda0127828b30..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts210.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant yellow dump truck, its bed brimming with black and white soccer balls, navigates through the colorful terrain of a coral reef. The surrounding waters are a clear blue, teeming with marine life, and in the distance, a massive blue whale glides gracefully. The coral formations exhibit a multitude of hues and intricate textures, providing a stark contrast to the industrial machine in their midst.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts211.txt b/code/evaluations/dpg/prompts/partiprompts211.txt
deleted file mode 100644
index d73bc54e5120d76f392d8607b1c3c51c34d226e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts211.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant hot air balloon adorned with a colorful chameleon logo floats gracefully against a bright blue sky. The sun casts a warm glow on the scene, highlighting the balloon's rainbow hues and the fluffy white clouds that dot the horizon. Below the balloon, a patchwork of green fields and small houses can be seen from this aerial vantage point.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts212.txt b/code/evaluations/dpg/prompts/partiprompts212.txt
deleted file mode 100644
index e40377b9bb21b8afa25fd9e6a15fb9612066e184..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts212.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old red pickup truck, its body covered in patches of rust, sits abandoned in an open field. The truck's white doors stand in stark contrast to the faded red paint, and the windshield is shattered, with spiderweb cracks running across the glass. The vehicle's bed is empty, and the tires are worn, hinting at many years of service and neglect.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts213.txt b/code/evaluations/dpg/prompts/partiprompts213.txt
deleted file mode 100644
index 934ca93c7b23a782139379dfb09d8e681f65ebbe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts213.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old-fashioned covered wagon with a weathered canvas top and wooden spokes on its wheels is captured from behind. Peeking out from the flap of the canvas, a large polar bear's head emerges, its fur a stark contrast to the beige fabric of the wagon. The wagon itself is parked on a gravel path, surrounded by tufts of grass and small shrubs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts214.txt b/code/evaluations/dpg/prompts/partiprompts214.txt
deleted file mode 100644
index 709ca9ecf2d2c5ecb7e9e03945c929f929fcb395..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts214.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek motorcycle with the word "BUZZ" emblazoned in bold letters on its side is parked inside an ornate bank lobby. The lobby features marble floors and intricate gold trimmings along the walls. The motorcycle's chrome accents gleam under the soft glow of the chandelier overhead, contrasting with the rich, dark wood of the bank's counters.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts215.txt b/code/evaluations/dpg/prompts/partiprompts215.txt
deleted file mode 100644
index bd26cd42911b9fd59a20829c2df1f4a23d358126..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts215.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vintage blue Porsche 356 is captured mid-turn on a winding asphalt road, its polished surface reflecting the bright sunlight. The car's classic design is accentuated by its rounded headlights and sleek bodywork. Alongside the road, a low stone wall partially covered in moss provides a contrast to the well-maintained vehicle.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts216.txt b/code/evaluations/dpg/prompts/partiprompts216.txt
deleted file mode 100644
index 13d52616f91e3ef2e0ad4aab04ff90c065a7d243..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts216.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant underwater scene where a yellow dump truck, brimming with black and white soccer balls, is whimsically placed among the colorful coral reef. The truck appears to be 'scuba diving' in the clear blue waters, surrounded by schools of tropical fish and intricate sea life. The coral formations exhibit a multitude of hues, from bright pinks to deep purples, creating a playful contrast with the artificiality of the submerged vehicle.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts217.txt b/code/evaluations/dpg/prompts/partiprompts217.txt
deleted file mode 100644
index 61ad026ad9196cb32144f790e27e0182b7f1488a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts217.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dusty red pickup truck parked on a gravel path, with a chestnut horse standing calmly to its left, its mane gently blowing in the breeze. On the right side of the truck, two dogs, one with a golden coat and the other with black and white spots, sit attentively. The truck's bed is filled with hay bales, hinting at a day's work on the farm.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts218.txt b/code/evaluations/dpg/prompts/partiprompts218.txt
deleted file mode 100644
index be19c7641c0e4890f895d987343265d44a47e039..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts218.txt
+++ /dev/null
@@ -1 +0,0 @@
-an empty metal bike rack with a silver finish, positioned on a concrete sidewalk. several colorful bike locks are attached to it, indicating the frequent use of the rack by cyclists. the absence of bicycles gives the rack a forlorn appearance against the backdrop of a quiet street.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts219.txt b/code/evaluations/dpg/prompts/partiprompts219.txt
deleted file mode 100644
index 6db47b3aedb9764f9c3d2622254dce8fef71ce56..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts219.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aerial perspective showcases a red pickup truck with a silver flatbed, loaded with neatly stacked brown cardboard boxes. The truck is parked on a gray concrete driveway, adjacent to a well-manicured green lawn. Surrounding the vehicle, a few orange traffic cones are placed, indicating a temporary work zone or moving area.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts22.txt b/code/evaluations/dpg/prompts/partiprompts22.txt
deleted file mode 100644
index cb48ab432957be40d6fa574b2a69ef66d7a93e0f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A stuffed toy monkey, with a soft brown texture, is precariously balanced on a floating log in the middle of the Charles River. It's adorned with a distinctive red and white Boston Red Sox baseball cap. In the background, the prominent buildings of the Massachusetts Institute of Technology (MIT) can be seen, creating a juxtaposition of playful whimsy and academic prestige.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts220.txt b/code/evaluations/dpg/prompts/partiprompts220.txt
deleted file mode 100644
index 2dc9c3fa5cfc31e3936e26abea399cca88e82a23..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts220.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large blue airplane with white accents is taxiing on a vast concrete runway, its engines humming steadily. The sun is setting behind it, casting a warm glow and elongating the shadow of the plane on the ground. The runway is marked with white lines and numbers, indicating the designated path for the aircraft.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts221.txt b/code/evaluations/dpg/prompts/partiprompts221.txt
deleted file mode 100644
index 1ca4a568139b5dd76962a08573667bdad4837013..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts221.txt
+++ /dev/null
@@ -1 +0,0 @@
-a large commercial airplane with a white and blue fuselage soaring towards a towering cumulus cloud that resembles a monstrous face. The cloud's formation gives the impression of gaping jaws and hollow eyes, casting a whimsical shadow over the landscape below. The airplane's wings reflect the sunlight, creating a stark contrast against the darkening sky around the cloud formation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts222.txt b/code/evaluations/dpg/prompts/partiprompts222.txt
deleted file mode 100644
index edb4f08496a473fbc21b7aca97eb9bfb8796230f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts222.txt
+++ /dev/null
@@ -1 +0,0 @@
-a sleek red convertible sports car with its top down is navigating a sharp bend on a coastal road. the car's polished chrome rims catch the sunlight as it speeds along the asphalt, hugging the curve tightly. on the passenger side, the endless expanse of the ocean can be seen, with waves gently crashing against the rocky shore.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts223.txt b/code/evaluations/dpg/prompts/partiprompts223.txt
deleted file mode 100644
index f730ba3c6d915d64e66b3cf0c9dbad90bcb34423..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts223.txt
+++ /dev/null
@@ -1 +0,0 @@
-a busy intersection where a red sedan and a large white delivery truck are stopped side by side, waiting for the traffic light to turn green. The traffic light is mounted on a metal pole on the corner of the crosswalk. The road is marked with white lines and arrows indicating lanes for turning and going straight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts224.txt b/code/evaluations/dpg/prompts/partiprompts224.txt
deleted file mode 100644
index c395ce0fe686119341d593aa65a86cc042dc06d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts224.txt
+++ /dev/null
@@ -1 +0,0 @@
-a bright blue pickup truck parked on a gravel road, its flatbed occupied by a large rhinoceros. The animal's rough, gray skin contrasts sharply with the vehicle's smooth, metallic paint. Nearby, a few scattered acacia trees provide a sparse canopy in the otherwise open savannah landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts225.txt b/code/evaluations/dpg/prompts/partiprompts225.txt
deleted file mode 100644
index f14c300e244e7cfaaa46306eb1da5a9b042fcad0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts225.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant orange pickup truck parked beside a sleek yellow Porsche 911 on a smooth gray asphalt road. The Porsche's polished surface reflects the sunlight, highlighting its aerodynamic shape and the truck's sturdy, boxy frame. Between the two vehicles, the contrasting sizes and designs are evident, with the pickup's raised suspension towering over the low-profile sports car.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts226.txt b/code/evaluations/dpg/prompts/partiprompts226.txt
deleted file mode 100644
index 785b081dbd871c396a29c243e9fe22cbf5928991..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts226.txt
+++ /dev/null
@@ -1 +0,0 @@
-a futuristic spaceship with a design reminiscent of the iconic Sydney Opera House, featuring multiple white, shell-like structures that form its hull. The vessel hovers above the ground, with a slight iridescent sheen on its surface that reflects the light of a distant sun. It is surrounded by a barren landscape, which contrasts sharply with the spaceship's smooth, curved architecture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts227.txt b/code/evaluations/dpg/prompts/partiprompts227.txt
deleted file mode 100644
index 424adbfdc986daa1b9bc172775cc5b81bc016059..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts227.txt
+++ /dev/null
@@ -1 +0,0 @@
-a pristine white yacht floats serenely in the tranquil waters of a secluded bay, its sleek hull reflecting the bright sunshine. The expansive deck is lined with polished wooden railings, and several deck chairs are arranged facing the open water. In the distance, the gentle hills surrounding the bay are dotted with green foliage, providing a picturesque backdrop under the clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts228.txt b/code/evaluations/dpg/prompts/partiprompts228.txt
deleted file mode 100644
index 4c85d5315e132ac238a2656f2296c3faa8a6eff7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts228.txt
+++ /dev/null
@@ -1 +0,0 @@
-a sleek black Harley-Davidson motorcycle, its chrome accents gleaming in the light, adorned with an intricate flame decal in hues of red and orange. The motorcycle is parked on a smooth concrete surface, and its polished wheels reflect the surrounding environment. The handlebars are equipped with leather grips, and the seat is crafted from a rich, black leather that looks both comfortable and stylish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts229.txt b/code/evaluations/dpg/prompts/partiprompts229.txt
deleted file mode 100644
index 2dd7b7740858b030ae4c9f3e4b04fa82413ee31a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts229.txt
+++ /dev/null
@@ -1 +0,0 @@
-An old, rusty red pickup truck stands out with its white wheel rims, parked on a stretch of gravel road. The truck's paint is faded and peeling in places, revealing the passage of time on its body. In the truck bed, there's a collection of used tools and a couple of wooden crates, hinting at its utilitarian past.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts23.txt b/code/evaluations/dpg/prompts/partiprompts23.txt
deleted file mode 100644
index 2ed902f112e54c778b37ac87ba1d866c2fd123b5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts23.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two ceramic cups sit side by side on a wooden table, one filled with a steaming latte that has a detailed foam art depiction of the United States map on its surface. The other cup, equally warm, showcases an intricate latte art representation of the African continent. Both cups have a glossy finish, and the table reflects the soft glow of the overhead lighting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts230.txt b/code/evaluations/dpg/prompts/partiprompts230.txt
deleted file mode 100644
index 48972a696c589a56218c37b5a1a11232b3752cdb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts230.txt
+++ /dev/null
@@ -1 +0,0 @@
-a patriotic-themed chopper motorcycle, its body emblazoned with the iconic red, white, and blue of the Stars and Stripes. The bike's gleaming chrome accents catch the light, highlighting its meticulous craftsmanship. Parked on a stretch of open road, the motorcycle's American flag motif stands out boldly against the asphalt.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts231.txt b/code/evaluations/dpg/prompts/partiprompts231.txt
deleted file mode 100644
index 0a9c44ddf33e8a966436669d09898fc75b38a902..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts231.txt
+++ /dev/null
@@ -1 +0,0 @@
-a precarious stack of three pickup trucks with the bottom one painted red, the middle one a faded blue, and the top one a dusty white. Each truck is dented and scratched, suggesting they've been through rough conditions. The trucks are set against a backdrop of a clear sky, and they cast long shadows on the gravel lot where they are stacked.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts232.txt b/code/evaluations/dpg/prompts/partiprompts232.txt
deleted file mode 100644
index e3f41780f27e9542385884416d351f6a05c1b615..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts232.txt
+++ /dev/null
@@ -1 +0,0 @@
-a rusted submarine lying on the sandy ocean floor, its once sleek black exterior now mottled with patches of corrosion and marine growth. The submarine's hatch is partially buried in the sediment, and schools of small, colorful fish swim in and out of the broken portholes. The surrounding waters are a deep, murky blue, with shafts of sunlight filtering down from the surface, illuminating the submarine's ghostly silhouette.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts233.txt b/code/evaluations/dpg/prompts/partiprompts233.txt
deleted file mode 100644
index 2972331ad57627b3ffd104ec814e8cac77a442a4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts233.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three commercial airliners, with their distinctive liveries, are lined up side by side at an airport terminal. The planes, with their white fuselages and colored tails, are connected to the jet bridges, which are bustling with activity. In the foreground, the tarmac is marked with guiding lines and ground service equipment can be seen servicing the aircraft.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts234.txt b/code/evaluations/dpg/prompts/partiprompts234.txt
deleted file mode 100644
index bcff1f872584233830aea12203457cbda4881211..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts234.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek white boat with the words 'BLUE GROOVE' emblazoned in bold blue letters along its hull. The boat is moored to a wooden dock with ropes coiled neatly on the planks. The vessel's polished surface reflects the bright sunlight, and a few life jackets can be seen piled inside the boat's interior.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts235.txt b/code/evaluations/dpg/prompts/partiprompts235.txt
deleted file mode 100644
index bf4f520c62759057df49d841c3396570a8626464..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts235.txt
+++ /dev/null
@@ -1 +0,0 @@
-a powerful steam locomotive with a black and red exterior, billowing white steam as it speeds along the tracks through a vast, sandy desert landscape. The locomotive's wheels kick up small clouds of sand, and the clear blue sky stretches endlessly above. No other vehicles or structures are in sight, just the occasional cactus dotting the horizon.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts236.txt b/code/evaluations/dpg/prompts/partiprompts236.txt
deleted file mode 100644
index 68bf72be9c6c201d3c3a99a16cdd71f93cacb67d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts236.txt
+++ /dev/null
@@ -1 +0,0 @@
-A grand wall within a royal castle, adorned with two large, ornate frames. The painting on the left showcases a regal raccoon king, depicted in vibrant oil colors with meticulous attention to his fur and crown. Opposite to it, the right painting is an equally detailed portrayal of the royal raccoon queen, her gaze dignified and attire resplendent. At the foot of these majestic artworks, a small, fluffy dog with a curious expression stands, clutching a handwritten sign in its mouth that pleads, "plz conserve," adding a touch of whimsy to the stately scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts237.txt b/code/evaluations/dpg/prompts/partiprompts237.txt
deleted file mode 100644
index b0e91b4b387fb79c81fb80aef18287bcbd59bbac..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts237.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene unfolds in a lecture hall where a donkey, adorned in a vibrant clown costume complete with a ruffled collar and a pointed hat, stands confidently at the podium. The donkey is captured in a high-resolution photo, addressing an audience of attentive students seated in rows of wooden desks. Behind the donkey, a large blackboard is filled with complex mathematical equations, hinting at the serious nature of the lecture juxtaposed with the humorous attire of the lecturer.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts238.txt b/code/evaluations/dpg/prompts/partiprompts238.txt
deleted file mode 100644
index c7fea6f83f6b832e82af32437682610e86a64b31..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts238.txt
+++ /dev/null
@@ -1 +0,0 @@
-A warm and inviting living room featuring a plush beige couch with a colorful throw pillow. Above the couch hangs a whimsical painting of a corgi, framed in a simple black frame that contrasts with the light-colored wall. In front of the couch, a round wooden coffee table holds a clear vase filled with fresh flowers, adding a touch of nature to the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts239.txt b/code/evaluations/dpg/prompts/partiprompts239.txt
deleted file mode 100644
index 1d5e5a80b31b35109ba19aecb367ef12060ea604..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts239.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious room with a high ceiling, where a single, narrow beam of natural light streams down from a small skylight above. This focused beam of light casts a warm glow upon an easel standing directly beneath it. Mounted on the easel is a detailed Rembrandt-style painting, depicting the intricate features of a raccoon's face, which is highlighted by the light against the otherwise dim surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts24.txt b/code/evaluations/dpg/prompts/partiprompts24.txt
deleted file mode 100644
index 22643d4be1d46a812a382b38fb15ceed6de2f652..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal landscape where the iconic skyline of downtown Manhattan, with its towering skyscrapers and bustling streets, is juxtaposed against the majestic backdrop of Mount Everest, its peak shrouded in snow and clouds. In the foreground, the ancient Great Pyramid of Giza stands solitary, its limestone blocks weathered to a golden hue, casting a long shadow in the direction of the urban architecture. This unusual combination of human-made wonders spans different continents and eras, creating a striking and imaginative scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts240.txt b/code/evaluations/dpg/prompts/partiprompts240.txt
deleted file mode 100644
index 2cca2dfc5e902ff37d94f40512420a50d875ce5e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts240.txt
+++ /dev/null
@@ -1 +0,0 @@
-a gathering of several cats with various coat patterns sitting attentively around a small table. A whiteboard stands in the background with the phrase "stack more layers" scrawled across it in bold, black marker. The room is filled with miniature chairs and a tiny coffee mug placed at the center of the table, suggesting an organized feline meeting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts241.txt b/code/evaluations/dpg/prompts/partiprompts241.txt
deleted file mode 100644
index 0725147ef0dfa37505645d83be50184400227252..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts241.txt
+++ /dev/null
@@ -1 +0,0 @@
-A living room scene featuring an overturned glass of red wine on a beige fabric couch. The spilled wine has created an accidental pattern on the couch's surface, whimsically resembling the word "OOPS". The couch is positioned next to a small wooden side table, upon which rests an open book and a remote control, untouched by the spill.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts242.txt b/code/evaluations/dpg/prompts/partiprompts242.txt
deleted file mode 100644
index 95ec581f46c9c89e3d9f598465b4038558a03fce..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts242.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious living room features an unlit fireplace with a sleek, flat-screen television mounted above it. The television screen displays a heartwarming scene of a lion embracing a giraffe in a cartoon animation. The mantle of the fireplace is adorned with decorative items, including a small clock and a couple of framed photographs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts243.txt b/code/evaluations/dpg/prompts/partiprompts243.txt
deleted file mode 100644
index ff47f68b98f84c5a7d27338760944b7fe542affc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts243.txt
+++ /dev/null
@@ -1 +0,0 @@
-a sizable gift box wrapped in shimmering silver paper and secured with a glossy red ribbon, positioned to the left of a lush green Christmas tree adorned with twinkling lights and golden ornaments. The tree stands on a soft, white tree skirt that contrasts with the dark wooden floor, and scattered around are smaller presents adding to the festive scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts244.txt b/code/evaluations/dpg/prompts/partiprompts244.txt
deleted file mode 100644
index 6028c7980403cba3ef7694ebc825830bc70a99fe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts244.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious room featuring a deep blue wall that serves as the backdrop for an expansive framed watercolor painting. The artwork depicts a serene mountain landscape with subtle hues of green and blue, suggesting a peaceful natural setting. Below the painting, a small wooden table holds a decorative vase with dried flowers, complementing the room's aesthetic.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts245.txt b/code/evaluations/dpg/prompts/partiprompts245.txt
deleted file mode 100644
index ab2fc16f3fdb2c56f17a634c4c9595170287b15f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts245.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious room featuring a large painting of the Statue of Liberty prominently displayed on the main wall. Two modern chairs with sleek, silver frames and black cushions are positioned facing the artwork, creating a simple yet elegant seating area. The floor beneath is a polished hardwood, reflecting the soft light that filters into the room from a nearby window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts246.txt b/code/evaluations/dpg/prompts/partiprompts246.txt
deleted file mode 100644
index dba8f931556e1d6da973791841cf0ae99de0673e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts246.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious living room featuring a towering Egyptian statue situated in the corner, its surface a blend of gold and azure hues. The room is furnished with a plush beige sofa and a glass coffee table in the center. Along the walls, bookshelves filled with an array of books add a cozy feel to the space.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts247.txt b/code/evaluations/dpg/prompts/partiprompts247.txt
deleted file mode 100644
index 66483409a5184cb4a34fab9348c987aaf32017d4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts247.txt
+++ /dev/null
@@ -1 +0,0 @@
-a bright yellow wall serves as the backdrop for an impressive, large framed oil painting, which vividly depicts a vintage car in shades of red and chrome. The painting is positioned at eye level and is flanked by two small wall-mounted lamps that cast a soft glow, accentuating the colors and details of the artwork. Below the painting, a narrow console table with a glossy finish reflects the light, enhancing the overall visual impact of the display.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts248.txt b/code/evaluations/dpg/prompts/partiprompts248.txt
deleted file mode 100644
index d43c462e5c5b748ca6290c0cfdb4338114dca964..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts248.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large, bold sign with the words 'KEEP OFF THE GRASS' is painted in white letters on a weathered brick wall. The wall has a rough texture and shows signs of age with some bricks slightly chipped and discolored. In front of the wall, there's a small strip of green grass that appears well-maintained, contrasting with the urban backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts249.txt b/code/evaluations/dpg/prompts/partiprompts249.txt
deleted file mode 100644
index ee39619b840d1766944b20b74cbde0e3bada6879..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts249.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sparse kitchen interior featuring natural wood cabinets and pristine white appliances, including a refrigerator and an oven. The space is characterized by clean lines and a minimalist aesthetic, with a light-colored tile backsplash complementing the simplicity of the room. The wooden cabinets have sleek, modern handles, and the absence of clutter on the countertops accentuates the room's spacious feel.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts25.txt b/code/evaluations/dpg/prompts/partiprompts25.txt
deleted file mode 100644
index ac63df687c8159bcdc5da8a451d53311f1bc9f7b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts25.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative scene where the iconic Sydney Opera House, with its white sail-like shells, sits prominently on the left. To the right, the Eiffel Tower, constructed of intricate iron lattice work, towers over the landscape. Behind both landmarks, the majestic Mount Everest looms, its snow-capped peak piercing the sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts250.txt b/code/evaluations/dpg/prompts/partiprompts250.txt
deleted file mode 100644
index ba4ad4679074c63fbcba53d07fd6c662ae1848ad..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts250.txt
+++ /dev/null
@@ -1 +0,0 @@
-a festive array of red and yellow balloons tied with curling ribbons, gently bobbing from the breeze of a spinning ceiling fan. The fan has wooden blades and a brass finish, which contrasts with the bright colors of the balloons. The balloons are clustered in a joyful bunch, casting soft shadows on the ceiling above.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts251.txt b/code/evaluations/dpg/prompts/partiprompts251.txt
deleted file mode 100644
index 2413cb5487016062d4b21ef6fce961180677ca5e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts251.txt
+++ /dev/null
@@ -1 +0,0 @@
-A grand piano with a glossy black finish, its lid propped open to reveal the intricate inner workings. Resting on the music stand is an open songbook, its pages filled with musical notations above the ivory keys. The piano sits in a room with hardwood floors and a high ceiling, which enhances the instrument's rich sound.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts252.txt b/code/evaluations/dpg/prompts/partiprompts252.txt
deleted file mode 100644
index f2f3bd55f8f92ea89ac5f04bac6f903b75a47522..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts252.txt
+++ /dev/null
@@ -1 +0,0 @@
-a rustic wood cabin nestled in a clearing, its dark brown logs contrasting with the bright green of the surrounding grass. In front of the cabin, there's a circular fire pit made of stacked stones, with a few wooden benches arranged around it. The fire pit is currently unlit, and a stack of chopped firewood is neatly piled to one side, ready for use.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts253.txt b/code/evaluations/dpg/prompts/partiprompts253.txt
deleted file mode 100644
index f3493d003a96c7d541d03712ac9f22d31f5bc5bc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts253.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious living area featuring a large flat-screen television mounted on a pale wall, directly above a sleek, black entertainment console. In front of the television, there is a rectangular coffee table made of dark wood, surrounded by a comfortable beige sofa and two matching armchairs. The table is adorned with a small potted plant and a few magazines neatly arranged to one side.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts254.txt b/code/evaluations/dpg/prompts/partiprompts254.txt
deleted file mode 100644
index 988fdc6f3ce6c75424f997a1fd601e2244896f25..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts254.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant ceiling fan with intricately designed blades, suspended from a high ceiling. The fan is equipped with an ornate light fixture that features delicate glass panels and brass accents. The light casts a warm glow that reflects off the polished wooden floor below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts255.txt b/code/evaluations/dpg/prompts/partiprompts255.txt
deleted file mode 100644
index cadda3563111b0cb5060804dcf6a180c1a75aec8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts255.txt
+++ /dev/null
@@ -1 +0,0 @@
-a grand piano, its glossy black surface partially obscured by the warm glow of multicolored Christmas lights draped across it. The piano stands in a room with hardwood floors and a high ceiling, giving it an elegant presence. Nearby, a green potted plant adds a touch of life to the scene, contrasting with the piano's ebony finish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts256.txt b/code/evaluations/dpg/prompts/partiprompts256.txt
deleted file mode 100644
index 9042d6f7bd1309128d76ddeeba327bea034610d5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts256.txt
+++ /dev/null
@@ -1 +0,0 @@
-a quaint kitchen space with a small white goat standing amidst the appliances and cabinetry. The cabinets are a pale shade of wood, and the countertops are a matching white, cluttered with various kitchen utensils and a bowl of fresh vegetables. Sunlight streams in through a window above the sink, casting a warm glow on the goat and the tiled flooring.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts257.txt b/code/evaluations/dpg/prompts/partiprompts257.txt
deleted file mode 100644
index 061c9e13356d92b0eb5c9a7d91457d8cc8c02cbe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts257.txt
+++ /dev/null
@@ -1 +0,0 @@
-a rectangular wooden coffee table situated in the center of a living room, with a glossy lifestyle magazine spread open on its surface. The table also features a small potted plant with vibrant green leaves, adding a touch of nature to the setting. Around the table, a plush beige carpet can be seen, complementing the warm tones of the room's decor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts258.txt b/code/evaluations/dpg/prompts/partiprompts258.txt
deleted file mode 100644
index 6d75fcaa8f9916d47f4be50f7652357254d5a51a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts258.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious kitchen featuring a large stainless steel refrigerator with a double-door design. The refrigerator stands next to sleek, dark wooden cabinets that reach up to the ceiling. In front of the refrigerator, there is a kitchen island with a white marble countertop, and hanging above are three modern pendant lights with a brushed metal finish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts259.txt b/code/evaluations/dpg/prompts/partiprompts259.txt
deleted file mode 100644
index 4a58d1ded3adc8bfe8a5af28725fbaea24bdcceb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts259.txt
+++ /dev/null
@@ -1 +0,0 @@
-a collection of various laptops with different sizes and colors, stacked haphazardly on a plush beige sofa. The sofa is positioned against a white wall, and the laptops appear to be in a state of disuse with some open and others closed. Nearby, a small wooden coffee table holds a single potted plant, adding a touch of greenery to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts26.txt b/code/evaluations/dpg/prompts/partiprompts26.txt
deleted file mode 100644
index f05dcb6dfb9215e5b91bee82548a1e5c6cc51007..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts26.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal and unlikely scene where the iconic Millennium Wheel, with its towering white and blue structure, stands adjacent to the green-hued Statue of Liberty, which raises its torch high into the sky. In the background, the intricate spires of the Sagrada Familia church rise majestically, showcasing its unique architectural blend of Gothic and Art Nouveau styles. The three landmarks are juxtaposed in a way that defies their geographical realities, creating a fantastical skyline.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts260.txt b/code/evaluations/dpg/prompts/partiprompts260.txt
deleted file mode 100644
index 10491d357301675399dbae1ea5fc7a16b19792d8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts260.txt
+++ /dev/null
@@ -1 +0,0 @@
-three violins with a glossy finish and delicate strings lying side by side on a polished hardwood floor. the instruments, each with a rich brown color and unique wood grain patterns, are positioned near a black music stand. natural light from a nearby window casts soft shadows around the violins, highlighting their elegant curves.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts261.txt b/code/evaluations/dpg/prompts/partiprompts261.txt
deleted file mode 100644
index 34b9aebbef04438f305e5938014e9a817f771633..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts261.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek black grand piano sits majestically in the center of the room, its polished surface reflecting the overhead lights. Adjacent to it is a white bench with curved legs, positioned perfectly for a pianist to sit and play. The piano's open lid reveals the intricate strings and hammers inside, ready to produce melodious sounds.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts262.txt b/code/evaluations/dpg/prompts/partiprompts262.txt
deleted file mode 100644
index 47a6cfe681a538605cee0e81dc88f95533c8e3a6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts262.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, silver robot with articulated arms is standing in a modern kitchen, surrounded by stainless steel appliances. It is carefully stirring a pot on the stove, which is filled with a colorful mixture of vegetables. The countertops are neatly arranged with various cooking utensils and ingredients, including a cutting board with freshly chopped herbs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts263.txt b/code/evaluations/dpg/prompts/partiprompts263.txt
deleted file mode 100644
index a58281b7d7f2377001a8b460c5733c5f075a8b8c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts263.txt
+++ /dev/null
@@ -1 +0,0 @@
-two grand pianos with glossy black finishes are positioned adjacent to each other in a spacious room with high ceilings. each piano is open, revealing the intricate strings and hammers inside, and the polished wood reflects the overhead lighting. between the pianos, there's a narrow walkway, and a red velvet curtain can be seen in the background, suggesting a performance area or a music hall setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts264.txt b/code/evaluations/dpg/prompts/partiprompts264.txt
deleted file mode 100644
index a39e67a79f22f1ed37f5d7f31aae2a48aeed07e3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts264.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two ceramic cups filled with steaming coffee are placed on a wooden table with a natural grain finish. The cup on the left showcases intricate latte art spelling out the word "LOVE" with a heart-shaped design, while the cup on the right has the word "PEACE" beautifully crafted atop its frothy surface. Both cups have a glossy finish, and the warm lighting accentuates the creamy texture of the latte art.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts265.txt b/code/evaluations/dpg/prompts/partiprompts265.txt
deleted file mode 100644
index d2eea46f76c0cea5a852edb4b57a304a03637fe7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts265.txt
+++ /dev/null
@@ -1 +0,0 @@
-a metallic humanoid robot with a sleek silver finish is captured in mid-air, its limbs splayed out in a dramatic fashion. the robot is surrounded by a vibrant array of Easter eggs, each painted in bright, glossy hues of pink, blue, yellow, and green. the eggs are scattered haphazardly on the lush green grass beneath the robot, creating a stark contrast with the android's chrome appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts266.txt b/code/evaluations/dpg/prompts/partiprompts266.txt
deleted file mode 100644
index 888aa20fc7c83786a2fcf8caa6e4593c2f25807c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts266.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal image of a clear glass light bulb adrift in the vast expanse of outer space, its filament replaced by a miniature sailing boat with white sails unfurled. The light bulb, seemingly floating among the stars and nebulae, casts a subtle glow that illuminates the delicate features of the boat within. Surrounding the bulb, the cosmos stretches out in shades of deep blues and purples, speckled with the twinkling of distant stars.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts267.txt b/code/evaluations/dpg/prompts/partiprompts267.txt
deleted file mode 100644
index 3c31eac0e0b442957d5a4f366edb432d634cc9b6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts267.txt
+++ /dev/null
@@ -1 +0,0 @@
-A towering robot with a head shaped like an oversized coffee cup looms over a city street, its metallic body reflecting the sunlight. One of its colossal feet is planted firmly on a crushed red sedan, crumpling the vehicle beneath its weight. The robot's arms, equipped with articulated joints, are poised as if ready for action, while around it, the street is scattered with debris from the chaos.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts268.txt b/code/evaluations/dpg/prompts/partiprompts268.txt
deleted file mode 100644
index e7c22bc3bffb9d3eb7692b4b1b42b5ec6b2d7b61..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts268.txt
+++ /dev/null
@@ -1 +0,0 @@
-a striking propaganda poster featuring a cat with a sly expression, dressed in an elaborate costume reminiscent of French Emperor Napoleon Bonaparte. The feline figure is holding a large, yellow wedge of cheese as if it were a precious treasure. The background of the poster is a bold red, with ornate golden details that give it an air of regal authority.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts269.txt b/code/evaluations/dpg/prompts/partiprompts269.txt
deleted file mode 100644
index 50e053ec096037797da77c8d1281912cfd15e72e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts269.txt
+++ /dev/null
@@ -1 +0,0 @@
-Looking up from a low angle, a tall white ladder with a single rung is propped against a textured yellow brick wall. The ladder's shadow casts a long, dark line across the bricks, hinting at the late afternoon sun. The wall shows signs of age with some bricks slightly eroded, giving it a rugged appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts27.txt b/code/evaluations/dpg/prompts/partiprompts27.txt
deleted file mode 100644
index 8c5be29de5e567a185cd51fdb0ea0d760cb26b48..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts27.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed Persian metal engraving vase, showcasing intricate patterns and designs, rests to the left side of a vibrant bouquet of orange flowers. The vase, with its silver sheen and traditional craftsmanship, sits on a polished wooden table. The orange petals of the flowers provide a stark contrast to the metallic tones of the vase, creating a visually appealing composition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts270.txt b/code/evaluations/dpg/prompts/partiprompts270.txt
deleted file mode 100644
index 5db5284af83f588a1c9d7910dc9d1e53c279fae1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts270.txt
+++ /dev/null
@@ -1 +0,0 @@
-A row of waste disposal bins neatly aligned against a concrete wall, with a brown trash bin in the center. To its left, there is a green compost bin marked with recycling symbols, and to its right stands a blue recycling bin designated for paper and plastics. The bins are situated on a gray pavement, and each has a label indicating its specific use for waste segregation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts271.txt b/code/evaluations/dpg/prompts/partiprompts271.txt
deleted file mode 100644
index a790b94dfc43a3454e64938131e33313f6e9b429..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts271.txt
+++ /dev/null
@@ -1 +0,0 @@
-a neatly printed quote, 'Do unto others as they would do unto you,' in a simple black font centered on a pristine white canvas. The text is surrounded by a thin black border, and the canvas is positioned against a light grey wall. Just below the quote, in smaller letters, the source of the saying is attributed, adding a touch of elegance to the presentation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts272.txt b/code/evaluations/dpg/prompts/partiprompts272.txt
deleted file mode 100644
index 0a45cfb2d58840e475141d881b1400333f6210fa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts272.txt
+++ /dev/null
@@ -1 +0,0 @@
-A massive, red-striped ball made of lightweight styrofoam, careened into a small, round wooden table, causing it to collapse under the unexpected force. The table, previously adorned with a delicate lace tablecloth and a ceramic vase, now lies in disarray with the broken vase and scattered flowers beside the remnants of the table. The ball, seemingly unscathed by the collision, rests awkwardly against the splintered wood of the shattered table.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts273.txt b/code/evaluations/dpg/prompts/partiprompts273.txt
deleted file mode 100644
index ffabd7bf87a5bac78c67cfc0b0bb6211a839fb90..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts273.txt
+++ /dev/null
@@ -1 +0,0 @@
-A smooth, rectangular bar of dark chocolate lying on a white marble surface, with the ironic word "WRAPPER" embossed on its surface in bold letters. The chocolate bar, with its neatly segmented squares, is unwrapped and ready to be broken apart and enjoyed. Surrounding the bar, there are faint traces of its former gold foil wrapper, crinkled and pushed aside.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts274.txt b/code/evaluations/dpg/prompts/partiprompts274.txt
deleted file mode 100644
index 182f31501c78cbf9113a8d408f7ee4d838f3144c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts274.txt
+++ /dev/null
@@ -1 +0,0 @@
-A unique, high-contrast painting depicting an espresso machine with a dark, almost sinister appearance, as if it were crafted from shadows and whispers. The machine stands out against a stark white background, its spouts resembling outstretched hands, ready to brew a concoction from the very essence of human souls. The artwork conveys a surreal and eerie atmosphere, where the machine becomes an otherworldly artifact with a power beyond mere coffee making.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts275.txt b/code/evaluations/dpg/prompts/partiprompts275.txt
deleted file mode 100644
index 3d14bafc83eb2a1564187fc10abe55ae4fa75657..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts275.txt
+++ /dev/null
@@ -1 +0,0 @@
-An innovative water sculpture shaped like a flat-screen television stands in the center of a dimly lit room. The liquid crystal display, made entirely of cascading water, presents a luminous cityscape at night, with twinkling lights from skyscrapers and a reflection of the moon on the water's surface. Surrounding the unique installation, the floor is tiled in dark hues, accentuating the ethereal glow of the projected urban scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts276.txt b/code/evaluations/dpg/prompts/partiprompts276.txt
deleted file mode 100644
index 31923dc86e2d2bcbc569ecd271cbca7d434f5e79..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts276.txt
+++ /dev/null
@@ -1 +0,0 @@
-Long: Scattered across the dark wooden floor are long, jagged shards of a shattered mirror, each piece reflecting the intense, yellow eyes of a great horned owl perched nearby. The owl's feathers are a mix of deep browns and soft grays, and it sits stoically on the branch of an indoor plant. The room is dimly lit, casting a moody glow that enhances the sharpness of the mirror fragments and the piercing gaze of the owl.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts277.txt b/code/evaluations/dpg/prompts/partiprompts277.txt
deleted file mode 100644
index a93913a469417cad22669583b5776da773edf907..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts277.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking piece of street art depicting a white robot with a vibrant red mohawk, painted against the rough texture of a red brick wall. The robot's eyes are detailed with a piercing blue, contrasting sharply with the warm tones of the bricks. Around the robot, the wall is adorned with various tags and smaller pieces of graffiti, adding to the urban tapestry of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts278.txt b/code/evaluations/dpg/prompts/partiprompts278.txt
deleted file mode 100644
index a7f7e056e9e0c9535a163a0e8c8bf1041481154b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts278.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two violins with rich, brown varnish are standing upright, their necks leaning against a light-colored wooden chair. The bows are placed carefully on the ground in front of them, with the horsehair facing upwards. The instruments cast soft shadows on the polished floor, hinting at the natural light entering the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts279.txt b/code/evaluations/dpg/prompts/partiprompts279.txt
deleted file mode 100644
index 1f275ac78b5888cded96c9b4c8ab59d065a461e4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts279.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gleaming golden trophy with intricate engravings stands too tall to fit inside a small, worn brown leather suitcase that lies open on the floor. The suitcase, cluttered with clothes and other personal items, cannot accommodate the trophy's wide base and elongated handles. The surrounding space is cramped, with other travel accessories and a pair of shoes scattered nearby, indicating a packing process interrupted by the realization that the trophy must be transported separately.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts28.txt b/code/evaluations/dpg/prompts/partiprompts28.txt
deleted file mode 100644
index 7bc8563cc813112f930ec03b66342c5faea026dd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts28.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate culinary creation, a map of the United States crafted entirely out of assorted sushi pieces, is displayed on a large, round white plate. The plate sits on a dark wooden table, accompanied by a tall glass of red wine to its right, casting a slight shadow on the polished surface. Each state is represented by a different type of sushi, offering a colorful and textured mosaic of rice, seaweed, and various fish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts280.txt b/code/evaluations/dpg/prompts/partiprompts280.txt
deleted file mode 100644
index 7d64c0b2a2fe846a2553b7f09e44bd041d52e9b2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts280.txt
+++ /dev/null
@@ -1 +0,0 @@
-a close-up image of a wooden fiddle with fine grain details, resting beside an orange basketball on the green surface of a ping pong table. The table has white boundary lines and a net stretched taut in the center. In the background, there's a blurred view of a room with a gray floor and a stack of folded chairs against the wall.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts281.txt b/code/evaluations/dpg/prompts/partiprompts281.txt
deleted file mode 100644
index 26e04afed052fecbed28cfeb105a6a6e45544d09..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts281.txt
+++ /dev/null
@@ -1 +0,0 @@
-An outdoor scene featuring a textured gravel driveway where a bright orange basketball rests to the left of two black and white soccer balls. The driveway is bordered by a patch of green grass, and the balls cast soft shadows on the ground due to the overhead sunlight. In the background, there is a glimpse of a wooden fence that marks the boundary of the property.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts282.txt b/code/evaluations/dpg/prompts/partiprompts282.txt
deleted file mode 100644
index 7fe93abc7a60f281512f4f1a808f0f41c4534efd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts282.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant lavender backpack with a plush triceratops head peeking out from the top, its green eyes and three distinct horns adding a playful touch. The backpack is made of a soft, velvety material and is resting against a pale wooden bench. Around it, there are scattered crayons and a few sheets of paper with childlike drawings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts283.txt b/code/evaluations/dpg/prompts/partiprompts283.txt
deleted file mode 100644
index c4425ebfb55034cacd9574ef352e1bb3471947b3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts283.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricate oil painting depicting a colossal robot constructed from an assortment of sushi pieces, wielding a pair of oversized wooden chopsticks. The robot stands against a backdrop of a futuristic cityscape, with its sushi components meticulously detailed to show the texture of rice and seaweed. The chopsticks in the robot's grasp are elegantly positioned as if ready to pluck a piece of sushi from a hovering platter.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts284.txt b/code/evaluations/dpg/prompts/partiprompts284.txt
deleted file mode 100644
index 5064ec090e47e3644d65fb75f6894faa2c00fd70..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts284.txt
+++ /dev/null
@@ -1 +0,0 @@
-Three robots of varying hues are positioned in a row, each with a distinct and sleek design. The white robot on the left boasts a glossy finish and rounded edges, while the central red robot has a more angular form with matte surfaces. To the right, the black robot stands with a metallic sheen, its articulated joints suggesting advanced mobility. They are all placed on a smooth, gray concrete floor, and behind them is a plain wall with a few cables hanging neatly arranged.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts285.txt b/code/evaluations/dpg/prompts/partiprompts285.txt
deleted file mode 100644
index 4acec2bcd6539ac2360bc3d2c8e9f0117dc578d9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts285.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delicate, spherical glass sculpture with intricate blue and green patterns, previously perched on a wooden shelf, has tumbled to the floor due to the lack of secure anchoring. The shelf, lined with various other art pieces, stands against a pale yellow wall. The fallen sculpture now lies near a potted fern, its position suggesting the quiet aftermath of the incident.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts286.txt b/code/evaluations/dpg/prompts/partiprompts286.txt
deleted file mode 100644
index 56e94ce71aeb42fbfe4a5dee2688b9e82ac60bd3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts286.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bright yellow, diamond-shaped traffic sign stands out with a black silhouette of a wooly mammoth prominently displayed in its center. The sign's edges are slightly worn, indicating it has withstood the elements over time. It is mounted on a metal pole beside a road that meanders through a grassy area with a few scattered trees.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts287.txt b/code/evaluations/dpg/prompts/partiprompts287.txt
deleted file mode 100644
index 7950fecc08548783ed8bfd71ba5ea364f9b63157..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts287.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two well-worn baseballs, their white leather stained and scuffed from use, rest on a wooden floor on either side of a vibrant yellow basketball. The basketball, with its pebbled texture and black lines, stands out in contrast to the muted tones of the baseballs. The trio of sports equipment is casually arranged, suggesting a recent game or practice session.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts288.txt b/code/evaluations/dpg/prompts/partiprompts288.txt
deleted file mode 100644
index a830f70fed48db9fd9d19dd9d4013ac2814b283b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts288.txt
+++ /dev/null
@@ -1 +0,0 @@
-A spacious, open book lies flat on a wooden table, its pages filled with blocks of text and a large, detailed illustration of a cat on the right side. The illustration depicts a gray feline with intricate patterns, lounging amidst a backdrop of sketched furniture. The left page is densely packed with small, black font, narrating a story that accompanies the image, and the edges of the book's pages show signs of frequent use.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts289.txt b/code/evaluations/dpg/prompts/partiprompts289.txt
deleted file mode 100644
index 89fc2ce2e810ff020f3cc56da3b6f30116c6d6fe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts289.txt
+++ /dev/null
@@ -1 +0,0 @@
-An exquisite mahogany chair with intricate carvings stands prominently in the room. The chair features a high back with elaborate designs and a plush red cushion that provides a stark contrast to the dark wood. Its legs are elegantly curved, adding to the overall sophistication of the piece. The texture of the cushion looks soft and inviting, beckoning one to sit and enjoy the comfort it offers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts29.txt b/code/evaluations/dpg/prompts/partiprompts29.txt
deleted file mode 100644
index d78770af364474ad121380424bb9b2cdea45ecc5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts29.txt
+++ /dev/null
@@ -1 +0,0 @@
-a traditional kachina doll stands with its intricate feathers adorning its head, creating a vibrant crown of colors. It is dressed in a ceremonial white dress with detailed patterns, and its feet are clad in meticulously crafted brown boots. The doll is positioned against a plain backdrop, which accentuates its detailed craftsmanship and the rich cultural heritage it represents.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts290.txt b/code/evaluations/dpg/prompts/partiprompts290.txt
deleted file mode 100644
index 558a802af1efb46acdbf805d1028cde16683330c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts290.txt
+++ /dev/null
@@ -1 +0,0 @@
-a spacious square where a large, weathered stone pedestal stands prominently at the center, devoid of the horse statue that once adorned it. The pedestal's surface is rough and covered with patches of moss, indicating its age and exposure to the elements. Around the base, cobblestones are laid in a pattern that radiates outward, suggesting the importance of the now-absent statue.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts291.txt b/code/evaluations/dpg/prompts/partiprompts291.txt
deleted file mode 100644
index 481be8b056036749efe96393cda0b3b2b87d7bfe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts291.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two flags are flying side by side against a clear sky; the first is a white flag emblazoned with a bold red circle in its center, while the second is a solid blue flag with no markings. The flags are attached to grey metal poles that stand in close proximity to each other, creating a striking contrast of colors. The fabric of the flags ripples gently in the breeze, highlighting their distinct and vibrant hues.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts292.txt b/code/evaluations/dpg/prompts/partiprompts292.txt
deleted file mode 100644
index 6e5ce4065de299f0380a7222b15c1542e7855025..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts292.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek, metallic robot with articulated joints and glowing blue eyes stands holding a large, rectangular sign with bold, colorful letters that spell out "Let's PAINT!" The robot's silver surface reflects the bright lights of the room, and it is positioned next to an array of paint cans in vibrant hues, neatly arranged on a tarp-covered floor. Behind the robot, a blank canvas on an easel awaits the first stroke of creativity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts293.txt b/code/evaluations/dpg/prompts/partiprompts293.txt
deleted file mode 100644
index bdbdee15bafe9a9737c40d16ec1f43ef1cdbae64..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts293.txt
+++ /dev/null
@@ -1 +0,0 @@
-a small brown football rests on a green surface, positioned in front of a trio of bright yellow tennis balls that are neatly aligned. The football's laces are prominently displayed, contrasting with the smooth, fuzzy texture of the tennis balls. In the background, there is a blurred net, suggesting the proximity of a sports field or court.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts294.txt b/code/evaluations/dpg/prompts/partiprompts294.txt
deleted file mode 100644
index 2209cd91e09c1fe5728bd779093778efa995ab14..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts294.txt
+++ /dev/null
@@ -1 +0,0 @@
-a whimsical illustration of a small, white baby daikon radish with rosy cheeks and green shoots atop its head, donning a pink, frilly tutu. It is walking a brown, fluffy dog on a red leash, which looks up at the radish with a playful expression. The background features a simple, pastel-colored path that winds through a grassy field.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts295.txt b/code/evaluations/dpg/prompts/partiprompts295.txt
deleted file mode 100644
index 6e790befec870e43e150ebef7fc6e8e93f455946..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts295.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant flower with large, crimson petals and a bright yellow center, standing in stark contrast to the moon's barren, grey surface. The flower's delicate texture is a surprising sight amidst the moon's craters and dust. In the background, the Earth can be seen rising, a swirl of blue and white, providing a breathtaking backdrop to this surreal lunar scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts296.txt b/code/evaluations/dpg/prompts/partiprompts296.txt
deleted file mode 100644
index c65919eb32c58b531af7d4c5aceeee3092572f72..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts296.txt
+++ /dev/null
@@ -1 +0,0 @@
-A peculiar tree with a trunk that twists slightly as it rises stands in the center of a garden. Its branches are adorned with square-shaped, blue apples that hang amidst circular, bright yellow leaves. The contrast between the unconventional fruit and the vibrant foliage creates a striking visual against the backdrop of a clear sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts297.txt b/code/evaluations/dpg/prompts/partiprompts297.txt
deleted file mode 100644
index c69d347ead9d364facef86a6ceccf8df3059cd30..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts297.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant apple tree with a sturdy brown trunk, its branches laden with bright red, square-shaped apples, each one distinct in its geometric form. The tree is surrounded by a lush canopy of circular, green leaves that contrast sharply with the unusual shape of the fruit. Sunlight filters through the foliage, casting dappled shadows on the ground below.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts298.txt b/code/evaluations/dpg/prompts/partiprompts298.txt
deleted file mode 100644
index d7cb38975cef419806abf05536293713d6e7a329..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts298.txt
+++ /dev/null
@@ -1 +0,0 @@
-A unique tree stands with its branches adorned with leaves that resemble vibrant purple balloons, glistening in the sunlight. The tree's trunk is a deep brown with a rough texture, contrasting sharply with the smooth, balloon-like foliage. Around the base of the tree, a bed of green grass provides a natural carpet, setting off the whimsical appearance of the tree's unusual leaves.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts299.txt b/code/evaluations/dpg/prompts/partiprompts299.txt
deleted file mode 100644
index 7f70632435d14d1fda7bdaadeed8ba7d0193a761..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts299.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall, leafy tree casting its reflection on the glass sunroof of a parked blue sedan. The car's glossy paintwork accentuates the tree's intricate silhouette, and the sunroof provides a clear, mirror-like surface that captures the sky and branches above. Around the vehicle, the pavement is speckled with small shadows from the tree's leaves, hinting at the calm, breezy day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts3.txt b/code/evaluations/dpg/prompts/partiprompts3.txt
deleted file mode 100644
index b7354b9957ae8b2227cd5b495dcade61937b4e1a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts3.txt
+++ /dev/null
@@ -1 +0,0 @@
-An anime-style illustration depicts a whimsical scene where a kangaroo, rendered in vibrant shades of brown and tan, clutches a rectangular sign with the words "Starry Night" scrawled across it in bold, whimsical lettering. The kangaroo is seated comfortably in front of the iconic Sydney Opera House, its distinctive white sail-like structures contrasting sharply with the deep blue of the night sky. To the kangaroo's side, the Eiffel Tower looms, its iron lattice silhouette adding to the surreal composition. Above, the sky is alive with dynamic swirls of blue and bursts of radiant yellow stars, capturing the essence of a dreamlike cosmic event.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts30.txt b/code/evaluations/dpg/prompts/partiprompts30.txt
deleted file mode 100644
index 2b4c56cac87290b4c1c9dd0d7d3b54371656e6b0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts30.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately arranged wooden charcuterie board is adorned with an assortment of farm animal figurines, each skillfully crafted from various types of cheese and slices of ham. The cows, sheep, and pigs are positioned amidst a landscape of crackers and grapes, creating a playful barnyard scene. In the background, a brown dog with perked ears and a glossy coat sits attentively, its gaze fixed on the edible menagerie with an unmistakable look of longing.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts300.txt b/code/evaluations/dpg/prompts/partiprompts300.txt
deleted file mode 100644
index 0a782b852235d70d5ae2edbe2fad9a348d1d4760..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts300.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant arrangement of blue and yellow flowers, with delicate petals and lush green stems, placed in a clear glass vase. The vase is situated on a polished wooden table, which reflects the soft light illuminating the room. Around the vase, there are a few scattered leaves, adding a touch of natural charm to the setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts301.txt b/code/evaluations/dpg/prompts/partiprompts301.txt
deleted file mode 100644
index 5d533e1bc0e50ea056aa44c7daaaac49fecbab03..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts301.txt
+++ /dev/null
@@ -1 +0,0 @@
-a potted plant with delicate small flowers featuring vibrant purple petals sits on a wooden windowsill. the plant's green leaves are lush and interspersed among the flowers, creating a contrast against the light-colored wall behind it. sunlight filters through the window, casting a soft glow on the plant's foliage and petals.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts302.txt b/code/evaluations/dpg/prompts/partiprompts302.txt
deleted file mode 100644
index 9e71622e434b0f5150e6e9d833682c3534f80249..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts302.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant plant with star-shaped orange flowers blooming amidst lush green leaves. The plant is potted in a terracotta container that sits on a wooden shelf. Around it, other houseplants contribute to a small indoor garden atmosphere.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts303.txt b/code/evaluations/dpg/prompts/partiprompts303.txt
deleted file mode 100644
index d16f88ae9eaa4590eaaf070386fe6b9533bd504b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts303.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical illustration featuring a small, white baby daikon radish with little green shoots on top, dressed in a pink tutu. The radish character is anthropomorphized with tiny arms and legs, walking a brown dog on a red leash. The dog appears to be a friendly, medium-sized breed with a wagging tail, and they are both on a gray sidewalk next to a grassy area.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts304.txt b/code/evaluations/dpg/prompts/partiprompts304.txt
deleted file mode 100644
index 78a3f54bc1b8f8d12975f5c524ff671b81209f9b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts304.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image of a unique four-leaf clover, intricately formed from droplets of water on a smooth, reflective surface. Each leaf of the clover is perfectly shaped, with the water's surface tension creating a delicate and symmetrical appearance. The background is a soft blur, emphasizing the clarity and detail of the water-formed clover in the foreground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts305.txt b/code/evaluations/dpg/prompts/partiprompts305.txt
deleted file mode 100644
index 36335726372fe6bbc986653f3bc960bc59880bf4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts305.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint garden space featuring a robust apple tree with a sturdy trunk and branches laden with ripe red apples. The garden itself is bordered by a low, stone wall and contains a variety of flowering plants and shrubs. In the foreground, a small wooden bench invites visitors to sit and enjoy the peaceful surroundings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts306.txt b/code/evaluations/dpg/prompts/partiprompts306.txt
deleted file mode 100644
index b5787a37a8dba33553efaa5a4a6f8df21a1a1ccd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts306.txt
+++ /dev/null
@@ -1 +0,0 @@
-A lush green ivy plant with broad leaves, creeping up the side of a weathered red brick wall. The wall has a rough texture, and the plant's tendrils are firmly attached, showcasing the contrast between the organic growth and the man-made structure. Small patches of moss can also be seen interspersed between the bricks, adding to the visual diversity of the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts307.txt b/code/evaluations/dpg/prompts/partiprompts307.txt
deleted file mode 100644
index 5bb04ebf26253fe0c13e2e7840cd655da79fdaf5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts307.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant green plant with broad leaves and a sturdy stem, situated at the bottom of a clear, gently flowing stream. The stream's bed is lined with smooth, multicolored pebbles that glisten under the water. Sunlight filters through the water, casting dappled patterns on the plant and the surrounding rocks.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts308.txt b/code/evaluations/dpg/prompts/partiprompts308.txt
deleted file mode 100644
index b81a2939913bd99d29d48841bfdee78ab35cc550..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts308.txt
+++ /dev/null
@@ -1 +0,0 @@
-a peculiar sight of a tree with vibrant yellow leaves, each leaf delicately edged with hints of autumnal orange. Among the branches hang unusual blue apples, their smooth surfaces reflecting the soft sunlight. The tree stands alone in a field, its roots sprawling across the rich, brown earth.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts309.txt b/code/evaluations/dpg/prompts/partiprompts309.txt
deleted file mode 100644
index b2fdb29a6646c5a5c16f75d46606ddec6fa5381b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts309.txt
+++ /dev/null
@@ -1 +0,0 @@
-a unique flower with delicate pink petals arranged in a circular pattern, at the center of which is an intricate design resembling the face of a cat with green eyes. The flower's texture appears soft and velvety, and it is situated among a bed of green leaves that provide a contrasting backdrop to its whimsical feature.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts31.txt b/code/evaluations/dpg/prompts/partiprompts31.txt
deleted file mode 100644
index 80f75fbe4c486d7be08d2b60fbf2c60019a6c219..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts31.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant and detailed image showcasing a large ceramic bowl filled with steaming ramen, the noodles and broth glistening under the light. Floating amidst the savory dish are several origami boats, each crafted from paper in hues of red, blue, and yellow, adding a whimsical touch to the culinary scene. The bowl sits on a dark wooden table, contrasting with the bright colors of the paper crafts and the rich tones of the ramen ingredients.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts310.txt b/code/evaluations/dpg/prompts/partiprompts310.txt
deleted file mode 100644
index ffb1ae83bd4f7cd43d9f0a791c215ace67f4c5dd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts310.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image of an intricately designed lotus flower, which appears to be crafted entirely from crystal-clear water droplets. The flower is set against a backdrop of soft green lily pads floating on a tranquil pond. Sunlight filters through the scene, highlighting the delicate texture and the shimmering surface of the water-formed petals.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts311.txt b/code/evaluations/dpg/prompts/partiprompts311.txt
deleted file mode 100644
index fcfa6efe2b4e946473bd52cc2d6de6d8b99e1afe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts311.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant garden scene where two red tulips stand out with their bright petals, surrounded by three white daisies with yellow centers. The flowers are nestled among green leaves and stems, with the red tulips slightly taller than the daisies. The arrangement is set against a backdrop of dark soil, hinting at a well-tended garden bed.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts312.txt b/code/evaluations/dpg/prompts/partiprompts312.txt
deleted file mode 100644
index 316a636f73c995e4e94df27916f063866cbbe34d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts312.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant apple tree with a multitude of shiny red apples nestled among lush green leaves. the tree's branches are spread wide, with the sunlight filtering through the foliage and casting dappled shadows on the ground below. some apples hang low enough to be within arm's reach, while others are perched higher up, peeking out from the leafy canopy.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts313.txt b/code/evaluations/dpg/prompts/partiprompts313.txt
deleted file mode 100644
index 437017f641a2db32833dc40deddfc22847456fb2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts313.txt
+++ /dev/null
@@ -1 +0,0 @@
-a picturesque scene featuring a small tree, its branches laden with delicate white blossoms, standing in the center of a lush green lawn. the tree's rounded shape is accentuated by the contrast of the vibrant green leaves against the pure white petals. surrounding the tree, a variety of colorful flowers can be seen, adding to the charm of the tranquil setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts314.txt b/code/evaluations/dpg/prompts/partiprompts314.txt
deleted file mode 100644
index 5e89ae0dbefa70ee99131569ff5900a097bdf263..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts314.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image capturing the intricate details of a maple leaf, which is composed entirely of clear, sparkling water droplets. The leaf is set against a smooth, dark background that accentuates its delicate water structure. The droplets glisten as they cling to the invisible veins of the leaf, creating a natural yet surreal piece of art.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts315.txt b/code/evaluations/dpg/prompts/partiprompts315.txt
deleted file mode 100644
index 96351200a11fd545a90d27d710a66e30ada95cae..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts315.txt
+++ /dev/null
@@ -1 +0,0 @@
-a colorful butterfly-shaped kite entangled among the branches of a tall oak tree. the kite's wings are a vibrant mix of blue and yellow, contrasting with the green leaves. the tree's rough bark and the kite's silky texture are juxtaposed as the kite flutters gently in the breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts316.txt b/code/evaluations/dpg/prompts/partiprompts316.txt
deleted file mode 100644
index f25cfaffb657bf49ff868164685d9dfeb56a490c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts316.txt
+++ /dev/null
@@ -1 +0,0 @@
-A creative image showcasing a palm tree that appears to be crafted entirely out of water, with droplets glistening as they form the shape of the fronds and trunk. The tree stands against a clear blue sky, and the sun's rays seem to dance off the watery surface, giving the illusion of movement. The water-palm is positioned on the left side of the frame, with its reflection subtly visible on the wet sand beneath it.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts317.txt b/code/evaluations/dpg/prompts/partiprompts317.txt
deleted file mode 100644
index 5e1dcd7a7d2346d9caefb6c572a5af4c7230edc1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts317.txt
+++ /dev/null
@@ -1 +0,0 @@
-a cheerful yellow banana with a wide, drawn-on smile, donning a red bandana with white paisley patterns. It's placed against a backdrop of assorted fruits on a light wooden table. The banana's peel is partially opened, revealing its ripe, edible interior.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts318.txt b/code/evaluations/dpg/prompts/partiprompts318.txt
deleted file mode 100644
index f578d1668601a856b65e88cfbb7713d99bff4c91..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts318.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary tree stands in the midst of a grassy field, its branches reaching out in all directions without a single leaf to be seen. The bark of the tree is a rough, gray texture, contrasting with the vibrant green of the grass. Despite the warm season, the tree's bare limbs give it a stark, sculptural appearance against the clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts319.txt b/code/evaluations/dpg/prompts/partiprompts319.txt
deleted file mode 100644
index c37ad8ae9419fff0ff045a02b0a1cc16c609e59d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts319.txt
+++ /dev/null
@@ -1 +0,0 @@
-An up-close image showcasing the intricate interior of a walnut, split cleanly down the middle to reveal its textured, brain-like halves. The walnut's shell exhibits a rich brown color with darker lines marking the divisions, while the nut inside contrasts with its lighter, creamy hue. The cross-section rests against a backdrop of a wooden table with visible grain patterns, highlighting the natural origin of the walnut.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts32.txt b/code/evaluations/dpg/prompts/partiprompts32.txt
deleted file mode 100644
index d406f53321f0f7b87449e915ab150b1c90b9d3c8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts32.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two ceramic cups sit side by side on a marble countertop, one featuring an intricate latte art design of the Eiffel Tower, the other boasting a foamy depiction of the Statue of Liberty. Both cups have a glossy finish, with the Eiffel Tower cup having a delicate, pastel blue hue, while the Statue of Liberty cup is a soft shade of pink. The steam rising from the cups suggests the coffee is freshly brewed, and a silver spoon rests beside each cup, positioned on a small, round saucer.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts320.txt b/code/evaluations/dpg/prompts/partiprompts320.txt
deleted file mode 100644
index c54046f57af0970e8e146d4f7eb77ab7344c1df2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts320.txt
+++ /dev/null
@@ -1 +0,0 @@
-a whimsical scene featuring a bright orange fruit donning a miniature brown cowboy hat with intricate stitching. The orange sits atop a wooden table, its textured peel contrasting with the smooth surface beneath. To the side of the orange, there's a small cactus in a terracotta pot, completing the playful western theme.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts321.txt b/code/evaluations/dpg/prompts/partiprompts321.txt
deleted file mode 100644
index f12e10ac1802f3e4d8e81af9d64f2c8d2a6f69b1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts321.txt
+++ /dev/null
@@ -1 +0,0 @@
-a sturdy tree with a thick trunk and sprawling branches that have intertwined with the metal links of a silver chain-link fence. the fence is partially enveloped by the tree's roots and bark, creating a unique blend of natural and man-made elements. the surrounding area is dotted with green grass and a few scattered wildflowers.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts322.txt b/code/evaluations/dpg/prompts/partiprompts322.txt
deleted file mode 100644
index 876aeeec871d3b5c5b5363a3fc63ff9ce7fff362..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts322.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene at the beach where a pineapple, complete with its spiky green leaves, is balanced atop a vibrant blue wave as if it were surfing. The pineapple's textured, golden-brown skin glistens with droplets of ocean water. In the background, the sandy shore is dotted with colorful beach umbrellas and sunbathers enjoying the sunny day.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts323.txt b/code/evaluations/dpg/prompts/partiprompts323.txt
deleted file mode 100644
index c662e688b854149e3e0973d33528e78d21e6db41..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts323.txt
+++ /dev/null
@@ -1 +0,0 @@
-a large, round orange pumpkin carved with a smiling face, sitting on a wooden table. Inside the hollowed-out pumpkin, a small flickering candle casts a warm glow through the cut-out eyes and mouth. The pumpkin is surrounded by a scattering of fallen autumn leaves.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts33.txt b/code/evaluations/dpg/prompts/partiprompts33.txt
deleted file mode 100644
index 42cac702f42caaa9919be7c527f2a4f1c726eb65..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts33.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative scene unfolds with a castle intricately constructed from golden tortilla chips, its towers and walls standing tall amidst a flowing river of vibrant red salsa. Surrounding the edible fortress, tiny burritos, wrapped in soft tortillas with visible fillings, appear to be animated and meandering along the banks of the salsa river. The entire whimsical landscape is set upon a large plate, suggesting a playful, culinary creation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts34.txt b/code/evaluations/dpg/prompts/partiprompts34.txt
deleted file mode 100644
index 5e1ab94623ef959fe6481ef768ad0fdc9df59e5a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts34.txt
+++ /dev/null
@@ -1 +0,0 @@
-An animated scene where a hamburger with boxing gloves is aggressively confronting a weary hot dog in a miniature boxing ring. The hot dog, adorned with a squiggle of mustard, appears to be on the verge of defeat, leaning heavily against the ropes of the ring. Surrounding the ring are enthusiastic condiment bottles and a cheering crowd of assorted snack foods.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts35.txt b/code/evaluations/dpg/prompts/partiprompts35.txt
deleted file mode 100644
index 170c3f35084c5d13f8fbf8618f82d2a265a2d957..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts35.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dining table is laden with an array of Singaporean dishes, featuring a plate of fragrant chicken rice with golden-brown skin, a bowl of bak chor mee with minced meat and springy noodles, and a steaming bowl of spicy laksa with prawns and fish cakes. The tablecloth is a vibrant red, complementing the colorful dishes, and chopsticks rest beside each bowl. In the background, a pitcher of iced water and glasses are neatly arranged, ready for serving.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts36.txt b/code/evaluations/dpg/prompts/partiprompts36.txt
deleted file mode 100644
index e95eec196d93ceaa64959df4821221a66aebaf15..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts36.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up view of a juicy burger patty resting on a soft, lightly toasted bottom bun. Fresh green lettuce and bright red tomato slices are neatly placed on top of the patty. Bold yellow letters spelling out "COFFEE" are artistically drizzled across the burger in a smooth mustard script. The burger sits on a plain white plate, with a few mustard droplets scattered around the edges.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts37.txt b/code/evaluations/dpg/prompts/partiprompts37.txt
deleted file mode 100644
index 4cbbb339c80702d27f1a87339f9d8595649a7dc6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts37.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clean white plate sits empty on a polished wooden table, with no bananas in sight. Beside it, a clear glass stands, also devoid of any orange juice, reflecting the light from the room. The table surface is smooth and the area around the plate and glass is uncluttered, emphasizing their emptiness.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts38.txt b/code/evaluations/dpg/prompts/partiprompts38.txt
deleted file mode 100644
index 4f4255433567bd93637b783f64916baac6e22c54..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts38.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clear glass filled with vibrant orange juice sits to the right of a white ceramic plate, which cradles two slices of golden-brown toast generously spread with melting butter. The plate and glass are positioned on a light wooden table, with a patterned napkin folded neatly beside them. Sunlight filters through a nearby window, casting a warm glow on the breakfast setup and highlighting the texture of the freshly baked toast.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts39.txt b/code/evaluations/dpg/prompts/partiprompts39.txt
deleted file mode 100644
index e1f2e2689df261486926b16b0c007b5fda02ac1f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical bowl of soup sits on a wooden table, its broth a vibrant green with chunks of tofu arranged to resemble the eyes and mouth of a playful monster. The words "deep learning" are spelled out in thin slices of carrot, floating on the surface of the soup. The bowl itself is a deep blue ceramic, providing a striking contrast to the lighter colors of the soup and its garnishes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts4.txt b/code/evaluations/dpg/prompts/partiprompts4.txt
deleted file mode 100644
index 2cd99c9278b634c7efd8c8803543c4e773cb8f53..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A towering Gundam robot, painted in a striking combination of white, blue, and red, stands with its gleaming sword raised high against the backdrop of a sprawling metropolis. The cityscape features an array of tall, glass skyscrapers that reflect the fading light of the sunset. Beyond the urban expanse, a majestic mountain range looms, leading to the tranquil expanse of the ocean, while above, a dark, ominous moon dominates the twilight sky. The entire scene is rendered in a vivid, high-contrast style reminiscent of a detailed anime illustration.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts40.txt b/code/evaluations/dpg/prompts/partiprompts40.txt
deleted file mode 100644
index 614728514eb0e8c9e2bf19c277898c4046c73a83..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts40.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cold bottle of amber-colored beer with droplets of condensation sits beside a ceramic ashtray. The ashtray contains a half-smoked cigarette, its gray ash contrasting with the ashtray's dark hue. Nearby, a small pile of bottle caps and a lighter can be seen on the wooden surface of the table.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts41.txt b/code/evaluations/dpg/prompts/partiprompts41.txt
deleted file mode 100644
index d6eb5923db16ea157c8c6afa3799ce99f13a2ca2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts41.txt
+++ /dev/null
@@ -1 +0,0 @@
-A ripe, golden pineapple sits centered on a light wooden table, with a single green-bottled beer to its left and a pair of identical bottles to its right. The beers have droplets of condensation on their surfaces, indicating they are chilled. The pineapple's spiky green leaves contrast with the smooth, cylindrical shape of the beer bottles.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts42.txt b/code/evaluations/dpg/prompts/partiprompts42.txt
deleted file mode 100644
index 946b3b970036d3d8bb9877516abba605394c425d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts42.txt
+++ /dev/null
@@ -1 +0,0 @@
-A chilled, transparent bottle of light beer with condensation beads forming on its surface, placed on a wooden table. A bright yellow slice of lemon is wedged onto the rim of the bottle, adding a citrus accent to the beverage. The bottle label is partially obscured by the moisture, but hints of green and gold are visible on the design.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts43.txt b/code/evaluations/dpg/prompts/partiprompts43.txt
deleted file mode 100644
index a3e5556f539563a3abfeb8106c1840431b83e24f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts43.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large, clear glass pitcher filled to the brim with golden beer, the frothy head spilling slightly over the edge. An elephant's trunk, textured and wrinkled, is playfully dipped into the pitcher, disrupting the liquid's surface. The pitcher sits on a wooden table, with a few scattered peanuts nearby, hinting at a bar-like setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts44.txt b/code/evaluations/dpg/prompts/partiprompts44.txt
deleted file mode 100644
index 9c592e1f2078857be8f64508ae0a1bdaa433032a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts44.txt
+++ /dev/null
@@ -1 +0,0 @@
-A ceramic plate filled with fluffy white rice, crowned with a colorful medley of sautéed vegetables including bright green broccoli, red bell peppers, and golden corn kernels. The plate is set upon a dark wooden dining table, contrasting with the vibrant hues of the food. Beside the plate, there's a set of silverware neatly placed on a navy blue napkin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts45.txt b/code/evaluations/dpg/prompts/partiprompts45.txt
deleted file mode 100644
index db8309c14598010a75a36da6a6fabcd56f950fee..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts45.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vintage wine bottle with a tapered neck, its label partially peeled off, serving as a makeshift candle holder. A white candle, with wax drippings along the bottle's sides, is firmly stuck in the spout, casting a soft glow. The bottle is set upon a rustic wooden table, surrounded by a scattering of wax remnants and a few scattered wine glasses.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts46.txt b/code/evaluations/dpg/prompts/partiprompts46.txt
deleted file mode 100644
index 67ea1cf80954b8b7f7b2054a650f13a61a61f8ca..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts46.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a wooden cutting board, there are five vibrant green bell peppers neatly arranged to the right of two glossy red onions. The vegetables are freshly washed, with droplets of water accentuating their colors. The cutting board is set against a backdrop of a light gray kitchen countertop, which contrasts with the bright hues of the produce.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts47.txt b/code/evaluations/dpg/prompts/partiprompts47.txt
deleted file mode 100644
index a85e47adb2ed2020d9a01668b1cd6212d66ef38e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts47.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall, transparent glass filled with the amber-colored Long Island Iced Tea cocktail, garnished with a slice of lemon on the rim. Beside the glass, there's a white napkin folded neatly on a dark wooden bar top. The drink is accompanied by a thin, black straw, and in the background, there are bottles of various liquors lined up against a mirrored wall.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts48.txt b/code/evaluations/dpg/prompts/partiprompts48.txt
deleted file mode 100644
index e208a8d4f75e0c4fd5b98d37155fc0bbda764bb2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts48.txt
+++ /dev/null
@@ -1 +0,0 @@
-A steaming bowl of Pho, with a rich, clear broth and a generous topping of fresh bean sprouts. The bowl sits on a dark wooden table, accompanied by a side plate of lime wedges and basil leaves. The noodles are submerged beneath the broth, and thin slices of beef float on the surface, partially obscured by the green sprouts.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts49.txt b/code/evaluations/dpg/prompts/partiprompts49.txt
deleted file mode 100644
index ae36775fcbecca28205178afd2ca3cde443524f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts49.txt
+++ /dev/null
@@ -1 +0,0 @@
-a close-up view of a chilled Long Island Iced Tea cocktail, served in a tall glass with a lemon wedge perched on the rim. The drink is a blend of light and dark liquids, giving it a gradient appearance, and it's garnished with a small, colorful paper umbrella. Condensation beads on the outside of the glass, indicating its refreshing temperature.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts5.txt b/code/evaluations/dpg/prompts/partiprompts5.txt
deleted file mode 100644
index 2d857819963ed514ea1a557928fde38b1d8966dd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts5.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical scene captured in a portrait photo featuring a kangaroo donned in a vibrant orange hoodie and stylish blue sunglasses. The kangaroo stands confidently on the lush green grass, with the iconic Sydney Opera House forming an impressive backdrop. Clutched against its chest is a white sign with bold black letters that warmly proclaim "Welcome Friends!" to all who gaze upon the image.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts50.txt b/code/evaluations/dpg/prompts/partiprompts50.txt
deleted file mode 100644
index 4ece0dcce6985ae6bf6d5842548815136bd1bb42..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts50.txt
+++ /dev/null
@@ -1 +0,0 @@
-a classic old-fashioned cocktail sits on a polished wooden bar top, its amber liquid gently hugging a large, clear ice cube. next to the glass, a white linen napkin is neatly folded, with a silver cocktail spoon resting atop. the drink is garnished with a vibrant orange peel, adding a pop of color and a hint of citrus aroma to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts51.txt b/code/evaluations/dpg/prompts/partiprompts51.txt
deleted file mode 100644
index 8a3ea71196d989c1b35c792021b49b5ab001b3b3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts51.txt
+++ /dev/null
@@ -1 +0,0 @@
-a golden-brown roast turkey being carefully taken out of a stainless steel oven by someone wearing oven mitts. the kitchen is filled with the aroma of the cooked turkey, and the counter nearby is set with various dishes and utensils needed for the meal preparation. the oven light casts a warm glow on the surrounding cream-colored kitchen tiles and the dark granite countertop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts52.txt b/code/evaluations/dpg/prompts/partiprompts52.txt
deleted file mode 100644
index 788150ca929815f4388531312e996be9336cfe42..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts52.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant green bell pepper rests to the left of a glossy red bell pepper on a wooden cutting board. The two peppers are positioned against a backdrop of a well-stocked kitchen, with an array of spices and cooking utensils in the background. The contrasting colors of the peppers create a visually appealing composition on the neutral-toned surface of the board.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts53.txt b/code/evaluations/dpg/prompts/partiprompts53.txt
deleted file mode 100644
index 081579a088ad47c86b463636684ed42c0dba4c4d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts53.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall glass filled with a vibrant red Bloody Mary cocktail, garnished with a green celery stick and a skewered olive. The glass is beaded with condensation and sits on a small white plate beside a folded white napkin. The cocktail is placed on a dark wooden bar counter, illuminated by warm overhead lighting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts54.txt b/code/evaluations/dpg/prompts/partiprompts54.txt
deleted file mode 100644
index acdfbe32845b413948f1ed63aa6cc5d613fcd9f4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts54.txt
+++ /dev/null
@@ -1 +0,0 @@
-A couple is seated at a small round table in a cozy café, with the man enjoying a warm latte from a tall white mug. The woman, casually dressed in a green sweater, is sipping a cold beer from a clear pint glass. Between them is a small vase with a single yellow tulip, adding a touch of color to the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts55.txt b/code/evaluations/dpg/prompts/partiprompts55.txt
deleted file mode 100644
index c21b1df4d03b415581672393e92e3d2e51b1fa5b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts55.txt
+++ /dev/null
@@ -1 +0,0 @@
-A stream of white milk flowing gracefully from a clear glass pitcher into a deep blue ceramic bowl. The bowl is sitting on a marble countertop, surrounded by a scattering of fresh strawberries and a box of cereal. Sunlight filters through a nearby window, casting a warm glow on the scene and highlighting the smooth texture of the milk's surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts56.txt b/code/evaluations/dpg/prompts/partiprompts56.txt
deleted file mode 100644
index 7fef957e10d78017e439c33d6eabf69d79deb220..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts56.txt
+++ /dev/null
@@ -1 +0,0 @@
-a piece of golden-brown toast resting on a white ceramic plate, topped with bright green, creamy slices of avocado arranged neatly. next to the plate, there's a silver knife with some avocado residue on the blade, and a sprinkle of red pepper flakes over the avocado slices adds a pop of color.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts57.txt b/code/evaluations/dpg/prompts/partiprompts57.txt
deleted file mode 100644
index d03d395e028a5cd63e3ab2460637abb92550817a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts57.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image of a ceramic plate filled with a colorful assortment of food, including slices of grilled chicken, a mix of steamed vegetables, and a scoop of mashed potatoes garnished with a sprig of parsley. The plate is set on a dark wooden dining table, and beside it lies a set of silverware wrapped neatly in a cloth napkin. The food is arranged in an appetizing display, showcasing a variety of textures from the crisp vegetables to the creamy potatoes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts58.txt b/code/evaluations/dpg/prompts/partiprompts58.txt
deleted file mode 100644
index 9028c27d5a4dfa05a39ab640705f346425674cb6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts58.txt
+++ /dev/null
@@ -1 +0,0 @@
-A piece of golden-brown toast resting on a white ceramic plate, topped with bright yellow, freshly sliced mango. The mango slices are arranged in a fan-like pattern, and the plate sits on a light wooden table with a few crumbs scattered around. The texture of the toast contrasts with the soft, juicy mango pieces, creating an appetizing snack.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts59.txt b/code/evaluations/dpg/prompts/partiprompts59.txt
deleted file mode 100644
index cb68c366c619b47278d3fbbaca2f3172f92bfdd1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts59.txt
+++ /dev/null
@@ -1 +0,0 @@
-A whimsical dessert creation, an orange jello molded into the shape of a small man, stands proudly on a white ceramic plate. The jello figure is translucent with a glossy sheen, capturing the light in its wobbly form. Around it, there are scattered mint leaves for decoration, providing a contrast to the vibrant orange color of the gelatin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts6.txt b/code/evaluations/dpg/prompts/partiprompts6.txt
deleted file mode 100644
index 4123a0a419dd3532503a8de1c3257d0dbe32df0b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking statue of the Egyptian god Anubis, depicted with a jackal's head, is dressed unconventionally in modern attire consisting of a crisp white t-shirt, a black leather jacket, and a pair of aviator goggles resting atop its head. The statue stands in sharp contrast against the backdrop of a full moon that illuminates the night sky over the sprawling cityscape of Los Angeles. The city lights twinkle in the distance, creating a mosaic of urban life behind the ancient deity's contemporary ensemble.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts60.txt b/code/evaluations/dpg/prompts/partiprompts60.txt
deleted file mode 100644
index cb515c02b66e4bb342547234b57e615b1547d76c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts60.txt
+++ /dev/null
@@ -1 +0,0 @@
-A futuristic robot, sporting a sleek silver body and a black visor, stands with its chest puffed out, displaying the bold number 42 emblazoned in white. It towers confidently in front of a vibrant red F1 race car, which is parked on an asphalt track. In the background, the silhouette of a cityscape is visible against the orange and pink hues of a setting sun, all captured in a dramatic wide-angle perspective reminiscent of a dynamic comic book illustration.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts61.txt b/code/evaluations/dpg/prompts/partiprompts61.txt
deleted file mode 100644
index 17595d00566008661c69e812339522b9b77bb128..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts61.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant mural on a red brick wall features the inspirational phrase "BE EXCELLENT TO EACH OTHER" in bold, black lettering. Next to the text, there's a whimsical graffiti depiction of a green alien donning a sleek black tuxedo, complete with a bow tie. In the foreground, a bright yellow fire hydrant stands out on the gray concrete sidewalk, adding a pop of color to the urban scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts62.txt b/code/evaluations/dpg/prompts/partiprompts62.txt
deleted file mode 100644
index d2eb013a6cd97e594fbbe77da55673b451f228b7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts62.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately designed robot with a polished metallic surface, donning a vibrant red and white race car suit, stands with a confident posture in front of a sleek F1 race car. The robot's black visor reflects the brilliant hues of the setting sun, which casts a warm glow over the futuristic cityscape depicted in the background. The illustration, reminiscent of a scene from a dynamic comic book, captures the essence of speed and technology.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts63.txt b/code/evaluations/dpg/prompts/partiprompts63.txt
deleted file mode 100644
index c29131a7964487e6811006b230e2035671145b2b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts63.txt
+++ /dev/null
@@ -1 +0,0 @@
-A playful collection of 2x2 emoji icons, each resembling a vibrant macaron with a distinct facial expression. The top left macaron is a sunny yellow with a beaming smile, while the top right is a fiery red with furrowed brows and an angry scowl. Below them, the bottom left is a bright blue with wide, surprised eyes, and the bottom right is a soft lavender with a tearful, sobbing face. Each of the macaron emojis is whimsically topped with a miniature brown cowboy hat, adding a touch of whimsy to their appearance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts64.txt b/code/evaluations/dpg/prompts/partiprompts64.txt
deleted file mode 100644
index 922062aa91ada44f024583c7a8871f7fe44b6a39..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts64.txt
+++ /dev/null
@@ -1 +0,0 @@
-An aerial view of a coastal French city, captured in a satellite image, reveals a sprawling green park on the western edge, bordered by neatly arranged streets. To the north, a majestic mountain looms over the urban landscape, its peak just touching the edges of a drifting cloud that partially obscures the view. The intricate patterns of the city's layout are visible, with residential areas, winding roads, and the shimmering coastline all distinctly marked from this bird's-eye perspective.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts65.txt b/code/evaluations/dpg/prompts/partiprompts65.txt
deleted file mode 100644
index 36f84933afaa9c798044b6988d0d1084ef4d3a34..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts65.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant graffiti artwork displaying the word "WOMBAT" in bold, multicolored letters, each character outlined in black to create a striking contrast against the stark white wall. The letters are embellished with various shades of blue, green, red, and yellow, with dramatic splashes of paint scattered around the composition. The texture of the dripping paint adds a dynamic and tactile quality to the mural.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts66.txt b/code/evaluations/dpg/prompts/partiprompts66.txt
deleted file mode 100644
index 3057417fd2552d3c6b61a9cd4163a4d19abc7e93..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts66.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant display of graffiti showcasing the word "GIGGLE" in thick, colorful letters splashed across a weathered red brick wall. Each letter is painted in a different hue, creating a rainbow effect that stands out against the faded background. Just beside the lettering, there's a large splotch of white paint that looks as if it has exploded from behind the word, adding a dynamic sense of movement to the static wall.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts67.txt b/code/evaluations/dpg/prompts/partiprompts67.txt
deleted file mode 100644
index 29a5ad01ce5493d7fa6cb871bf68ea4249a176d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts67.txt
+++ /dev/null
@@ -1 +0,0 @@
-A minimalist vector art logo, where the letters P, A, and X are creatively arranged to form the simple outline of an elephant facing left. The elephant silhouette is depicted in a vibrant orange hue against a clean, white background. The design is sleek and modern, with the negative space around the letters contributing to the overall elephant shape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts68.txt b/code/evaluations/dpg/prompts/partiprompts68.txt
deleted file mode 100644
index bd8312e531ce25c6c34a38297fbd256f1e07d9c1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts68.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the center of the composition, there is a neatly arranged stack of three vibrant red cubes, each with a smooth, glossy finish that reflects the ambient light. To the right of this stack, there is a deep blue sphere with a matte texture, providing a stark contrast to the geometric sharpness of the cubes. On the left side, two emerald green cones with a slightly textured surface are positioned, their pointed tips directed upwards, creating a symmetrical balance in the arrangement.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts69.txt b/code/evaluations/dpg/prompts/partiprompts69.txt
deleted file mode 100644
index 04c88e81a7fdeac2797d1c4a073b8be674f75f19..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts69.txt
+++ /dev/null
@@ -1 +0,0 @@
-a digital illustration of an adorable baby penguin emoji, sporting a vibrant blue hat on its head and snug red gloves on its flippers. The penguin is dressed in a bright green shirt that contrasts with its sleek black and white feathers, and it's wearing cheerful yellow pants that add a pop of color. The emoji is set against a clean, white background, making the colorful attire of the penguin stand out even more.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts7.txt b/code/evaluations/dpg/prompts/partiprompts7.txt
deleted file mode 100644
index c1a25397fce251be268fcbc5c6df0f9842e22e98..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts7.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal composite image showcasing the iconic Sydney Opera House with its distinctive white sail-like structures, positioned improbably beside the towering Eiffel Tower, its iron lattice work silhouetted against the night. The backdrop is a vibrant blue sky, pulsating with dynamic energy, where yellow stars burst forth in a dazzling display, and swirls of deeper blue spiral outward. The scene is bathed in an ethereal light that highlights the contrasting textures of the smooth, shell-like tiles of the Opera House and the intricate metalwork of the Eiffel Tower.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts70.txt b/code/evaluations/dpg/prompts/partiprompts70.txt
deleted file mode 100644
index de4f59133dfd349a2a817c49ed200ce2674ce697..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts70.txt
+++ /dev/null
@@ -1 +0,0 @@
-a geometric pattern consisting of multiple squares, each progressively smaller and nested within the other. The outermost square is a bright yellow, with each subsequent square transitioning smoothly into a deeper shade of orange as they move inward. The squares are evenly spaced, creating a gradient effect that draws the eye toward the center, where the deepest hue of orange resides.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts71.txt b/code/evaluations/dpg/prompts/partiprompts71.txt
deleted file mode 100644
index 93023e16e95d46b92c0cf237aa2506f8efabe929..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts71.txt
+++ /dev/null
@@ -1 +0,0 @@
-A colorful children's book cover featuring a whimsical illustration of a fluffy white dog with a playful expression, wearing a green bandana, driving a bright red pickup truck. The truck is adorned with yellow stripes and is set against a backdrop of rolling green hills under a clear blue sky. The dog's paws are on the wheel, and the truck seems to be bouncing along a dirt path leading towards a cartoonish city skyline in the distance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts72.txt b/code/evaluations/dpg/prompts/partiprompts72.txt
deleted file mode 100644
index ad991804c6d9de847bbf189ffae347ca22145e7c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts72.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a flat surface, there are two small, white circles positioned to the left side of a large, red triangle. The triangle is centrally placed on a bright green rectangular mat. The circles appear to be made of a smooth material, while the triangle has a slightly textured surface, creating a contrast in both color and texture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts73.txt b/code/evaluations/dpg/prompts/partiprompts73.txt
deleted file mode 100644
index c278611eb93c03ea8f18217781f2be11b616f424..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts73.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking yin-yang symbol where the traditional circles are replaced by the fierce heads of a tiger, one black and one orange. The symbol is set against a plain background that accentuates its bold colors and intricate details. The tiger heads are detailed with stripes that seamlessly blend into the swirling design of the yin-yang.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts74.txt b/code/evaluations/dpg/prompts/partiprompts74.txt
deleted file mode 100644
index ac5b35c20e6af9a16add5867dbb266506fa524e7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts74.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed pen-and-ink drawing that features a meticulously crosshatched sphere resting on a flat surface. The sphere has a prominent dark square etched onto its surface, creating a stark contrast with the rest of the shaded areas. The texture of the crosshatching gives the illusion of depth and dimension to the drawing.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts75.txt b/code/evaluations/dpg/prompts/partiprompts75.txt
deleted file mode 100644
index dbf00a773aae43ee3b5fffdce1f260c78429345c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts75.txt
+++ /dev/null
@@ -1 +0,0 @@
-a whimsical drawing of a brown and white horned owl, with bright yellow eyes, wearing a small black graduation cap atop its head. The owl is clutching a tiny rolled-up diploma tied with a red ribbon in its talons. The illustration has a light blue background, and the owl is perched on a stack of colorful books with golden titles etched on the spines.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts76.txt b/code/evaluations/dpg/prompts/partiprompts76.txt
deleted file mode 100644
index 9a7027d2ae8ecc7330391350e89e515e09769ae9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts76.txt
+++ /dev/null
@@ -1 +0,0 @@
-A graphic image featuring a stark black background that serves as a canvas for a large, vibrant yellow circle positioned centrally. Below and to the right of the circle, there's a small, matte red square, creating a stark contrast in both color and shape. The simplicity of the composition draws attention to the geometric figures and their bold colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts77.txt b/code/evaluations/dpg/prompts/partiprompts77.txt
deleted file mode 100644
index afe0b0b2a9ca4306c9967e5049867c561534fd09..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts77.txt
+++ /dev/null
@@ -1 +0,0 @@
-A minimalist graphic with a stark white background featuring a large, vibrant blue circle dominating the center. Below and to the right of the circle, there's a small, emerald green square, providing a stark contrast in both color and shape. The smooth textures of the shapes give the image a clean and modern aesthetic.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts78.txt b/code/evaluations/dpg/prompts/partiprompts78.txt
deleted file mode 100644
index 8c9ccaa027b1252474c5c3fb1702b017d46e536d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts78.txt
+++ /dev/null
@@ -1 +0,0 @@
-a striking painting dominated by shades of black and white, creating a stark contrast on the canvas. In the right corner, a vivid red flower stands out, adding a pop of color to the monochromatic background. The texture of the brush strokes is visible, giving the painting a dynamic and tactile quality.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts79.txt b/code/evaluations/dpg/prompts/partiprompts79.txt
deleted file mode 100644
index 7ad7db6b244df2a7683e6f73e3679415bebe530b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts79.txt
+++ /dev/null
@@ -1 +0,0 @@
-An artistic representation of the planet Earth, with a swirl of musical notes in black ink encircling the globe. The Earth is depicted in vibrant blues and greens, indicating the oceans and continents, while the musical notes appear to dance around the planet's surface. The background of the drawing is a stark white, emphasizing the contrast and the harmony between music and the world.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts8.txt b/code/evaluations/dpg/prompts/partiprompts8.txt
deleted file mode 100644
index ef37a4fad909f0c4e9ee41c8418269cc96e074ff..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts8.txt
+++ /dev/null
@@ -1 +0,0 @@
-An animated warrior wombat, clad in silver armor, stands boldly in a fighting stance with a gleaming sword in one hand and a sturdy round shield in the other. The iconic Arc de Triomphe looms in the background, partially veiled by a thin layer of mist that softens the contours of the monument. Despite the mist, the sun is positioned high above, casting a subtle glow on the scene and highlighting the wombat's determined expression.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts80.txt b/code/evaluations/dpg/prompts/partiprompts80.txt
deleted file mode 100644
index 02218dfd3041fd64f6c77d99e78e9a5b648bed79..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts80.txt
+++ /dev/null
@@ -1 +0,0 @@
-A shiny metallic blue sphere rests to the left of a vibrant yellow felt box on a smooth, gray surface. The sphere reflects the light, creating a gleaming highlight on its curved surface, while the felt box has a soft, matte texture that contrasts with the sphere's reflective finish. The box appears slightly larger than the sphere, and both objects are positioned against a neutral background that emphasizes their colors and textures.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts81.txt b/code/evaluations/dpg/prompts/partiprompts81.txt
deleted file mode 100644
index 72a2108412bc7d1013076ff36c9fd28e5959c92a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts81.txt
+++ /dev/null
@@ -1 +0,0 @@
-a flag with three distinct vertical stripes prominently displayed against a clear sky. The leftmost stripe is a deep blue, the middle is a crisp white, and the rightmost stripe is a vibrant red. The flag is attached to a silver pole that is mounted on a grey building, fluttering gently in the breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts82.txt b/code/evaluations/dpg/prompts/partiprompts82.txt
deleted file mode 100644
index 2ff0f085ade571c4c5610c2c18b957052808c718..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts82.txt
+++ /dev/null
@@ -1 +0,0 @@
-A geometric composition featuring a large yellow triangle positioned above a green square and a red rectangle. The shapes are arranged against a plain background, creating a stark contrast in colors. The yellow triangle has a smooth texture, while the green square and red rectangle appear to have a matte finish.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts83.txt b/code/evaluations/dpg/prompts/partiprompts83.txt
deleted file mode 100644
index c50c626427ee90032833fa18ea90f5a869e7e382..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts83.txt
+++ /dev/null
@@ -1 +0,0 @@
-An intricately designed digital emoji showcasing a whimsical cup of boba tea, its surface a glistening shade of pastel pink. The cup is adorned with a pair of sparkling, heart-shaped eyes and a curved, endearing smile, exuding an aura of being lovestruck. Above the cup, a playful animation of tiny pink hearts floats, enhancing the emoji's charming appeal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts84.txt b/code/evaluations/dpg/prompts/partiprompts84.txt
deleted file mode 100644
index 402e34a261fdf1228df29189bdb35e8774b346bb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts84.txt
+++ /dev/null
@@ -1 +0,0 @@
-The book cover features a sleek, modern design with a gradient of blue to purple hues, symbolizing the concept of 'Backpropaganda' by the author I.C. Gradients. The title is emblazoned in bold, white font across the top, with the author's name neatly printed at the bottom. The cover also displays an abstract illustration that hints at the theme of artificial intelligence, with interconnected nodes and lines subtly forming a network pattern.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts85.txt b/code/evaluations/dpg/prompts/partiprompts85.txt
deleted file mode 100644
index a5b5593e67f9beb733f3892e6dc89e8be1f1eaea..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts85.txt
+++ /dev/null
@@ -1 +0,0 @@
-a vibrant stained glass window featuring a depiction of a tyrannosaurus rex in hues of green and blue, set against a backdrop of a peaceful prehistoric landscape. The dinosaur's posture suggests a moment of rest, with its massive tail curling alongside its body. Sunlight filters through the textured glass, casting colorful patterns on the interior walls of the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts86.txt b/code/evaluations/dpg/prompts/partiprompts86.txt
deleted file mode 100644
index f955b2ca8c2990c8753f043a487f54e2a25874bb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts86.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sizable blue box with a smooth, matte finish sits prominently in the center of the room. Atop its surface rest three small, vibrant yellow boxes, each with a glossy texture and sharp, clean edges. The blue box's substantial size dwarfs the trio of yellow boxes, creating a striking contrast in both color and scale.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts87.txt b/code/evaluations/dpg/prompts/partiprompts87.txt
deleted file mode 100644
index 35c776d2258140cc1b8dd50de876724d3973a958..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts87.txt
+++ /dev/null
@@ -1 +0,0 @@
-An array of geometric shapes arranged on a dark, matte black surface. There are ten triangles, each with a different hue ranging from vibrant red to deep blue, and five squares that are uniformly white. The shapes are scattered in no particular order, creating a visually striking contrast against the black background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts88.txt b/code/evaluations/dpg/prompts/partiprompts88.txt
deleted file mode 100644
index 90e44eb65bba1608148f95ef0f4f01aeecaeb71b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts88.txt
+++ /dev/null
@@ -1 +0,0 @@
-a detailed background pattern featuring a repeating sequence of red roses with lush green leaves and white skulls with subtle gray shading. the roses are in full bloom, showcasing their intricate petals, while the skulls have a smooth texture and hollow eye sockets. the pattern is set against a neutral-toned backdrop, creating a striking contrast between the elements of life and death.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts89.txt b/code/evaluations/dpg/prompts/partiprompts89.txt
deleted file mode 100644
index a5e257d558cc6fecf666a72bacc0f7c133b1298b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts89.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant blue wooden pyramid sits atop a glossy red plastic box, which appears sturdy and capable of supporting the weight of the pyramid. The box's surface is smooth, contrasting with the textured grain of the wooden pyramid. The objects are placed on a beige carpet, and the pyramid's sharp edges cast a slight shadow on the box, emphasizing their geometric shapes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts9.txt b/code/evaluations/dpg/prompts/partiprompts9.txt
deleted file mode 100644
index c35615b20361d6080c362e0e25b88d8f4ec59582..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts9.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative anime-style illustration that features the iconic Sydney Opera House with its distinctive white sail-like shells, sitting adjacent to the towering Eiffel Tower with its intricate iron lattice work. Both structures are set against a vibrant blue night sky, pulsating with dynamic energy, where yellow stars burst forth amidst swirling patterns of electric blue. The fantastical scene is further accentuated by the exaggerated proportions and stylized elements typical of anime art, creating a surreal and whimsical landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts90.txt b/code/evaluations/dpg/prompts/partiprompts90.txt
deleted file mode 100644
index 2f6c10823f11220d08b255e9c6442a1ad55d0071..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts90.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the detailed Renaissance paintings, the Virgin Mary is depicted seated gracefully within a stone loggia, her robes a rich blend of blues and reds, with delicate folds that suggest softness and depth. The background features a dreamlike, hazy landscape, rendered in muted tones through the use of the sfumato technique, which blends colors and tones subtly together. This landscape seems to stretch endlessly into the distance, with faint outlines of trees and hills, giving the impression of a serene and untouched wilderness.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts91.txt b/code/evaluations/dpg/prompts/partiprompts91.txt
deleted file mode 100644
index d333f30b121497d323c730bbef6e054eed1e87d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts91.txt
+++ /dev/null
@@ -1 +0,0 @@
-A visually striking mixed media piece featuring a central photograph of a woman with flowing orange hair that cascades over her shoulders. The background contrasts with a monochromatic sketch of a bustling city skyline, complete with towering skyscrapers and intricate architectural details. The woman's piercing gaze seems to transcend the two-dimensional space, creating a dynamic interplay between the realism of the photograph and the abstract nature of the sketched cityscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts92.txt b/code/evaluations/dpg/prompts/partiprompts92.txt
deleted file mode 100644
index 5ac328e79cef66a0e310dbff30728f2a30377837..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts92.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed photograph captures the intricate features of a pharaoh statue adorned with unconventional accessories. The statue is wearing steampunk glasses that have intricate bronze gears and round, reflective lenses. It is also dressed in a stark white t-shirt that contrasts with a dark, textured leather jacket draped over its shoulders. The image is taken with a high-quality DSLR camera, ensuring that the textures and colors of the statue and its attire are vivid and sharp. The background is a simple, unobtrusive blur, drawing all attention to the anachronistic ensemble of the pharaoh.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts93.txt b/code/evaluations/dpg/prompts/partiprompts93.txt
deleted file mode 100644
index b6676b38d26ea4fa3f8a546f4e40598948ae74b6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts93.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imaginative depiction of the Mona Lisa, portrayed in a modern setting where she is seated at a wooden breakfast table. In her hands, she holds a delicate white porcelain cup from which she sips coffee. Before her lies a plate with a fluffy omelette and a golden-brown croissant, accompanied by a small vase containing a single red rose. The scene is illuminated by natural light that filters through a nearby window, casting a soft glow on the table's surface.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts94.txt b/code/evaluations/dpg/prompts/partiprompts94.txt
deleted file mode 100644
index 490848c15369f6531b387ae6bf4cc24e23eccd23..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts94.txt
+++ /dev/null
@@ -1 +0,0 @@
-A surreal image capturing an astronaut in a white space suit, mounted on a chestnut brown horse amidst the dense greenery of a forest. The horse stands at the edge of a tranquil river, its surface adorned with floating water lilies. Sunlight filters through the canopy, casting dappled shadows on the scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts95.txt b/code/evaluations/dpg/prompts/partiprompts95.txt
deleted file mode 100644
index 2a2053c0ad0df1d5c03ee4460c9c36d3badf9d50..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts95.txt
+++ /dev/null
@@ -1 +0,0 @@
-A detailed oil painting that captures the essence of a smiling businesswoman, her expression warm and inviting. She is depicted holding a sleek, modern cell phone in her right hand, which contrasts with the classical style of the artwork reminiscent of Rembrandt's technique. The rich, golden light highlights the textures of her suit and the soft curls in her hair, while the deep, warm background tones complement her confident stance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts96.txt b/code/evaluations/dpg/prompts/partiprompts96.txt
deleted file mode 100644
index 5d250c4087dbc85b3cac00c92dc523d1a7f03171..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts96.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large Saint Bernard dog with a reddish-brown and white coat stands on its hind legs, its front paws reaching up into the air. Seated on the dog's broad shoulders is a young girl with curly hair, wearing a pink dress and a wide smile. The scene takes place in a spacious backyard, where a wooden fence can be seen in the background, partially covered by climbing ivy.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts97.txt b/code/evaluations/dpg/prompts/partiprompts97.txt
deleted file mode 100644
index 514d0f0baf8a60bceb6fd66f027863f36727e793..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts97.txt
+++ /dev/null
@@ -1 +0,0 @@
-An empty space where an invisible man would be, with a pair of horn-rimmed glasses seemingly floating in mid-air, and a pearl bead necklace draped in the space below them. In the space where his hands would be, a smartphone is held, as if being operated by the unseen figure. Around this curious scene, the room appears ordinary, with a couch and a coffee table nearby, upon which rests a scattering of magazines and a remote control.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts98.txt b/code/evaluations/dpg/prompts/partiprompts98.txt
deleted file mode 100644
index 862c5f45587d634488dac60ee1b82d201140e1e1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts98.txt
+++ /dev/null
@@ -1 +0,0 @@
-a politician stands on a wooden stage, dressed in a bright red soccer jersey emblazoned with a white number '10'. In one hand, they hold a yellow and blue volleyball, gesturing with the other as they address the crowd. Behind them, a large banner hangs, displaying the emblem of a local sports team, and to their right, a podium with microphones stands ready to amplify their speech.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/partiprompts99.txt b/code/evaluations/dpg/prompts/partiprompts99.txt
deleted file mode 100644
index 96fac09fbf74272ea47580d09c1fa53efe83f4b5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/partiprompts99.txt
+++ /dev/null
@@ -1 +0,0 @@
-a man dressed in a dark business suit and tie is carefully ascending a silver aluminum ladder. The ladder is propped securely against the side of a pristine white house with beige trim around the windows. Sunlight reflects off the house's clean siding, highlighting the contrast between the man's formal attire and the manual task at hand.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript0.txt b/code/evaluations/dpg/prompts/posescript0.txt
deleted file mode 100644
index a59731e183130e1a4337f7e651fcbf58328960ec..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript0.txt
+++ /dev/null
@@ -1 +0,0 @@
-You are balancing on your right foot, your left leg is raised and bent at the knee, which is now elevated above your waist level. Your body is turned towards the left, and you're gracefully leaning back, creating a slight arch in your spine. Your right arm is bent at the elbow, with your hand extended forward, hovering just in front of your chest, as if reaching for something just out of grasp. The position appears to be a dynamic, possibly yoga-inspired pose, illustrating both strength and flexibility.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript1.txt b/code/evaluations/dpg/prompts/posescript1.txt
deleted file mode 100644
index 8b5d1e5a62dacca2d9889af5a542a2e0a027c14a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure is posed dynamically, showcasing a particular stance where their left leg is bent forward, creating a powerful line, while the right leg extends straight back, as if poised for movement. The right shoulder dips forward, complementing the overall forward inclination of the torso, suggesting a sense of momentum. Both arms are positioned at angles, trailing down and back from the body to balance the posture, while the head is subtly canted to the right, adding a touch of grace to the disposition.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript10.txt b/code/evaluations/dpg/prompts/posescript10.txt
deleted file mode 100644
index edc02c617b081ad1805509c9aaec9c25f09f4cc3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript10.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person is positioned on a cushioned grey floor mat, with their knees drawn closely to their chest and their bare feet slightly tucked underneath. Their arms are extended wide, fingers splayed upon the cool floor surface, creating a sense of balance. The individual's gaze is directed intently downwards, focused on the space just above their folded legs, as if in deep contemplation or in the midst of a stretching routine.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript11.txt b/code/evaluations/dpg/prompts/posescript11.txt
deleted file mode 100644
index cbe846b24cb639823c9783aadf690fb6bba472fd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript11.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person is captured in a dynamic pose, with both arms raised to head level and extended toward the right, careful not to touch the head. The individual's gaze is directed attentively to the right, as if focusing on something in the distance. Their stance exudes balance and intention, with the left foot placed forward and the right foot behind, creating a strong, stable base for the graceful positioning of the limbs.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript12.txt b/code/evaluations/dpg/prompts/posescript12.txt
deleted file mode 100644
index 49df7fff2ae713eb4577a16cc7da36ab0f64c02f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript12.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a spacious room with a polished wooden floor, a person is captured in a dynamic pose, exhibiting an exaggerated stride. Their left leg is extended far in front, the foot planted firmly on the ground, while the right leg is stretched far behind. The right arm is bent at the elbow and directed downwards, while the left arm is held straight and swept backward. The individual's body leans heavily to the right, conveying a sense of motion and balance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript13.txt b/code/evaluations/dpg/prompts/posescript13.txt
deleted file mode 100644
index 3b21f16b1e796f08498bdea643d98e2aac1ac9e4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure balances gracefully on their right foot, with their left leg extended straight behind them, parallel to the ground. The torso of the person is pitched forward in a dynamic pose, creating a straight line from head to the elevated heel. The left arm mirrors the extension of the leg as it reaches slightly forward, while the right arm is bent at the elbow and opens to the right, adding a sense of movement and balance to the overall posture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript14.txt b/code/evaluations/dpg/prompts/posescript14.txt
deleted file mode 100644
index a1e07298489ee987faa38f9240dea4ab2226a8e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person practicing a yoga pose on a light grey mat in a spacious room with white walls. He stands firmly, balancing on his left leg while his right knee is bent upwards, and his right hand gently holds his right ankle. His left arm is extended back, enhancing his poise, and his gaze is intently fixed towards the left corner of the room, displaying a sense of concentration and balance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript15.txt b/code/evaluations/dpg/prompts/posescript15.txt
deleted file mode 100644
index 2c301917fcc078f81505d952b677c2a53a2f51de..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript15.txt
+++ /dev/null
@@ -1 +0,0 @@
-A humanoid robot toy is positioned in a dynamic stance on a smooth, gray concrete floor. Its legs are angled with its toy feet firmly pointing towards the ground and its knees subtly bent forward, creating an impression of being ready to spring into action. The torso of the toy remains erect, with its head oriented straight ahead as if surveying the horizon, while its arms are bent and held slightly away from its body, the right arm retracted a fraction more than the left, giving a sense of asymmetrical balance to the overall posture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript16.txt b/code/evaluations/dpg/prompts/posescript16.txt
deleted file mode 100644
index 7800f9a1a971abf7a066d84f4fc545da44077a0a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic athletic stance where the individual's left leg is raised just off the ground, bent at a sharp angle at the knee, demonstrating balance and readiness. The right arm extends forward emphatically, elbow bent upwards, suggesting a poised gesture or possibly the midst of an action. Meanwhile, the left arm angles down and to the front, balancing the posture, as the head tilts slightly forward, gaze lifted upward with an air of determination or focus.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript17.txt b/code/evaluations/dpg/prompts/posescript17.txt
deleted file mode 100644
index de5421aa6b1f6e30a63a8cd46b13afc2c0b06d39..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript17.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure captured mid-stride presents a dynamic stance wherein the left leg is extended backward, toe grazing the ground, while the right leg is propelled forward, indicative of a purposeful step. Their left arm mirrors the forward momentum, bent at the elbow and directed ahead, while the right arm stretches straight behind them, creating a strong sense of motion. The silhouette of this person suggests a brisk walk or the beginning of a run, accentuated by the precise positioning of limbs that conveys both balance and speed.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript18.txt b/code/evaluations/dpg/prompts/posescript18.txt
deleted file mode 100644
index 46f427db6d3d427911c2014a56ddb862591de0fe..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript18.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is poised in a challenging yoga pose on a seafoam green exercise mat. Their left leg is anchored firmly on the ground, providing support as their right leg extends directly in front of them, parallel to the floor. The left arm reaches gracefully towards the rear, while the right arm creates a horizontal line, extending outwards from the shoulder. The subject's head is tilted back ever so slightly, showing a serene expression as light from a nearby window reflects softly off their skin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript19.txt b/code/evaluations/dpg/prompts/posescript19.txt
deleted file mode 100644
index 01f30dbaaee16e0bd8e300b034e18f6933f44732..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript19.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure depicted with a dynamic pose: its left arm extends forward while the right arm is elongated back, parallel with its spine. Both legs are positioned closely together in a near vertical line, with the right leg gracefully stacked atop the left. The silhouette reflects a ballet dancer's poise during a challenging balancing act.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript2.txt b/code/evaluations/dpg/prompts/posescript2.txt
deleted file mode 100644
index 9cb7ccf29e93ab1253f807dc13fd8b3da655d27b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript2.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is captured in a dynamic pose reminiscent of a reverse bridge. Suspended with their feet hovering above the ground, they balance their weight primarily on their arms, which show a slight bend at the elbows. Their gaze is intently focused down toward their hands, indicating concentration and bodily awareness.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript20.txt b/code/evaluations/dpg/prompts/posescript20.txt
deleted file mode 100644
index b6ce6b83c34cc017800ff7733e73d00793416514..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript20.txt
+++ /dev/null
@@ -1 +0,0 @@
-The individual in question presents a dynamic stance, with the left foot stepping forward onto a beige, textured rug that covers the wooden floor. They are extending their right arm upward toward the ceiling, which has a smooth, white finish. Simultaneously, the left arm stretches back, contrasting against the pale yellow wall behind them, creating an image of motion within the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript21.txt b/code/evaluations/dpg/prompts/posescript21.txt
deleted file mode 100644
index ff6e97e67691dea32f9d6b532e6f8b7b7d81f14e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript21.txt
+++ /dev/null
@@ -1 +0,0 @@
-a figure in a dynamic pose, with their upper body leaning towards the right, arms raised high above their head forming straight angles at the elbows. The right knee of the subject is sharply bent, supporting their weight, while the left leg extends gracefully back, enhancing the sense of motion in the posture. The individual's head is angled downwards, focusing intently on something out of view, giving the entire pose an air of concentration and balance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript22.txt b/code/evaluations/dpg/prompts/posescript22.txt
deleted file mode 100644
index 0316a8378481cad0a9058de8c8438ef32d2dedd1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure in a dynamic pose, standing on their right foot with the left leg lifted gracefully behind the body, knee bent at a 90-degree angle. Their left arm extends horizontally at the level of their face, fingers elegantly pointed, while the right arm is raised with the hand near the chin level, palm facing inward. The head is gently tilted back, eyes gazing upward, creating a line of sight that follows the direction of the extended left arm.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript23.txt b/code/evaluations/dpg/prompts/posescript23.txt
deleted file mode 100644
index ef5dc023105684fc378222bcf4fc56b729945fc4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript23.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young athlete in a white tank top and black shorts positioned with both of his hands grasping an invisible object near his waist on the right side. His posture is dynamic, with both knees bent, indicating readiness for movement, and his torso tilted forward, suggesting a sense of forward momentum. His gaze is locked straight ahead, showing focus and determination, as if he's visualizing his next action in a sport or dance routine.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript24.txt b/code/evaluations/dpg/prompts/posescript24.txt
deleted file mode 100644
index 143a733ada893e31091cb1f5de5dc573ba759e0f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure is in a dynamic crouched position on a geometric patterned floor, with one knee supporting the pose and the other leg extended slightly to the side. The person's left arm reaches toward the ground for balance, palm facing down, while the right arm is bent, with the hand placed near the face. The individual's head is tilted upward, possibly in concentration, complementing the fluid lines of the body's pose.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript25.txt b/code/evaluations/dpg/prompts/posescript25.txt
deleted file mode 100644
index a09b9d989366402baa343f84194b3b3e71e05ce1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic sculpture of an athlete in the midst of a sprint, with the form capturing the essence of motion. The head of the figure is titled upwards, suggesting determination and focus, while the hands are strategically positioned close to the body; the left arm is tucked below the right, which extends outward to emulate the action of an intense run. The muscles are sculpted in a way to depict tension and energy, complementing the overall impression of speed and agility.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript26.txt b/code/evaluations/dpg/prompts/posescript26.txt
deleted file mode 100644
index 1c3e2f602e2b11b271a0513e1e14e23ed0060330..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript26.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a room with beige carpeting, an individual is in the midst of a sit-up exercise, positioned on the floor with their body slightly raised. Their left hand is pressed against their cheek to support their head, while their left leg is bent inward, creating an angle at the knee. The space around them is sparse, and to their side, a folded yoga mat and a pair of dumbbells lay within reach.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript27.txt b/code/evaluations/dpg/prompts/posescript27.txt
deleted file mode 100644
index 1a5232f4513bae0682640172563467e2a508fe6a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript27.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is standing in front of a gently curved white wall, embodying a sense of tranquility through their posture. Their arms hang loosely at their sides, contributing to the relaxed aura they exude. The left leg is gracefully bent at the knee such that the left foot is nestled against the right inner thigh, displaying the classic pose of a tree in yoga practice. The person's attire is minimal and provides a contrast to the simplicity of the backdrop. Their focus appears to be directed inward, further emphasizing the meditative state suggested by their stance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript28.txt b/code/evaluations/dpg/prompts/posescript28.txt
deleted file mode 100644
index 2d49634ffa223b092da08179851fc09d2f71647a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript28.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is captured in a dynamic pose with their body leaning forward, their right arm bent at a 90-degree angle in front of them, and their left arm extended behind. They wear a bright yellow short-sleeved shirt which contrasts with their dark blue trousers. Their gaze is intently focused towards their right, possibly fixed on something or someone out of view, giving the impression of movement or anticipation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript29.txt b/code/evaluations/dpg/prompts/posescript29.txt
deleted file mode 100644
index 57a94e8b695a35be2c11a4216014978cecc9ef2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript29.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is seated on a smooth, light-colored floor with a relaxed posture, hands lifted in the air, palms facing upwards. Their head is tilted back, eyes likely gazing towards the ceiling, while their legs extend forward, creating a subtle V-shape with a small gap between the feet. The surrounding space appears calm and uncluttered, allowing the person's posture to stand out in the environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript3.txt b/code/evaluations/dpg/prompts/posescript3.txt
deleted file mode 100644
index 44a11e7bbf5ffb984c357f97cfb24c98c061ba52..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript3.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure is captured mid-motion, their left foot firmly planted on the gray asphalt, displaying a well-worn sneaker. Their right leg is extended forward with precision, the muscles taut and the silhouette of the leg cuts a straight line through the air. Both arms are angled, elbows bent in an almost geometric formation, with one arm stacked neatly over the other in front of the chest, hinting at a martial arts stance or a dancer's poise.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript30.txt b/code/evaluations/dpg/prompts/posescript30.txt
deleted file mode 100644
index 745786df5357a9e67c7ff96d2dbbf0c482b8d8f0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript30.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual is captured in a dynamic exercise pose on a gray fitness mat, their body nearly aligned for a push up. However, the hips are notably rotated to the right, creating a twist through their torso. The person's gaze is directed to the right, maintaining the line of the twist, with both arms extended straight and palms pressed firmly against the ground.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript31.txt b/code/evaluations/dpg/prompts/posescript31.txt
deleted file mode 100644
index a405cbc76eb8237e185246dedfd426b399b5aa5e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript31.txt
+++ /dev/null
@@ -1 +0,0 @@
-A focused individual captured in a dynamic martial arts pose, with both legs bent at the knees in a strong and stable crouch. The person's body is hunched purposefully over, conveying readiness and balance. Each arm is extended forward, bent at the elbow, and the wrists are also bent in meticulous form, displaying the precision and discipline of the martial arts stance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript32.txt b/code/evaluations/dpg/prompts/posescript32.txt
deleted file mode 100644
index 009e777e94aa1b3fe170ba23aac3b1d4c9f846db..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure can be seen balancing on both feet, their torso tilted sharply to the left, creating a dynamic angle. Their arms are stretched out on either side of their body for balance, with each elbow forming a precise 90-degree bend. The person may seem to be mid-exercise or in the middle of a stretching routine, possibly wearing comfortable athletic attire suitable for the activity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript33.txt b/code/evaluations/dpg/prompts/posescript33.txt
deleted file mode 100644
index 9dac1004c6d6889e3d4e4d371626fcaee92457e1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure is poised in an active stance, with their buttocks pushed back and their torso inclined forwards, suggesting a sense of readiness or engagement in an activity. Their arms are extended downwards, positioned close to the body, with elbows bent and hands reaching straight out in front, as if ready to grasp or manipulate something. The person's head is subtly tilted back, indicating a focus towards the ceiling or sky, possibly observing something of interest or intent above them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript34.txt b/code/evaluations/dpg/prompts/posescript34.txt
deleted file mode 100644
index 5dbf5b7fb9900e2e1481a6de7e507247a11d403c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic posture captured mid-action with the left knee bent and the right leg lifted off the ground, extended slightly forward. The right arm remains relaxed, hanging down along the side, while the left arm is energetically bent, elbow out and hand raised upward. The individual's head is tilted forward, focused as if preparing for a swift movement or to maintain balance during a physical activity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript35.txt b/code/evaluations/dpg/prompts/posescript35.txt
deleted file mode 100644
index 47f0a30a0fedd61bd08a14adac3106ad5c6429d2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript35.txt
+++ /dev/null
@@ -1 +0,0 @@
-a figure in a dynamic pose with their right leg slightly bent, standing firmly on the ground, while their left leg is bent and positioned behind the right, suggesting motion or a dance step. The right arm is raised up and curved over the head in an elegant arc, while the left arm extends horizontally out to the side and slightly to the rear, enhancing the sense of balance and stretch. The individual's stance is wide, with a considerable gap between the feet, adding a powerful presence to the overall posture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript36.txt b/code/evaluations/dpg/prompts/posescript36.txt
deleted file mode 100644
index 74b6f21d0474bedd1a127bbf67ca8793a9d02aa6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript36.txt
+++ /dev/null
@@ -1 +0,0 @@
-In an expansive room, the subject is captured in a dynamic squatting position with their torso angled towards the left. The left arm is firmly planted on the floor, supporting the weight of the body, while the right arm extends directly forward, fingers outstretched and intent. The head tilts in the same direction as the torso, with eyes fixed forward, expressing concentration and balance.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript37.txt b/code/evaluations/dpg/prompts/posescript37.txt
deleted file mode 100644
index fe930fc86c9f5157adde1698a4195f42a8260411..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript37.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic stance captured in a moment of intense action shows an individual with their legs spread apart for balance. Their right arm is drawn back, poised in a throwing position, with their hand just below the level of their head, ready to launch. The left arm is relaxed and lowered, the elbow bent, and the hand gently resting on the stomach area, creating a counterbalance to the tension in the right arm.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript38.txt b/code/evaluations/dpg/prompts/posescript38.txt
deleted file mode 100644
index 9ed6d3403353272306b502912a3e72b94f85e309..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript38.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person stands in a poised stance with their legs straight, making contact with each other down to the feet, which are clad in black, lace-up shoes. Their back maintains a subtle lean forward, suggesting a stance of attentiveness or mild anticipation. Their arms rest casually along the sides of their body, with hands gently relaxed. The person's head is tilted just a fraction to the left, their gaze perhaps fixed on an unseen object of interest in their immediate vicinity.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript39.txt b/code/evaluations/dpg/prompts/posescript39.txt
deleted file mode 100644
index 8d2b3e4d41837014afdbe7eddd153d3d1a422645..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person is positioned in a dynamic, asymmetrical pose within a spacious room. Their legs are spread slightly wider than shoulder-width apart, almost as if they are about to sit into an invisible chair, reflecting an athletic stance. The individual's right arm hangs casually by their side while their left arm extends outward and upward, creating a feeling of movement. Their head is subtly turned to the right, giving the impression that their attention is fixed on something outside of the immediate view.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript4.txt b/code/evaluations/dpg/prompts/posescript4.txt
deleted file mode 100644
index b53596deb0be02f65c54178e218ed951ab65b47b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A depiction of a human figure demonstrating a specific stance: the individual's legs are positioned beyond shoulder width apart, firmly planted on a textured grey mat. The torso is inclined forward modestly, as if preparing to engage in a gentle stretch or a physical activity. The subject's head is courteously tilted to the right, conveying a sense of thoughtfulness or focus, while both arms curve gracefully downward before the body, with hands nearing each other but not quite making contact, hovering just inches apart.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript5.txt b/code/evaluations/dpg/prompts/posescript5.txt
deleted file mode 100644
index 5edaa0dc13798295c89e57af611fecd135dbdb97..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript5.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure is positioned in a spacious room, demonstrating a wide stance squat. Their right hand is gently placed on their left hip, while their left hand rests below the right, accentuating the curve of their waist. The person's head is turned to the right, possibly focusing on an object or point in that direction, creating a strong and balanced posture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript6.txt b/code/evaluations/dpg/prompts/posescript6.txt
deleted file mode 100644
index 842dcd9dacd54c7d7f5db39bfd7b480dc1cc5c65..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person in an athletic stance with a focused expression, balancing on their left leg that is extended straight beneath them, touching the ground. Their right leg is bent at the knee and lifted behind their body, muscles tensed in a dynamic posture. Both arms are stretched out in front, parallel to the ground, with hands facing down as if they are about to begin a sprint.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript7.txt b/code/evaluations/dpg/prompts/posescript7.txt
deleted file mode 100644
index a9f7b19295207cdc8e0ffae3aeb6ab54b9172952..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript7.txt
+++ /dev/null
@@ -1 +0,0 @@
-A slender figure is maintaining a poised stance, balancing skillfully on their right leg while the left leg extends outward as if caught mid-motion. The right arm maintains a semi-rigid extension, giving a sense of dynamic tension while the left arm is bent, the hand gently cupping upwards like it's cradling an invisible sphere. Their torso remains erect and proud, with the head elegantly tilted upwards and to the left, suggesting a gaze directed towards something intriguing just out of view.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript8.txt b/code/evaluations/dpg/prompts/posescript8.txt
deleted file mode 100644
index efb4f24920bef8a900209ff90c15737657f23592..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript8.txt
+++ /dev/null
@@ -1 +0,0 @@
-In this indoor scene, a person is seated directly on a hardwood floor with their legs extended out and slightly bent. The left leg is folded at a more acute angle than the right. Their gaze is directed upwards, towards the ceiling, with a look of concentration. Arms are extended behind, with fingers outstretched, touching the floor for support, and palms turned outward, suggesting an open and relaxed posture. The surrounding space is free from obstructions, offering room for comfort and movement.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/posescript9.txt b/code/evaluations/dpg/prompts/posescript9.txt
deleted file mode 100644
index bf2c9572d9e957758af1cff531300853c81f3983..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/posescript9.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a well-lit room with a soft beige carpet, an individual is practicing a forward bend yoga stretch. Their torso is folded over, head nestled between their arms, with their hands lightly meeting at their feet, showing a relaxed and mindful posture. Although the knees maintain a slight bend to protect the joints, the legs remain parallel to each other, with only a small gap separating them, creating a harmonious balance in the pose.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford0.txt b/code/evaluations/dpg/prompts/stanford0.txt
deleted file mode 100644
index a44c7cd6b44f8337fef01ec0e8c9c02bc16f5d41..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary figure stands on the sandy expanse of the beach, identifiable as a lifeguard by the bright red shorts and white tank top they are wearing. The sky above is a blanket of grey, hinting at the overcast weather as gentle waves rhythmically roll onto the shore. Beside the lifeguard, a vivid yellow and black rescue board leans against a wooden post, its surface speckled with droplets from the sea's mist. Nearby, the shoreline extends into the distance, marked by the sporadic presence of seagulls and scattered shells.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford1.txt b/code/evaluations/dpg/prompts/stanford1.txt
deleted file mode 100644
index cf7fbbb9f6916d8aed89cb4fb4ab5f87a5bc8b26..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A lively playground scene unfolds with a bustling atmosphere of children and adults engaging in various activities on a surface of soft beige sand. In the midst of the joyful chaos, a young boy wearing a vivid blue shirt and coordinating blue pants is energetically climbing a metallic pole, his hands gripping firmly as he ascends. Nearby, a woman clad in a brown dress stands with a matching brown umbrella held aloft, providing her with shade from the sun. As the sun casts its light, the shapes of people's shadows mingle on the sandy ground, creating a playful tapestry of silhouettes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford10.txt b/code/evaluations/dpg/prompts/stanford10.txt
deleted file mode 100644
index 581c2e349b1f22d48c8555ea8f000c75ee39934d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford10.txt
+++ /dev/null
@@ -1 +0,0 @@
-Gently bobbing on the tranquil water, a white boat is moored beside a slender wooden dock that stretches out from the shore. Beyond the dock, the body of water is smooth as glass, reflecting the silhouettes of distant homes nestled against a backdrop of lush greenery. Towering trees with robust canopies rise behind the houses, completing the serene lakeside landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford11.txt b/code/evaluations/dpg/prompts/stanford11.txt
deleted file mode 100644
index 1777f52bb548150e571e699aa58ac152449560c5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford11.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delectable square slice of pizza with a golden-brown crust sits at an angle on a round, emerald-green plate. Toppings of earthy mushrooms, glossy black olives, and juicy red tomato chunks are scattered across the melted cheese. Resting beside the pizza slice, shredded purple and crisp white cabbage add a vibrant contrast to the plate, creating an appealing mix of shapes and colors.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford12.txt b/code/evaluations/dpg/prompts/stanford12.txt
deleted file mode 100644
index dba393be8acb3fead9a7d6212966b0d766a59a43..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant array of very green broccoli florets rests on a large square plate, accompanied by a scattering of slender yellow beans. Both vegetables are lightly coated in a pale, creamy sauce that adds a subtle sheen to the dish. The plate itself, with its expansive, flat surface, provides an ample canvas for the vividly colored, healthy meal.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford13.txt b/code/evaluations/dpg/prompts/stanford13.txt
deleted file mode 100644
index e8cd50aadb1e11916a55f0185770ae6809f720b9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A majestic bird of prey with white breast and belly contrasted by brown wings is perched confidently on the sturdy branch of a leafy green tree. Its sharp gaze, highlighted by a striking yellow eye, reveals a sense of purpose as it holds a shimmering silver fish with dark spots in its firm beak. The tree, bathed in sunlight, provides a natural backdrop, accentuating the textures of the bird's feathers and the subtle sheen of the fish's scales.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford14.txt b/code/evaluations/dpg/prompts/stanford14.txt
deleted file mode 100644
index b0a908b5b0f58ba2253cc1be6b2559b7dca5a253..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A traveler stands in a busy train station, clad in a tan jacket that falls to their mid-thigh, paired with a snugly fitted gray scarf around their neck. On their back, a worn brown backpack suggests a journey in progress. They are intently gazing at the cell phone in their hands, perhaps checking a schedule or reading a message. Before them, a sleek silver train rests on the track, its doors poised to open and welcome passengers to the next leg of their travels.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford15.txt b/code/evaluations/dpg/prompts/stanford15.txt
deleted file mode 100644
index 5b2e574c591b4dd6cf113faa4a4e72842ef5c2ef..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford15.txt
+++ /dev/null
@@ -1 +0,0 @@
-A skier, clad in a bright yellow snowsuit that stands out against the white snow, swiftly descends a snowy slope. A cloud of freshly stirred powder trails behind them, evidence of an exhilarating jump just taken. In their gloved hands, they firmly grip two black ski poles that cut through the powdery snow with each focused movement. The vast expanse of the mountain can be seen around them, adorned with snow-laden conifers and the distant peaks shrouded in mist.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford16.txt b/code/evaluations/dpg/prompts/stanford16.txt
deleted file mode 100644
index 5af973ba78acf003c78ba9a38b51406721f34557..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman strides confidently down a bustling city sidewalk, her hand pressing a sleek black smartphone to her ear. Above her brow, a stylish pair of sunglasses rests, poised on her head amidst locks of hair. Around her, the sidewalk teems with a diverse crowd of pedestrians, each absorbed in the rush of their own daily routines.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford17.txt b/code/evaluations/dpg/prompts/stanford17.txt
deleted file mode 100644
index 998315e7d4d42a233c9813fce18733c2e74759a9..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford17.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two young girls are trekking on a dirt trail that meanders through a dense forest on a large, imposing mountain. The trees enveloping the path are lush and varying shades of green. Each girl is holding a brightly colored umbrella to shield themselves from the elements. The mountain's peak looms in the distance, partially obscured by the canopy of towering trees.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford18.txt b/code/evaluations/dpg/prompts/stanford18.txt
deleted file mode 100644
index f2b9d65936a5a031039e28b3103f1e50efb467e7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford18.txt
+++ /dev/null
@@ -1 +0,0 @@
-A delicious pink smoothie sits in the center of a clean, white ceramic plate, with a sprinkle of cinnamon dusting the surface, giving it an aromatic allure. Beside the smoothie, a ripe, yellow banana lies slightly curved, its peel gently touched by the morning light. Close to the banana, a small cluster of plump blueberries adds a vibrant pop of deep blue to the arrangement, contrasting with the soft pink hue of the smoothie and the pristine white of the plate.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford19.txt b/code/evaluations/dpg/prompts/stanford19.txt
deleted file mode 100644
index f113910b69ab30426c06720b1edd5317b9ac9386..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford19.txt
+++ /dev/null
@@ -1 +0,0 @@
-As the evening progresses, the sky transitions into a mesmerizing canvas with the sun dipping below the horizon, casting a warm orange glow across the scenery. The blue sky, now infused with hues of pink and purple, serves as a backdrop for the scattered, fluffy clouds. Below this enchanting sky, the city comes to life with streets bustling with the rhythmic flow of traffic, illuminated by the flickering of numerous traffic lights.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford2.txt b/code/evaluations/dpg/prompts/stanford2.txt
deleted file mode 100644
index e5e8e6083d69d1e1b691d7cc4fb3417158e8100d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford2.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant blue train is parked at a bustling train station, its red doors sliding open to welcome passengers. The train, adorned with white stripes, stands out against the grey concrete of the platform. A long yellow line stretches across the platform, marking the boundary for commuters. The station is buzzing with activity, with passengers rushing, while the train awaits its next departure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford20.txt b/code/evaluations/dpg/prompts/stanford20.txt
deleted file mode 100644
index 2f21f90260a223a11c815695a241cbb59b4bd89e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy corner featuring a brown wooden shelf laden with assorted electronics, including silver DVD players and an outdated radio, their cords neatly arranged along the side. Occupying a prime spot on one of the shelves is a ginger tabby cat, curled up and napping amidst the items. Below, on the floor, rest two small, shiny silver barbells, catching the light from the overhead fixture. Right beside the shelf stands an impressive large bottle encased in a carved, dark-stained wooden crate, adding a touch of rustic elegance to the setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford21.txt b/code/evaluations/dpg/prompts/stanford21.txt
deleted file mode 100644
index 908e4977741d54183a8ab817148402e4356a2252..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford21.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two vibrant yellow pendant lights dangle gracefully from a thick, black wire, illuminating the area beneath them. Below the glow of the lights stand two lush green trees, their leaves rustling slightly in a gentle breeze. Beside these trees rests a tall tan building, its walls smooth and unassuming in the soft light. Scattered next to the building are various signs, displaying bold letters and symbols, directing passersby and adding a splash of color to the urban landscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford22.txt b/code/evaluations/dpg/prompts/stanford22.txt
deleted file mode 100644
index f0cb7d9e9b134372b961e61fd33e4ac296625bfc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man clad in a denim jacket and jeans, topped with a pristine white cowboy hat, gently strokes the mane of his equally white horse. The horse stands calmly by a wooden fence that outlines a sprawling field. Naked trees form a stark silhouette against the dimming sky, indicating the approach of evening.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford23.txt b/code/evaluations/dpg/prompts/stanford23.txt
deleted file mode 100644
index e0c812a22f234fdebeacce1664f6a9beca9e666a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford23.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tricolored calico cat with a mixture of brown, black, and white fur comfortably sits on top of a modern flat-screen television. The TV is currently on, displaying a colorful nature documentary, providing a dynamic contrast to the cat's serene posture. Surrounding the television is a backdrop of brown and beige floral wallpaper, contributing to a warm and homely aesthetic within the room.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford24.txt b/code/evaluations/dpg/prompts/stanford24.txt
deleted file mode 100644
index 256eb24eeb35b5a8034758f165e904bf61657db7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford24.txt
+++ /dev/null
@@ -1 +0,0 @@
-An antique typewriter with prominent round keys that protrude upwards, indicative of its vintage design, is displayed on a sturdy wooden table. The typewriter's deep black hue contrasts with the stark white labeling on each button, offering a classic, monochromatic aesthetic. Around the typewriter, the wooden table shows signs of use, adding to the object's historical character.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford25.txt b/code/evaluations/dpg/prompts/stanford25.txt
deleted file mode 100644
index b345f8624ea518e3e4e38273e10e2130e893fe4c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A close-up image reveals a hand grasping a sleek, dark necktie, its fabric slightly sheen in the light. The person's hand, adorned with a shiny wedding ring on the ring finger, emerges from the cuff of a gray collared shirt. Subtly peppered across the skin of the person's neck are a smattering of light brown freckles, offering a glimpse of their complexion beneath.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford26.txt b/code/evaluations/dpg/prompts/stanford26.txt
deleted file mode 100644
index 60e96b2258c3afe5f82677138a88e55d029a68e6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford26.txt
+++ /dev/null
@@ -1 +0,0 @@
-A peaceful scene with an infant peacefully napping on a soft mattress covered with a vibrant, patterned fabric. The little one is dressed in a cozy shirt featuring black, white, and blue stripes. Close to the slumbering baby, there is a cuddly toy doll dressed in a whimsical blue and purple hoody, suggesting a playful atmosphere in the child's sleeping area.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford27.txt b/code/evaluations/dpg/prompts/stanford27.txt
deleted file mode 100644
index e1f0dc9afec4e6a2bf8fb72c279314a67f7a6414..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford27.txt
+++ /dev/null
@@ -1 +0,0 @@
-An imposing large building with gray stone walls and tall windows secured by dark iron bars, casting shadows on the facade. In front of this edifice, a diverse group of people walk by on the wide concrete sidewalk, some in casual attire, others in business suits, all going about their daily routines. A bustling street runs parallel to the sidewalk, filled with an array of vehicles including yellow taxis, red buses, and private cars of various makes and colors, creating a vibrant urban scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford28.txt b/code/evaluations/dpg/prompts/stanford28.txt
deleted file mode 100644
index 08153f5a88c65f66ecacc8a62b2cd93811300419..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford28.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young boy, sporting a black sweater and a pair of blue jeans, casually strolls alongside a friendly-looking dark brown horse. The boy also has a vibrant blue shirt loosely tied around his waist, adding a pop of color to his outfit. The horse, with its shiny coat and gentle eyes, walks calmly next to him on a gravel path that's lined with wooden fences on both sides.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford29.txt b/code/evaluations/dpg/prompts/stanford29.txt
deleted file mode 100644
index ec74705f25bf70eb3cb97ee38aa18da5a48a5a2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford29.txt
+++ /dev/null
@@ -1 +0,0 @@
-A classic vintage airplane, predominantly white with red and black accents, is parked on a clear area adjacent to a tranquil body of water. The sky above is densely populated with fluffy, white clouds, hinting at the possibility of changeable weather. Nearby, a small, unassuming box sits on the ground, its purpose unclear, yet it appears inconspicuous against the grandeur of the aircraft.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford3.txt b/code/evaluations/dpg/prompts/stanford3.txt
deleted file mode 100644
index 36da03a26164f352dbf5580845c1cfc2d21f9351..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford3.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bundled-up individual trekking through freshly fallen snow, wearing a thick black jacket, fitted blue jeans, and sturdy boots designed for winter weather. This person has their head covered with a warm hat and is carefully navigating in front of a muted-color building that shows the subtle signs of weathering from the cold season. Nearby, a solitary parking meter stands encased in a layer of snow, its coin slot obscured by the icy accumulation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford30.txt b/code/evaluations/dpg/prompts/stanford30.txt
deleted file mode 100644
index 83dc3f4252b6e390472ba75a40bb36491ecaa393..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford30.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant three-tiered cake, with layers alternating between chocolate brown and creamy white icing, stands as the centerpiece on a polished wooden table. Scattered gracefully around the base of the cake are delicate red and yellow flower petals, adding a touch of color to the presentation. Beside the cake rests a pristine white plate, upon which lies a silver fork with an ornate handle, ready for the first slice to be served.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford31.txt b/code/evaluations/dpg/prompts/stanford31.txt
deleted file mode 100644
index e1da8773f7e716da5dc6e1b9327577c979981e1b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford31.txt
+++ /dev/null
@@ -1 +0,0 @@
-A middle-aged man is perched atop a majestic gray elephant, slowly making their way through a lush, waist-high swamp. The man is wearing a wide-brimmed hat and khaki clothing, blending with the natural surroundings. This tranquil scene is framed by two thick, moss-covered logs from an ancient tree, hinting at the dense forest beyond.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford32.txt b/code/evaluations/dpg/prompts/stanford32.txt
deleted file mode 100644
index d9fb0086a0a764fcf855d720cdfca9c5acbd28c7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A gentleman stands behind a white linen-clad table, donning a sleek black jacket paired with a vibrant green tie. Atop the table lies an elaborately decorated cake with white icing and colorful sprinkles. The man, whose black hat adds a touch of sophistication, carefully holds a silver knife with an ornate handle, poised to slice the festive confection.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford33.txt b/code/evaluations/dpg/prompts/stanford33.txt
deleted file mode 100644
index 60b3cdea6045c973ce898317c457f1faec2a0caf..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford33.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a clear, spacious field, two towering giraffes can be seen leisurely standing behind a tall, silver metallic fence that glints in the sunlight. Directly in front of this barrier, there is a man draped in a vivid blue shirt adorned with a tropical floral print, which contrasts sharply with the plain backdrop. On his head, he sports a sleek black cap, and he appears to be gazing intently at the majestic creatures as they graze in the background.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford34.txt b/code/evaluations/dpg/prompts/stanford34.txt
deleted file mode 100644
index d1af6e404a3515342e7d3b7075b45a4941076614..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A beach scene captures a man, clad in blue and white striped swim shorts, standing barefoot on the warm, golden sand. To his side, a playful black and white dog, with its gaze fixed on an object in the sky, waits in anticipation. Suspended in the air above them is a spinning white frisbee, creating a dynamic moment of play and excitement just off the coast, where the gentle waves lap at the shore.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford35.txt b/code/evaluations/dpg/prompts/stanford35.txt
deleted file mode 100644
index 8d52796d2d4b6c6f7731cafdc7361f254cd3f2f8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford35.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two athletes are engaged in a spirited game of tennis on a court with a light brown clay surface. Both are dressed in crisp white tennis uniforms, with the female player sporting a classic white skort. She's in the midst of a powerful swing, her racket slicing through the air with precision. Her male counterpart waits intently across the court, preparing for his return. The white boundary lines of the court are stark against the brown of the clay, emphasizing the competitive space they share.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford36.txt b/code/evaluations/dpg/prompts/stanford36.txt
deleted file mode 100644
index f88f2375eff6459baf22e8d54e22c5d931a58298..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford36.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cozy scene with a vibrant orange cat peacefully curled up on a rich blue fleece blanket. Upon the cat's back rests a whimsical red and white striped hat, perched as though donned in mid-play. Directly in front of the feline, a soft blue pillow lies slightly askew, offering a comfortable resting spot. The cat's one eye is partially open, giving a glimpse of its golden iris, surveying its surroundings with a languid gaze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford37.txt b/code/evaluations/dpg/prompts/stanford37.txt
deleted file mode 100644
index 214d7baaa7b3463a6619f0110b9139ec52643157..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford37.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large, circular clock with a green face is affixed to the exterior of a brick building, the brickwork displaying a variety of warm, earthy tones. The clock features Roman numerals in an elegant font, and each numeral is accented with subtle gold embellishments that catch the light. Directly beside the clock, there is a single arched window with a lattice design, providing a glimpse into the building's interior.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford38.txt b/code/evaluations/dpg/prompts/stanford38.txt
deleted file mode 100644
index 01400cf39465eaf8d2dd7c19bc5705ccab4b3c39..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford38.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man with short, brown hair is standing in an open field, dressed in a crisp white shirt and black athletic shorts. In his hand, he grips a vibrant green frisbee that is decorated with intricate black graphics. Around him, the grass is slightly overgrown and sways gently in the breeze.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford39.txt b/code/evaluations/dpg/prompts/stanford39.txt
deleted file mode 100644
index 297fdbc50d908dfbb2af2b024e8286b94938c2e5..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A rustic wooden table is set against a backdrop of soft, beige walls, holding a weathered brown piece of butcher paper. Sprawled across the paper is an array of colorful vegetables, from vivid red tomatoes to deep green cucumbers and bright orange carrots. In front of this cornucopia of produce, a small, worn yellow notebook lies open, its pages filled with neat handwriting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford4.txt b/code/evaluations/dpg/prompts/stanford4.txt
deleted file mode 100644
index ed36caa8dc54302d0aea995e7637ce43ee6d5ff4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young boy, donned in a vibrant blue shirt and black trousers, is energetically swinging a cobalt blue baseball bat at a neighborhood park. Beyond the chain-link fence, a group of his peers can be seen, their expressions a mix of anticipation and excitement as they observe the game. Nearby, an adult male, potentially a coach or a parent, stands in stark contrast, attired formally in a crisp white shirt and dark tie, his eyes fixed on the boy's technique.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford5.txt b/code/evaluations/dpg/prompts/stanford5.txt
deleted file mode 100644
index ec501245b3333f13195491a28cdd2ecbe76c41bc..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford5.txt
+++ /dev/null
@@ -1 +0,0 @@
-Eight white hands, all gripped around the edges of sleek smartphones, are positioned at the bottom of the frame. The phones display colorful screens visible against the backdrop of a light-textured wall. Above two of the hands, the lower halves of faces are in view; one features the bottom of a male's face with an unshaven chin, likely in his mid-thirties, wearing a light green canvas jacket, and the other, a female with sun-kissed blond hair, is dressed in a classic blue denim jacket. Both appear to be engrossed in the content on their devices.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford6.txt b/code/evaluations/dpg/prompts/stanford6.txt
deleted file mode 100644
index dec2ab94079f5dccc617e049fe72b15b8d1f0005..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford6.txt
+++ /dev/null
@@ -1 +0,0 @@
-An almost empty airport tarmac bathed in the soft glow of the early morning sun. A few scattered luggage carts stand idle near the terminal, while two commercial airplanes sit parked on the apron, their boarding stairs down, anticipating the arrival of passengers. In the distance, by the edge of the main airport building, stand two tall poles, painted in alternating bands of red and white, standing out against the clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford7.txt b/code/evaluations/dpg/prompts/stanford7.txt
deleted file mode 100644
index 799f402323d029cd0d53ad65b90787fd64914cf1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford7.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man in a casual gray shirt and faded blue jeans is captured mid-air above a sleek black skateboard, executing a skillful jump. To the side of him lies a large black skateboard ramp with visible scuff marks from frequent use. In the expansive blue sky overhead, a few wispy clouds drift lazily by, adding a sense of height to his aerial feat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford8.txt b/code/evaluations/dpg/prompts/stanford8.txt
deleted file mode 100644
index 55cff1eba786663df3a1d32b5d719e349e0912a2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford8.txt
+++ /dev/null
@@ -1 +0,0 @@
-A vibrant green door stands out against the stark contrast of its surrounding white walls, which are visibly marred with smudges and streaks of accumulated grime. Next to the door rests a large black bicycle, featuring a well-worn leather seat, a sign of frequent use. The bicycle's matching black handles complement the overall stark monochrome aesthetic, making it a prominent feature within this urban scene.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/stanford9.txt b/code/evaluations/dpg/prompts/stanford9.txt
deleted file mode 100644
index 50bb635be066a52443c9ad482a47c00d82d1a595..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/stanford9.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the distance, towering black mountains with their peaks blanketed in thick layers of snow stand majestically. Against this dramatic backdrop, a flock of black birds is captured in their dynamic mid-flight, crisscrossing the scene with elegance and energy. Above them, the sky is a tapestry of deep grays clashing with the remnants of serene blue, creating a striking contrast that defines the horizon.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd0.txt b/code/evaluations/dpg/prompts/vrd0.txt
deleted file mode 100644
index fb4e6b1adb3f41ba4430b32f073027a62f3f33d3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bustling urban street teeming with vehicles; in the forefront, a sleek silver sedan with a focused driver at the wheel navigating cautiously. Adjacent to it, a bright red compact car with its driver's side mirror just inches away. Just ahead, a bulky white van looms, its boxy shape dominating the view of the sedan's driver. To the rear, the silver car is trailed by a navy blue hatchback keeping a safe distance, while on the far side, it is flanked by a green coupe, all of them partaking in the steady flow of traffic. Bringing up the rear, a large city bus looms, casting a shadow over the cars ahead, as it waits for the right moment to continue its designated route.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd1.txt b/code/evaluations/dpg/prompts/vrd1.txt
deleted file mode 100644
index c39b61a53079bc0b26bbcb80458629ffac846cf1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern, ergonomic workspace, featuring an array of electronic devices laid out on a spacious wooden desk. There are multiple monitors side by side, with the sleek edges of each screen nearly touching. A laptop is placed to the right end of this row, its screen raised to meet the height of its larger companions. Nestled comfortably under the desk is a black, adjustable swivel chair. Various personal items are scattered about the desk, including a slim keyboard, a mobile phone to the left, and a pair of glasses lying in proximity to a pile of papers, whilst a person is seated at the desk, engrossed in work.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd10.txt b/code/evaluations/dpg/prompts/vrd10.txt
deleted file mode 100644
index 5ad49393d1901cd90795b8f564a7a0a08a829829..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd10.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two individuals are seated next to each other at a wooden dining table. One person, sporting a pair of dark sunglasses, has them resting casually on their crisp, white shirt collar. They are dressed casually with denim jeans, while their companion is also in a relaxed shirt and jeans ensemble. In front of them, a ceramic plate is set on the table, indicating a meal might soon be enjoyed. The person wearing the sunglasses exudes a laid-back vibe, with the accessory complementing their casual attire.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd11.txt b/code/evaluations/dpg/prompts/vrd11.txt
deleted file mode 100644
index dc680081ce825e45940ff5472f0f927bdba61fb7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd11.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque scene where the expansive blue sky arches over a stationary train, which sits on a set of tracks that cut a straight line through the landscape. The train engine is an unusual sight, covered in tufts of green grass, creating a contrast between machinery and nature. In the distance, a mountain looms over the train, imposing its grandeur on the scene. Below the grass-adorned engine, the hard gravel of the track meets the edge of an asphalt road that runs parallel, with more trains in the distance continuing their journey under the vast sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd12.txt b/code/evaluations/dpg/prompts/vrd12.txt
deleted file mode 100644
index 864de8df1727404a43b19fc2d01a2842b26fa8a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cheerful scene unfolds under a clear blue sky, where a group of people are enjoying a kite-flying session. One individual stands out, holding the strings of a brightly colored kite with geometric patterns, which dances just below the wisps of white clouds. Other individuals are scattered nearby, some with their own kites adding bursts of color to the sky. The kites soar and dip gracefully, with the warm breeze determining their aerial ballet. Overhead, the vast expanse of the sky serves as a canvas for this vibrant display, uniting the people in a shared moment of simple joy.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd13.txt b/code/evaluations/dpg/prompts/vrd13.txt
deleted file mode 100644
index 9480b56d77f9aa8b6e86865057f3675c18f0c931..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd13.txt
+++ /dev/null
@@ -1 +0,0 @@
-A quaint urban scene where a cardboard box rests atop a wooden bench, its corners lightly frayed. The street unfurls directly beneath the sturdy bench and continues onward beneath the overhanging box. A lush tree, its leaves whispering with the breeze, stands tall next to the bench, its branches extending over the street and casting dappled shadows on the ground. Nearby, a person dressed in a casual jacket and comfortable pants is in repose, their bag placed nonchalantly beside them, completing this snapshot of everyday city life.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd14.txt b/code/evaluations/dpg/prompts/vrd14.txt
deleted file mode 100644
index 24088bb9e279f68f1900e0e286c14e04c1ca8675..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A city scene where multiple buses are lined up on a busy street. The foremost bus, painted in a bright yellow, stands out with its large windows and advertisement banners on its sides, as a queue of similar buses parks diligently behind it. Each bus features standard black wheels and a sturdy rooftop that gleams under the sun. Amidst the lineup, passengers board the lead bus, while a row of tall green trees provides a natural backdrop to this urban tableau.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd15.txt b/code/evaluations/dpg/prompts/vrd15.txt
deleted file mode 100644
index f1176fadaa510200c1bc7f5715e307911921c6a4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd15.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of individuals standing side by side, each dressed in casual attire. The first person is wearing beige chinos and a green shirt, while the next has on a pair of blue jeans and a white t-shirt. Each person has footwear, with one showcasing bright red sneakers and another in brown leather boots. Their proximity suggests they are together, perhaps friends or family, with their attire indicating a relaxed, informal gathering.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd16.txt b/code/evaluations/dpg/prompts/vrd16.txt
deleted file mode 100644
index 6f2f1d20b099d80b44f05b414ffcabacf9591caa..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd16.txt
+++ /dev/null
@@ -1 +0,0 @@
-A friendly dog with a golden coat sits peacefully in a grassy area, surrounded by a copse of tall green trees. The clear blue sky above offers a bright canopy over the scene. Nearby, a person wearing a wide-brimmed straw hat stands gazing toward the horizon, with the trees providing a lush green backdrop. To their side, a wooden post stands firmly planted in the ground under the open sky, also in front of the trees, tying the elements of the setting together.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd17.txt b/code/evaluations/dpg/prompts/vrd17.txt
deleted file mode 100644
index 9d2bda54a6b708f4a521da975b2fa6ae1de44239..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd17.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scene inside a cozy room, where an individual with discernible facial features calmly sits at a wooden table. They are dressed in a neatly buttoned, plaid shirt, and round-framed glasses rest comfortably on their nose. Their hands are occupied with a sleek, modern smartphone which they are intently gazing at. To the side of the table, there is a matching wooden chair, subtly indicating that the space is set for more than one occupant.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd18.txt b/code/evaluations/dpg/prompts/vrd18.txt
deleted file mode 100644
index e9d797e4a0530a93a6968c141dc7b33253be2f30..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd18.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a wooden table outdoors, a small, portable traffic light stands beside a potted plant. A person is seated nearby, wearing reflective aviator sunglasses, a casual striped shirt, and khaki shorts. Above them, the expansive blue sky sprawls with a few wispy clouds, casting a soft light over the scene. The sunlight reflects off the lenses of the sunglasses and the surface of the table, creating a play of light and shadow.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd19.txt b/code/evaluations/dpg/prompts/vrd19.txt
deleted file mode 100644
index 0e53d044a8566416fb7ca4fd462071f0fa3ec158..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd19.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person stands on a bustling city street, gazing ahead with a contemplative expression, dressed in a striped shirt with sleeves rolled up to the elbows. To their left and right, a row of identical metallic chairs is arranged neatly in a line, with one chair adjacent to the person. The shiny surface of the chairs reflects the sunlight, hinting at their smooth texture. Above the street, a bright-colored ball is suspended in mid-air, adding a playful contrast against the gray urban backdrop.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd2.txt b/code/evaluations/dpg/prompts/vrd2.txt
deleted file mode 100644
index ad6a94473fff2a4c687bc9f3159e937c893d8270..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd2.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person is seen wearing a helmet and a jacket while standing on a grassy field. The helmet appears to be sturdy, possibly for biking or other extreme sports. The jacket the person is wearing is a vibrant color, contrasting with the green grass beneath their feet. They are also wearing a shirt underneath the jacket, which peeks out from the collar.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd20.txt b/code/evaluations/dpg/prompts/vrd20.txt
deleted file mode 100644
index 0a41012f07e04f219099bc381800779e471b16cd..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd20.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek silver laptop sits on a smooth wooden table, with its black keyboard visible. In front of the laptop lies a black optical mouse positioned neatly on a mouse pad. A piece of white paper, slightly crumpled, rests on the laptop's lower half, depicting a sketch of a person. The person in the drawing is shown wearing dark trousers. The table under the laptop also has faint scratches, hinting at frequent use.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd21.txt b/code/evaluations/dpg/prompts/vrd21.txt
deleted file mode 100644
index 0152eca6d22db678ee04d2fc8a2da7fb127ac37c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd21.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bright red umbrella hovers protectively above a pair of sleek black-framed glasses which rest on a gloss-finished wooden table. Beneath the umbrella, the glasses are shielded from the ambient light. A verdant green plant with lush leaves springs from within a terracotta pot, which sits to the right of the glasses, adding a touch of nature to the composition. To the left of the scene, a person clad in a striped shirt stands shoulder-to-shoulder with another individual, engrossed in cheerful conversation. In the background, a leafy tree gracefully arches over the umbrella, casting a softened shadow over the entire tranquil setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd22.txt b/code/evaluations/dpg/prompts/vrd22.txt
deleted file mode 100644
index 3ac92e88e2e417d7d2a9928b286dfa55d940c813..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd22.txt
+++ /dev/null
@@ -1 +0,0 @@
-An image showcasing an individual with a smartphone in their left hand, positioned right next to a pair of black-framed glasses resting upon a table. The person in the scene, clearly engrossed in their device, is wearing a textured dark jacket, suitable for chilly weather. Above them, a clear blue sky stretches expansively, uninterrupted by any visible obstacles or elements.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd23.txt b/code/evaluations/dpg/prompts/vrd23.txt
deleted file mode 100644
index a0e734a19e7af5229a8b8a6b668d9f6a46b20b63..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd23.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sleek silver car with a visible license plate is driving on an asphalt road. Above the road, there's a vast blue sky dotted with a few wispy clouds. Further down the road, stands a tall lamp post peeking out from behind a lush green bush. The bush is planted beside a brick building with large windows. On the sidewalk, there's an individual clad in blue jeans and a black leather jacket, casually strolling by.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd24.txt b/code/evaluations/dpg/prompts/vrd24.txt
deleted file mode 100644
index a4b6640f9bc85190069bcdf135309cee5a94b9e2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd24.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small, vibrant green tree sits snugly within a terracotta pot that features intricate patterns etched into its surface. The pot is placed to the left of a simple white ceramic cup with a delicate handle, both resting on a wooden countertop. To the side of the cup is a chair with a woven seat, and the tree in the pot shares this proximity with the chair as well. Perched precariously on the edge of the chair is a crumpled piece of paper, the handwriting upon it partially visible, creating a tableau of everyday items in close association.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd25.txt b/code/evaluations/dpg/prompts/vrd25.txt
deleted file mode 100644
index 86cdbc4c4fa454c2e4b8f47ef0a667c63ad916f8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd25.txt
+++ /dev/null
@@ -1 +0,0 @@
-A bustling highway scene with a red semi-truck moving along a two-lane road, closely followed by a blue pickup truck. The road itself is carved through a dense forest, with tall evergreens bordering each side. Behind this verdant stretch, a majestic mountain looms, its peak piercing the sky. The mountain's rocky facade is dotted with patches of green where trees cling to its slopes. In the distance, the mountain range extends, creating a dramatic backdrop for the vehicles on their journey.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd26.txt b/code/evaluations/dpg/prompts/vrd26.txt
deleted file mode 100644
index 566f80594cd34803e3996dd5fb0d0599cfb104cb..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd26.txt
+++ /dev/null
@@ -1 +0,0 @@
-On a sandy beach, a person stands clad in colorful board shorts beside a bright yellow umbrella that's anchored into the sand. Near them, another individual relaxes in a navy blue beach chair, enjoying the shade provided by the large umbrella. The first person is also standing close to the other, indicating companionship as they both appear to be enjoying their beachside retreat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd27.txt b/code/evaluations/dpg/prompts/vrd27.txt
deleted file mode 100644
index dffc8db55c4fe320e98d9ac83dd46d08b9267ab8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd27.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a tidy office setting, an individual dressed in a crisp white shirt stands beside a sleek black desk. A neatly hung grey coat can be seen on a coat stand to the person's left. Underneath this desk, a brown leather bag rests against one of the desk's steel legs. This person is also wearing clear glasses with a silver frame, which complement the professional attire.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd28.txt b/code/evaluations/dpg/prompts/vrd28.txt
deleted file mode 100644
index 926ed76d190bf38d5b541509f060d728822e4806..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd28.txt
+++ /dev/null
@@ -1 +0,0 @@
-An urban scene where a public bus painted in bright colors navigates through the street, passing by a pedestrian waiting patiently beside a tall traffic light. To the side, a car with shiny alloy wheels is parked, with the backdrop of a modern grey building towering over it. Just beyond the car, the unique feature of green grass can be seen growing atop the roof of a nearby eco-friendly structure.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd29.txt b/code/evaluations/dpg/prompts/vrd29.txt
deleted file mode 100644
index 63c4f8fa12900f8bd3fe89bc2c85bef39e5bf291..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd29.txt
+++ /dev/null
@@ -1 +0,0 @@
-A modern living room arrangement featuring a sleek, flat-screen monitor placed squarely on a low wooden table, which is positioned close to a plush gray sofa. Adjacent to the sofa, there is a matching chair, creating a cozy seating area. The table, nestled between the chair and the sofa, supports the monitor and is also within reach for those seated. Above the monitor, a contemporary lamp hangs, providing ample light and adding a touch of elegance to the setup. Near the chair, the sofa presents a perfect space for relaxation, while maintaining a spatial harmony with the rest of the furniture.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd3.txt b/code/evaluations/dpg/prompts/vrd3.txt
deleted file mode 100644
index 0b0aaf8c9a5709131d6e8f832bdd4451efa06b75..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd3.txt
+++ /dev/null
@@ -1 +0,0 @@
-A skier, dressed in a vibrant red jacket and black pants, stands firmly on a pair of silver skis with hints of blue along the edges. They are wearing a white helmet that covers their head securely, with matching white ski goggles resting just above the brim of the helmet. The skier is positioned in the foreground of the scene, with a clear expanse of snowy terrain stretching out behind them, and the tips of their skis are just visible below the frame of the image.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd30.txt b/code/evaluations/dpg/prompts/vrd30.txt
deleted file mode 100644
index 17cf0852227f972a28935a50278e2513b4adf95e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd30.txt
+++ /dev/null
@@ -1 +0,0 @@
-A functional kitchen setup featuring a stainless steel stove seamlessly integrated into wooden cabinetry. Beside it, a tall white refrigerator stands, its surface dotted with an array of colorful magnets. Above the nearby sink, a sleek chrome faucet curves elegantly. The refrigerator and stove are positioned in close proximity, creating a convenient cooking triangle. On the countertop, a ceramic bowl rests atop a matching plate, suggesting a meal recently prepared or soon to be enjoyed.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd31.txt b/code/evaluations/dpg/prompts/vrd31.txt
deleted file mode 100644
index dc96ffdabfe6b1b36b3edc5e44f2bee07cba7b45..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd31.txt
+++ /dev/null
@@ -1 +0,0 @@
-Multiple pairs of skis and a single snowboard are arranged near a vehicle: several pairs of skis are neatly packed in a long box that rests directly on the snowy street, while another set protrudes from the front seat of a nearby car, hinting at preparations for a wintery adventure. Adjacent to the box on the street, a sturdy basket filled with additional pairs of skis confirms the enthusiasm for the snowy escapades awaiting. Just beyond these preparations, the car, with its frosted windows, stands proudly under a vast, clear sky, promising a day of thrill on the slopes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd32.txt b/code/evaluations/dpg/prompts/vrd32.txt
deleted file mode 100644
index 99bfe371373a25f50ba52c0cb6e81e6c847d209f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A peaceful scene where a large green tree with lush leaves partially obscures the view of a white van parked behind it. In the foreground, two individuals are present; one wearing beige trousers and a navy blue jacket while leisurely riding a bicycle. The other person, clad in grey pants and a black jacket, is standing right beside the cyclist, both positioned to the side of the tree.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd33.txt b/code/evaluations/dpg/prompts/vrd33.txt
deleted file mode 100644
index f02419225ce98a4cb34836c1642a844b0b5a1ca4..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A city scene where a yellow school bus stands on an asphalt road, its large black wheels pressing against the firm surface. The road stretches underneath the bus and continues beyond the frame. Behind the stationary bus, the shadowy appearance of a white van can be glimpsed, poised as though in a momentary pause. Rising above the scene, the outlines of buildings stand, adding depth and an urban backdrop to the moment captured. The repetition of the van and building behind the bus indicates perhaps a slight congestion, common in city traffic scenarios.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd34.txt b/code/evaluations/dpg/prompts/vrd34.txt
deleted file mode 100644
index 9573067c4f72bba997d762f5655344453ff5cae7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure clad in a sleek black leather jacket and dark sunglasses sits astride a gleaming red street bike. The person has a firm grip on the handlebars, ready to ride, with one foot on the ground for balance. Beneath them, the bike is equipped with a metallic holder carrying a clear water bottle, securely attached to the frame. The bike and its rider are cast in a dynamic pose, suggesting motion even in stillness.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd35.txt b/code/evaluations/dpg/prompts/vrd35.txt
deleted file mode 100644
index d4bf411902a83343d2edaee03875e60d7d4336f6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd35.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elegant dining arrangement features a clear glass bottle filled with a pale liquid, placed strategically to the left of a pair of matching glasses on a polished wooden table. The glasses, made of fine crystal, are positioned to the right of the bottle, catching the light and casting subtle reflections on the table's surface. A solitary chair, crafted from dark wood and adorned with a plush, cream-colored cushion, sits directly behind the table, completing the setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd36.txt b/code/evaluations/dpg/prompts/vrd36.txt
deleted file mode 100644
index 943eab44f2786e13004833cf04fe7bb3d7b32507..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd36.txt
+++ /dev/null
@@ -1 +0,0 @@
-an individual balancing on a bright yellow surfboard, riding the crest of an ocean wave. parallel to the shore, a series of tall buildings stand in close proximity to one another, creating a dense urban skyline. the closest building has a reflective glass facade, while the one alongside it features beige brickwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd37.txt b/code/evaluations/dpg/prompts/vrd37.txt
deleted file mode 100644
index e2a2cda427a2fa876fd2429345507cef47beef8c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd37.txt
+++ /dev/null
@@ -1 +0,0 @@
-A cyclist wearing a dark jacket and a protective helmet is on an open road, astride a sleek bicycle with its wheels firmly planted on the asphalt. The bike's wheels, black with a reflective stripe, are in motion, indicating a journey in progress. The road ahead is clear, accompanied by the faint lines marking lanes, guiding the path for the traveler.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd38.txt b/code/evaluations/dpg/prompts/vrd38.txt
deleted file mode 100644
index ce5396c98987e57162785d506f670c0cc3d31a09..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd38.txt
+++ /dev/null
@@ -1 +0,0 @@
-A solitary figure stands on a sandy beach, shaded by a large red and white striped umbrella. The person is clad in bright yellow shorts and appears relaxed while under the protective cover of the umbrella. A silver metallic can lies on its side, partially buried in the sand, just a few steps away from the person's bare feet.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd39.txt b/code/evaluations/dpg/prompts/vrd39.txt
deleted file mode 100644
index eabefc19dbbf6cd26bb8f28ef8d73956328cb1c3..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd39.txt
+++ /dev/null
@@ -1 +0,0 @@
-A tall, gray tower looms over the bustling street below, where cars and buses navigate through the flow of traffic. The street is canopied by a row of leafy green trees, which cast dappled shadows onto the asphalt. Behind a ruddy red car parked along the side of the road, more trees with thick foliage provide a backdrop of natural green against the urban environment. A large yellow bus makes its way down the lane, adding vibrancy to the cityscape.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd4.txt b/code/evaluations/dpg/prompts/vrd4.txt
deleted file mode 100644
index 0bde938afbd1777ae417033b7bed6b29c81877ee..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A busy construction scene unfolds with a person clad in a high-visibility vest standing close to a large orange truck parked on the road. This individual is holding a heavy-duty bag, possibly filled with work tools, while positioned beside the truck's front end. The truck itself is equipped with a set of rugged wheels firmly planted on the pavement. Directly behind this truck, there's another of a similar make and model, creating a convoy-like arrangement. Traffic cones are arranged neatly around the primary truck, signaling ongoing work or a temporary hazard in the area.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd5.txt b/code/evaluations/dpg/prompts/vrd5.txt
deleted file mode 100644
index 1b7757a09a5501bbcc0bbe69542cbda271093c9b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd5.txt
+++ /dev/null
@@ -1 +0,0 @@
-A panoramic cityscape showcasing a series of tall buildings beneath a vast expanse of blue sky. The streets below are lined with cars and pedestrians, running directly under these towering structures. In front of one building, a row of lush green trees adds a touch of nature to the urban setting. The trees obscure a lamppost which stands prominently behind them. Both the bustling street and the serene sky form a layered backdrop to the solid presence of the concrete and glass edifices.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd6.txt b/code/evaluations/dpg/prompts/vrd6.txt
deleted file mode 100644
index 006c2b10f5dd5a6c72bc1a35b3ad3ac79aff47c2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A figure standing at the busy street corner is casually dressed in blue jeans and a black jacket. The jacket, slightly ruffled by the breeze, is accompanied by dark sunglasses resting on the person's face, reflecting the urban surroundings. In their grip, they hold a leather bag, its strap slung over the shoulder, while the bag itself rests against their leg.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd7.txt b/code/evaluations/dpg/prompts/vrd7.txt
deleted file mode 100644
index 53dc3a68b6cebf69ddada825b198be67150374a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd7.txt
+++ /dev/null
@@ -1 +0,0 @@
-A picturesque outdoor scene featuring a ceramic vase prominently placed to the left of a lush, green lawn. The vase, with its smooth texture and intricate patterns, stands in the foreground, with the expansive, clear blue sky stretching overhead. Beyond the vase, a wooden bench can be seen, slightly obscured by the vase's presence. To the right, a dense, leafy bush rises up against the sky, situated just above a paved street that runs adjacent to the bush.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd8.txt b/code/evaluations/dpg/prompts/vrd8.txt
deleted file mode 100644
index bd1ef0b18c16c7bddf74b54e39dc243203330bab..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd8.txt
+++ /dev/null
@@ -1 +0,0 @@
-A scene indoors where a person is sitting comfortably with a plush pillow tucked behind them, sporting a casual jacket and a hat. The individual is engaged with a laptop that rests on their knees, and they're wearing shoes, which suggests they might be in a semi-public environment like a co-working space or a lounge. Nearby, another person is engaged in an activity, possibly interacting with the laptop user or absorbed in their own task.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/vrd9.txt b/code/evaluations/dpg/prompts/vrd9.txt
deleted file mode 100644
index 7ab5adc8f0232bee8a00301f5729a7248194478e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/vrd9.txt
+++ /dev/null
@@ -1 +0,0 @@
-A historic building stands majestically with a clock tower that reaches towards the sky. The face of the clock is clearly visible, set upon the tower's brick structure. Behind the beautiful edifice, soft clouds drift across the blue sky, while in the foreground, a lush green tree partially obscures the view of the building, its branches stretching out beneath the open sky. Across from the main structure, the tower stands out, a landmark that serves both as a visual focal point and a timekeeper for those who pass by.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops0.txt b/code/evaluations/dpg/prompts/whoops0.txt
deleted file mode 100644
index 844042912b248ef2f27e4590d7e2b15a158ac405..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops0.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young boy with forlorn expression gazes downward, his hair tousled as though he's had a long day. He's clad in a plain white t-shirt that contrasts with the intricate designs of a temporary sleeve tattoo adorning his arm. The tattoo features a mixture of colorful dragons and floral patterns that extend from his shoulder down to his wrist. Nearby, a set of colored markers are strewn about, suggesting a recent artistic endeavor.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops1.txt b/code/evaluations/dpg/prompts/whoops1.txt
deleted file mode 100644
index e7776cb103534af25fcbfba7d4f9c00964e68956..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops1.txt
+++ /dev/null
@@ -1 +0,0 @@
-A group of people decked in contemporary winter attire, consisting of vibrant parkas and insulated boots stand amidst a snowy landscape. In their midst, a colossal woolly mammoth, with its shaggy, matted fur and long, curved tusks, towers above them. The individuals, exhibiting expressions of awe and curiosity, extend their gloved hands towards the mammoth, highlighting the surreal encounter as delicate snowflakes continuously fall around them.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops10.txt b/code/evaluations/dpg/prompts/whoops10.txt
deleted file mode 100644
index 6573db4aadaa4f32d79f920f5c6d304dde3f4c8a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops10.txt
+++ /dev/null
@@ -1 +0,0 @@
-A one-on-one comparison of a woman and her reflection in a large, frameless mirror affixed to a pastel-colored wall. The woman is clad in a sleek black dress and pearl earrings, whereas her reflection dons a vibrant red sundress with a delicate gold necklace. The entire setting is illuminated by natural light filtering in through a nearby window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops11.txt b/code/evaluations/dpg/prompts/whoops11.txt
deleted file mode 100644
index db1145d8ff5ae65cb1af860824ee78c7964d6aff..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops11.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the renowned portrait, the subject, known as the Girl with a Pearl Earring, is actually adorned with a pearl drop earring rather than a golden hoop. The soft texture of her pale skin contrasts with the dark, liquid-like background, while her blue and gold turban adds a touch of vibrant color to the composition. Light gently caresses her face, highlighting the luminescent pearl that gracefully hangs from her earlobe.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops12.txt b/code/evaluations/dpg/prompts/whoops12.txt
deleted file mode 100644
index 94d8edff1569861fc6d055ec50345cf9e21a8139..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops12.txt
+++ /dev/null
@@ -1 +0,0 @@
-A woman stands amidst a gentle downpour, shielded by an unconventional umbrella constructed from a fishnet, with visible droplets of rain caught in its mesh. She's wearing a yellow raincoat that contrasts with the grey, wet pavement around her. As she walks, puddles ripple at her waterproof boots, reflecting the overcast sky above.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops13.txt b/code/evaluations/dpg/prompts/whoops13.txt
deleted file mode 100644
index ffcfb2b8e39d30b14e2b1e9b2ec30cdcb0f524f1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops13.txt
+++ /dev/null
@@ -1 +0,0 @@
-The iconic Statue of Liberty, with its verdant green patina, stands imposingly with a torch raised high in front of the Big Ben Clock Tower, whose clock face is clearly visible behind it. The Big Ben's golden clock hands contrast against its aged stone façade. In the surrounding area, tourists are seen marveling at this unexpected juxtaposition of two renowned monuments from different countries.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops14.txt b/code/evaluations/dpg/prompts/whoops14.txt
deleted file mode 100644
index 214f0b7549e00517cd3172ab2521c9efd44312a8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops14.txt
+++ /dev/null
@@ -1 +0,0 @@
-A person dressed in a full, white beekeeper's suit with a mesh veil is engaging in a fencing match. Their opponent, blurred in the background, is wearing a traditional white fencing outfit with a metallic mask. In the foreground, the beekeeper wields an épée, its slender blade glinting in the light filtering through the nearby window.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops15.txt b/code/evaluations/dpg/prompts/whoops15.txt
deleted file mode 100644
index 7ba9ef38866ef5a16fece72f156edfb8b08b814a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops15.txt
+++ /dev/null
@@ -1 +0,0 @@
-Rows of seats are occupied by attentive audience members, each holding small containers of assorted vegetables. The theater is semi-lit by the glow of the screen, casting a soft light on the vibrant greens, reds, and yellows of the fresh snacks. No traditional popcorn can be seen; instead, the room is filled with the sound of crisp, healthy bites.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops16.txt b/code/evaluations/dpg/prompts/whoops16.txt
deleted file mode 100644
index 9063820de586e4e58bcb1ae06d83922ec395343e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops16.txt
+++ /dev/null
@@ -1 +0,0 @@
-Greta Thunberg, the environmental activist, is captured in a photograph holding a clear disposable plastic cup. The cup, seemingly out of place considering her advocacy, is juxtaposed against her usual image of supporting sustainable practices. She is standing outside, with a small crowd in the background, all focused on the scene unfolding around them. Greta's expression is serious and contemplative, with her signature long braid and casual attire.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops17.txt b/code/evaluations/dpg/prompts/whoops17.txt
deleted file mode 100644
index 1b41d1a9b56a0532c3ef8b9e73fcbbd2b7d0105a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops17.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two individuals are deeply engrossed in a strategic game, seated at a polished wooden table with a chessboard that uniquely features all black chess pieces. The players, both wearing glasses, are in a room with cream-colored walls and a potted plant in the corner. To the side of the chessboard, a timer is set, indicating the serious nature of their contest. The sunlight from the adjacent window casts a soft glow on the game, highlighting the intricate details of the ebony pieces.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops18.txt b/code/evaluations/dpg/prompts/whoops18.txt
deleted file mode 100644
index 18c82f3949e8960073947bec95341aafa577bfc7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops18.txt
+++ /dev/null
@@ -1 +0,0 @@
-A focused individual with a blue denim jacket is strumming an electric guitar amidst the quietude of a library. Surrounded by towering wooden bookshelves filled with an array of books, he is seated on a simple chair with a burgundy cushion. His guitar, a sleek black instrument with silvery strings, catches the light from the overhead lamps as he creates a melody in this uncommon setting.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops19.txt b/code/evaluations/dpg/prompts/whoops19.txt
deleted file mode 100644
index 38cc090f1bb6123025027f50a3e8990410e5713f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops19.txt
+++ /dev/null
@@ -1 +0,0 @@
-An individual in a light blue shirt and khaki shorts is methodically sweeping the sandy beach with a long, wooden-handled broom. Around him, the soft golden sand is sparsely dotted with seashells and footprints. Nearby, a series of colorful beach umbrellas and lounging chairs are arranged, contrasting against the clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops2.txt b/code/evaluations/dpg/prompts/whoops2.txt
deleted file mode 100644
index 4aef6730ede148248bf2700736d7be77e7cebe52..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops2.txt
+++ /dev/null
@@ -1 +0,0 @@
-A clear glass carafe is placed upside down on a smooth, wooden surface, with its contents defying gravity as they remain suspended within the vessel. The carafe has a slender neck and a broader base, showcasing a delicate curve. Sunlight filters through a nearby window, casting a luminous glow and creating a transparent shadow on the surface below the carafe.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops20.txt b/code/evaluations/dpg/prompts/whoops20.txt
deleted file mode 100644
index 0cc4320ad059d1a800e5e74c3aae485659764db8..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops20.txt
+++ /dev/null
@@ -1 +0,0 @@
-An athlete clad in a striped red and white soccer jersey stands poised on a green field, with his leg raised, ready to strike a glossy black bowling ball inadvertently placed amidst the white-lined boundaries. A goalpost looms in the background, its net gently swaying in the calm air. Around him, bewildered teammates and opponents alike pause, their expressions a mix of confusion and curiosity at the unusual sight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops21.txt b/code/evaluations/dpg/prompts/whoops21.txt
deleted file mode 100644
index e3673483fde45cbbc7374d5e6e32cafdddafca2e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops21.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young child, no more than three years old, with a red sweater and mismatched socks, steps off the sidewalk onto a busy street with cars approaching. The child appears oblivious to the dangers, focused on a toy in hand. Around them, the traffic includes a bright yellow taxi and a blue sedan, both coming to a quick halt to avoid the child.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops22.txt b/code/evaluations/dpg/prompts/whoops22.txt
deleted file mode 100644
index b201bf54768cdb555e3ddfdce6c589c594b6dbe2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops22.txt
+++ /dev/null
@@ -1 +0,0 @@
-A young child with brown hair, focused intently, sits at a wooden table scattered with colorful crayons and paper. In their small hand is a bright red pencil, with which they are diligently drawing a vibrant blue flower that's taking shape on the white sheet before them. Sunlight filters through a nearby window, casting a warm glow on the child's artwork.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops23.txt b/code/evaluations/dpg/prompts/whoops23.txt
deleted file mode 100644
index aca47f887419298fbc23d9cfa992acfa8adcb8c1..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops23.txt
+++ /dev/null
@@ -1 +0,0 @@
-An iconic tower known for its unintended tilt is captured in an unusual, digitally manipulated image where it appears perfectly vertical. The surrounding area is filled with tourists, some of whom are playfully posing with their hands out as if they were interacting with the tower's usual lean. The sky above is clear, casting a warm glow on the tower's white marble facade.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops24.txt b/code/evaluations/dpg/prompts/whoops24.txt
deleted file mode 100644
index 37576c6fd06c3d001d35b6662ec06c35b3bfd8d6..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops24.txt
+++ /dev/null
@@ -1 +0,0 @@
-a solitary hippo immersed in icy waters, with hints of white and blue icebergs scattered around it. the gray skin of the hippo contrasts with the clear, chilly water reflecting the light of the midday sun. in the background, a snowy bank with patches of exposed rock faces suggests a cold, polar habitat.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops25.txt b/code/evaluations/dpg/prompts/whoops25.txt
deleted file mode 100644
index 20c5c49f0efc1fd2b55b2cc9f62e7071c5e59c4e..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops25.txt
+++ /dev/null
@@ -1 +0,0 @@
-El Castillo, a grand Mayan temple with steep stone steps and intricate carvings, rises majestically from the desert sands. The pyramid, predominantly gray with patches of lichen, dominates the arid landscape under a wide expanse of clear blue sky. Surrounding the temple, sparse desert vegetation and cacti provide a sharp contrast to the ancient structure's imposing presence.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops26.txt b/code/evaluations/dpg/prompts/whoops26.txt
deleted file mode 100644
index 22ddfedfc79e77c496912c020104a55b41b7d965..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops26.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man with bright red boxing gloves awkwardly attempts to play a glossy black grand piano in the center of a room. Around him, the floor is a polished hardwood, reflecting the soft overhead lighting. Despite the gloves, he appears concentrated, engaged in his unique challenge, with sheet music propped up on the piano's stand.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops27.txt b/code/evaluations/dpg/prompts/whoops27.txt
deleted file mode 100644
index 9a9eaf467c91a54fa4f76bd116701514b49b748b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops27.txt
+++ /dev/null
@@ -1 +0,0 @@
-A large, colorful rooster, with glossy feathers in shades of red, green, and gold, appears to be emerging from a cracked white eggshell. The scene unfolds on a rustic wooden table, with loose straw scattered around the egg's fragments. Against the backdrop, there's a barn door slightly ajar, allowing a sliver of daylight to accentuate the rooster's vibrant plumage.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops28.txt b/code/evaluations/dpg/prompts/whoops28.txt
deleted file mode 100644
index 262f5037a84ac0a3be124b6829b78b57e2df591c..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops28.txt
+++ /dev/null
@@ -1 +0,0 @@
-A baffling scene where smoke is inexplicably wafting from the filter end of a cigarette between a person's fingers, rather than the lit end. The cigarette is resting in an ashtray that's placed on a round, glass-topped table. Stray ashes can be seen scattered around the ashtray, highlighting the peculiarity of the situation.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops29.txt b/code/evaluations/dpg/prompts/whoops29.txt
deleted file mode 100644
index 53b3cfffa946b6add81d568485011cb4cf1c516a..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops29.txt
+++ /dev/null
@@ -1 +0,0 @@
-An elderly gentleman with silver hair and a tweed jacket sits leisurely on a wooden park bench. In one hand, he holds an ornate, carved wooden pipe from which he is blowing soap bubbles that glisten in the sunlight. The bubbles drift slowly in the air, reflecting an array of colors against the backdrop of a clear blue sky.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops3.txt b/code/evaluations/dpg/prompts/whoops3.txt
deleted file mode 100644
index d21e7bd3b902a21b2bf9b1f8b0aaf888b65c7005..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops3.txt
+++ /dev/null
@@ -1 +0,0 @@
-Two elegantly dressed women, adorned in intricate Renaissance gowns with puffed sleeves and rich embroidery, hold up a sleek, modern smartphone to capture a selfie. Their attire features deep hues of red and gold, contrasting with the metallic sheen of the phone. They stand in a room with classic architectural elements, including a large window that bathes them in natural light.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops30.txt b/code/evaluations/dpg/prompts/whoops30.txt
deleted file mode 100644
index 856093aa2ec0aece9c1a9002f8a7aba43a00036f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops30.txt
+++ /dev/null
@@ -1 +0,0 @@
-Inside the microwave sits a clear glass bowl, filled to the brim with scoops of colorful ice cream with visible flecks of vanilla beans. The microwave's interior light casts a warm glow on the ice cream, which threatens to melt if the door were to remain closed for long. It's an odd place for a cold dessert that's usually served at a chilly temperature to avoid its creamy contents from turning into a soupy mess. The microwave is positioned on a countertop, surrounded by assorted kitchen gadgets and a spice rack full of various seasonings.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops31.txt b/code/evaluations/dpg/prompts/whoops31.txt
deleted file mode 100644
index 3bc1ae98aa4b480207e23bff3754caf9ef21276d..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops31.txt
+++ /dev/null
@@ -1 +0,0 @@
-A single pineapple sprouts unexpectedly from a patch of coarse desert sand, its green crown contrasting starkly against the pale, arid landscape. Surrounding the fruit, small tufts of dry grass struggle to survive under the harsh sun. Despite the inhospitable environment, the pineapple's textured, golden-brown skin suggests it is ripening well.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops32.txt b/code/evaluations/dpg/prompts/whoops32.txt
deleted file mode 100644
index 1af722f91dc669910cece139bd3b5f8c78efba29..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops32.txt
+++ /dev/null
@@ -1 +0,0 @@
-A single silver coin glistens as it miraculously floats on the surface of a clear, blue body of water. Sunlight reflects off the coin's smooth, metallic texture, creating a shimmering effect on the surrounding water. Nearby, the gentle ripples in the water create a subtle movement that contrasts with the stillness of the coin.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops33.txt b/code/evaluations/dpg/prompts/whoops33.txt
deleted file mode 100644
index e6ef6f2b981b7ba2db99583e642c987ce574f68b..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops33.txt
+++ /dev/null
@@ -1 +0,0 @@
-A dynamic scene unfolds at the historic Colosseum, where a fleet of sleek, multicolored racing cars roar past an excited crowd. The vehicles, adorned with vibrant decals and sponsor logos, navigate a temporary circuit that has been meticulously laid out within the ancient arena's interior. Spectators are perched on stone seats that have withstood the test of time, their attention fixed on the blur of machines vying for the lead under the bright afternoon sun.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops34.txt b/code/evaluations/dpg/prompts/whoops34.txt
deleted file mode 100644
index fc3750a2a0499179f139239828fb6b971198e21f..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops34.txt
+++ /dev/null
@@ -1 +0,0 @@
-A piece of fluffy white cake on a porcelain plate is being dusted with fine grains of black pepper. The cake sits on a wooden table with intricate grain patterns visible on its surface. Surrounding the cake, there's a silver fork with an ornate handle and a crumpled napkin, indicating someone has recently enjoyed a bite.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops35.txt b/code/evaluations/dpg/prompts/whoops35.txt
deleted file mode 100644
index 3b2e8f17bcb8a00bfad5623ce9a739a3fbd9e091..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops35.txt
+++ /dev/null
@@ -1 +0,0 @@
-A daring individual clad in bright yellow attire, gliding down a vast beige sand dune on a pair of sleek, black roller skates. Their posture suggests a careful balance as they navigate the fine granular surface, leaving behind a wavy trail in the sand. Around them, the dune stretches into the distance, meeting a clear blue sky at the horizon.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops36.txt b/code/evaluations/dpg/prompts/whoops36.txt
deleted file mode 100644
index 215475ba9c700528cebf3a2ec5e8b1f5340545b2..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops36.txt
+++ /dev/null
@@ -1 +0,0 @@
-A sizable panda bear is situated in the center of a bubbling stream, its black and white fur contrasting with the lush greenery that lines the water's edge. In its paws, the bear is holding a glistening, silver-colored trout. The water flows around the bear's legs, creating ripples that reflect the sunlight.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops37.txt b/code/evaluations/dpg/prompts/whoops37.txt
deleted file mode 100644
index 2816019370250d42d51138157d810dd0f7aab400..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops37.txt
+++ /dev/null
@@ -1 +0,0 @@
-a triangular yellow road sign with a black border and image of a dinosaur, signaling an area known for dinosaur crossings. it stands firmly alongside the road amidst tall green grass, with a dense forest in the background. the sign is noticeable to drivers who pass by this scenic route, drawing attention with its unique warning.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops38.txt b/code/evaluations/dpg/prompts/whoops38.txt
deleted file mode 100644
index ccad2c344b1c7c1a22e3985612991dbfd84cf609..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops38.txt
+++ /dev/null
@@ -1 +0,0 @@
-a man reclines on a hospital bed, his arm connected to an intravenous line that's delivering a fluid with a purplish hue. the IV bag hangs from a metal stand, its contents labeled clearly to distinguish its specialized nature. in the background, medical monitors display the patient's vital signs, and a nurse can be seen preparing additional medical supplies.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops39.txt b/code/evaluations/dpg/prompts/whoops39.txt
deleted file mode 100644
index 92848644b42956461cb5a5984ad7122d56501326..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops39.txt
+++ /dev/null
@@ -1 +0,0 @@
-In a grassy field stands a cow, its fur a patchwork of black and white, with a bright yellow megaphone attached to its red collar. The grass around its hooves is a lush green, and in the background, a wooden fence can be seen, stretching into the distance. The cow's expression is one of mild curiosity as it gazes off into the horizon, the megaphone positioned as if ready to amplify the cow's next "moo".
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops4.txt b/code/evaluations/dpg/prompts/whoops4.txt
deleted file mode 100644
index 89162baaadd33c222ef75077466357f6fd06d2b7..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops4.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking orca whale is seen gliding through the blue waters of the Nile River, its black and white pattern contrasting vividly against the river's hues. In the background, the ancient silhouette of an Egyptian pyramid looms, its sandy beige stones bathed in the sunlight. The surface of the water ripples lightly as the majestic creature navigates the unusual setting, with palm trees and desert landscapes visible on the riverbanks.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops5.txt b/code/evaluations/dpg/prompts/whoops5.txt
deleted file mode 100644
index 982fc443f2a4d9bf12c87b0b797057279468b113..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops5.txt
+++ /dev/null
@@ -1 +0,0 @@
-In the scene, a silver-framed magnifying glass with a black handle is being held over a glossy-screened smartphone, which displays an image that is being enlarged. The smartphone, lying on a wooden table with fine grain patterns, is surrounded by a few scattered papers and a green potted plant to its side. The details on the phone's image become more pronounced under the scrutiny of the magnifying lens, which is held steadily by a hand with a silver watch on its wrist.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops6.txt b/code/evaluations/dpg/prompts/whoops6.txt
deleted file mode 100644
index bd422fb10113afe21d8052b0d22ee2d0795871a0..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops6.txt
+++ /dev/null
@@ -1 +0,0 @@
-A small infant with round, silver-framed glasses perched on their nose is comfortably sitting in the center of a plush white bed. The child, dressed in a pale yellow onesie, holds an open, colorful picture book with both tiny hands, appearing to gaze intently at the illustrations. Surrounding the infant are an assortment of plush toys, including a fluffy blue bear and a soft green frog, scattered about the soft, cream-colored bedspread.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops7.txt b/code/evaluations/dpg/prompts/whoops7.txt
deleted file mode 100644
index afe57d65de063b589dfe046cd558eab8c9344510..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops7.txt
+++ /dev/null
@@ -1 +0,0 @@
-A striking black bird with glossy feathers sits atop the vibrant orange petals of a Bird of Paradise flower. The unique flower is positioned in the midst of an arid desert landscape, with various cacti and sparse vegetation dotting the sandy ground. In the background, the sun casts a warm glow on the distant rolling dunes.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops8.txt b/code/evaluations/dpg/prompts/whoops8.txt
deleted file mode 100644
index 6907664c8e99cc909823c37c6e0f76f6212b0435..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops8.txt
+++ /dev/null
@@ -1 +0,0 @@
-The scene captures a coal mine worker whose dirt-smeared hands are contrasted by meticulously manicured long nails, finished with a glossy acrylic coating. The worker is positioned next to a rugged cart filled with dark, lustrous coal. Around the worker, the dimly lit mine showcases the hard, rocky texture of the underground environment.
\ No newline at end of file
diff --git a/code/evaluations/dpg/prompts/whoops9.txt b/code/evaluations/dpg/prompts/whoops9.txt
deleted file mode 100644
index 754d610ca86ff49e2dbed45561bb75c9c565b201..0000000000000000000000000000000000000000
--- a/code/evaluations/dpg/prompts/whoops9.txt
+++ /dev/null
@@ -1 +0,0 @@
-A man dressed in a thick, insulated jacket and bright orange snow pants is expertly skiing down a large sand dune. The dune's golden sands contrast with the clear blue sky above. Despite the unusual setting, the man's skis carve out smooth trails, leaving a unique pattern behind him as he descends amidst the vast desert surroundings.
\ No newline at end of file
diff --git a/code/experiment_log_medical.md b/code/experiment_log_medical.md
deleted file mode 100644
index acbbc6b87eabe297381d29771a16b56c88361e0a..0000000000000000000000000000000000000000
--- a/code/experiment_log_medical.md
+++ /dev/null
@@ -1,222 +0,0 @@
-# PixelGen 医学图像生成实验日志
-
-## 基本信息
-- **Idea**: 将PixelGen的感知损失(LPIPS + P-DINO)应用于mask条件医学图像生成
-- **开始时间**: 2026-02-05
-- **数据集**: OCTA500 (120,000 OCT视网膜图像,6类层分割mask)
-- **服务器**: 183.147.142.42:10073,GPU 0-7可用
-
-## 背景分析
-
-### PixelGen vs JiT 对比
-| 特性 | JiT | PixelGen |
-|------|-----|----------|
-| 架构 | ViT + RoPE + AdaLN | 相同 |
-| 预测目标 | x₀ (clean image) | 相同 |
-| 损失函数 | Flow matching loss | FM + LPIPS + P-DINO + REPA |
-| ImageNet FID (80 epochs) | ~8-10 | 5.11 (w/o CFG) |
-| 关键创新 | 像素空间扩散 | 感知流形学习 |
-
-### PixelGen核心设计
-1. **LPIPS Loss (λ₁=0.1)**: VGG特征匹配,学习局部纹理
-2. **P-DINO Loss (λ₂=0.01)**: DINOv2特征对齐,学习全局语义
-3. **Noise-Gating (t_threshold=0.3)**: 高噪声时禁用感知损失,保持多样性
-4. **REPA Loss**: 隐藏层特征与DINOv2对齐
-
-### 医学图像生成适配性分析
-
-**优势**:
-- 感知损失更关注视觉质量而非像素级精确,适合医学图像的纹理生成
-- LPIPS能捕获局部病变纹理特征
-- DINOv2具有强大的语义理解能力,可能帮助理解视网膜结构
-
-**需要解决的问题**:
-1. DINOv2是在自然图像上预训练的,对医学图像特征提取效果未知
-2. 需要添加mask条件支持(类似之前的JiTMedicalV2)
-3. 灰度OCT图像需要转换为3通道
-
-## 实验计划
-
-### Phase 1: 代码适配
-1. 创建 `MaskConditioner` 类,继承 `BaseConditioner`
-2. 修改 JiT 模型支持 mask embedding
-3. 创建 OCTA500 数据集适配器
-
-### Phase 2: 快速验证 (小规模)
-- 数据集: OCTA500 子集 (1000张)
-- 模型: PixelGen-B/16 (小模型)
-- Epochs: 10
-- 目标: 验证pipeline正确性
-
-### Phase 3: 正式训练
-- 数据集: 完整OCTA500 (108,000 train / 12,000 val)
-- 模型: PixelGen-L/16 或 XL/16
-- GPU: 8卡分布式
-- 监控: FID, 生成质量
-
----
-
-## 实验记录
-
-### [2026-02-05 分析阶段] 代码架构分析
-
-**目标**: 理解PixelGen代码结构,规划mask条件适配方案
-
-**关键发现**:
-
-1. **模型架构** (`src/models/transformer/JiT.py`):
- - 标准ViT架构 + RoPE + RMSNorm + SwiGLU
- - AdaLN注入时间和类别条件
- - In-context tokens机制
- - 支持 `return_layer` 返回中间特征
-
-2. **训练器** (`src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO_NoiseGating.py`):
- - LPIPS: VGG网络计算感知相似度
- - P-DINO: DINOv2特征余弦相似度
- - Noise-Gating: `t >= threshold` 时才计算感知损失
- - 自适应权重平衡 (step >= 400000)
-
-3. **条件系统** (`src/models/conditioner/`):
- - `BaseConditioner`: 抽象基类
- - `LabelConditioner`: 类别标签 -> tensor
- - `ComposeConditioner`: 多条件组合
-
-4. **数据加载** (`src/data/dataset/imagenet.py`):
- - 返回 `(image, label, metadata)`
- - `metadata["raw_image"]` 用于P-DINO特征提取
-
-**适配方案**:
-
-```
-方案A: 修改JiT模型 + 新建MaskConditioner
-├── 创建 JiTMedical 类 (添加MaskEncoder)
-├── 创建 MaskConditioner (mask -> embedding)
-├── 创建 OCTA500Dataset (适配PixelGen格式)
-└── 创建训练配置文件
-
-方案B: 复用现有JiTMedicalV2代码
-├── 在PixelGen框架中注册JiTMedicalV2
-├── 修改训练器接受mask输入
-└── 较少代码改动
-```
-
-**选择方案A**,更符合PixelGen的设计理念。
-
-**下一步**:
-1. 创建医学图像专用的模型和数据集代码
-2. 创建训练配置文件
-3. 在服务器上进行快速验证
-
----
-
-### [2026-02-05 代码实现] 完成代码适配
-
-**已创建文件**:
-
-1. **`src/models/conditioner/mask_conditioner.py`**
- - `MaskEncoder`: CNN编码器,mask -> hidden_size向量
- - `MaskConditioner`: 继承BaseConditioner,支持CFG训练
-
-2. **`src/models/transformer/JiT_medical.py`**
- - `JiTMedical`: 带mask条件的JiT模型
- - 支持 `return_layer` 返回中间特征(兼容DINO loss)
- - 模型变体: S/8, B/8, B/16, L/16, XL/16
-
-3. **`src/data/dataset/octa500.py`**
- - `OCTA500Dataset`: 训练数据集,返回PixelGen格式
- - `OCTA500MultiClassDataset`: 6类one-hot mask
- - `OCTA500RandnDataset`: 评估/生成用随机噪声数据集
-
-4. **`src/diffusion/flow_matching/training_medical.py`**
- - `MedicalREPATrainer`: 完整版(LPIPS + DINO + REPA)
- - `MedicalTrainerSimple`: 简化版(仅LPIPS)
-
-5. **`src/diffusion/flow_matching/sampling_medical.py`**
- - `EulerSamplerMedical`: Euler采样器,支持mask条件
- - `HeunSamplerMedical`: Heun二阶采样器
-
-6. **配置文件**:
- - `configs_medical/PixelGen_Medical_B16.yaml`: 基础版(仅LPIPS)
- - `configs_medical/PixelGen_Medical_L16_DINO.yaml`: 完整版(LPIPS + DINO)
-
-**已验证**:
-- ✅ 代码能正确运行
-- ✅ 数据加载正确 (107,999 训练图像)
-- ✅ 损失函数计算正确 (fm_loss + lpips_loss)
-- ✅ 10步测试训练成功完成
-
----
-
-### [2026-02-05 训练准备] 快速验证通过
-
-**测试结果**:
-```
-fm_loss: 0.132, lpips_loss: 0.539, total_loss: 0.186
-```
-
-**模型参数**:
-- 可训练参数: 131M
-- 非训练参数: 147M (LPIPS VGG)
-- 总参数: 279M
-
-**环境配置**:
-- Python 3.10, PyTorch 2.8.0, Lightning 2.6.1
-- 服务器: 8x RTX 4090 (24GB each)
-- 数据集路径: /data2/sichengli/Data/test/Segmentation/OCTA500
-
----
-
-### [2026-02-05 02:44] 正式训练启动
-
-**训练配置**:
-- 模型: JiTMedical-B/16 (131M params)
-- GPU: 8x RTX 4090 DDP
-- Batch size: 32 x 8 = 256 per step
-- 训练数据: 107,999 images
-- Steps per epoch: 422
-- Max steps: 100,000
-
-**初始训练指标** (Step 55):
-```
-fm_loss: 0.055, lpips_loss: 0.416, total_loss: 0.097
-```
-
-**训练速度**: ~0.21 it/s (首步编译需2分钟)
-
-**监控命令**:
-```bash
-ssh -i id_ed25519 root@183.147.142.42 -p 10073 "tail -20 /data/sichengli/Code/PixelGen/training_medical_b16.log"
-```
-
----
-
-### [2026-02-05 进度更新] Epoch 0 训练进行中
-
-**当前进度**: Step 82/422 (Epoch 0, 约19%)
-
-**损失变化趋势**:
-| Step | fm_loss | lpips_loss | total_loss |
-|------|---------|------------|------------|
-| 1 | 0.447 | 0.655 | 0.512 |
-| 20 | 0.077 | 0.457 | 0.123 |
-| 40 | 0.044 | 0.403 | 0.084 |
-| 60 | 0.047 | 0.409 | 0.088 |
-| 82 | 0.037 | 0.401 | 0.077 |
-
-**观察**:
-- fm_loss从0.447快速下降到0.037,下降约92%
-- lpips_loss从0.655下降到0.401,下降约39%
-- 总损失从0.512下降到0.077,下降约85%
-- 训练速度稳定在0.22 it/s
-
-**预计时间**:
-- Steps per epoch: 422
-- Total epochs needed: ~237 (100,000 / 422)
-- 当前速度: ~0.22 it/s → ~4.5秒/step
-- 每个epoch约: 422 × 4.5s ≈ 32分钟
-- 完成100k steps预计: ~125小时
-
-**下一步**: 继续监控,等待第一个checkpoint (step 10000)
-
----
-
diff --git a/code/kvasir_seg.py b/code/kvasir_seg.py
deleted file mode 100644
index efbb7351345cf4bdd88c3fd922a554bbb06dfb72..0000000000000000000000000000000000000000
--- a/code/kvasir_seg.py
+++ /dev/null
@@ -1,181 +0,0 @@
-# Kvasir-SEG Dataset for PixelGen Medical Image Generation
-# Polyp segmentation dataset: 1000 RGB colonoscopy images with binary masks
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class KvasirSEGDataset(Dataset):
- """
- Kvasir-SEG dataset for mask-conditional image generation.
-
- Data format:
- - Images: ~620x530 RGB colonoscopy images (varying sizes)
- - Masks: Binary polyp segmentation (near 0/255, grayscale)
- - 1000 image pairs total
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, split='train', train_ratio=0.9,
- augment=True, seed=42, max_samples=None, random_flip=True):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.split = split
- self.augment = augment and (split == 'train')
- self.random_flip = random_flip and (split == 'train')
-
- self.img_dir = os.path.join(data_root, 'images')
- self.mask_dir = os.path.join(data_root, 'masks')
-
- # Get all image files
- all_files = sorted([f for f in os.listdir(self.img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- # Split by index
- random.seed(seed)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * train_ratio)
-
- if split == 'train':
- selected_indices = indices[:split_idx]
- else:
- selected_indices = indices[split_idx:]
-
- self.images = [all_files[i] for i in sorted(selected_indices)]
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.images):
- random.seed(seed)
- self.images = random.sample(self.images, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[KvasirSEGDataset] {split} set: {len(self.images)} images")
-
- def __len__(self):
- return len(self.images)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_name = self.images[idx]
- img_path = os.path.join(self.img_dir, img_name)
- mask_path = os.path.join(self.mask_dir, img_name)
-
- # Load images - RGB colonoscopy
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
-
- # Resize to target size (square)
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- # Random horizontal flip
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- # Random vertical flip
- if self.random_flip and random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random color jitter for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_contrast(image, contrast_factor)
- saturation_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_saturation(image, saturation_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.images)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- raw_image = TF.to_tensor(image) # [3, H, W], range [0, 1]
- normalized_image = self.normalize(raw_image)
- mask_tensor = TF.to_tensor(mask) # [1, H, W], range [0, 1]
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class KvasirSEGRandnDataset(Dataset):
- """
- Random noise dataset for evaluation/prediction.
- Samples random masks from the dataset.
- """
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42):
- super().__init__()
- self.resolution = resolution
- self.noise_scale = noise_scale
-
- mask_dir = os.path.join(data_root, 'masks')
- all_files = sorted([f for f in os.listdir(mask_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- random.seed(seed)
- if max_num_instances <= len(all_files):
- self.mask_files = random.sample(all_files, max_num_instances)
- else:
- self.mask_files = all_files * (max_num_instances // len(all_files) + 1)
- self.mask_files = self.mask_files[:max_num_instances]
-
- self.mask_dir = mask_dir
- print(f"[KvasirSEGRandnDataset] {len(self.mask_files)} samples for generation")
-
- def __len__(self):
- return len(self.mask_files)
-
- def __getitem__(self, idx):
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- mask_path = os.path.join(self.mask_dir, self.mask_files[idx])
- mask = Image.open(mask_path).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
-
- return xT, label, metadata
diff --git a/code/main.py b/code/main.py
deleted file mode 100644
index f59811808ef9529ff16a656558eba90bfe5948d0..0000000000000000000000000000000000000000
--- a/code/main.py
+++ /dev/null
@@ -1,84 +0,0 @@
-import os
-import torch
-import time
-from typing import Any, Union
-
-from src.utils.patch_bugs import *
-from lightning import Trainer, LightningModule
-
-from src.lightning_data import DataModule
-from src.lightning_model import LightningModel
-from lightning.pytorch.cli import LightningCLI, LightningArgumentParser, SaveConfigCallback
-
-import logging
-logger = logging.getLogger("lightning.pytorch")
-# log_path = os.path.join( f"log.txt")
-# logger.addHandler(logging.FileHandler(log_path))
-
-class ReWriteRootSaveConfigCallback(SaveConfigCallback):
- def save_config(self, trainer: Trainer, pl_module: LightningModule, stage: str) -> None:
- stamp = time.strftime('%y%m%d%H%M')
- file_path = os.path.join(trainer.default_root_dir, f"config-{stage}-{stamp}.yaml")
- self.parser.save(
- self.config, file_path, skip_none=False, overwrite=self.overwrite, multifile=self.multifile
- )
-
-
-class ReWriteRootDirCli(LightningCLI):
- def before_instantiate_classes(self) -> None:
- super().before_instantiate_classes()
- config_trainer = self._get(self.config, "trainer", default={})
-
- # predict path & logger check
- if self.subcommand == "predict":
- config_trainer.logger = None
-
- def add_arguments_to_parser(self, parser: LightningArgumentParser) -> None:
- class TagsClass:
- def __init__(self, exp:str):
- ...
- parser.add_class_arguments(TagsClass, nested_key="tags")
-
- def add_default_arguments_to_parser(self, parser: LightningArgumentParser) -> None:
- super().add_default_arguments_to_parser(parser)
- parser.add_argument("--torch_hub_dir", type=str, default=None, help=("torch hub dir"),)
- parser.add_argument("--huggingface_cache_dir", type=str, default=None, help=("huggingface hub dir"),)
-
- def instantiate_trainer(self, **kwargs: Any) -> Trainer:
- config_trainer = self._get(self.config_init, "trainer", default={})
- default_root_dir = config_trainer.get("default_root_dir", None)
-
- if default_root_dir is None:
- default_root_dir = os.path.join(os.getcwd(), "workdirs")
-
- dirname = ""
- for v, k in self._get(self.config, "tags", default={}).items():
- dirname += f"{v}_{k}"
- default_root_dir = os.path.join(default_root_dir, dirname)
- is_resume = self._get(self.config_init, "ckpt_path", default=None)
- # if os.path.exists(default_root_dir) and "debug" not in default_root_dir:
- # if os.listdir(default_root_dir) and self.subcommand != "predict" and not is_resume:
- # raise FileExistsError(f"{default_root_dir} already exists")
-
- config_trainer.default_root_dir = default_root_dir
- trainer = super().instantiate_trainer(**kwargs)
- if trainer.is_global_zero:
- os.makedirs(default_root_dir, exist_ok=True)
- return trainer
-
- def instantiate_classes(self) -> None:
- torch_hub_dir = self._get(self.config, "torch_hub_dir")
- huggingface_cache_dir = self._get(self.config, "huggingface_cache_dir")
- if huggingface_cache_dir is not None:
- os.environ["HUGGINGFACE_HUB_CACHE"] = huggingface_cache_dir
- if torch_hub_dir is not None:
- os.environ["TORCH_HOME"] = torch_hub_dir
- torch.hub.set_dir(torch_hub_dir)
- super().instantiate_classes()
-
-if __name__ == "__main__":
-
- cli = ReWriteRootDirCli(LightningModel, DataModule,
- auto_configure_optimizers=False,
- save_config_callback=ReWriteRootSaveConfigCallback,
- save_config_kwargs={"overwrite": True})
\ No newline at end of file
diff --git a/code/refuge2.py b/code/refuge2.py
deleted file mode 100644
index e8fe93b07172da0a20e5a1a7f2201244c9ea0443..0000000000000000000000000000000000000000
--- a/code/refuge2.py
+++ /dev/null
@@ -1,251 +0,0 @@
-# REFUGE2 Dataset for PixelGen Medical Image Generation
-# Optic disc/cup segmentation: 1200 RGB fundus images with 3-class masks
-# Mask values: 0=background, 128=optic cup, 255=optic disc
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class REFUGE2Dataset(Dataset):
- """
- REFUGE2 dataset for mask-conditional image generation.
-
- Data format:
- - Images: RGB fundus photographs (varying sizes ~1600-2100px)
- - Masks: 3-class segmentation (0=background, 128=optic cup, 255=optic disc)
- - 400 images per split (train/val/test)
- - Mask files: train/test=.bmp, val=.png
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, splits=('train', 'val'),
- augment=True, seed=42, max_samples=None, random_flip=True,
- val_ratio=0.0):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.augment = augment
- self.random_flip = random_flip
-
- # Collect files from specified splits
- all_pairs = []
- for split in splits:
- img_dir = os.path.join(data_root, split, 'images')
- mask_dir = os.path.join(data_root, split, 'mask')
-
- img_files = sorted([f for f in os.listdir(img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- for img_f in img_files:
- img_path = os.path.join(img_dir, img_f)
- # Mask may have different extension (.bmp or .png)
- base_name = os.path.splitext(img_f)[0]
- mask_path = None
- for ext in ['.bmp', '.png', '.jpg']:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- mask_path = candidate
- break
- if mask_path is not None:
- all_pairs.append((img_path, mask_path))
-
- # Optional: hold out a portion for validation
- if val_ratio > 0:
- random.seed(seed)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - val_ratio))
- self.pairs = all_pairs[:split_idx]
- else:
- self.pairs = all_pairs
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.pairs):
- random.seed(seed)
- self.pairs = random.sample(self.pairs, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[REFUGE2Dataset] splits={splits}: {len(self.pairs)} image pairs")
-
- def __len__(self):
- return len(self.pairs)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_path, mask_path = self.pairs[idx]
-
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
-
- # Resize to target size (square)
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- if self.random_flip and random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random color jitter for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_contrast(image, contrast_factor)
- saturation_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_saturation(image, saturation_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.pairs)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- raw_image = TF.to_tensor(image) # [3, H, W], range [0, 1]
- normalized_image = self.normalize(raw_image)
-
- # Normalize mask: 0->0.0, 128->0.5, 255->1.0
- mask_tensor = TF.to_tensor(mask) # [1, H, W], range [0, 1]
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class REFUGE2ValDataset(Dataset):
- """Validation subset from REFUGE2 (held-out from training splits)."""
-
- def __init__(self, data_root, resolution=256, splits=('train', 'val'),
- val_ratio=0.1, seed=42):
- super().__init__()
- self.resolution = resolution
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- all_pairs = []
- for split in splits:
- img_dir = os.path.join(data_root, split, 'images')
- mask_dir = os.path.join(data_root, split, 'mask')
- img_files = sorted([f for f in os.listdir(img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- mask_path = None
- for ext in ['.bmp', '.png', '.jpg']:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- mask_path = candidate
- break
- if mask_path is not None:
- all_pairs.append((img_path, mask_path))
-
- random.seed(seed)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - val_ratio))
- self.pairs = all_pairs[split_idx:]
-
- print(f"[REFUGE2ValDataset] {len(self.pairs)} val samples")
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- img_path, mask_path = self.pairs[idx]
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- raw_image = TF.to_tensor(image)
- normalized_image = self.normalize(raw_image)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
- return normalized_image, label, metadata
-
-
-class REFUGE2RandnDataset(Dataset):
- """Random noise dataset for evaluation/prediction with REFUGE2 masks."""
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42, splits=('train', 'val', 'test')):
- super().__init__()
- self.resolution = resolution
- self.noise_scale = noise_scale
-
- # Collect all mask paths
- all_masks = []
- for split in splits:
- mask_dir = os.path.join(data_root, split, 'mask')
- if not os.path.exists(mask_dir):
- continue
- mask_files = sorted([f for f in os.listdir(mask_dir)
- if f.endswith(('.bmp', '.png', '.jpg'))])
- for mf in mask_files:
- all_masks.append(os.path.join(mask_dir, mf))
-
- random.seed(seed)
- if max_num_instances <= len(all_masks):
- self.mask_paths = random.sample(all_masks, max_num_instances)
- else:
- self.mask_paths = all_masks * (max_num_instances // len(all_masks) + 1)
- self.mask_paths = self.mask_paths[:max_num_instances]
-
- print(f"[REFUGE2RandnDataset] {len(self.mask_paths)} samples for generation")
-
- def __len__(self):
- return len(self.mask_paths)
-
- def __getitem__(self, idx):
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- mask = Image.open(self.mask_paths[idx]).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
- return xT, label, metadata
diff --git a/code/requirements.txt b/code/requirements.txt
deleted file mode 100644
index 54887c53af1f2daa3954aea9942222f3ddcfdf0f..0000000000000000000000000000000000000000
--- a/code/requirements.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-lightning
-omegaconf
-torch==2.7.1
-diffusers
-transformers
-jsonargparse[signatures]==4.41.0
-torchvision
-timm
-accelerate
-gradio
-wandb
-webdataset
-tensorboard
-einops
-lpips
-webdataset
-pyarrow
diff --git a/code/run.sh b/code/run.sh
deleted file mode 100644
index 2d016970b6caa42bfefc92dc4806803eb4fa4cc9..0000000000000000000000000000000000000000
--- a/code/run.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# OCTA500 训练 (已完成, mask_mode=global, 最佳权重: epoch=236-step=100000.ckpt)
-# cd /data/sichengli/Code/PixelGen && WANDB_MODE=offline python3 main.py fit --config configs_medical/PixelGen_Medical_B16.yaml 2>&1 | tee training_medical_b16.log
-
-# CVC-ClinicDB 训练 (已完成, mask_mode=spatial, 最佳权重: epoch=19999-step=100000.ckpt)
-# cd /data/sichengli/Code/PixelGen && torchrun --nproc_per_node=8 main.py fit --config configs_medical/PixelGen_Medical_CVC.yaml 2>&1 | tee training_medical_cvc.log
-
-# Kvasir-SEG 训练 (已完成, mask_mode=spatial, 最佳权重: epoch=12499-step=100000.ckpt)
-# cd /data/sichengli/Code/PixelGen && torchrun --nproc_per_node=8 main.py fit --config configs_medical/PixelGen_Medical_Kvasir.yaml 2>&1 | tee training_medical_kvasir.log
-
-# REFUGE2 训练 (mask_mode=spatial, 100k steps, 3-class fundus masks)
-cd /data/sichengli/Code/PixelGen && torchrun --nproc_per_node=8 main.py fit --config configs_medical/PixelGen_Medical_REFUGE2.yaml 2>&1 | tee training_medical_refuge2.log
-
-# CVC-ClinicDB 评估 (FID/Precision/Recall)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset cvc --cfg
-
-# Kvasir-SEG 评估 (FID/Precision/Recall)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset kvasir --cfg
-
-# REFUGE2 评估 (FID/Precision/Recall)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset refuge2 --cfg
diff --git a/code/run_ablation.sh b/code/run_ablation.sh
deleted file mode 100644
index 48463672b5678ae341e4b34f58fd1755096d1093..0000000000000000000000000000000000000000
--- a/code/run_ablation.sh
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/bash
-# PixelGen Medical - Ablation Study Training Commands
-# All experiments: 100k steps, 2x H800 80GB
-# Organized by dataset, then by experiment type
-# Visualization saved to training_vis/ every 5000 steps
-
-# ═══════════════════════════════════════════════════════════════
-# CVC-ClinicDB (550 train images, binary polyp masks)
-# ═══════════════════════════════════════════════════════════════
-
-# CVC - S/8 Spatial (39M, bs=64/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_CVC_S8_Spatial.yaml
-
-# CVC - B/8 Spatial (131M, bs=32/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_CVC_B8_Spatial.yaml
-
-# CVC - B/16 CrossAttn (159M, bs=96/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_CVC_B16_CrossAttn.yaml
-
-# ═══════════════════════════════════════════════════════════════
-# Kvasir-SEG (900 train images, binary polyp masks)
-# ═══════════════════════════════════════════════════════════════
-
-# Kvasir - S/8 Spatial (39M, bs=64/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_Kvasir_S8_Spatial.yaml
-
-# Kvasir - B/8 Spatial (131M, bs=32/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_Kvasir_B8_Spatial.yaml
-
-# Kvasir - B/16 CrossAttn (159M, bs=96/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_Kvasir_B16_CrossAttn.yaml
-
-# ═══════════════════════════════════════════════════════════════
-# REFUGE2 (720 train images, 3-class fundus masks)
-# ═══════════════════════════════════════════════════════════════
-
-# REFUGE2 - S/8 Spatial (39M, bs=64/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_REFUGE2_S8_Spatial.yaml
-
-# REFUGE2 - B/8 Spatial (131M, bs=32/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_REFUGE2_B8_Spatial.yaml
-
-# REFUGE2 - B/16 CrossAttn (159M, bs=96/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_REFUGE2_B16_CrossAttn.yaml
-
-# ═══════════════════════════════════════════════════════════════
-# OCTA500 (108k train images, 6-class layer masks)
-# ═══════════════════════════════════════════════════════════════
-
-# OCTA500 - B/16 CrossAttn (159M, bs=96/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_OCTA500_B16_CrossAttn.yaml
-
-# OCTA500 - L/16 Global (458M, bs=48/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_OCTA500_L16_Global.yaml
-
-# OCTA500 - XL/16 Global (676M, bs=32/gpu)
-torchrun --nproc_per_node=2 main.py fit --config configs_medical/PixelGen_Medical_OCTA500_XL16_Global.yaml
-
-# ═══════════════════════════════════════════════════════════════
-# Evaluation (FID / Precision / Recall)
-# Run after training completes. Update --ckpt path to the best checkpoint.
-# ═══════════════════════════════════════════════════════════════
-
-# CVC evaluations
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset cvc --model S/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_CVC_S8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset cvc --model B/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_CVC_B8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset cvc --model B/16 --mask_mode cross_attention --ckpt medical_workdirs/exp_PixelGen_Medical_CVC_B16_CrossAttn/PATH_TO_CKPT --cfg
-
-# Kvasir evaluations
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset kvasir --model S/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_Kvasir_S8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset kvasir --model B/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_Kvasir_B8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset kvasir --model B/16 --mask_mode cross_attention --ckpt medical_workdirs/exp_PixelGen_Medical_Kvasir_B16_CrossAttn/PATH_TO_CKPT --cfg
-
-# REFUGE2 evaluations
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset refuge2 --model S/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_REFUGE2_S8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset refuge2 --model B/8 --mask_mode spatial --ckpt medical_workdirs/exp_PixelGen_Medical_REFUGE2_B8_Spatial/PATH_TO_CKPT --cfg
-
-CUDA_VISIBLE_DEVICES=0 python scripts/evaluate_medical.py --dataset refuge2 --model B/16 --mask_mode cross_attention --ckpt medical_workdirs/exp_PixelGen_Medical_REFUGE2_B16_CrossAttn/PATH_TO_CKPT --cfg
-
-# OCTA500 evaluations (evaluate_medical.py does not yet support OCTA500)
-# torchrun --nproc_per_node=2 main.py predict --config configs_medical/PixelGen_Medical_OCTA500_B16_CrossAttn.yaml --ckpt_path PATH_TO_CKPT
-# torchrun --nproc_per_node=2 main.py predict --config configs_medical/PixelGen_Medical_OCTA500_L16_Global.yaml --ckpt_path PATH_TO_CKPT
-# torchrun --nproc_per_node=2 main.py predict --config configs_medical/PixelGen_Medical_OCTA500_XL16_Global.yaml --ckpt_path PATH_TO_CKPT
diff --git a/code/run_v4.sh b/code/run_v4.sh
deleted file mode 100644
index 40401856c6673cc75fdd9ca21c2d4c0a6d3198cf..0000000000000000000000000000000000000000
--- a/code/run_v4.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-# ═══════════════════════════════════════════════════════════════
-# V4: Segmentation-Generation Cycle Consistency
-# Supports: kvasir, cvc, refuge2
-# ═══════════════════════════════════════════════════════════════
-
-# Step 1: 预生成配对图像 (每个数据集单 GPU, ~15 min)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_generate_pairs.py --dataset kvasir
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=1 python scripts/v4_generate_pairs.py --dataset cvc
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=2 python scripts/v4_generate_pairs.py --dataset refuge2
-
-# Step 2: Full-data 下游实验 (5 conditions x 3 seeds, 每个数据集 5 GPU 并行)
-# --- Kvasir ---
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions no_aug
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=1 python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions baseline
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=2 python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions cycle
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=3 python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions consist
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=4 python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions cycle_consist
-
-# --- CVC ---
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions no_aug
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=1 python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions baseline
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=2 python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions cycle
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=3 python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions consist
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=4 python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions cycle_consist
-
-# --- REFUGE2 ---
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=3 python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions no_aug
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=4 python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions baseline
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=5 python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions cycle
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=6 python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions consist
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=7 python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions cycle_consist
-
-# Step 3: 评估 (保存预测 mask、可视化、per-image metrics)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset kvasir
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset cvc
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset refuge2
-
-# Step 4: Test-Time Self-Consistency (仅 Kvasir, 单 GPU)
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_test_time.py --condition cycle_consist --seed 42
-# cd /data/sichengli/Code/PixelGen && CUDA_VISIBLE_DEVICES=0 python scripts/v4_test_time.py --condition baseline --seed 42
diff --git a/code/scripts/evaluate_medical.py b/code/scripts/evaluate_medical.py
deleted file mode 100644
index 99bc73b1aa3c17df64dee32d2654a78830906fe3..0000000000000000000000000000000000000000
--- a/code/scripts/evaluate_medical.py
+++ /dev/null
@@ -1,440 +0,0 @@
-"""
-Medical Image Generation Evaluation
-Compute FID, Precision, Recall between generated and real images.
-Supports both CVC-ClinicDB and Kvasir-SEG experiments.
-
-Usage:
- python scripts/evaluate_medical.py --dataset kvasir
- python scripts/evaluate_medical.py --dataset cvc
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import gc
-import random
-import numpy as np
-import torch
-import torch.nn as nn
-from torch.utils.data import DataLoader, Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchmetrics.image.fid import FrechetInceptionDistance
-from torchmetrics.image.inception import InceptionScore
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-CONFIGS = {
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images",
- "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/eval_results",
- "train_ratio": 0.9,
- "seed": 42,
- },
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original",
- "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=19999-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/eval_results",
- "train_ratio": 0.9,
- "seed": 42,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "multi_split": True,
- "splits": ["train", "val"],
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/epoch=16666-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/eval_results",
- "val_ratio": 0.1,
- "seed": 42,
- },
-}
-
-MODEL_CONFIGS = {
- "S/8": dict(
- input_size=256, patch_size=8, in_channels=3,
- hidden_size=512, depth=8, num_heads=8, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=64,
- in_context_len=64, in_context_start=2, mask_in_channels=1,
- ),
- "B/8": dict(
- input_size=256, patch_size=8, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=64, in_context_start=4, mask_in_channels=1,
- ),
- "B/16": dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- ),
- "L/16": dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=1024, depth=24, num_heads=16, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=8, mask_in_channels=1,
- ),
- "XL/16": dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=1152, depth=28, num_heads=16, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=8, mask_in_channels=1,
- ),
-}
-
-RESOLUTION = 256
-BATCH_SIZE = 16
-NUM_SAMPLING_STEPS = 50
-
-
-# ─── Dataset ──────────────────────────────────────────────────────────
-class EvalDataset(Dataset):
- """Load real images and masks for a given split."""
- def __init__(self, cfg, split="train"):
- if cfg.get("multi_split"):
- # REFUGE2-style: multiple split folders, mask may have different extension
- all_pairs = []
- for s in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], s, "images")
- mask_dir = os.path.join(cfg["data_root"], s, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- for ext in cfg["mask_ext"]:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- all_pairs.append((img_path, candidate))
- break
- # Use val_ratio to split train/val
- random.seed(cfg["seed"])
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - cfg.get("val_ratio", 0.1)))
- if split == "train":
- self.pairs = all_pairs[:split_idx]
- else:
- self.pairs = all_pairs[split_idx:]
- self.multi_split = True
- else:
- # CVC/Kvasir-style: single img/mask dirs with train_ratio split
- img_dir = os.path.join(cfg["data_root"], cfg["img_subdir"])
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
-
- random.seed(cfg["seed"])
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * cfg["train_ratio"])
-
- if split == "train":
- sel = indices[:split_idx]
- else:
- sel = indices[split_idx:]
-
- self.files = [all_files[i] for i in sorted(sel)]
- self.img_dir = img_dir
- self.mask_dir = mask_dir
- self.multi_split = False
-
- def __len__(self):
- return len(self.pairs) if self.multi_split else len(self.files)
-
- def __getitem__(self, idx):
- if self.multi_split:
- img_path, mask_path = self.pairs[idx]
- img = Image.open(img_path).convert("RGB")
- mask = Image.open(mask_path).convert("L")
- else:
- fname = self.files[idx]
- img = Image.open(os.path.join(self.img_dir, fname)).convert("RGB")
- mask = Image.open(os.path.join(self.mask_dir, fname)).convert("L")
-
- img = TF.resize(img, (RESOLUTION, RESOLUTION), interpolation=transforms.InterpolationMode.BILINEAR)
- img_tensor = TF.to_tensor(img) # [3, H, W] in [0, 1]
-
- mask = TF.resize(mask, (RESOLUTION, RESOLUTION), interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask) # [1, H, W] in [0, 1]
-
- return img_tensor, mask_tensor
-
-
-# ─── Sampling ─────────────────────────────────────────────────────────
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_batch(model, noise, mask, num_steps=50, t_eps=0.05):
- """No-CFG sampling for evaluation (faster, avoids CFG artifacts)."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
- return x
-
-
-@torch.no_grad()
-def sample_batch_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """CFG sampling for evaluation."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-# ─── Inception Features for Precision/Recall ──────────────────────────
-class InceptionV3Features(nn.Module):
- """Extract Inception V3 pool3 features (2048-d) for P&R computation."""
- def __init__(self, device):
- super().__init__()
- from torchvision.models import inception_v3, Inception_V3_Weights
- self.model = inception_v3(weights=Inception_V3_Weights.DEFAULT)
- self.model.fc = nn.Identity()
- self.model = self.model.to(device).eval()
- self.device = device
- self.transform = transforms.Normalize(
- mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]
- )
-
- @torch.no_grad()
- def forward(self, images):
- """images: [N, 3, H, W] in [0, 1], uint8 or float."""
- if images.dtype == torch.uint8:
- images = images.float() / 255.0
- # Resize to 299x299 for Inception
- images = torch.nn.functional.interpolate(images, size=(299, 299), mode="bilinear", align_corners=False)
- images = torch.stack([self.transform(img) for img in images])
- images = images.to(self.device)
- features = self.model(images)
- return features.cpu()
-
-
-def compute_precision_recall(real_features, gen_features, k=3):
- """
- Compute Precision and Recall using k-NN manifold estimation.
- Based on 'Improved Precision and Recall Metric for Assessing Generative Models' (Kynkaanniemi et al.)
- """
- from scipy.spatial.distance import cdist
-
- real_np = real_features.numpy()
- gen_np = gen_features.numpy()
-
- # Compute pairwise distances
- # For real manifold: k-th nearest neighbor distance among real samples
- real_real_dist = cdist(real_np, real_np, metric="euclidean")
- np.fill_diagonal(real_real_dist, np.inf)
- real_kth = np.sort(real_real_dist, axis=1)[:, k - 1] # k-th NN distance for each real sample
-
- # For generated manifold: k-th nearest neighbor distance among generated samples
- gen_gen_dist = cdist(gen_np, gen_np, metric="euclidean")
- np.fill_diagonal(gen_gen_dist, np.inf)
- gen_kth = np.sort(gen_gen_dist, axis=1)[:, k - 1]
-
- # Precision: fraction of generated samples falling within the real manifold
- gen_real_dist = cdist(gen_np, real_np, metric="euclidean")
- precision = np.mean(np.min(gen_real_dist, axis=1) <= real_kth[np.argmin(gen_real_dist, axis=1)])
-
- # Recall: fraction of real samples falling within the generated manifold
- real_gen_dist = cdist(real_np, gen_np, metric="euclidean")
- recall = np.mean(np.min(real_gen_dist, axis=1) <= gen_kth[np.argmin(real_gen_dist, axis=1)])
-
- return precision, recall
-
-
-# ─── Main ─────────────────────────────────────────────────────────────
-def evaluate(dataset_name, use_cfg=False, cfg_scale=2.0, model_kwargs=None):
- cfg = CONFIGS[dataset_name]
- device = torch.device("cuda:0")
- os.makedirs(cfg["out_dir"], exist_ok=True)
-
- print(f"\n{'='*60}")
- print(f" Evaluating: {dataset_name.upper()}")
- print(f" Checkpoint: {os.path.basename(cfg['ckpt'])}")
- print(f" Sampling: {'CFG=' + str(cfg_scale) if use_cfg else 'No-CFG'}")
- print(f"{'='*60}\n")
-
- # Load dataset (train split for FID comparison)
- dataset = EvalDataset(cfg, split="train")
- loader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=False, num_workers=4, pin_memory=True)
- num_samples = len(dataset)
- print(f"Dataset: {num_samples} training images")
-
- # Load model
- print("Loading model...")
- ckpt = torch.load(cfg["ckpt"], map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**model_kwargs)
- result = model.load_state_dict(ema_state, strict=False)
- print(f"Loaded EMA ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
- model = model.to(device).eval().to(torch.float32)
-
- # Initialize metrics
- fid_metric = FrechetInceptionDistance(feature=2048, normalize=True).to(device)
- inception_features = InceptionV3Features(device)
-
- all_real_features = []
- all_gen_features = []
-
- # Generate and compute metrics
- print(f"\nGenerating {num_samples} images and computing features...")
- torch.manual_seed(0) # Reproducible noise
-
- batch_idx = 0
- for real_imgs, masks in loader:
- bs = real_imgs.shape[0]
- batch_idx += 1
- print(f" Batch {batch_idx}/{len(loader)} ({bs} samples)...", end="\r")
-
- masks = masks.to(device)
- noise = torch.randn(bs, 3, RESOLUTION, RESOLUTION, device=device)
-
- # Generate
- if use_cfg:
- gen = sample_batch_cfg(model, noise, masks, NUM_SAMPLING_STEPS, cfg_scale)
- else:
- gen = sample_batch(model, noise, masks, NUM_SAMPLING_STEPS)
- gen = gen.clamp(-1, 1) * 0.5 + 0.5 # [-1,1] -> [0,1]
-
- # FID: update with real and generated (expects [0,1] float with normalize=True)
- fid_metric.update(real_imgs.to(device), real=True)
- fid_metric.update(gen, real=False)
-
- # Inception features for P&R
- real_feat = inception_features(real_imgs)
- gen_feat = inception_features(gen.cpu())
- all_real_features.append(real_feat)
- all_gen_features.append(gen_feat)
-
- print(f"\n\nComputing FID...")
- fid_value = fid_metric.compute().item()
- print(f"FID = {fid_value:.4f}")
-
- # Compute Precision & Recall
- print("Computing Precision & Recall...")
- real_features = torch.cat(all_real_features, dim=0)
- gen_features = torch.cat(all_gen_features, dim=0)
- precision, recall = compute_precision_recall(real_features, gen_features, k=3)
- print(f"Precision = {precision:.4f}")
- print(f"Recall = {recall:.4f}")
-
- # Save results
- mode_str = f"cfg{cfg_scale}" if use_cfg else "no_cfg"
- result_file = os.path.join(cfg["out_dir"], f"metrics_{mode_str}.txt")
- with open(result_file, "w") as f:
- f.write(f"Dataset: {dataset_name}\n")
- f.write(f"Checkpoint: {cfg['ckpt']}\n")
- f.write(f"Sampling: {'CFG=' + str(cfg_scale) if use_cfg else 'No-CFG'}\n")
- f.write(f"Num samples: {num_samples}\n")
- f.write(f"Num steps: {NUM_SAMPLING_STEPS}\n")
- f.write(f"\n")
- f.write(f"FID: {fid_value:.4f}\n")
- f.write(f"Precision: {precision:.4f}\n")
- f.write(f"Recall: {recall:.4f}\n")
- print(f"\nResults saved: {result_file}")
-
- # Print summary
- print(f"\n{'='*40}")
- print(f" {dataset_name.upper()} Results ({mode_str})")
- print(f" FID: {fid_value:.4f}")
- print(f" Precision: {precision:.4f}")
- print(f" Recall: {recall:.4f}")
- print(f"{'='*40}\n")
-
- return fid_value, precision, recall
-
-
-if __name__ == "__main__":
- parser = argparse.ArgumentParser()
- parser.add_argument("--dataset", type=str, required=True, choices=["kvasir", "cvc", "refuge2", "all"])
- parser.add_argument("--cfg", action="store_true", help="Use CFG sampling")
- parser.add_argument("--cfg_scale", type=float, default=2.0)
- parser.add_argument("--mask_mode", type=str, default="spatial", choices=["global", "spatial", "cross_attention"])
- parser.add_argument("--model", type=str, default="B/16", choices=["S/8", "B/8", "B/16", "L/16", "XL/16"])
- parser.add_argument("--ckpt", type=str, default=None, help="Override checkpoint path")
- args = parser.parse_args()
-
- # Build model kwargs
- model_kwargs = MODEL_CONFIGS[args.model].copy()
- model_kwargs["mask_mode"] = args.mask_mode
-
- datasets = ["cvc", "kvasir", "refuge2"] if args.dataset == "all" else [args.dataset]
-
- all_results = {}
- for ds in datasets:
- # Override checkpoint if provided
- if args.ckpt:
- CONFIGS[ds]["ckpt"] = args.ckpt
-
- # Always run No-CFG
- fid_nc, prec_nc, rec_nc = evaluate(ds, use_cfg=False, model_kwargs=model_kwargs)
- all_results[f"{ds}_no_cfg"] = (fid_nc, prec_nc, rec_nc)
-
- # Also run CFG if requested
- if args.cfg:
- fid_c, prec_c, rec_c = evaluate(ds, use_cfg=True, cfg_scale=args.cfg_scale, model_kwargs=model_kwargs)
- all_results[f"{ds}_cfg{args.cfg_scale}"] = (fid_c, prec_c, rec_c)
-
- # Clean up
- gc.collect()
- torch.cuda.empty_cache()
-
- # Final summary
- if len(all_results) > 1:
- print("\n" + "=" * 60)
- print(" SUMMARY")
- print("=" * 60)
- print(f"{'Experiment':<25s} | {'FID':>8s} | {'Precision':>10s} | {'Recall':>8s}")
- print("-" * 60)
- for name, (fid, prec, rec) in all_results.items():
- print(f"{name:<25s} | {fid:>8.2f} | {prec:>10.4f} | {rec:>8.4f}")
- print("=" * 60)
diff --git a/code/scripts/generate_all.py b/code/scripts/generate_all.py
deleted file mode 100644
index 50d81de582694234c62e56c831945d9bf950d9c5..0000000000000000000000000000000000000000
--- a/code/scripts/generate_all.py
+++ /dev/null
@@ -1,294 +0,0 @@
-"""
-Batch generation for all medical datasets.
-For each dataset, generates images conditioned on ALL masks, saves individually.
-Records per-image sampling time.
-
-Usage:
- python scripts/generate_all.py --dataset cvc
- python scripts/generate_all.py --dataset kvasir
- python scripts/generate_all.py --dataset refuge2
- python scripts/generate_all.py --dataset all
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import gc
-import time
-import json
-import random
-import numpy as np
-import torch
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torch.utils.data import Dataset, DataLoader
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-CONFIGS = {
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original",
- "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=19999-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/generated_images",
- "multi_split": False,
- "train_ratio": 0.9,
- "seed": 42,
- },
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images",
- "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/generated_images",
- "multi_split": False,
- "train_ratio": 0.9,
- "seed": 42,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "splits": ["train", "val", "test"],
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/epoch=16666-step=100000.ckpt",
- "out_dir": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/generated_images",
- "multi_split": True,
- "val_ratio": 0.1,
- "seed": 42,
- },
-}
-
-MODEL_KWARGS = dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-
-RESOLUTION = 256
-BATCH_SIZE = 16
-NUM_STEPS = 50
-CFG_SCALE = 2.0
-
-
-# ─── Dataset ──────────────────────────────────────────────────────────
-class MaskDataset(Dataset):
- """Load all masks from a dataset for generation."""
- def __init__(self, cfg):
- self.resolution = RESOLUTION
- self.pairs = [] # (mask_path, save_name)
-
- if cfg.get("multi_split"):
- for split in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], split, "images")
- mask_dir = os.path.join(cfg["data_root"], split, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- for ext in cfg["mask_ext"]:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- save_name = f"{split}_{base_name}"
- self.pairs.append((candidate, save_name))
- break
- else:
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(mask_dir) if f.endswith(cfg["file_ext"])])
- for f in all_files:
- base_name = os.path.splitext(f)[0]
- self.pairs.append((os.path.join(mask_dir, f), base_name))
-
- print(f"[MaskDataset] {len(self.pairs)} masks loaded")
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- mask_path, save_name = self.pairs[idx]
- mask = Image.open(mask_path).convert("L")
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
- return mask_tensor, save_name
-
-
-# ─── Sampling ─────────────────────────────────────────────────────────
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_batch_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """
- Euler ODE sampler with Classifier-Free Guidance.
- - Scheduler: Linear (t goes from 0 to 1)
- - Timeshift: 1.0 (no shift)
- - Prediction: x0-prediction, converted to velocity v = (x0 - x_t) / (1-t)
- - CFG: v = v_uncond + cfg_scale * (v_cond - v_uncond)
- """
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- # CFG: concat uncond (mask=0) and cond (mask=real)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-def load_model(ckpt_path, device):
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**MODEL_KWARGS)
- result = model.load_state_dict(ema_state, strict=False)
- print(f"Loaded EMA ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
- model = model.to(device).eval().to(torch.float32)
- return model
-
-
-# ─── Main ─────────────────────────────────────────────────────────────
-def generate(dataset_name):
- cfg = CONFIGS[dataset_name]
- device = torch.device("cuda:0")
-
- out_dir = cfg["out_dir"]
- os.makedirs(out_dir, exist_ok=True)
-
- print(f"\n{'='*60}")
- print(f" Generating: {dataset_name.upper()}")
- print(f" Sampling: Euler ODE + CFG={CFG_SCALE}, {NUM_STEPS} steps")
- print(f" Output: {out_dir}")
- print(f"{'='*60}\n")
-
- # Load dataset
- dataset = MaskDataset(cfg)
- loader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=False,
- num_workers=4, pin_memory=True)
-
- # Load model
- print("Loading model...")
- model = load_model(cfg["ckpt"], device)
-
- # Generate
- torch.manual_seed(0)
- timing_records = []
- total_images = 0
- total_time = 0.0
-
- for batch_idx, (masks, save_names) in enumerate(loader):
- bs = masks.shape[0]
- masks = masks.to(device)
- noise = torch.randn(bs, 3, RESOLUTION, RESOLUTION, device=device)
-
- # Time the sampling
- torch.cuda.synchronize()
- t_start = time.time()
-
- gen = sample_batch_cfg(model, noise, masks, NUM_STEPS, CFG_SCALE)
-
- torch.cuda.synchronize()
- t_end = time.time()
-
- batch_time = t_end - t_start
- per_image_time = batch_time / bs
- total_time += batch_time
- total_images += bs
-
- # Clamp and convert to [0, 255]
- gen = gen.clamp(-1, 1) * 0.5 + 0.5 # [-1,1] -> [0,1]
-
- # Save each image
- for i in range(bs):
- img_np = (gen[i].permute(1, 2, 0).cpu().numpy() * 255).clip(0, 255).astype(np.uint8)
- save_path = os.path.join(out_dir, f"{save_names[i]}.png")
- Image.fromarray(img_np).save(save_path)
-
- timing_records.append({
- "filename": f"{save_names[i]}.png",
- "time_seconds": per_image_time,
- })
-
- print(f" Batch {batch_idx+1}/{len(loader)} | {bs} images | {batch_time:.2f}s ({per_image_time:.3f}s/img)")
-
- avg_time = total_time / total_images
- print(f"\nGeneration complete: {total_images} images")
- print(f"Total time: {total_time:.2f}s")
- print(f"Average per-image: {avg_time:.4f}s ({1.0/avg_time:.1f} img/s)")
-
- # Save timing summary
- summary = {
- "dataset": dataset_name,
- "num_images": total_images,
- "sampling_strategy": "Euler ODE (1st-order)",
- "num_steps": NUM_STEPS,
- "cfg_scale": CFG_SCALE,
- "scheduler": "LinearScheduler",
- "timeshift": 1.0,
- "resolution": RESOLUTION,
- "total_time_seconds": round(total_time, 4),
- "avg_time_per_image_seconds": round(avg_time, 4),
- "throughput_img_per_sec": round(1.0 / avg_time, 2),
- "per_image_timing": timing_records,
- }
-
- summary_path = os.path.join(out_dir, "generation_stats.json")
- with open(summary_path, "w") as f:
- json.dump(summary, f, indent=2)
- print(f"Stats saved: {summary_path}")
-
- return total_images, avg_time
-
-
-if __name__ == "__main__":
- parser = argparse.ArgumentParser()
- parser.add_argument("--dataset", type=str, required=True,
- choices=["cvc", "kvasir", "refuge2", "all"])
- args = parser.parse_args()
-
- datasets = ["cvc", "kvasir", "refuge2"] if args.dataset == "all" else [args.dataset]
-
- all_results = {}
- for ds in datasets:
- n_imgs, avg_t = generate(ds)
- all_results[ds] = (n_imgs, avg_t)
- gc.collect()
- torch.cuda.empty_cache()
-
- # Final summary
- print(f"\n{'='*60}")
- print(f" GENERATION SUMMARY")
- print(f" Sampling: Euler ODE, {NUM_STEPS} steps, CFG={CFG_SCALE}")
- print(f"{'='*60}")
- print(f"{'Dataset':<15s} | {'Images':>8s} | {'Avg Time':>10s} | {'Throughput':>12s}")
- print("-" * 55)
- for name, (n, t) in all_results.items():
- print(f"{name:<15s} | {n:>8d} | {t:>8.4f}s | {1.0/t:>8.1f} img/s")
- print("=" * 55)
diff --git a/code/scripts/plot_kvasir_loss.py b/code/scripts/plot_kvasir_loss.py
deleted file mode 100644
index 25b2ae1adeb4ea0fd690362a1b8c1e30a7c1a463..0000000000000000000000000000000000000000
--- a/code/scripts/plot_kvasir_loss.py
+++ /dev/null
@@ -1,86 +0,0 @@
-"""Plot Kvasir-SEG training loss curves from log file."""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import re
-import matplotlib
-matplotlib.use('Agg')
-import matplotlib.pyplot as plt
-import numpy as np
-
-with open('/data/sichengli/Code/PixelGen/training_medical_kvasir.log', 'r') as f:
- text = f.read()
-
-# Extract epoch-end lines (100% completion lines with loss values)
-pattern = r'Epoch\s+(\d+):\s+100%.*?fm_loss=([\d.]+),\s*lpips_loss=([\d.]+),\s*loss=([\d.]+)'
-matches = re.findall(pattern, text)
-
-epochs = []
-fm_losses = []
-lpips_losses = []
-total_losses = []
-
-seen = set()
-for m in matches:
- epoch = int(m[0])
- if epoch in seen:
- continue
- seen.add(epoch)
- epochs.append(epoch)
- fm_losses.append(float(m[1]))
- lpips_losses.append(float(m[2]))
- total_losses.append(float(m[3]))
-
-# Convert epoch to step (8 steps per epoch)
-steps = [e * 8 for e in epochs]
-
-print(f"Total data points: {len(steps)}")
-print(f"Step range: {steps[0]} - {steps[-1]}")
-
-# Smooth with moving average
-def smooth(values, window=50):
- if len(values) < window:
- return values
- kernel = np.ones(window) / window
- return np.convolve(values, kernel, mode='valid')
-
-fig, axes = plt.subplots(1, 3, figsize=(18, 5))
-
-for ax, data, label, color in zip(
- axes,
- [fm_losses, lpips_losses, total_losses],
- ['FM Loss (MSE)', 'LPIPS Loss', 'Total Loss'],
- ['#2196F3', '#FF9800', '#4CAF50']
-):
- s = np.array(steps)
- d = np.array(data)
- # Raw data (light)
- ax.plot(s, d, alpha=0.15, color=color, linewidth=0.5)
- # Smoothed
- w = min(100, max(1, len(d) // 5))
- if w > 1:
- d_smooth = smooth(d, w)
- s_smooth = s[w-1:][:len(d_smooth)]
- ax.plot(s_smooth, d_smooth, color=color, linewidth=2, label=label + " (smoothed)")
- ax.set_xlabel('Training Steps', fontsize=12)
- ax.set_ylabel('Loss', fontsize=12)
- ax.set_title(label, fontsize=14, fontweight='bold')
- ax.legend(fontsize=10)
- ax.grid(True, alpha=0.3)
- ax.set_xlim(0, 100000)
-
-plt.suptitle('Kvasir-SEG Training Loss Curves (100k steps)', fontsize=16, fontweight='bold', y=1.02)
-plt.tight_layout()
-out_path = '/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/val_samples/loss_curves.png'
-plt.savefig(out_path, dpi=150, bbox_inches='tight')
-print(f"Saved: {out_path}")
-
-# Print key milestones
-milestones = [0, 10000, 20000, 30000, 50000, 70000, 100000]
-print()
-header = f"{'Step':>8s} | {'FM Loss':>10s} | {'LPIPS':>10s} | {'Total':>10s}"
-print(header)
-print('-' * len(header))
-for ms in milestones:
- idx = min(range(len(steps)), key=lambda i: abs(steps[i] - ms))
- print(f"{steps[idx]:>8d} | {fm_losses[idx]:>10.4f} | {lpips_losses[idx]:>10.4f} | {total_losses[idx]:>10.4f}")
diff --git a/code/scripts/plot_refuge2_loss.py b/code/scripts/plot_refuge2_loss.py
deleted file mode 100644
index c195cf32532f150315ab10dfeecf623b67d05604..0000000000000000000000000000000000000000
--- a/code/scripts/plot_refuge2_loss.py
+++ /dev/null
@@ -1,70 +0,0 @@
-"""Plot REFUGE2 training loss curves from log file."""
-import re
-import matplotlib
-matplotlib.use('Agg')
-import matplotlib.pyplot as plt
-import numpy as np
-
-with open('/data/sichengli/Code/PixelGen/training_medical_refuge2.log', 'r') as f:
- text = f.read()
-
-pattern = r'Epoch\s+(\d+):\s+100%.*?fm_loss=([\d.]+),\s*lpips_loss=([\d.]+),\s*loss=([\d.]+)'
-matches = re.findall(pattern, text)
-
-epochs, fm_losses, lpips_losses, total_losses = [], [], [], []
-seen = set()
-for m in matches:
- epoch = int(m[0])
- if epoch in seen:
- continue
- seen.add(epoch)
- epochs.append(epoch)
- fm_losses.append(float(m[1]))
- lpips_losses.append(float(m[2]))
- total_losses.append(float(m[3]))
-
-steps = [e * 6 for e in epochs]
-print(f"Total data points: {len(steps)}")
-print(f"Step range: {steps[0]} - {steps[-1]}")
-
-def smooth(values, window=50):
- if len(values) < window:
- return values
- kernel = np.ones(window) / window
- return np.convolve(values, kernel, mode='valid')
-
-fig, axes = plt.subplots(1, 3, figsize=(18, 5))
-for ax, data, label, color in zip(
- axes,
- [fm_losses, lpips_losses, total_losses],
- ['FM Loss (MSE)', 'LPIPS Loss', 'Total Loss'],
- ['#2196F3', '#FF9800', '#4CAF50']
-):
- s = np.array(steps)
- d = np.array(data)
- ax.plot(s, d, alpha=0.15, color=color, linewidth=0.5)
- w = min(100, max(1, len(d) // 5))
- if w > 1:
- d_smooth = smooth(d, w)
- s_smooth = s[w-1:][:len(d_smooth)]
- ax.plot(s_smooth, d_smooth, color=color, linewidth=2, label=label + " (smoothed)")
- ax.set_xlabel('Training Steps', fontsize=12)
- ax.set_ylabel('Loss', fontsize=12)
- ax.set_title(label, fontsize=14, fontweight='bold')
- ax.legend(fontsize=10)
- ax.grid(True, alpha=0.3)
- ax.set_xlim(0, 100000)
-
-plt.suptitle('REFUGE2 Training Loss Curves (100k steps)', fontsize=16, fontweight='bold', y=1.02)
-plt.tight_layout()
-out_path = '/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/val_samples/loss_curves.png'
-plt.savefig(out_path, dpi=150, bbox_inches='tight')
-print(f"Saved: {out_path}")
-
-milestones = [0, 10000, 20000, 30000, 50000, 70000, 100000]
-header = f"{'Step':>8s} | {'FM Loss':>10s} | {'LPIPS':>10s} | {'Total':>10s}"
-print(f"\n{header}")
-print('-' * len(header))
-for ms in milestones:
- idx = min(range(len(steps)), key=lambda i: abs(steps[i] - ms))
- print(f"{steps[idx]:>8d} | {fm_losses[idx]:>10.4f} | {lpips_losses[idx]:>10.4f} | {total_losses[idx]:>10.4f}")
diff --git a/code/scripts/test_medical_training.py b/code/scripts/test_medical_training.py
deleted file mode 100644
index b411e02ef5d42badda7ab7fb0b545550f05edcab..0000000000000000000000000000000000000000
--- a/code/scripts/test_medical_training.py
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/usr/bin/env python
-"""
-Quick test script for medical image training pipeline.
-Runs a few steps to verify everything works.
-"""
-
-import os
-import sys
-sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-
-import torch
-import torch.nn as nn
-from torch.utils.data import DataLoader
-
-# Test imports
-print("Testing imports...")
-from src.data.dataset.octa500 import OCTA500Dataset
-from src.models.transformer.JiT_medical import JiTMedical_B_16
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-import lpips
-
-print("All imports successful!")
-
-# Configuration
-DATA_ROOT = "/data2/sichengli/Data/test/Segmentation/OCTA500"
-BATCH_SIZE = 4
-NUM_STEPS = 5
-DEVICE = "cuda:0"
-
-def main():
- print("\n=== Testing Medical Image Training Pipeline ===\n")
-
- # 1. Test dataset
- print("1. Loading dataset...")
- dataset = OCTA500Dataset(DATA_ROOT, resolution=256, split='train', max_samples=100)
- dataloader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=True, num_workers=2)
- print(f" Dataset size: {len(dataset)}")
-
- # Get a batch
- batch = next(iter(dataloader))
- images, labels, metadata = batch
- masks = metadata['mask']
- raw_images = metadata['raw_image']
-
- print(f" Images shape: {images.shape}, range: [{images.min():.2f}, {images.max():.2f}]")
- print(f" Masks shape: {masks.shape}, range: [{masks.min():.2f}, {masks.max():.2f}]")
- print(f" Raw images shape: {raw_images.shape}")
-
- # 2. Test model
- print("\n2. Creating model...")
- model = JiTMedical_B_16(input_size=256, num_classes=1).to(DEVICE)
- print(f" Model parameters: {sum(p.numel() for p in model.parameters()) / 1e6:.2f}M")
-
- # 3. Test LPIPS
- print("\n3. Loading LPIPS...")
- lpips_fn = lpips.LPIPS(net='vgg').to(DEVICE).eval()
- print(" LPIPS loaded!")
-
- # 4. Test scheduler
- print("\n4. Creating scheduler...")
- scheduler = LinearScheduler()
-
- # 5. Test training step
- print("\n5. Testing training steps...")
-
- optimizer = torch.optim.AdamW(model.parameters(), lr=1e-4)
-
- for step in range(NUM_STEPS):
- # Get batch
- images, labels, metadata = next(iter(dataloader))
- images = images.to(DEVICE)
- masks = metadata['mask'].to(DEVICE)
- labels = labels.to(DEVICE)
-
- # Sample timesteps
- batch_size = images.shape[0]
- t = torch.rand(batch_size, device=DEVICE)
-
- # Add noise
- noise = torch.randn_like(images)
- alpha = scheduler.alpha(t)
- sigma = scheduler.sigma(t)
- x_t = alpha * images + noise * sigma
-
- # Forward pass
- pred = model(x_t, t, labels, mask=masks)
-
- # Compute losses
- v_t = (images - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(0.05)
- pred_v = (pred - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(0.05)
-
- fm_loss = ((pred_v - v_t) ** 2).mean()
- lpips_loss = lpips_fn(pred, images).mean()
-
- loss = fm_loss + 0.1 * lpips_loss
-
- # Backward
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
-
- print(f" Step {step+1}/{NUM_STEPS}: fm_loss={fm_loss.item():.4f}, lpips_loss={lpips_loss.item():.4f}, total={loss.item():.4f}")
-
- print("\n=== All tests PASSED! ===")
- print("\nReady for full training with:")
- print(" python main.py fit -c ./configs_medical/PixelGen_Medical_B16.yaml")
-
-if __name__ == "__main__":
- main()
diff --git a/code/scripts/v4_eval_fulldata.py b/code/scripts/v4_eval_fulldata.py
deleted file mode 100644
index d1d73db3755b7839e7acf0720bedbd91f219fd93..0000000000000000000000000000000000000000
--- a/code/scripts/v4_eval_fulldata.py
+++ /dev/null
@@ -1,336 +0,0 @@
-"""
-V4: Evaluate all full-data conditions on the validation set.
-Supports kvasir (binary), cvc (binary), refuge2 (3-class).
-Saves predicted masks, overlay visualizations, and per-image metrics.
-
-Usage:
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset kvasir
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset cvc
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_eval_fulldata.py --dataset refuge2
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import json
-import random
-import numpy as np
-import torch
-from torch.utils.data import Dataset, DataLoader
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import segmentation_models_pytorch as smp
-
-from segmentation.metrics import compute_dice_iou_binary, compute_dice_iou_multiclass
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-DATASET_CONFIGS = {
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images", "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "multi_split": False, "train_ratio": 0.9,
- "task": "binary", "num_classes": 1,
- },
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original", "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "multi_split": False, "train_ratio": 0.9,
- "task": "binary", "num_classes": 1,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "splits": ["train", "val"],
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "multi_split": True, "val_ratio": 0.1,
- "task": "multiclass", "num_classes": 3,
- "class_mapping": {0: 0, 128: 1, 255: 2},
- },
-}
-
-WORK_DIR_BASE = "/data/sichengli/Code/PixelGen/synergy_v4_workdir"
-RESOLUTION = 256
-SPLIT_SEED = 42
-EVAL_SEED = 42
-
-IMAGENET_MEAN = [0.485, 0.456, 0.406]
-IMAGENET_STD = [0.229, 0.224, 0.225]
-
-CONDITIONS = ["no_aug", "baseline", "cycle", "consist", "cycle_consist"]
-
-
-# ─── Mask Processing ─────────────────────────────────────────────────
-def process_mask(mask_pil, task, class_mapping=None):
- mask_np = np.array(mask_pil)
- if task == "binary":
- mask_np = (mask_np > 127).astype(np.float32)
- return torch.from_numpy(mask_np).unsqueeze(0)
- else:
- result = np.zeros_like(mask_np, dtype=np.int64)
- for pixel_val, class_idx in class_mapping.items():
- result[mask_np == pixel_val] = class_idx
- for pixel_val in np.unique(mask_np):
- if pixel_val not in class_mapping:
- closest = min(class_mapping.keys(), key=lambda x: abs(x - pixel_val))
- result[mask_np == pixel_val] = class_mapping[closest]
- return torch.from_numpy(result).long()
-
-
-# ─── Dataset ──────────────────────────────────────────────────────────
-class ValDataset(Dataset):
- """Validation set with filenames preserved."""
- def __init__(self, dataset_name):
- cfg = DATASET_CONFIGS[dataset_name]
- self.task = cfg["task"]
- self.class_mapping = cfg.get("class_mapping")
- self.normalize = transforms.Normalize(mean=IMAGENET_MEAN, std=IMAGENET_STD)
-
- if cfg["multi_split"]:
- all_pairs = []
- for s in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], s, "images")
- mask_dir = os.path.join(cfg["data_root"], s, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- for ext in cfg["mask_ext"]:
- candidate = os.path.join(mask_dir, base + ext)
- if os.path.exists(candidate):
- all_pairs.append((img_path, candidate, f"{s}_{base}"))
- break
- random.seed(SPLIT_SEED)
- # Need to shuffle pairs consistently (without fname)
- pairs_for_shuffle = [(ip, mp) for ip, mp, _ in all_pairs]
- fnames_for_shuffle = [fn for _, _, fn in all_pairs]
- combined = list(zip(pairs_for_shuffle, fnames_for_shuffle))
- random.shuffle(combined)
- split_idx = int(len(combined) * (1 - cfg.get("val_ratio", 0.1)))
- val_combined = combined[split_idx:]
- self.pairs = [(ip, mp, fn) for (ip, mp), fn in val_combined]
- else:
- img_dir = os.path.join(cfg["data_root"], cfg["img_subdir"])
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- random.seed(SPLIT_SEED)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * cfg["train_ratio"])
- val_indices = indices[split_idx:]
- val_files = [all_files[i] for i in sorted(val_indices)]
- self.pairs = []
- for f in val_files:
- ip = os.path.join(img_dir, f)
- mp = os.path.join(mask_dir, f)
- if os.path.exists(mp):
- self.pairs.append((ip, mp, os.path.splitext(f)[0]))
-
- print(f"[ValDataset-{dataset_name}] {len(self.pairs)} validation samples")
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- img_path, mask_path, fname = self.pairs[idx]
- image = Image.open(img_path).convert("RGB")
- mask = Image.open(mask_path).convert("L")
-
- image = TF.resize(image, (RESOLUTION, RESOLUTION),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (RESOLUTION, RESOLUTION),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- image_tensor = self.normalize(TF.to_tensor(image))
- mask_tensor = process_mask(mask, self.task, self.class_mapping)
- raw_image = TF.to_tensor(image)
-
- return image_tensor, mask_tensor, raw_image, fname
-
-
-# ─── Visualization ────────────────────────────────────────────────────
-def make_overlay_binary(raw_img, gt_mask, pred_mask):
- img_np = (raw_img.permute(1, 2, 0).numpy() * 255).astype(np.uint8)
-
- gt_overlay = img_np.copy()
- gt_overlay[gt_mask > 0.5, 1] = np.clip(gt_overlay[gt_mask > 0.5, 1].astype(np.int32) + 100, 0, 255).astype(np.uint8)
-
- pred_overlay = img_np.copy()
- tp = (pred_mask > 0.5) & (gt_mask > 0.5)
- fp = (pred_mask > 0.5) & (gt_mask < 0.5)
- fn = (pred_mask < 0.5) & (gt_mask > 0.5)
- pred_overlay[tp, 1] = np.clip(pred_overlay[tp, 1].astype(np.int32) + 100, 0, 255).astype(np.uint8)
- pred_overlay[fp, 0] = np.clip(pred_overlay[fp, 0].astype(np.int32) + 100, 0, 255).astype(np.uint8)
- pred_overlay[fn, 2] = np.clip(pred_overlay[fn, 2].astype(np.int32) + 100, 0, 255).astype(np.uint8)
-
- return Image.fromarray(np.concatenate([img_np, gt_overlay, pred_overlay], axis=1))
-
-
-def make_overlay_multiclass(raw_img, gt_mask, pred_mask, num_classes=3):
- """Colors: class1=green, class2=blue."""
- img_np = (raw_img.permute(1, 2, 0).numpy() * 255).astype(np.uint8)
- colors = {1: np.array([0, 100, 0]), 2: np.array([0, 0, 100])} # class -> RGB delta
-
- gt_overlay = img_np.copy()
- for c, delta in colors.items():
- mask_c = gt_mask == c
- for ch in range(3):
- gt_overlay[mask_c, ch] = np.clip(gt_overlay[mask_c, ch].astype(np.int32) + delta[ch], 0, 255).astype(np.uint8)
-
- pred_overlay = img_np.copy()
- for c, delta in colors.items():
- tp = (pred_mask == c) & (gt_mask == c)
- fp = (pred_mask == c) & (gt_mask != c)
- for ch in range(3):
- pred_overlay[tp, ch] = np.clip(pred_overlay[tp, ch].astype(np.int32) + delta[ch], 0, 255).astype(np.uint8)
- pred_overlay[fp, 0] = np.clip(pred_overlay[fp, 0].astype(np.int32) + 100, 0, 255).astype(np.uint8)
-
- # FN for any foreground
- fn = (pred_mask == 0) & (gt_mask > 0)
- pred_overlay[fn, 2] = np.clip(pred_overlay[fn, 2].astype(np.int32) + 100, 0, 255).astype(np.uint8)
-
- return Image.fromarray(np.concatenate([img_np, gt_overlay, pred_overlay], axis=1))
-
-
-# ─── Evaluation ───────────────────────────────────────────────────────
-@torch.no_grad()
-def evaluate_condition(condition, device, dataset_name, loader, task, num_classes, out_dir, work_dir):
- ckpt_path = os.path.join(work_dir, "checkpoints", f"full_{condition}_seed{EVAL_SEED}", "best.pth")
- if not os.path.exists(ckpt_path):
- print(f" [SKIP] {ckpt_path} not found")
- return None
-
- out_classes = 1 if task == "binary" else num_classes
- model = smp.Unet(encoder_name="resnet34", encoder_weights="imagenet",
- in_channels=3, classes=out_classes)
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- model.load_state_dict(ckpt["model_state_dict"])
- model = model.to(device).eval()
- print(f" Loaded: {os.path.basename(ckpt_path)} (best_dice={ckpt['best_dice']:.4f}, epoch={ckpt['epoch']})")
-
- cond_dir = os.path.join(out_dir, condition)
- pred_dir = os.path.join(cond_dir, "predictions")
- vis_dir = os.path.join(cond_dir, "visualizations")
- os.makedirs(pred_dir, exist_ok=True)
- os.makedirs(vis_dir, exist_ok=True)
-
- per_image = []
- all_dices = []
- all_ious = []
-
- for images, masks, raw_images, fnames in loader:
- images = images.to(device)
- masks = masks.to(device)
- bs = images.shape[0]
- logits = model(images)
-
- for i in range(bs):
- fname = fnames[i]
-
- if task == "binary":
- dice, iou = compute_dice_iou_binary(logits[i:i+1], masks[i:i+1])
- pred_np = (torch.sigmoid(logits[i, 0]).cpu().numpy() > 0.5).astype(np.uint8) * 255
- overlay = make_overlay_binary(
- raw_images[i].cpu(),
- masks[i, 0].cpu().numpy(),
- (torch.sigmoid(logits[i, 0]).cpu().numpy() > 0.5).astype(np.float32)
- )
- else:
- dice, iou, _, _ = compute_dice_iou_multiclass(logits[i:i+1], masks[i:i+1], num_classes)
- pred_cls = logits[i].argmax(dim=0).cpu().numpy().astype(np.uint8)
- # Save as class indices (0, 1, 2) * 127 for visibility
- pred_np = (pred_cls * 127).astype(np.uint8)
- overlay = make_overlay_multiclass(
- raw_images[i].cpu(),
- masks[i].cpu().numpy(),
- pred_cls,
- num_classes
- )
-
- Image.fromarray(pred_np).save(os.path.join(pred_dir, f"{fname}.png"))
- overlay.save(os.path.join(vis_dir, f"{fname}.png"))
-
- per_image.append({"filename": fname, "dice": round(dice, 4), "iou": round(iou, 4)})
- all_dices.append(dice)
- all_ious.append(iou)
-
- mean_dice = float(np.mean(all_dices))
- mean_iou = float(np.mean(all_ious))
- std_dice = float(np.std(all_dices))
- std_iou = float(np.std(all_ious))
-
- result = {
- "condition": condition, "seed": EVAL_SEED, "dataset": dataset_name,
- "num_samples": len(per_image),
- "mean_dice": round(mean_dice, 4), "std_dice": round(std_dice, 4),
- "mean_iou": round(mean_iou, 4), "std_iou": round(std_iou, 4),
- "per_image": per_image,
- }
- with open(os.path.join(cond_dir, "metrics.json"), "w") as f:
- json.dump(result, f, indent=2)
-
- print(f" {condition}: Dice={mean_dice:.4f}±{std_dice:.4f}, IoU={mean_iou:.4f}±{std_iou:.4f}")
- return result
-
-
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--dataset", type=str, required=True, choices=["kvasir", "cvc", "refuge2"])
- args = parser.parse_args()
-
- cfg = DATASET_CONFIGS[args.dataset]
- task = cfg["task"]
- num_classes = cfg["num_classes"]
- device = torch.device("cuda:0")
-
- work_dir = os.path.join(WORK_DIR_BASE, args.dataset)
- out_dir = os.path.join(work_dir, "eval_fulldata")
- os.makedirs(out_dir, exist_ok=True)
-
- dataset = ValDataset(args.dataset)
- loader = DataLoader(dataset, batch_size=16, shuffle=False, num_workers=4, pin_memory=True)
-
- print(f"\n{'='*60}")
- print(f" V4 Full-Data Eval: {args.dataset} ({task})")
- print(f" Checkpoint seed: {EVAL_SEED}")
- print(f"{'='*60}\n")
-
- all_results = {}
- for condition in CONDITIONS:
- print(f"\n--- {condition} ---")
- result = evaluate_condition(condition, device, args.dataset, loader,
- task, num_classes, out_dir, work_dir)
- if result is not None:
- all_results[condition] = {
- "mean_dice": result["mean_dice"], "std_dice": result["std_dice"],
- "mean_iou": result["mean_iou"], "std_iou": result["std_iou"],
- }
-
- # Summary
- print(f"\n{'='*60}")
- print(f" {args.dataset.upper()} SUMMARY (seed={EVAL_SEED})")
- print(f"{'='*60}")
- print(f"{'Condition':<18s} | {'Dice':>12s} | {'IoU':>12s} | {'vs baseline':>12s}")
- print("-" * 60)
- bl = all_results.get("baseline", {}).get("mean_dice")
- for cond in CONDITIONS:
- if cond not in all_results:
- continue
- r = all_results[cond]
- d_str = f"{r['mean_dice']:.4f}±{r['std_dice']:.4f}"
- i_str = f"{r['mean_iou']:.4f}±{r['std_iou']:.4f}"
- delta = f"{r['mean_dice'] - bl:+.4f}" if bl and cond != "baseline" else "-"
- print(f"{cond:<18s} | {d_str:>12s} | {i_str:>12s} | {delta:>12s}")
- print("=" * 60)
-
- with open(os.path.join(out_dir, "summary.json"), "w") as f:
- json.dump(all_results, f, indent=2)
- print(f"\nResults saved to: {out_dir}")
-
-
-if __name__ == "__main__":
- main()
diff --git a/code/scripts/v4_generate_pairs.py b/code/scripts/v4_generate_pairs.py
deleted file mode 100644
index eca3468df009df6e9783a5661260678bea9cb272..0000000000000000000000000000000000000000
--- a/code/scripts/v4_generate_pairs.py
+++ /dev/null
@@ -1,241 +0,0 @@
-"""
-V4: Offline pair generation for cycle consistency training.
-For each training mask, generate 2 images with different noise seeds,
-saving to seed0/, seed1/, masks/ directories.
-
-Usage:
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_generate_pairs.py --dataset kvasir
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_generate_pairs.py --dataset cvc
- CUDA_VISIBLE_DEVICES=0 python scripts/v4_generate_pairs.py --dataset refuge2
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import random
-import numpy as np
-import torch
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torch.utils.data import Dataset, DataLoader
-import torchvision.utils as vutils
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-DATASET_CONFIGS = {
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images",
- "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt",
- "multi_split": False,
- "train_ratio": 0.9,
- "seed": 42,
- },
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original",
- "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=19999-step=100000.ckpt",
- "multi_split": False,
- "train_ratio": 0.9,
- "seed": 42,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "splits": ["train", "val"],
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/epoch=16666-step=100000.ckpt",
- "multi_split": True,
- "val_ratio": 0.1,
- "seed": 42,
- },
-}
-
-MODEL_KWARGS = dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-
-RESOLUTION = 256
-BATCH_SIZE = 16
-NUM_STEPS = 50
-CFG_SCALE = 2.0
-GEN_SEEDS = [0, 12345]
-
-
-# ─── Dataset ──────────────────────────────────────────────────────────
-class TrainMaskDataset(Dataset):
- """Load training split masks for any dataset."""
- def __init__(self, cfg):
- self.resolution = RESOLUTION
- self.mask_paths = []
-
- if cfg.get("multi_split"):
- # REFUGE2: combine train+val, then holdout
- all_pairs = []
- for s in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], s, "images")
- mask_dir = os.path.join(cfg["data_root"], s, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- for ext in cfg["mask_ext"]:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- all_pairs.append(candidate)
- break
- random.seed(cfg["seed"])
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - cfg.get("val_ratio", 0.1)))
- self.mask_paths = all_pairs[:split_idx]
- else:
- # CVC/Kvasir: simple split
- img_dir = os.path.join(cfg["data_root"], cfg["img_subdir"])
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- random.seed(cfg["seed"])
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * cfg["train_ratio"])
- train_indices = indices[:split_idx]
- self.mask_paths = [os.path.join(mask_dir, all_files[i]) for i in sorted(train_indices)]
-
- print(f"[TrainMaskDataset] {len(self.mask_paths)} training masks")
-
- def __len__(self):
- return len(self.mask_paths)
-
- def __getitem__(self, idx):
- mask = Image.open(self.mask_paths[idx]).convert("L")
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask) # [1, H, W] in [0, 1]
- return mask_tensor, idx
-
-
-# ─── Sampling ─────────────────────────────────────────────────────────
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_batch_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-def load_model(ckpt_path, device):
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**MODEL_KWARGS)
- result = model.load_state_dict(ema_state, strict=False)
- print(f"Loaded EMA ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
- model = model.to(device).eval().to(torch.float32)
- return model
-
-
-# ─── Main ─────────────────────────────────────────────────────────────
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--dataset", type=str, required=True, choices=["kvasir", "cvc", "refuge2"])
- args = parser.parse_args()
-
- cfg = DATASET_CONFIGS[args.dataset]
- device = torch.device("cuda:0")
- out_dir = f"/data/sichengli/Code/PixelGen/synergy_v4_workdir/{args.dataset}/generated"
-
- for subdir in ["seed0", "seed1", "masks"]:
- os.makedirs(os.path.join(out_dir, subdir), exist_ok=True)
-
- dataset = TrainMaskDataset(cfg)
- loader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=False,
- num_workers=4, pin_memory=True)
-
- print(f"Loading PixelGen model for {args.dataset}...")
- model = load_model(cfg["ckpt"], device)
-
- # Save masks
- print("Saving resized masks...")
- for masks, indices in loader:
- for i in range(masks.shape[0]):
- idx = indices[i].item()
- mask_np = (masks[i, 0].numpy() * 255).astype(np.uint8)
- Image.fromarray(mask_np).save(os.path.join(out_dir, "masks", f"{idx:04d}.png"))
-
- # Generate for each seed
- for seed_idx, seed_val in enumerate(GEN_SEEDS):
- seed_dir = os.path.join(out_dir, f"seed{seed_idx}")
- print(f"\n{'='*60}")
- print(f" [{args.dataset}] Generating with seed={seed_val} -> seed{seed_idx}/")
- print(f" CFG={CFG_SCALE}, {NUM_STEPS} Euler steps")
- print(f"{'='*60}")
-
- torch.manual_seed(seed_val)
- for batch_idx, (masks, indices) in enumerate(loader):
- bs = masks.shape[0]
- masks = masks.to(device)
- noise = torch.randn(bs, 3, RESOLUTION, RESOLUTION, device=device)
- gen = sample_batch_cfg(model, noise, masks, NUM_STEPS, CFG_SCALE)
- gen = gen.clamp(-1, 1) * 0.5 + 0.5
-
- for i in range(bs):
- idx = indices[i].item()
- img_np = (gen[i].permute(1, 2, 0).cpu().numpy() * 255).clip(0, 255).astype(np.uint8)
- Image.fromarray(img_np).save(os.path.join(seed_dir, f"{idx:04d}.png"))
-
- print(f" Batch {batch_idx+1}/{len(loader)} | {bs} images")
-
- # Preview grid
- print("\nSaving preview grid...")
- n_preview = min(8, len(dataset))
- grid_images = []
- for i in range(n_preview):
- mask_img = Image.open(os.path.join(out_dir, "masks", f"{i:04d}.png")).convert("RGB")
- seed0_img = Image.open(os.path.join(out_dir, "seed0", f"{i:04d}.png")).convert("RGB")
- seed1_img = Image.open(os.path.join(out_dir, "seed1", f"{i:04d}.png")).convert("RGB")
- grid_images.extend([TF.to_tensor(mask_img), TF.to_tensor(seed0_img), TF.to_tensor(seed1_img)])
- grid = vutils.make_grid(torch.stack(grid_images), nrow=3, padding=2, normalize=False)
- TF.to_pil_image(grid).save(os.path.join(out_dir, "grid.png"))
-
- print(f"\nDone! Generated {len(dataset)} x 2 = {len(dataset)*2} images")
- print(f"Output: {out_dir}")
-
-
-if __name__ == "__main__":
- main()
diff --git a/code/scripts/v4_test_time.py b/code/scripts/v4_test_time.py
deleted file mode 100644
index b68347d26dabf286a2b6a25539f4c4a2e6e20a2f..0000000000000000000000000000000000000000
--- a/code/scripts/v4_test_time.py
+++ /dev/null
@@ -1,320 +0,0 @@
-"""
-V4: Test-Time Self-Consistency.
-
-For each validation image:
- 1. S(I) -> P_direct (standard segmentation)
- 2. Binarize P_direct -> M0
- 3. G(M0, z_1..z_N) -> generate N views
- 4. S(view_i) -> P_i for each view
- 5. P_ensemble = mean(sigmoid(P_i))
- 6. P_combined = alpha * P_direct + (1-alpha) * P_ensemble
-
-Compares: direct, ensemble, combined strategies.
-
-Usage:
- python scripts/v4_test_time.py --condition cycle_consist --seed 42
- python scripts/v4_test_time.py --condition baseline --seed 42
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import json
-import random
-import numpy as np
-import torch
-import torch.nn.functional as F
-from torch.utils.data import Dataset, DataLoader
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import segmentation_models_pytorch as smp
-
-from src.models.transformer.JiT_medical import JiTMedical
-from segmentation.metrics import compute_dice_iou_binary, MetricTracker
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-KVASIR_ROOT = "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG"
-WORK_DIR = "/data/sichengli/Code/PixelGen/synergy_v4_workdir"
-PIXELGEN_CKPT = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt"
-
-RESOLUTION = 256
-TRAIN_RATIO = 0.9
-SPLIT_SEED = 42
-
-IMAGENET_MEAN = [0.485, 0.456, 0.406]
-IMAGENET_STD = [0.229, 0.224, 0.225]
-
-MODEL_KWARGS = dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-
-NUM_STEPS = 50
-CFG_SCALE = 2.0
-
-
-# ─── Dataset ──────────────────────────────────────────────────────────
-class KvasirValDataset(Dataset):
- """Kvasir validation set (100 images)."""
- def __init__(self):
- self.normalize = transforms.Normalize(mean=IMAGENET_MEAN, std=IMAGENET_STD)
-
- img_dir = os.path.join(KVASIR_ROOT, "images")
- mask_dir = os.path.join(KVASIR_ROOT, "masks")
-
- all_files = sorted([
- f for f in os.listdir(img_dir)
- if f.endswith((".jpg", ".png", ".jpeg"))
- ])
-
- random.seed(SPLIT_SEED)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * TRAIN_RATIO)
- val_indices = indices[split_idx:]
-
- self.files = [all_files[i] for i in sorted(val_indices)]
- self.img_dir = img_dir
- self.mask_dir = mask_dir
- print(f"[KvasirValDataset] {len(self.files)} validation samples")
-
- def __len__(self):
- return len(self.files)
-
- def __getitem__(self, idx):
- fname = self.files[idx]
-
- image = Image.open(os.path.join(self.img_dir, fname)).convert("RGB")
- mask = Image.open(os.path.join(self.mask_dir, fname)).convert("L")
-
- image = TF.resize(image, (RESOLUTION, RESOLUTION),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (RESOLUTION, RESOLUTION),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- image_tensor = self.normalize(TF.to_tensor(image))
-
- mask_np = np.array(mask)
- mask_np = (mask_np > 127).astype(np.float32)
- mask_tensor = torch.from_numpy(mask_np).unsqueeze(0)
-
- return image_tensor, mask_tensor
-
-
-# ─── PixelGen Sampling ────────────────────────────────────────────────
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_batch_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """Euler ODE sampler with CFG."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-def load_pixelgen(ckpt_path, device):
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**MODEL_KWARGS)
- result = model.load_state_dict(ema_state, strict=False)
- print(f"PixelGen loaded ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
- model = model.to(device).eval().to(torch.float32)
- return model
-
-
-def load_segmentor(condition, seed, device):
- ckpt_path = os.path.join(WORK_DIR, "checkpoints", f"{condition}_seed{seed}", "best.pth")
- model = smp.Unet(
- encoder_name="resnet34",
- encoder_weights="imagenet",
- in_channels=3,
- classes=1,
- )
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- model.load_state_dict(ckpt["model_state_dict"])
- model = model.to(device).eval()
- print(f"Segmentor loaded: {ckpt_path} (best_dice={ckpt['best_dice']:.4f})")
- return model
-
-
-# ─── Test-Time Self-Consistency ───────────────────────────────────────
-@torch.no_grad()
-def test_time_consistency(segmentor, pixelgen, val_loader, device,
- n_views=5, alpha=0.5):
- """
- For each val image:
- direct: S(I)
- ensemble: mean(S(G(S(I)->M0, z_i))) for i=1..n_views
- combined: alpha * direct + (1-alpha) * ensemble
- """
- normalize = transforms.Normalize(mean=IMAGENET_MEAN, std=IMAGENET_STD)
-
- tracker_direct = MetricTracker()
- tracker_ensemble = MetricTracker()
- tracker_combined = MetricTracker()
-
- for batch_idx, (images, gt_masks) in enumerate(val_loader):
- images = images.to(device)
- gt_masks = gt_masks.to(device)
- bs = images.shape[0]
-
- # Step 1: Direct prediction
- logits_direct = segmentor(images)
- p_direct = torch.sigmoid(logits_direct) # [B, 1, H, W]
-
- dice_d, iou_d = compute_dice_iou_binary(logits_direct, gt_masks)
- tracker_direct.update(dice_d, iou_d, bs)
-
- # Step 2: Binarize -> M0 (for PixelGen, mask in [0, 1])
- m0 = (p_direct > 0.5).float() # [B, 1, H, W]
-
- # Step 3: Generate N views and re-segment
- ensemble_probs = torch.zeros_like(p_direct) # [B, 1, H, W]
-
- for v in range(n_views):
- noise = torch.randn(bs, 3, RESOLUTION, RESOLUTION, device=device)
- gen_images = sample_batch_cfg(pixelgen, noise, m0, NUM_STEPS, CFG_SCALE)
- gen_images = gen_images.clamp(-1, 1) * 0.5 + 0.5 # [-1,1] -> [0,1]
-
- # Normalize for segmentor
- gen_normalized = torch.stack([normalize(img) for img in gen_images])
- logits_v = segmentor(gen_normalized)
- p_v = torch.sigmoid(logits_v)
- ensemble_probs += p_v
-
- ensemble_probs /= n_views # [B, 1, H, W]
-
- # Evaluate ensemble
- ensemble_preds = (ensemble_probs > 0.5).float()
- smooth = 1e-6
- inter_e = (ensemble_preds.view(bs, -1) * gt_masks.view(bs, -1)).sum(1)
- pred_sum_e = ensemble_preds.view(bs, -1).sum(1)
- gt_sum_e = gt_masks.view(bs, -1).sum(1)
- dice_e = ((2 * inter_e + smooth) / (pred_sum_e + gt_sum_e + smooth)).mean().item()
- iou_e = ((inter_e + smooth) / (pred_sum_e + gt_sum_e - inter_e + smooth)).mean().item()
- tracker_ensemble.update(dice_e, iou_e, bs)
-
- # Combined
- p_combined = alpha * p_direct + (1 - alpha) * ensemble_probs
- combined_preds = (p_combined > 0.5).float()
- inter_c = (combined_preds.view(bs, -1) * gt_masks.view(bs, -1)).sum(1)
- pred_sum_c = combined_preds.view(bs, -1).sum(1)
- gt_sum_c = gt_masks.view(bs, -1).sum(1)
- dice_c = ((2 * inter_c + smooth) / (pred_sum_c + gt_sum_c + smooth)).mean().item()
- iou_c = ((inter_c + smooth) / (pred_sum_c + gt_sum_c - inter_c + smooth)).mean().item()
- tracker_combined.update(dice_c, iou_c, bs)
-
- print(f" Batch {batch_idx+1}/{len(val_loader)} | "
- f"Direct: {dice_d:.4f} | Ensemble: {dice_e:.4f} | Combined: {dice_c:.4f}")
-
- return {
- "direct": {"dice": tracker_direct.avg_dice, "iou": tracker_direct.avg_iou},
- "ensemble": {"dice": tracker_ensemble.avg_dice, "iou": tracker_ensemble.avg_iou},
- "combined": {"dice": tracker_combined.avg_dice, "iou": tracker_combined.avg_iou},
- }
-
-
-# ─── Main ─────────────────────────────────────────────────────────────
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--condition", type=str, default="cycle_consist",
- choices=["no_aug", "baseline", "cycle", "consist", "cycle_consist"])
- parser.add_argument("--seed", type=int, default=42)
- parser.add_argument("--n_views", type=int, default=5)
- parser.add_argument("--alpha", type=float, default=0.5)
- parser.add_argument("--gpu", type=int, default=0)
- args = parser.parse_args()
-
- device = torch.device(f"cuda:{args.gpu}")
-
- print(f"\n{'='*60}")
- print(f" V4 Test-Time Self-Consistency")
- print(f" Condition: {args.condition}, Seed: {args.seed}")
- print(f" N_views: {args.n_views}, Alpha: {args.alpha}")
- print(f"{'='*60}\n")
-
- # Load models
- segmentor = load_segmentor(args.condition, args.seed, device)
- pixelgen = load_pixelgen(PIXELGEN_CKPT, device)
-
- # Load validation set
- val_dataset = KvasirValDataset()
- val_loader = DataLoader(val_dataset, batch_size=4, shuffle=False,
- num_workers=4, pin_memory=True)
-
- # Run test-time consistency
- results = test_time_consistency(
- segmentor, pixelgen, val_loader, device,
- n_views=args.n_views, alpha=args.alpha
- )
-
- # Print results
- print(f"\n{'='*60}")
- print(f" TEST-TIME SELF-CONSISTENCY RESULTS")
- print(f" Condition: {args.condition}, Seed: {args.seed}")
- print(f"{'='*60}")
- print(f"{'Strategy':<12s} | {'Dice':>8s} | {'IoU':>8s}")
- print("-" * 35)
- for strategy in ["direct", "ensemble", "combined"]:
- r = results[strategy]
- print(f"{strategy:<12s} | {r['dice']:>8.4f} | {r['iou']:>8.4f}")
- print("=" * 35)
-
- # Save results
- output = {
- "condition": args.condition,
- "seed": args.seed,
- "n_views": args.n_views,
- "alpha": args.alpha,
- "results": results,
- }
- out_path = os.path.join(WORK_DIR, "test_time_results.json")
-
- # Merge with existing
- all_results = {}
- if os.path.exists(out_path):
- with open(out_path, "r") as f:
- all_results = json.load(f)
-
- key = f"{args.condition}_seed{args.seed}"
- all_results[key] = output
-
- with open(out_path, "w") as f:
- json.dump(all_results, f, indent=2)
- print(f"\nResults saved: {out_path}")
-
-
-if __name__ == "__main__":
- main()
diff --git a/code/scripts/v4_train.py b/code/scripts/v4_train.py
deleted file mode 100644
index 14a02ac172aed82fc95ab61a02f91f8b7fb450bd..0000000000000000000000000000000000000000
--- a/code/scripts/v4_train.py
+++ /dev/null
@@ -1,443 +0,0 @@
-"""
-V4: Segmentation-Generation Cycle Consistency Training.
-Supports kvasir (binary), cvc (binary), and refuge2 (3-class).
-
-5 conditions: no_aug, baseline, cycle, consist, cycle_consist
-Each condition runs 3 seeds (42, 43, 44), 200 epochs.
-
-Usage:
- python scripts/v4_train.py --dataset kvasir --low_data_ratio 1.0 --conditions cycle
- python scripts/v4_train.py --dataset cvc --low_data_ratio 1.0 --conditions baseline
- python scripts/v4_train.py --dataset refuge2 --low_data_ratio 1.0 --conditions cycle_consist
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import argparse
-import os
-import json
-import random
-import itertools
-import numpy as np
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-from torch.utils.data import Dataset, DataLoader
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import segmentation_models_pytorch as smp
-
-from segmentation.losses import BCEDiceLoss, CEDiceLoss
-from segmentation.metrics import compute_dice_iou_binary, compute_dice_iou_multiclass, MetricTracker
-
-
-# ─── Config ───────────────────────────────────────────────────────────
-DATASET_CONFIGS = {
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images", "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "multi_split": False, "train_ratio": 0.9,
- "task": "binary", "num_classes": 1,
- },
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original", "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "multi_split": False, "train_ratio": 0.9,
- "task": "binary", "num_classes": 1,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "splits": ["train", "val"],
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "multi_split": True, "val_ratio": 0.1,
- "task": "multiclass", "num_classes": 3,
- "class_mapping": {0: 0, 128: 1, 255: 2},
- },
-}
-
-WORK_DIR_BASE = "/data/sichengli/Code/PixelGen/synergy_v4_workdir"
-RESOLUTION = 256
-SPLIT_SEED = 42
-
-IMAGENET_MEAN = [0.485, 0.456, 0.406]
-IMAGENET_STD = [0.229, 0.224, 0.225]
-
-EPOCHS = 200
-BATCH_SIZE = 16
-LR = 1e-4
-WEIGHT_DECAY = 1e-4
-LAMBDA_CYCLE = 1.0
-LAMBDA_CONSIST = 1.0
-CONSIST_RAMPUP = 10
-SEEDS = [42, 43, 44]
-ALL_CONDITIONS = ["no_aug", "baseline", "cycle", "consist", "cycle_consist"]
-
-
-# ─── Mask Processing ─────────────────────────────────────────────────
-def process_mask(mask_pil, task, class_mapping=None):
- """Convert PIL grayscale mask to tensor.
- Binary: [1, H, W] float {0, 1}
- Multiclass: [H, W] long {0, ..., C-1}
- """
- mask_np = np.array(mask_pil)
- if task == "binary":
- mask_np = (mask_np > 127).astype(np.float32)
- return torch.from_numpy(mask_np).unsqueeze(0)
- else:
- result = np.zeros_like(mask_np, dtype=np.int64)
- for pixel_val, class_idx in class_mapping.items():
- result[mask_np == pixel_val] = class_idx
- for pixel_val in np.unique(mask_np):
- if pixel_val not in class_mapping:
- closest = min(class_mapping.keys(), key=lambda x: abs(x - pixel_val))
- result[mask_np == pixel_val] = class_mapping[closest]
- return torch.from_numpy(result).long()
-
-
-# ─── Datasets ─────────────────────────────────────────────────────────
-class RealDataset(Dataset):
- """Real images + masks for supervised training. Supports all three datasets."""
- def __init__(self, dataset_name, split="train", augment=True,
- low_data_ratio=1.0, low_data_seed=42):
- cfg = DATASET_CONFIGS[dataset_name]
- self.task = cfg["task"]
- self.class_mapping = cfg.get("class_mapping")
- self.resolution = RESOLUTION
- self.augment = augment and (split == "train")
- self.normalize = transforms.Normalize(mean=IMAGENET_MEAN, std=IMAGENET_STD)
-
- if cfg["multi_split"]:
- all_pairs = []
- for s in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], s, "images")
- mask_dir = os.path.join(cfg["data_root"], s, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- for ext in cfg["mask_ext"]:
- candidate = os.path.join(mask_dir, base + ext)
- if os.path.exists(candidate):
- all_pairs.append((img_path, candidate))
- break
- random.seed(SPLIT_SEED)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - cfg.get("val_ratio", 0.1)))
- self.pairs = all_pairs[:split_idx] if split == "train" else all_pairs[split_idx:]
- else:
- img_dir = os.path.join(cfg["data_root"], cfg["img_subdir"])
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- random.seed(SPLIT_SEED)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * cfg["train_ratio"])
- sel = indices[:split_idx] if split == "train" else indices[split_idx:]
- sel_files = [all_files[i] for i in sorted(sel)]
- self.pairs = [(os.path.join(img_dir, f), os.path.join(mask_dir, f)) for f in sel_files
- if os.path.exists(os.path.join(mask_dir, f))]
-
- # Sub-sample for low-data
- if split == "train" and low_data_ratio < 1.0:
- random.seed(low_data_seed)
- n = int(len(self.pairs) * low_data_ratio)
- sub = random.sample(range(len(self.pairs)), n)
- self.pairs = [self.pairs[i] for i in sorted(sub)]
-
- print(f"[RealDataset-{dataset_name}] {split}: {len(self.pairs)} samples (augment={self.augment})")
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- img_path, mask_path = self.pairs[idx]
- image = Image.open(img_path).convert("RGB")
- mask = Image.open(mask_path).convert("L")
-
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- if self.augment:
- if random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
- if random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
- if random.random() > 0.5:
- image = TF.adjust_brightness(image, random.uniform(0.85, 1.15))
- image = TF.adjust_contrast(image, random.uniform(0.85, 1.15))
- image = TF.adjust_saturation(image, random.uniform(0.85, 1.15))
-
- image_tensor = self.normalize(TF.to_tensor(image))
- mask_tensor = process_mask(mask, self.task, self.class_mapping)
- return image_tensor, mask_tensor
-
-
-class GeneratedPairDataset(Dataset):
- """Load pre-generated image pairs + masks for cycle/consistency training."""
- def __init__(self, gen_dir, task="binary", class_mapping=None):
- self.gen_dir = gen_dir
- self.task = task
- self.class_mapping = class_mapping
- self.normalize = transforms.Normalize(mean=IMAGENET_MEAN, std=IMAGENET_STD)
-
- mask_dir = os.path.join(gen_dir, "masks")
- self.indices = sorted([int(f.split(".")[0]) for f in os.listdir(mask_dir) if f.endswith(".png")])
- print(f"[GeneratedPairDataset] {len(self.indices)} triplets")
-
- def __len__(self):
- return len(self.indices)
-
- def __getitem__(self, idx):
- file_idx = self.indices[idx]
- fname = f"{file_idx:04d}.png"
-
- img0 = Image.open(os.path.join(self.gen_dir, "seed0", fname)).convert("RGB")
- img1 = Image.open(os.path.join(self.gen_dir, "seed1", fname)).convert("RGB")
- mask = Image.open(os.path.join(self.gen_dir, "masks", fname)).convert("L")
-
- if random.random() > 0.5:
- img0 = TF.hflip(img0)
- img1 = TF.hflip(img1)
- mask = TF.hflip(mask)
- if random.random() > 0.5:
- img0 = TF.vflip(img0)
- img1 = TF.vflip(img1)
- mask = TF.vflip(mask)
-
- img0_tensor = self.normalize(TF.to_tensor(img0))
- img1_tensor = self.normalize(TF.to_tensor(img1))
- mask_tensor = process_mask(mask, self.task, self.class_mapping)
- return img0_tensor, img1_tensor, mask_tensor
-
-
-# ─── Training ─────────────────────────────────────────────────────────
-def compute_metrics(logits, masks, task, num_classes):
- if task == "binary":
- return compute_dice_iou_binary(logits, masks)
- else:
- dice, iou, _, _ = compute_dice_iou_multiclass(logits, masks, num_classes)
- return dice, iou
-
-
-def train_condition(condition, seed, device, dataset_name, low_data_ratio=1.0):
- cfg = DATASET_CONFIGS[dataset_name]
- task = cfg["task"]
- num_classes = cfg["num_classes"]
- work_dir = os.path.join(WORK_DIR_BASE, dataset_name)
- gen_dir = os.path.join(work_dir, "generated")
-
- data_tag = "full" if low_data_ratio >= 1.0 else "low"
- print(f"\n{'='*60}")
- print(f" {dataset_name} | {condition} | seed={seed} | {data_tag}")
- print(f"{'='*60}")
-
- torch.manual_seed(seed)
- random.seed(seed)
- np.random.seed(seed)
-
- use_aug = condition != "no_aug"
- use_cycle = condition in ("cycle", "cycle_consist")
- use_consist = condition in ("consist", "cycle_consist")
- use_gen = use_cycle or use_consist
-
- train_dataset = RealDataset(dataset_name, "train", augment=use_aug,
- low_data_ratio=low_data_ratio, low_data_seed=SPLIT_SEED)
- val_dataset = RealDataset(dataset_name, "val", augment=False,
- low_data_ratio=1.0, low_data_seed=SPLIT_SEED)
-
- train_loader = DataLoader(train_dataset, batch_size=BATCH_SIZE,
- shuffle=True, num_workers=4, pin_memory=True, drop_last=True)
- val_loader = DataLoader(val_dataset, batch_size=BATCH_SIZE,
- shuffle=False, num_workers=4, pin_memory=True)
-
- gen_loader_iter = None
- if use_gen:
- gen_dataset = GeneratedPairDataset(gen_dir, task=task,
- class_mapping=cfg.get("class_mapping"))
- gen_loader = DataLoader(gen_dataset, batch_size=BATCH_SIZE,
- shuffle=True, num_workers=4, pin_memory=True, drop_last=True)
- gen_loader_iter = iter(itertools.cycle(gen_loader))
-
- # Model
- out_classes = 1 if task == "binary" else num_classes
- model = smp.Unet(encoder_name="resnet34", encoder_weights="imagenet",
- in_channels=3, classes=out_classes).to(device)
-
- criterion = BCEDiceLoss() if task == "binary" else CEDiceLoss(num_classes=num_classes)
- mse_loss = nn.MSELoss()
- optimizer = torch.optim.AdamW(model.parameters(), lr=LR, weight_decay=WEIGHT_DECAY)
- scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(optimizer, T_max=EPOCHS)
-
- ckpt_dir = os.path.join(work_dir, "checkpoints", f"{data_tag}_{condition}_seed{seed}")
- os.makedirs(ckpt_dir, exist_ok=True)
-
- best_dice = 0.0
- best_iou = 0.0
-
- for epoch in range(1, EPOCHS + 1):
- model.train()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for real_imgs, real_masks in train_loader:
- real_imgs = real_imgs.to(device)
- real_masks = real_masks.to(device)
-
- logits = model(real_imgs)
- l_sup = criterion(logits, real_masks)
- loss = l_sup
-
- if use_gen:
- gen_img0, gen_img1, gen_mask = next(gen_loader_iter)
- gen_img0 = gen_img0.to(device)
- gen_img1 = gen_img1.to(device)
- gen_mask = gen_mask.to(device)
-
- pred0 = model(gen_img0)
- pred1 = model(gen_img1)
-
- if use_cycle:
- l_cycle = 0.5 * (criterion(pred0, gen_mask) + criterion(pred1, gen_mask))
- loss = loss + LAMBDA_CYCLE * l_cycle
-
- if use_consist:
- rampup = min(1.0, epoch / CONSIST_RAMPUP)
- if task == "binary":
- l_consist = mse_loss(torch.sigmoid(pred0), torch.sigmoid(pred1))
- else:
- l_consist = mse_loss(F.softmax(pred0, dim=1), F.softmax(pred1, dim=1))
- loss = loss + LAMBDA_CONSIST * rampup * l_consist
-
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
-
- total_loss += loss.item() * real_imgs.size(0)
- with torch.no_grad():
- dice, iou = compute_metrics(logits, real_masks, task, num_classes)
- tracker.update(dice, iou, real_imgs.size(0))
-
- scheduler.step()
-
- val_loss, val_dice, val_iou = validate(model, val_loader, criterion, device, task, num_classes)
-
- if val_dice > best_dice:
- best_dice = val_dice
- best_iou = val_iou
- torch.save({
- "epoch": epoch,
- "model_state_dict": model.state_dict(),
- "best_dice": best_dice,
- "best_iou": best_iou,
- "condition": condition,
- "seed": seed,
- "dataset": dataset_name,
- "task": task,
- "num_classes": num_classes,
- }, os.path.join(ckpt_dir, "best.pth"))
-
- if epoch % 20 == 0 or epoch == 1:
- avg_loss = total_loss / max(len(train_loader.dataset), 1)
- lr = optimizer.param_groups[0]["lr"]
- print(f" Epoch {epoch:>3d}/{EPOCHS} | "
- f"Loss: {avg_loss:.4f} Dice: {tracker.avg_dice:.4f} | "
- f"Val Dice: {val_dice:.4f} IoU: {val_iou:.4f} | "
- f"Best: {best_dice:.4f} | LR: {lr:.2e}")
-
- print(f" -> {condition} seed={seed}: Best Val Dice={best_dice:.4f}, IoU={best_iou:.4f}")
- return best_dice, best_iou
-
-
-@torch.no_grad()
-def validate(model, loader, criterion, device, task, num_classes):
- model.eval()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
- logits = model(images)
- loss = criterion(logits, masks)
- dice, iou = compute_metrics(logits, masks, task, num_classes)
- total_loss += loss.item() * images.size(0)
- tracker.update(dice, iou, images.size(0))
-
- return total_loss / max(len(loader.dataset), 1), tracker.avg_dice, tracker.avg_iou
-
-
-# ─── Main ─────────────────────────────────────────────────────────────
-def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--dataset", type=str, required=True, choices=["kvasir", "cvc", "refuge2"])
- parser.add_argument("--conditions", nargs="+", default=ALL_CONDITIONS, choices=ALL_CONDITIONS)
- parser.add_argument("--low_data_ratio", type=float, default=1.0)
- parser.add_argument("--gpu", type=int, default=0)
- args = parser.parse_args()
-
- device = torch.device(f"cuda:{args.gpu}")
- work_dir = os.path.join(WORK_DIR_BASE, args.dataset)
- os.makedirs(work_dir, exist_ok=True)
-
- data_tag = "full" if args.low_data_ratio >= 1.0 else "low"
- print(f"\n Dataset: {args.dataset} | Data: {data_tag} (ratio={args.low_data_ratio})\n")
-
- results = {}
- for condition in args.conditions:
- cond_results = []
- for seed in SEEDS:
- best_dice, best_iou = train_condition(
- condition, seed, device, args.dataset, args.low_data_ratio)
- cond_results.append({"seed": seed, "dice": best_dice, "iou": best_iou})
-
- dices = [r["dice"] for r in cond_results]
- ious = [r["iou"] for r in cond_results]
- key = f"{data_tag}_{condition}"
- results[key] = {
- "runs": cond_results,
- "mean_dice": float(np.mean(dices)),
- "std_dice": float(np.std(dices)),
- "mean_iou": float(np.mean(ious)),
- "std_iou": float(np.std(ious)),
- }
-
- results_path = os.path.join(work_dir, "downstream_results.json")
- if os.path.exists(results_path):
- with open(results_path, "r") as f:
- existing = json.load(f)
- existing.update(results)
- results = existing
- with open(results_path, "w") as f:
- json.dump(results, f, indent=2)
-
- # Summary
- print(f"\n{'='*75}")
- print(f" V4 RESULTS: {args.dataset} ({data_tag})")
- print(f"{'='*75}")
- print(f"{'Condition':<22s} | {'Dice (mean+/-std)':>20s} | {'IoU (mean+/-std)':>20s} | {'vs baseline':>12s}")
- print("-" * 80)
-
- bl_key = f"{data_tag}_baseline"
- bl_dice = results.get(bl_key, {}).get("mean_dice", None)
- for cond in ALL_CONDITIONS:
- key = f"{data_tag}_{cond}"
- if key not in results:
- continue
- r = results[key]
- d_str = f"{r['mean_dice']:.4f} +/- {r['std_dice']:.4f}"
- i_str = f"{r['mean_iou']:.4f} +/- {r['std_iou']:.4f}"
- delta = f"{r['mean_dice'] - bl_dice:+.4f}" if bl_dice and cond != "baseline" else "-"
- print(f"{key:<22s} | {d_str:>20s} | {i_str:>20s} | {delta:>12s}")
- print("=" * 80)
-
-
-if __name__ == "__main__":
- main()
diff --git a/code/scripts/vis_cvc_mask_control.py b/code/scripts/vis_cvc_mask_control.py
deleted file mode 100644
index c7ff4e81edb312c0b6171d6e6a26288a392c188d..0000000000000000000000000000000000000000
--- a/code/scripts/vis_cvc_mask_control.py
+++ /dev/null
@@ -1,201 +0,0 @@
-"""
-CVC-ClinicDB: Mask control visualization
-No-CFG sampling (single-path with mask) using the trained model with null condition dropout.
-Layout: Mask | Generated (No-CFG) | Generated (CFG=2.0) | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=999-step=5000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-model.load_state_dict(ema_state, strict=False)
-model = model.to(device).eval().to(torch.float32)
-print(f"Loaded EMA model ({len(ema_state)} keys)")
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- """Single-path sampling: directly pass mask to model, no CFG."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
-
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
-
- return x
-
-
-@torch.no_grad()
-def sample_with_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """Dual-path CFG sampling."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
-
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
-
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
-
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
-
- x = x + v * dt
-
- return x
-
-
-# Load samples from val set
-data_root = "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB"
-img_dir = os.path.join(data_root, "PNG", "Original")
-mask_dir = os.path.join(data_root, "PNG", "Ground Truth")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(".png")])
-
-# Use val set samples (same split as training)
-random.seed(42)
-indices = list(range(len(all_files)))
-random.shuffle(indices)
-val_indices = indices[int(len(indices) * 0.9):] # last 10% = val
-val_files = [all_files[i] for i in sorted(val_indices)]
-
-random.seed(123)
-selected = random.sample(val_files, min(6, len(val_files)))
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("RGB")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img))
-
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-# Same noise for all
-torch.manual_seed(42)
-shared_noise = torch.randn(len(selected), 3, 256, 256, device=device)
-
-# Generate
-print("1/2 No-CFG (direct mask)...")
-gen_no_cfg = sample_no_cfg(model, shared_noise.clone(), masks_tensor).clamp(-1, 1) * 0.5 + 0.5
-
-print("2/2 CFG=2.0...")
-gen_cfg = sample_with_cfg(model, shared_noise.clone(), masks_tensor, cfg_scale=2.0).clamp(-1, 1) * 0.5 + 0.5
-
-results = {
- "Mask": None,
- "No-CFG": gen_no_cfg.cpu(),
- "CFG=2.0": gen_cfg.cpu(),
- "Real": None,
-}
-
-# Create comparison grid
-col_labels = list(results.keys())
-n_rows = len(selected)
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-# Column labels
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
-
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
-
- if col_name == "Mask":
- # Binary mask: white = polyp, black = background
- m = masks_tensor[row, 0].cpu().numpy()
- m_rgb = np.stack([m, m, m], axis=-1)
- canvas[y:y+h, x:x+w] = (m_rgb * 255).clip(0, 255).astype(np.uint8)
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/val_samples"
-os.makedirs(out_dir, exist_ok=True)
-out_path = os.path.join(out_dir, "mask_control_step5000.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_cvc_spatial.py b/code/scripts/vis_cvc_spatial.py
deleted file mode 100644
index 14c301785efbcf3ab0f5008848005aef2ce12359..0000000000000000000000000000000000000000
--- a/code/scripts/vis_cvc_spatial.py
+++ /dev/null
@@ -1,180 +0,0 @@
-"""
-CVC-ClinicDB: Spatial mask control visualization
-mask_mode='spatial' — mask patchified and added to patch embeddings
-Layout: Mask | No-CFG | CFG=2.0 | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=1999-step=10000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-result = model.load_state_dict(ema_state, strict=False)
-print(f"Loaded EMA model ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
-model = model.to(device).eval().to(torch.float32)
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
- return x
-
-
-@torch.no_grad()
-def sample_with_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-# Load val samples
-data_root = "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB"
-img_dir = os.path.join(data_root, "PNG", "Original")
-mask_dir = os.path.join(data_root, "PNG", "Ground Truth")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(".png")])
-
-random.seed(42)
-indices = list(range(len(all_files)))
-random.shuffle(indices)
-val_indices = indices[int(len(indices) * 0.9):]
-val_files = [all_files[i] for i in sorted(val_indices)]
-
-random.seed(123)
-selected = random.sample(val_files, min(6, len(val_files)))
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("RGB")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-torch.manual_seed(42)
-shared_noise = torch.randn(len(selected), 3, 256, 256, device=device)
-
-print("1/2 No-CFG (direct mask)...")
-gen_no_cfg = sample_no_cfg(model, shared_noise.clone(), masks_tensor).clamp(-1, 1) * 0.5 + 0.5
-
-print("2/2 CFG=2.0...")
-gen_cfg = sample_with_cfg(model, shared_noise.clone(), masks_tensor, cfg_scale=2.0).clamp(-1, 1) * 0.5 + 0.5
-
-results = {
- "Mask": None,
- "No-CFG": gen_no_cfg.cpu(),
- "CFG=2.0": gen_cfg.cpu(),
- "Real": None,
-}
-
-col_labels = list(results.keys())
-n_rows = len(selected)
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
- if col_name == "Mask":
- m = masks_tensor[row, 0].cpu().numpy()
- m_rgb = np.stack([m, m, m], axis=-1)
- canvas[y:y+h, x:x+w] = (m_rgb * 255).clip(0, 255).astype(np.uint8)
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/val_samples"
-os.makedirs(out_dir, exist_ok=True)
-out_path = os.path.join(out_dir, "mask_control_spatial_step10000.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_kvasir_progression.py b/code/scripts/vis_kvasir_progression.py
deleted file mode 100644
index ca1b13fd888deca84e8557df29ed6c60ee4e6518..0000000000000000000000000000000000000000
--- a/code/scripts/vis_kvasir_progression.py
+++ /dev/null
@@ -1,164 +0,0 @@
-"""
-Kvasir-SEG: Training progression visualization
-Compare generated images across different checkpoints
-Layout: Mask | 10k | 30k | 50k | 70k | 100k | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random, gc
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-device = torch.device("cuda:0")
-
-# Checkpoints to compare
-ckpt_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir"
-checkpoints = [
- ("10k", os.path.join(ckpt_dir, "epoch=1249-step=10000.ckpt")),
- ("30k", os.path.join(ckpt_dir, "epoch=3749-step=30000.ckpt")),
- ("50k", os.path.join(ckpt_dir, "epoch=6249-step=50000.ckpt")),
- ("70k", os.path.join(ckpt_dir, "epoch=8749-step=70000.ckpt")),
- ("100k", os.path.join(ckpt_dir, "epoch=12499-step=100000.ckpt")),
-]
-
-model_kwargs = dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-
-
-def load_ema_model(ckpt_path):
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**model_kwargs)
- model.load_state_dict(ema_state, strict=False)
- model = model.to(device).eval().to(torch.float32)
- return model
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise.clone()
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
- return x
-
-
-# Load val samples
-data_root = "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG"
-img_dir = os.path.join(data_root, "images")
-mask_dir = os.path.join(data_root, "masks")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith((".jpg", ".png", ".jpeg"))])
-
-random.seed(42)
-indices = list(range(len(all_files)))
-random.shuffle(indices)
-val_indices = indices[int(len(indices) * 0.9):]
-val_files = [all_files[i] for i in sorted(val_indices)]
-
-random.seed(456)
-selected = random.sample(val_files, min(6, len(val_files)))
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("RGB")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-# Use same noise for all checkpoints
-torch.manual_seed(123)
-shared_noise = torch.randn(len(selected), 3, 256, 256, device=device)
-
-# Generate for each checkpoint
-generated = {}
-for name, ckpt_path in checkpoints:
- print(f"Generating with {name} checkpoint...")
- model = load_ema_model(ckpt_path)
- gen = sample_no_cfg(model, shared_noise, masks_tensor).clamp(-1, 1) * 0.5 + 0.5
- generated[name] = gen.cpu()
- del model
- gc.collect()
- torch.cuda.empty_cache()
-
-# Build visualization grid
-col_labels = ["Mask"] + [name for name, _ in checkpoints] + ["Real"]
-n_rows = len(selected)
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
- if col_name == "Mask":
- m = masks_tensor[row, 0].cpu().numpy()
- m_rgb = np.stack([m, m, m], axis=-1)
- canvas[y:y+h, x:x+w] = (m_rgb * 255).clip(0, 255).astype(np.uint8)
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = generated[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out_dir = os.path.join(ckpt_dir, "val_samples")
-os.makedirs(out_dir, exist_ok=True)
-out_path = os.path.join(out_dir, "training_progression.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_kvasir_spatial.py b/code/scripts/vis_kvasir_spatial.py
deleted file mode 100644
index 1e4d30a13cfd0ea1d116a777bb2e5f90aacc5860..0000000000000000000000000000000000000000
--- a/code/scripts/vis_kvasir_spatial.py
+++ /dev/null
@@ -1,180 +0,0 @@
-"""
-Kvasir-SEG: Spatial mask control visualization
-mask_mode='spatial' — mask patchified and added to patch embeddings
-Layout: Mask | No-CFG | CFG=2.0 | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-result = model.load_state_dict(ema_state, strict=False)
-print(f"Loaded EMA model ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
-model = model.to(device).eval().to(torch.float32)
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
- return x
-
-
-@torch.no_grad()
-def sample_with_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-# Load val samples
-data_root = "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG"
-img_dir = os.path.join(data_root, "images")
-mask_dir = os.path.join(data_root, "masks")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith((".jpg", ".png", ".jpeg"))])
-
-random.seed(42)
-indices = list(range(len(all_files)))
-random.shuffle(indices)
-val_indices = indices[int(len(indices) * 0.9):]
-val_files = [all_files[i] for i in sorted(val_indices)]
-
-random.seed(123)
-selected = random.sample(val_files, min(6, len(val_files)))
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("RGB")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-torch.manual_seed(42)
-shared_noise = torch.randn(len(selected), 3, 256, 256, device=device)
-
-print("1/2 No-CFG (direct mask)...")
-gen_no_cfg = sample_no_cfg(model, shared_noise.clone(), masks_tensor).clamp(-1, 1) * 0.5 + 0.5
-
-print("2/2 CFG=2.0...")
-gen_cfg = sample_with_cfg(model, shared_noise.clone(), masks_tensor, cfg_scale=2.0).clamp(-1, 1) * 0.5 + 0.5
-
-results = {
- "Mask": None,
- "No-CFG": gen_no_cfg.cpu(),
- "CFG=2.0": gen_cfg.cpu(),
- "Real": None,
-}
-
-col_labels = list(results.keys())
-n_rows = len(selected)
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
- if col_name == "Mask":
- m = masks_tensor[row, 0].cpu().numpy()
- m_rgb = np.stack([m, m, m], axis=-1)
- canvas[y:y+h, x:x+w] = (m_rgb * 255).clip(0, 255).astype(np.uint8)
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/val_samples"
-os.makedirs(out_dir, exist_ok=True)
-out_path = os.path.join(out_dir, "mask_control_spatial_step100000.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_mask_v2.py b/code/scripts/vis_mask_v2.py
deleted file mode 100644
index 8b15d85cc71bb722cfb3ab80e9c5481d188401a7..0000000000000000000000000000000000000000
--- a/code/scripts/vis_mask_v2.py
+++ /dev/null
@@ -1,133 +0,0 @@
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.sampling_medical import EulerSamplerMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-from src.diffusion.base.guidance import simple_guidance_fn
-
-device = torch.device("cuda:0")
-
-# Load model
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/epoch=236-step=100000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-model.load_state_dict(ema_state, strict=False)
-model = model.to(device).eval().to(torch.float32)
-
-sampler = EulerSamplerMedical(
- num_steps=50, guidance=2.0, timeshift=1.0,
- guidance_interval_min=0.1, guidance_interval_max=0.9,
- scheduler=LinearScheduler(), w_scheduler=LinearScheduler(),
- guidance_fn=simple_guidance_fn,
-).to(device)
-
-# Load 8 samples
-data_root = "/data2/sichengli/Data/test/Segmentation/OCTA500"
-img_dir = os.path.join(data_root, "images")
-mask_dir = os.path.join(data_root, "masks")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(".png") and not f.startswith("thumb")])
-random.seed(456)
-selected = random.sample(all_files, 8)
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("L")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img).repeat(3, 1, 1))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list)
-
-# Generate
-print("Generating...")
-with torch.no_grad():
- noise = torch.randn(8, 3, 256, 256, device=device)
- x_trajs, _ = sampler._impl_sampling(model, noise, None, None, mask=masks_tensor.to(device))
- generated = x_trajs[-1].clamp(-1, 1) * 0.5 + 0.5
-
-# Create comparison: 8 rows x 3 columns (Mask | Generated | Real)
-h, w = 256, 256
-pad = 6
-label_h = 40
-n_rows = 8
-n_cols = 3
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-# Add column labels
-labels = ["Mask", "Generated", "Real"]
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 24)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-# Colormap for mask classes
-color_map = {
- 0: (0, 0, 0),
- 50: (255, 80, 80),
- 100: (80, 255, 80),
- 150: (80, 80, 255),
- 200: (255, 255, 80),
- 250: (255, 80, 255),
-}
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
-
- # Mask - colorized
- m = masks_tensor[row, 0].numpy()
- m_uint8 = (m * 255).astype(np.uint8)
- m_colored = np.zeros((h, w, 3), dtype=np.uint8)
- for val, color in color_map.items():
- mask_region = np.abs(m_uint8.astype(int) - val) < 13
- m_colored[mask_region] = color
- canvas[y:y+h, pad:pad+w] = m_colored
-
- # Generated
- g = generated[row].cpu().permute(1, 2, 0).numpy()
- g = (g * 255).clip(0, 255).astype(np.uint8)
- canvas[y:y+h, 2*pad+w:2*pad+2*w] = g
-
- # Real
- r = real_images[row].permute(1, 2, 0).numpy()
- r = (r * 255).clip(0, 255).astype(np.uint8)
- canvas[y:y+h, 3*pad+2*w:3*pad+3*w] = r
-
-out = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/val_samples/mask_control_final.png"
-Image.fromarray(canvas).save(out)
-print("Saved:", out, canvas.shape)
diff --git a/code/scripts/vis_refuge2_spatial.py b/code/scripts/vis_refuge2_spatial.py
deleted file mode 100644
index a16acb43970cdf8839475d404da1faac0b514528..0000000000000000000000000000000000000000
--- a/code/scripts/vis_refuge2_spatial.py
+++ /dev/null
@@ -1,201 +0,0 @@
-"""
-REFUGE2: Spatial mask control visualization
-mask_mode='spatial' — mask patchified and added to patch embeddings
-3-class masks: 0=background, 128=optic cup, 255=optic disc
-Layout: Mask | No-CFG | CFG=2.0 | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/last.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-result = model.load_state_dict(ema_state, strict=False)
-print(f"Loaded EMA model ({len(ema_state)} keys), missing: {result.missing_keys}, unexpected: {result.unexpected_keys}")
-model = model.to(device).eval().to(torch.float32)
-
-# Get current step from checkpoint
-global_step = ckpt.get("global_step", "unknown")
-print(f"Checkpoint global_step: {global_step}")
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- pred_img = model(x, t_batch, y, mask=mask)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
- return x
-
-
-@torch.no_grad()
-def sample_with_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- x = x + v * dt
- return x
-
-
-# Load samples from train+val (same splits used for training)
-data_root = "/data2/sichengli/Data/test/Segmentation/REFUGE2"
-all_pairs = []
-for split in ["train", "val"]:
- img_dir = os.path.join(data_root, split, "images")
- mask_dir = os.path.join(data_root, split, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith((".jpg", ".png", ".jpeg"))])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- for ext in [".bmp", ".png", ".jpg"]:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- all_pairs.append((img_path, candidate))
- break
-
-# Use the val holdout samples (last 10%)
-random.seed(42)
-random.shuffle(all_pairs)
-val_pairs = all_pairs[int(len(all_pairs) * 0.9):]
-
-random.seed(789)
-selected = random.sample(val_pairs, min(6, len(val_pairs)))
-
-images_list, masks_list = [], []
-for img_path, mask_path in selected:
- img = Image.open(img_path).convert("RGB")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img))
- mask = Image.open(mask_path).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-torch.manual_seed(42)
-shared_noise = torch.randn(len(selected), 3, 256, 256, device=device)
-
-print("1/2 No-CFG (direct mask)...")
-gen_no_cfg = sample_no_cfg(model, shared_noise.clone(), masks_tensor).clamp(-1, 1) * 0.5 + 0.5
-
-print("2/2 CFG=2.0...")
-gen_cfg = sample_with_cfg(model, shared_noise.clone(), masks_tensor, cfg_scale=2.0).clamp(-1, 1) * 0.5 + 0.5
-
-results = {
- "Mask": None,
- "No-CFG": gen_no_cfg.cpu(),
- "CFG=2.0": gen_cfg.cpu(),
- "Real": None,
-}
-
-# Colorize 3-class mask for better visualization
-def colorize_mask(mask_gray):
- """Convert grayscale mask (0/0.5/1.0) to color: black/blue/red."""
- h, w = mask_gray.shape
- rgb = np.zeros((h, w, 3), dtype=np.uint8)
- rgb[mask_gray > 0.7] = [255, 80, 80] # optic disc = red
- rgb[(mask_gray > 0.3) & (mask_gray <= 0.7)] = [80, 80, 255] # optic cup = blue
- return rgb
-
-col_labels = list(results.keys())
-n_rows = len(selected)
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
- if col_name == "Mask":
- m = masks_tensor[row, 0].cpu().numpy()
- canvas[y:y+h, x:x+w] = colorize_mask(m)
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/val_samples"
-os.makedirs(out_dir, exist_ok=True)
-out_path = os.path.join(out_dir, f"mask_control_spatial_step{global_step}.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_sampling_compare.py b/code/scripts/vis_sampling_compare.py
deleted file mode 100644
index c136ecf5013e8d848d0ea811409ae8e12b626aa2..0000000000000000000000000000000000000000
--- a/code/scripts/vis_sampling_compare.py
+++ /dev/null
@@ -1,158 +0,0 @@
-"""
-Compare different sampling strategies: Euler-50, Euler-100, Euler-200, Heun-50
-Layout: Mask | Euler-50 | Euler-100 | Euler-200 | Heun-50 | Real
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.sampling_medical import EulerSamplerMedical, HeunSamplerMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-from src.diffusion.base.guidance import simple_guidance_fn
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/epoch=236-step=100000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-model.load_state_dict(ema_state, strict=False)
-model = model.to(device).eval().to(torch.float32)
-
-# Shared sampler kwargs
-sampler_kwargs = dict(
- guidance=2.0, timeshift=1.0,
- guidance_interval_min=0.1, guidance_interval_max=0.9,
- scheduler=LinearScheduler(), w_scheduler=LinearScheduler(),
- guidance_fn=simple_guidance_fn,
-)
-
-# Build samplers
-samplers = {
- "Euler-50": EulerSamplerMedical(num_steps=50, **sampler_kwargs).to(device),
- "Euler-100": EulerSamplerMedical(num_steps=100, **sampler_kwargs).to(device),
- "Euler-200": EulerSamplerMedical(num_steps=200, **sampler_kwargs).to(device),
- "Heun-50": HeunSamplerMedical(num_steps=50, **sampler_kwargs).to(device),
-}
-
-# Load 6 samples
-data_root = "/data2/sichengli/Data/test/Segmentation/OCTA500"
-img_dir = os.path.join(data_root, "images")
-mask_dir = os.path.join(data_root, "masks")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(".png") and not f.startswith("thumb")])
-random.seed(456)
-selected = random.sample(all_files, 6)
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("L")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img).repeat(3, 1, 1))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list)
-
-# Use same noise for fair comparison
-torch.manual_seed(42)
-shared_noise = torch.randn(6, 3, 256, 256, device=device)
-
-# Generate with each sampler
-results = {}
-for name, sampler in samplers.items():
- print(f"Generating with {name}...")
- with torch.no_grad():
- noise = shared_noise.clone()
- x_trajs, _ = sampler._impl_sampling(model, noise, None, None, mask=masks_tensor.to(device))
- gen = x_trajs[-1].clamp(-1, 1) * 0.5 + 0.5
- results[name] = gen.cpu()
- print(f" Done. range=[{gen.min():.3f}, {gen.max():.3f}]")
-
-# Create comparison grid
-# Columns: Mask | Euler-50 | Euler-100 | Euler-200 | Heun-50 | Real
-col_labels = ["Mask", "Euler-50", "Euler-100", "Euler-200", "Heun-50", "Real"]
-n_rows = 6
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 36
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-# Column labels
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 20)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 8), label, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-# Colormap for mask
-color_map = {
- 0: (0, 0, 0),
- 50: (255, 80, 80),
- 100: (80, 255, 80),
- 150: (80, 80, 255),
- 200: (255, 255, 80),
- 250: (255, 80, 255),
-}
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
-
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
-
- if col_name == "Mask":
- m = masks_tensor[row, 0].numpy()
- m_uint8 = (m * 255).astype(np.uint8)
- m_colored = np.zeros((h, w, 3), dtype=np.uint8)
- for val, color in color_map.items():
- mask_region = np.abs(m_uint8.astype(int) - val) < 13
- m_colored[mask_region] = color
- canvas[y:y+h, x:x+w] = m_colored
- elif col_name == "Real":
- r = real_images[row].permute(1, 2, 0).numpy()
- r = (r * 255).clip(0, 255).astype(np.uint8)
- canvas[y:y+h, x:x+w] = r
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- g = (g * 255).clip(0, 255).astype(np.uint8)
- canvas[y:y+h, x:x+w] = g
-
-out_dir = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/val_samples"
-out_path = os.path.join(out_dir, "sampling_compare.png")
-Image.fromarray(canvas).save(out_path)
-print(f"\nSaved: {out_path} ({canvas_w}x{canvas_h})")
diff --git a/code/scripts/vis_sampling_process.py b/code/scripts/vis_sampling_process.py
deleted file mode 100644
index 3f7a8e82e5001c22ee7804efd39e6fd44ce7fde1..0000000000000000000000000000000000000000
--- a/code/scripts/vis_sampling_process.py
+++ /dev/null
@@ -1,357 +0,0 @@
-"""
-Visualize the step-by-step denoising process for each dataset.
-For each sample:
- - Save predicted x0 at EVERY step as individual images
- - Create a combined grid showing the full progression
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-
-device = torch.device("cuda:0")
-
-MODEL_KWARGS = dict(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1,
- mask_mode="spatial"
-)
-
-NUM_STEPS = 50
-CFG_SCALE = 2.0
-
-DATASETS = {
- "cvc": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB",
- "img_subdir": "PNG/Original",
- "mask_subdir": "PNG/Ground Truth",
- "file_ext": (".png",),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/epoch=19999-step=100000.ckpt",
- "out_base": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_CVC/sampling_process",
- "multi_split": False,
- "n_samples": 3,
- },
- "kvasir": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG",
- "img_subdir": "images",
- "mask_subdir": "masks",
- "file_ext": (".jpg", ".png", ".jpeg"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/epoch=12499-step=100000.ckpt",
- "out_base": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_Kvasir/sampling_process",
- "multi_split": False,
- "n_samples": 3,
- },
- "refuge2": {
- "data_root": "/data2/sichengli/Data/test/Segmentation/REFUGE2",
- "img_subdir": None,
- "mask_subdir": None,
- "file_ext": (".jpg", ".png", ".jpeg"),
- "mask_ext": (".bmp", ".png"),
- "ckpt": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/epoch=16666-step=100000.ckpt",
- "out_base": "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_REFUGE2/sampling_process",
- "multi_split": True,
- "splits": ["train", "val"],
- "n_samples": 3,
- },
-}
-
-
-def load_model(ckpt_path):
- ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
- state_dict = ckpt["state_dict"]
- ema_state = {}
- for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
- model = JiTMedical(**MODEL_KWARGS)
- model.load_state_dict(ema_state, strict=False)
- model = model.to(device).eval().to(torch.float32)
- return model
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_with_intermediates(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """
- Euler ODE sampler with CFG. Returns predicted x0 at every step.
- """
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise.clone()
- intermediates = [] # list of (step_idx, t_value, x0_pred, x_t)
-
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- # CFG forward
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
-
- # The model predicts x0; extract conditional prediction
- pred_uncond, pred_cond = pred.chunk(2)
-
- # Velocity from x0 prediction
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
-
- # Save the CFG-guided x0 prediction: x0 = x_t + v * (1 - t)
- x0_pred = x + v * (1.0 - t_cur)
-
- intermediates.append({
- "step": i + 1,
- "t": t_cur.item(),
- "x0_pred": x0_pred.clamp(-1, 1).cpu(),
- "x_t": x.clamp(-1, 1).cpu(),
- })
-
- # Euler step
- x = x + v * dt
-
- # Final result
- intermediates.append({
- "step": num_steps,
- "t": 1.0,
- "x0_pred": x.clamp(-1, 1).cpu(),
- "x_t": x.clamp(-1, 1).cpu(),
- })
-
- return x, intermediates
-
-
-def load_samples(cfg, n_samples, seed=777):
- """Load random image-mask pairs from dataset."""
- pairs = [] # (img_tensor, mask_tensor, name)
-
- if cfg["multi_split"]:
- all_pairs = []
- for split in cfg["splits"]:
- img_dir = os.path.join(cfg["data_root"], split, "images")
- mask_dir = os.path.join(cfg["data_root"], split, "mask")
- img_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- for img_f in img_files:
- base = os.path.splitext(img_f)[0]
- for ext in cfg["mask_ext"]:
- cand = os.path.join(mask_dir, base + ext)
- if os.path.exists(cand):
- all_pairs.append((os.path.join(img_dir, img_f), cand, f"{split}_{base}"))
- break
- random.seed(seed)
- selected = random.sample(all_pairs, min(n_samples, len(all_pairs)))
- for img_path, mask_path, name in selected:
- img = Image.open(img_path).convert("RGB")
- img = TF.resize(img, (256, 256))
- mask = Image.open(mask_path).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- pairs.append((TF.to_tensor(img), TF.to_tensor(mask), name))
- else:
- img_dir = os.path.join(cfg["data_root"], cfg["img_subdir"])
- mask_dir = os.path.join(cfg["data_root"], cfg["mask_subdir"])
- all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(cfg["file_ext"])])
- random.seed(seed)
- selected = random.sample(all_files, min(n_samples, len(all_files)))
- for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("RGB")
- img = TF.resize(img, (256, 256))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- name = os.path.splitext(fname)[0]
- pairs.append((TF.to_tensor(img), TF.to_tensor(mask), name))
-
- return pairs
-
-
-def tensor_to_uint8(t):
- """Convert [-1,1] or [0,1] tensor to uint8 numpy [H,W,3]."""
- img = t.clamp(-1, 1) * 0.5 + 0.5 # [-1,1] -> [0,1]
- return (img.permute(1, 2, 0).numpy() * 255).clip(0, 255).astype(np.uint8)
-
-
-def mask_to_rgb(mask_tensor):
- """Convert [1,H,W] mask tensor to [H,W,3] uint8."""
- m = mask_tensor[0].numpy()
- if len(np.unique(m)) > 2:
- # Multi-class (REFUGE2): colorize
- rgb = np.zeros((*m.shape, 3), dtype=np.uint8)
- rgb[m > 0.7] = [255, 80, 80] # optic disc = red
- rgb[(m > 0.3) & (m <= 0.7)] = [80, 80, 255] # optic cup = blue
- return rgb
- else:
- # Binary mask
- m_rgb = np.stack([m, m, m], axis=-1)
- return (m_rgb * 255).clip(0, 255).astype(np.uint8)
-
-
-def process_dataset(ds_name, cfg):
- print(f"\n{'='*60}")
- print(f" Processing: {ds_name.upper()}")
- print(f"{'='*60}")
-
- out_base = cfg["out_base"]
- os.makedirs(out_base, exist_ok=True)
-
- # Load model
- model = load_model(cfg["ckpt"])
-
- # Load samples
- samples = load_samples(cfg, cfg["n_samples"])
- print(f" Loaded {len(samples)} samples")
-
- # Steps to show in combined grid (select ~12 representative steps)
- grid_steps = [1, 3, 5, 8, 10, 15, 20, 25, 30, 35, 40, 45, 50]
-
- for sample_idx, (real_img, mask_tensor, name) in enumerate(samples):
- print(f"\n Sample {sample_idx+1}/{len(samples)}: {name}")
- sample_dir = os.path.join(out_base, name)
- os.makedirs(sample_dir, exist_ok=True)
-
- # Generate with intermediates
- mask_gpu = mask_tensor.unsqueeze(0).to(device)
- torch.manual_seed(sample_idx * 100 + 42)
- noise = torch.randn(1, 3, 256, 256, device=device)
-
- _, intermediates = sample_with_intermediates(model, noise, mask_gpu, NUM_STEPS, CFG_SCALE)
-
- # Save mask and real image
- Image.fromarray(mask_to_rgb(mask_tensor)).save(os.path.join(sample_dir, "mask.png"))
- Image.fromarray((real_img.permute(1, 2, 0).numpy() * 255).clip(0, 255).astype(np.uint8)).save(
- os.path.join(sample_dir, "real.png"))
-
- # Save initial noise
- noise_vis = tensor_to_uint8(noise[0].cpu())
- Image.fromarray(noise_vis).save(os.path.join(sample_dir, "step_00_noise.png"))
-
- # Save every step's x0 prediction
- for item in intermediates:
- step = item["step"]
- x0 = tensor_to_uint8(item["x0_pred"][0])
- Image.fromarray(x0).save(os.path.join(sample_dir, f"step_{step:02d}_x0pred.png"))
-
- print(f" Saved {len(intermediates)+2} individual images to {sample_dir}/")
-
- # ─── Combined grid for this sample ───
- # Layout: Noise | step1 | step3 | ... | step50 | Real
- # With Mask on top-left or as first column
- h, w = 256, 256
- pad = 3
-
- # Columns: Mask, Noise, selected steps, Real
- col_items = [("Mask", mask_to_rgb(mask_tensor))]
- col_items.append(("Noise", noise_vis))
- for item in intermediates:
- if item["step"] in grid_steps:
- label = f"Step {item['step']}"
- col_items.append((label, tensor_to_uint8(item["x0_pred"][0])))
- col_items.append(("Real", (real_img.permute(1, 2, 0).numpy() * 255).clip(0, 255).astype(np.uint8)))
-
- n_cols = len(col_items)
- label_h = 30
- canvas_w = n_cols * w + (n_cols + 1) * pad
- canvas_h = h + 2 * pad + label_h
- canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
- try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf", 14)
- except Exception:
- font = ImageFont.load_default()
-
- pil_canvas = Image.fromarray(canvas)
- draw = ImageDraw.Draw(pil_canvas)
- for col, (label, _) in enumerate(col_items):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 6), label, fill=(255, 255, 255), font=font)
- canvas = np.array(pil_canvas)
-
- for col, (_, img_np) in enumerate(col_items):
- x = pad + col * (w + pad)
- y = label_h + pad
- canvas[y:y+h, x:x+w] = img_np
-
- grid_path = os.path.join(sample_dir, f"progression_grid.png")
- Image.fromarray(canvas).save(grid_path)
- print(f" Saved grid: {grid_path} ({canvas_w}x{canvas_h})")
-
- # ─── Final combined image: all samples for this dataset ───
- all_samples_data = []
- for sample_idx, (real_img, mask_tensor, name) in enumerate(samples):
- sample_dir = os.path.join(out_base, name)
- mask_gpu = mask_tensor.unsqueeze(0).to(device)
- torch.manual_seed(sample_idx * 100 + 42)
- noise = torch.randn(1, 3, 256, 256, device=device)
- noise_vis = tensor_to_uint8(noise[0].cpu())
-
- # Re-read saved step images for grid
- row_imgs = [("Mask", mask_to_rgb(mask_tensor)), ("Noise", noise_vis)]
- for step in grid_steps:
- fpath = os.path.join(sample_dir, f"step_{step:02d}_x0pred.png")
- if os.path.exists(fpath):
- row_imgs.append((f"Step {step}", np.array(Image.open(fpath))))
- row_imgs.append(("Real", (real_img.permute(1, 2, 0).numpy() * 255).clip(0, 255).astype(np.uint8)))
- all_samples_data.append(row_imgs)
-
- # Build combined grid
- n_rows = len(all_samples_data)
- n_cols = len(all_samples_data[0])
- h, w = 256, 256
- pad = 3
- label_h = 30
-
- canvas_w = n_cols * w + (n_cols + 1) * pad
- canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
- canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
- pil_canvas = Image.fromarray(canvas)
- draw = ImageDraw.Draw(pil_canvas)
- for col, (label, _) in enumerate(all_samples_data[0]):
- x_pos = pad + col * (w + pad) + w // 2
- bbox = draw.textbbox((0, 0), label, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 6), label, fill=(255, 255, 255), font=font)
- canvas = np.array(pil_canvas)
-
- for row_idx, row_imgs in enumerate(all_samples_data):
- y = label_h + pad + row_idx * (h + pad)
- for col_idx, (_, img_np) in enumerate(row_imgs):
- x = pad + col_idx * (w + pad)
- canvas[y:y+h, x:x+w] = img_np
-
- combined_path = os.path.join(out_base, f"all_samples_progression.png")
- Image.fromarray(canvas).save(combined_path)
- print(f"\n Combined grid saved: {combined_path} ({canvas_w}x{canvas_h})")
-
- del model
- import gc
- gc.collect()
- torch.cuda.empty_cache()
-
-
-if __name__ == "__main__":
- for ds_name, cfg in DATASETS.items():
- process_dataset(ds_name, cfg)
- print("\nAll done!")
diff --git a/code/scripts/vis_sampling_v3.py b/code/scripts/vis_sampling_v3.py
deleted file mode 100644
index 6ccd408ab62949a0a4c7ccf92beeafb8d404c54b..0000000000000000000000000000000000000000
--- a/code/scripts/vis_sampling_v3.py
+++ /dev/null
@@ -1,234 +0,0 @@
-"""
-Compare sampling: No-CFG (direct mask) vs CFG vs Validation pipeline
-"""
-import sys
-sys.path.insert(0, "/data/sichengli/Code/PixelGen")
-
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-import os, random
-
-from src.models.transformer.JiT_medical import JiTMedical
-from src.diffusion.flow_matching.scheduling import LinearScheduler
-
-
-device = torch.device("cuda:0")
-
-# Load model
-print("Loading model...")
-ckpt_path = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/epoch=236-step=100000.ckpt"
-ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
-state_dict = ckpt["state_dict"]
-
-model = JiTMedical(
- input_size=256, patch_size=16, in_channels=3,
- hidden_size=768, depth=12, num_heads=12, mlp_ratio=4.0,
- attn_drop=0.0, proj_drop=0.1, num_classes=1,
- use_bottleneck=True, bottleneck_dim=128,
- in_context_len=32, in_context_start=4, mask_in_channels=1
-)
-ema_state = {}
-for k, v in state_dict.items():
- if k.startswith("ema_denoiser."):
- new_k = k.replace("ema_denoiser.", "").replace("_orig_mod.", "")
- ema_state[new_k] = v
-model.load_state_dict(ema_state, strict=False)
-model = model.to(device).eval().to(torch.float32)
-print(f"Loaded EMA model ({len(ema_state)} keys)")
-
-scheduler = LinearScheduler()
-
-
-def shift_respace_fn(t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
-
-@torch.no_grad()
-def sample_no_cfg(model, noise, mask, num_steps=50, t_eps=0.05):
- """Single-path sampling: directly pass mask to model, no CFG."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
-
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- # Single forward pass with mask
- pred_img = model(x, t_batch, y, mask=mask)
-
- # Convert x-prediction to velocity
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
-
- # Euler step
- x = x + v * dt
-
- return x
-
-
-@torch.no_grad()
-def sample_with_cfg(model, noise, mask, num_steps=50, cfg_scale=2.0, t_eps=0.05):
- """Dual-path CFG sampling."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
-
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- # CFG: concat uncond + cond
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
-
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(t_eps)
-
- # CFG
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
-
- x = x + v * dt
-
- return x
-
-
-@torch.no_grad()
-def sample_no_mask(model, noise, num_steps=50, t_eps=0.05):
- """No-mask sampling (like validation pipeline)."""
- batch_size = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / num_steps, num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = shift_respace_fn(timesteps, 1.0).to(noise.device)
-
- y = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
-
- x = noise
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(batch_size)
-
- # No mask -> mask_emb = zeros
- pred_img = model(x, t_batch, y, mask=None)
- v = (pred_img - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(t_eps)
- x = x + v * dt
-
- return x
-
-
-# Load 6 samples
-data_root = "/data2/sichengli/Data/test/Segmentation/OCTA500"
-img_dir = os.path.join(data_root, "images")
-mask_dir = os.path.join(data_root, "masks")
-all_files = sorted([f for f in os.listdir(img_dir) if f.endswith(".png") and not f.startswith("thumb")])
-random.seed(456)
-selected = random.sample(all_files, 6)
-
-images_list, masks_list = [], []
-for fname in selected:
- img = Image.open(os.path.join(img_dir, fname)).convert("L")
- img = TF.resize(img, (256, 256))
- images_list.append(TF.to_tensor(img).repeat(3, 1, 1))
- mask = Image.open(os.path.join(mask_dir, fname)).convert("L")
- mask = TF.resize(mask, (256, 256), interpolation=transforms.InterpolationMode.NEAREST)
- masks_list.append(TF.to_tensor(mask))
-
-real_images = torch.stack(images_list)
-masks_tensor = torch.stack(masks_list).to(device)
-
-# Same noise for all
-torch.manual_seed(42)
-shared_noise = torch.randn(6, 3, 256, 256, device=device)
-
-# Generate with different methods
-print("1/3 No-CFG (direct mask)...")
-gen_no_cfg = sample_no_cfg(model, shared_noise.clone(), masks_tensor).clamp(-1, 1) * 0.5 + 0.5
-
-print("2/3 CFG=2.0 (current)...")
-gen_cfg = sample_with_cfg(model, shared_noise.clone(), masks_tensor, cfg_scale=2.0).clamp(-1, 1) * 0.5 + 0.5
-
-print("3/3 No mask (like val pipeline)...")
-gen_no_mask = sample_no_mask(model, shared_noise.clone()).clamp(-1, 1) * 0.5 + 0.5
-
-results = {
- "Mask": None,
- "No-CFG\n(+mask)": gen_no_cfg.cpu(),
- "CFG=2.0\n(+mask)": gen_cfg.cpu(),
- "No-Mask\n(val mode)": gen_no_mask.cpu(),
- "Real": None,
-}
-
-# Create comparison grid
-col_labels = list(results.keys())
-n_rows = 6
-n_cols = len(col_labels)
-h, w = 256, 256
-pad = 4
-label_h = 48
-
-canvas_w = n_cols * w + (n_cols + 1) * pad
-canvas_h = n_rows * h + (n_rows + 1) * pad + label_h
-canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 30
-
-# Column labels
-try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 16)
-except Exception:
- font = ImageFont.load_default()
-
-pil_canvas = Image.fromarray(canvas)
-draw = ImageDraw.Draw(pil_canvas)
-for col, label in enumerate(col_labels):
- x_pos = pad + col * (w + pad) + w // 2
- lines = label.split("\n")
- for li, line in enumerate(lines):
- bbox = draw.textbbox((0, 0), line, font=font)
- text_w = bbox[2] - bbox[0]
- draw.text((x_pos - text_w // 2, 4 + li * 20), line, fill=(255, 255, 255), font=font)
-canvas = np.array(pil_canvas)
-
-color_map = {0: (0,0,0), 50: (255,80,80), 100: (80,255,80), 150: (80,80,255), 200: (255,255,80), 250: (255,80,255)}
-
-for row in range(n_rows):
- y = label_h + pad + row * (h + pad)
-
- for col_idx, col_name in enumerate(col_labels):
- x = pad + col_idx * (w + pad)
-
- if "Mask" == col_name:
- m = masks_tensor[row, 0].cpu().numpy()
- m_uint8 = (m * 255).astype(np.uint8)
- m_colored = np.zeros((h, w, 3), dtype=np.uint8)
- for val, color in color_map.items():
- mask_region = np.abs(m_uint8.astype(int) - val) < 13
- m_colored[mask_region] = color
- canvas[y:y+h, x:x+w] = m_colored
- elif "Real" in col_name:
- r = real_images[row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (r * 255).clip(0, 255).astype(np.uint8)
- else:
- g = results[col_name][row].permute(1, 2, 0).numpy()
- canvas[y:y+h, x:x+w] = (g * 255).clip(0, 255).astype(np.uint8)
-
-out = "/data/sichengli/Code/PixelGen/medical_workdirs/exp_PixelGen_Medical_B16/val_samples/sampling_method_compare.png"
-Image.fromarray(canvas).save(out)
-print(f"\nSaved: {out}")
diff --git a/code/segmentation/datasets/__init__.py b/code/segmentation/datasets/__init__.py
deleted file mode 100644
index 3a6fa8eb951f47e7be6851f48373cd8e1dc9e892..0000000000000000000000000000000000000000
--- a/code/segmentation/datasets/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from .seg_dataset import SegmentationDataset, get_dataset_config
diff --git a/code/segmentation/datasets/seg_dataset.py b/code/segmentation/datasets/seg_dataset.py
deleted file mode 100644
index 86481a3a6cf2025700f5e75e87e6066887221712..0000000000000000000000000000000000000000
--- a/code/segmentation/datasets/seg_dataset.py
+++ /dev/null
@@ -1,246 +0,0 @@
-# Unified Segmentation Dataset for CVC-ClinicDB, Kvasir-SEG, REFUGE2
-# Split logic matches PixelGen generation experiments exactly
-
-import os
-import random
-import numpy as np
-from PIL import Image
-import torch
-from torch.utils.data import Dataset
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-
-
-# Dataset configurations
-DATASET_CONFIGS = {
- 'cvc': {
- 'name': 'CVC-ClinicDB',
- 'data_root': '/data2/sichengli/Data/test/Segmentation/CVC-ClinicDB',
- 'img_subdir': 'PNG/Original',
- 'mask_subdir': 'PNG/Ground Truth',
- 'img_ext': ['.png'],
- 'num_classes': 1, # binary
- 'task': 'binary',
- },
- 'kvasir': {
- 'name': 'Kvasir-SEG',
- 'data_root': '/data2/sichengli/Data/test/Segmentation/Kvasir-SEG/Kvasir-SEG',
- 'img_subdir': 'images',
- 'mask_subdir': 'masks',
- 'img_ext': ['.jpg', '.png', '.jpeg'],
- 'num_classes': 1, # binary
- 'task': 'binary',
- },
- 'refuge2': {
- 'name': 'REFUGE2',
- 'data_root': '/data2/sichengli/Data/test/Segmentation/REFUGE2',
- 'splits': ['train', 'val'], # combine train+val for training pool
- 'img_subdir': 'images',
- 'mask_subdir': 'mask',
- 'img_ext': ['.jpg', '.png', '.jpeg'],
- 'mask_ext': ['.bmp', '.png', '.jpg'],
- 'num_classes': 3, # background, optic cup, optic disc
- 'task': 'multiclass',
- # pixel values: 0=background, 128=optic cup, 255=optic disc
- 'class_mapping': {0: 0, 128: 1, 255: 2},
- },
-}
-
-
-def get_dataset_config(dataset_name):
- """Get dataset configuration by name."""
- if dataset_name not in DATASET_CONFIGS:
- raise ValueError(f"Unknown dataset: {dataset_name}. Choose from {list(DATASET_CONFIGS.keys())}")
- return DATASET_CONFIGS[dataset_name]
-
-
-class SegmentationDataset(Dataset):
- """
- Unified segmentation dataset for medical image segmentation baselines.
-
- Supports CVC-ClinicDB, Kvasir-SEG, and REFUGE2 with split logic
- matching the PixelGen generation experiments exactly (seed=42, 90/10 split).
-
- For binary tasks (CVC, Kvasir): mask is {0, 1} single channel
- For multi-class (REFUGE2): mask is class index map {0, 1, 2}
-
- Images are normalized with ImageNet mean/std (pretrained backbone standard).
- """
-
- # ImageNet normalization for pretrained backbones
- IMAGENET_MEAN = [0.485, 0.456, 0.406]
- IMAGENET_STD = [0.229, 0.224, 0.225]
-
- def __init__(self, dataset_name, split='train', resolution=224,
- train_ratio=0.9, val_ratio=0.1, seed=42, augment=True):
- super().__init__()
- self.config = get_dataset_config(dataset_name)
- self.dataset_name = dataset_name
- self.split = split
- self.resolution = resolution
- self.augment = augment and (split == 'train')
-
- # Collect image-mask pairs
- if dataset_name == 'refuge2':
- self.pairs = self._collect_refuge2(split, train_ratio, val_ratio, seed)
- else:
- self.pairs = self._collect_simple(split, train_ratio, seed)
-
- # ImageNet normalization
- self.normalize = transforms.Normalize(
- mean=self.IMAGENET_MEAN, std=self.IMAGENET_STD
- )
-
- print(f"[SegmentationDataset-{self.config['name']}] {split}: {len(self.pairs)} samples")
-
- def _collect_simple(self, split, train_ratio, seed):
- """Collect pairs for CVC-ClinicDB and Kvasir-SEG.
- Exactly matches PixelGen split logic."""
- cfg = self.config
- img_dir = os.path.join(cfg['data_root'], cfg['img_subdir'])
- mask_dir = os.path.join(cfg['data_root'], cfg['mask_subdir'])
-
- all_files = sorted([
- f for f in os.listdir(img_dir)
- if any(f.endswith(ext) for ext in cfg['img_ext'])
- ])
-
- # Split by index - matches PixelGen exactly
- random.seed(seed)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * train_ratio)
-
- if split == 'train':
- selected_indices = indices[:split_idx]
- else:
- selected_indices = indices[split_idx:]
-
- selected_files = [all_files[i] for i in sorted(selected_indices)]
-
- pairs = []
- for f in selected_files:
- img_path = os.path.join(img_dir, f)
- mask_path = os.path.join(mask_dir, f)
- if os.path.exists(mask_path):
- pairs.append((img_path, mask_path))
-
- return pairs
-
- def _collect_refuge2_split(self, official_splits):
- """Collect image-mask pairs from specified REFUGE2 official splits."""
- cfg = self.config
- pairs = []
- for s in official_splits:
- img_dir = os.path.join(cfg['data_root'], s, cfg['img_subdir'])
- mask_dir = os.path.join(cfg['data_root'], s, cfg['mask_subdir'])
-
- img_files = sorted([
- f for f in os.listdir(img_dir)
- if any(f.endswith(ext) for ext in cfg['img_ext'])
- ])
-
- for img_f in img_files:
- img_path = os.path.join(img_dir, img_f)
- base_name = os.path.splitext(img_f)[0]
- mask_path = None
- for ext in cfg['mask_ext']:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- mask_path = candidate
- break
- if mask_path is not None:
- pairs.append((img_path, mask_path))
- return pairs
-
- def _collect_refuge2(self, split, train_ratio, val_ratio, seed):
- """Collect pairs for REFUGE2.
- train: official train+val combined, with 10% random holdout for val monitoring.
- val: holdout from train+val (for training-time monitoring).
- test: official test set (for final evaluation)."""
- if split == 'test':
- # Official test set
- return self._collect_refuge2_split(['test'])
-
- # train/val: combine official train+val, then holdout
- all_pairs = self._collect_refuge2_split(['train', 'val'])
-
- random.seed(seed)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - val_ratio))
-
- if split == 'train':
- return all_pairs[:split_idx]
- else: # val
- return all_pairs[split_idx:]
-
- def _process_mask(self, mask_pil):
- """Convert PIL mask to tensor based on task type."""
- mask_np = np.array(mask_pil)
-
- if self.config['task'] == 'binary':
- # Threshold to binary {0, 1}
- mask_np = (mask_np > 127).astype(np.float32)
- return torch.from_numpy(mask_np).unsqueeze(0) # [1, H, W]
- else:
- # Multi-class: map pixel values to class indices
- class_map = self.config['class_mapping']
- result = np.zeros_like(mask_np, dtype=np.int64)
- for pixel_val, class_idx in class_map.items():
- result[mask_np == pixel_val] = class_idx
- # Handle values not in mapping (due to interpolation artifacts)
- # Map to nearest defined class
- for pixel_val in np.unique(mask_np):
- if pixel_val not in class_map:
- closest = min(class_map.keys(), key=lambda x: abs(x - pixel_val))
- result[mask_np == pixel_val] = class_map[closest]
- return torch.from_numpy(result).long() # [H, W]
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- img_path, mask_path = self.pairs[idx]
-
- # Load
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
-
- # Resize
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Augmentation (train only)
- if self.augment:
- # Random horizontal flip
- if random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- # Random vertical flip
- if random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random rotation (0/90/180/270)
- angle = random.choice([0, 90, 180, 270])
- if angle > 0:
- image = TF.rotate(image, angle)
- mask = TF.rotate(mask, angle)
-
- # Color jitter (image only)
- if random.random() > 0.5:
- image = TF.adjust_brightness(image, random.uniform(0.85, 1.15))
- image = TF.adjust_contrast(image, random.uniform(0.85, 1.15))
- image = TF.adjust_saturation(image, random.uniform(0.85, 1.15))
-
- # Image to tensor and normalize with ImageNet stats
- image_tensor = TF.to_tensor(image) # [3, H, W] in [0, 1]
- image_tensor = self.normalize(image_tensor)
-
- # Process mask
- mask_tensor = self._process_mask(mask)
-
- return image_tensor, mask_tensor
diff --git a/code/segmentation/evaluate.py b/code/segmentation/evaluate.py
deleted file mode 100644
index 79a6090ad878b0a7a6d7a6e62f6f316fd5c1b3ae..0000000000000000000000000000000000000000
--- a/code/segmentation/evaluate.py
+++ /dev/null
@@ -1,167 +0,0 @@
-# Unified Evaluation Script for Medical Image Segmentation
-# Loads best checkpoint and computes Dice + IoU on val set
-
-import os
-import argparse
-import torch
-import numpy as np
-from torch.utils.data import DataLoader
-import segmentation_models_pytorch as smp
-
-from models.transunet.vit_seg_modeling import VisionTransformer as ViT_seg
-from models.transunet.vit_seg_modeling import CONFIGS as CONFIGS_ViT_seg
-
-from datasets import SegmentationDataset, get_dataset_config
-from metrics import compute_dice_iou_binary, compute_dice_iou_multiclass, MetricTracker
-
-
-def parse_args():
- parser = argparse.ArgumentParser(description='Evaluate Segmentation Models')
- parser.add_argument('--dataset', type=str, required=True,
- choices=['cvc', 'kvasir', 'refuge2', 'all'])
- parser.add_argument('--model', type=str, required=True,
- choices=['unet', 'transunet', 'all'])
- parser.add_argument('--resolution', type=int, default=224)
- parser.add_argument('--batch_size', type=int, default=16)
- parser.add_argument('--num_workers', type=int, default=4)
- parser.add_argument('--gpu', type=int, default=0)
- parser.add_argument('--seed', type=int, default=42)
- parser.add_argument('--save_dir', type=str, default='checkpoints')
- return parser.parse_args()
-
-
-def build_unet(task, num_classes):
- if task == 'binary':
- return smp.Unet(encoder_name='resnet34', encoder_weights=None,
- in_channels=3, classes=1)
- else:
- return smp.Unet(encoder_name='resnet34', encoder_weights=None,
- in_channels=3, classes=num_classes)
-
-
-def build_transunet(task, num_classes, resolution):
- vit_config = CONFIGS_ViT_seg['R50-ViT-B_16']
- grid_size = resolution // 16
- vit_config.patches.grid = (grid_size, grid_size)
- if task == 'binary':
- vit_config.n_classes = 1
- else:
- vit_config.n_classes = num_classes
- return ViT_seg(vit_config, img_size=resolution,
- num_classes=vit_config.n_classes)
-
-
-@torch.no_grad()
-def evaluate(model, loader, device, task, num_classes):
- model.eval()
- tracker = MetricTracker()
- all_per_class_dice = {}
- all_per_class_iou = {}
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
-
- logits = model(images)
-
- if task == 'binary':
- dice, iou = compute_dice_iou_binary(logits, masks)
- else:
- dice, iou, pcd, pci = compute_dice_iou_multiclass(
- logits, masks, num_classes=num_classes)
- for c in pcd:
- all_per_class_dice.setdefault(c, []).append(pcd[c])
- all_per_class_iou.setdefault(c, []).append(pci[c])
-
- tracker.update(dice, iou, images.size(0))
-
- results = {
- 'dice': tracker.avg_dice,
- 'iou': tracker.avg_iou,
- }
-
- if task == 'multiclass':
- for c in all_per_class_dice:
- results[f'dice_class{c}'] = np.mean(all_per_class_dice[c])
- results[f'iou_class{c}'] = np.mean(all_per_class_iou[c])
-
- return results
-
-
-def eval_one(dataset_name, model_name, args, device):
- cfg = get_dataset_config(dataset_name)
- task = cfg['task']
- num_classes = cfg['num_classes']
-
- # Dataset: REFUGE2 uses official test set, others use val split
- eval_split = 'test' if dataset_name == 'refuge2' else 'val'
- val_dataset = SegmentationDataset(dataset_name, split=eval_split,
- resolution=args.resolution, seed=args.seed)
- val_loader = DataLoader(val_dataset, batch_size=args.batch_size,
- shuffle=False, num_workers=args.num_workers,
- pin_memory=True)
-
- # Model
- ckpt_path = os.path.join(args.save_dir, f'{model_name}_{dataset_name}', 'best.pth')
- if not os.path.exists(ckpt_path):
- print(f" [SKIP] Checkpoint not found: {ckpt_path}")
- return None
-
- if model_name == 'unet':
- model = build_unet(task, num_classes)
- else:
- model = build_transunet(task, num_classes, args.resolution)
-
- ckpt = torch.load(ckpt_path, map_location='cpu', weights_only=False)
- model.load_state_dict(ckpt['model_state_dict'])
- model = model.to(device)
-
- results = evaluate(model, val_loader, device, task, num_classes)
- results['epoch'] = ckpt.get('epoch', '?')
- return results
-
-
-def main():
- args = parse_args()
- device = torch.device(f'cuda:{args.gpu}')
-
- datasets = ['cvc', 'kvasir', 'refuge2'] if args.dataset == 'all' else [args.dataset]
- models = ['unet', 'transunet'] if args.model == 'all' else [args.model]
-
- print(f"\n{'='*70}")
- print(f"Medical Image Segmentation Evaluation")
- print(f"{'='*70}")
-
- all_results = []
-
- for ds in datasets:
- cfg = get_dataset_config(ds)
- for md in models:
- print(f"\n--- {cfg['name']} / {md.upper()} ---")
- results = eval_one(ds, md, args, device)
- if results is not None:
- all_results.append((ds, md, results))
- print(f" Dice: {results['dice']:.4f} IoU: {results['iou']:.4f} "
- f"(epoch {results['epoch']})")
- if cfg['task'] == 'multiclass':
- for c in range(1, cfg['num_classes']):
- dk = f'dice_class{c}'
- ik = f'iou_class{c}'
- if dk in results:
- class_names = {1: 'Optic Cup', 2: 'Optic Disc'}
- name = class_names.get(c, f'Class {c}')
- print(f" {name}: Dice={results[dk]:.4f} IoU={results[ik]:.4f}")
-
- # Summary table
- if len(all_results) > 1:
- print(f"\n{'='*70}")
- print(f"{'Dataset':<15} {'Model':<12} {'Dice':<10} {'IoU':<10}")
- print(f"{'-'*70}")
- for ds, md, res in all_results:
- cfg = get_dataset_config(ds)
- print(f"{cfg['name']:<15} {md.upper():<12} {res['dice']:<10.4f} {res['iou']:<10.4f}")
- print(f"{'='*70}")
-
-
-if __name__ == '__main__':
- main()
diff --git a/code/segmentation/launch_all.sh b/code/segmentation/launch_all.sh
deleted file mode 100644
index 5d829f7bc917e8464cef34f12483d81fff260ae8..0000000000000000000000000000000000000000
--- a/code/segmentation/launch_all.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-# Launch all 6 segmentation training jobs
-cd /data/sichengli/Code/PixelGen/segmentation
-PYTHON=/root/miniconda3/envs/python310/bin/python
-
-# Kill any existing training processes
-kill $(pgrep -f "train_unet.py") 2>/dev/null
-kill $(pgrep -f "train_transunet.py") 2>/dev/null
-sleep 2
-
-# Clean up old checkpoints from smoke tests
-rm -rf checkpoints/unet_* checkpoints/transunet_*
-
-# Create logs directory
-mkdir -p logs
-
-echo "Launching 6 training jobs..."
-
-# UNet Training (3 datasets on GPUs 0-2)
-CUDA_VISIBLE_DEVICES=0 nohup $PYTHON train_unet.py --dataset cvc --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_cvc.log 2>&1 &
-echo " [GPU 0] UNet CVC: PID $!"
-
-CUDA_VISIBLE_DEVICES=1 nohup $PYTHON train_unet.py --dataset kvasir --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_kvasir.log 2>&1 &
-echo " [GPU 1] UNet Kvasir: PID $!"
-
-CUDA_VISIBLE_DEVICES=2 nohup $PYTHON train_unet.py --dataset refuge2 --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_refuge2.log 2>&1 &
-echo " [GPU 2] UNet REFUGE2: PID $!"
-
-# TransUNet Training (3 datasets on GPUs 3-5)
-CUDA_VISIBLE_DEVICES=3 nohup $PYTHON train_transunet.py --dataset cvc --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_cvc.log 2>&1 &
-echo " [GPU 3] TransUNet CVC: PID $!"
-
-CUDA_VISIBLE_DEVICES=4 nohup $PYTHON train_transunet.py --dataset kvasir --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_kvasir.log 2>&1 &
-echo " [GPU 4] TransUNet Kvasir: PID $!"
-
-CUDA_VISIBLE_DEVICES=5 nohup $PYTHON train_transunet.py --dataset refuge2 --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_refuge2.log 2>&1 &
-echo " [GPU 5] TransUNet REFUGE2: PID $!"
-
-sleep 5
-echo ""
-echo "Running processes:"
-ps aux | grep "train_" | grep python | grep -v grep
-echo ""
-echo "Total: $(ps aux | grep 'train_' | grep python | grep -v grep | wc -l) training processes"
diff --git a/code/segmentation/losses.py b/code/segmentation/losses.py
deleted file mode 100644
index ce98ddcdbab2d1794dd28cd3e7ec34cb422d59a9..0000000000000000000000000000000000000000
--- a/code/segmentation/losses.py
+++ /dev/null
@@ -1,77 +0,0 @@
-# Loss functions for medical image segmentation
-# BCEDiceLoss for binary tasks, CEDiceLoss for multi-class tasks
-
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-
-
-class BCEDiceLoss(nn.Module):
- """Combined BCE + Dice loss for binary segmentation.
-
- Input: logits [B, 1, H, W] (before sigmoid)
- Target: binary mask [B, 1, H, W] in {0, 1}
- """
-
- def __init__(self, bce_weight=0.5, dice_weight=0.5, smooth=1.0):
- super().__init__()
- self.bce_weight = bce_weight
- self.dice_weight = dice_weight
- self.smooth = smooth
- self.bce = nn.BCEWithLogitsLoss()
-
- def forward(self, logits, targets):
- # BCE
- bce_loss = self.bce(logits, targets)
-
- # Dice
- probs = torch.sigmoid(logits)
- probs_flat = probs.view(probs.size(0), -1)
- targets_flat = targets.view(targets.size(0), -1)
-
- intersection = (probs_flat * targets_flat).sum(dim=1)
- dice = (2.0 * intersection + self.smooth) / (
- probs_flat.sum(dim=1) + targets_flat.sum(dim=1) + self.smooth
- )
- dice_loss = 1.0 - dice.mean()
-
- return self.bce_weight * bce_loss + self.dice_weight * dice_loss
-
-
-class CEDiceLoss(nn.Module):
- """Combined CE + Dice loss for multi-class segmentation.
-
- Input: logits [B, C, H, W] (before softmax)
- Target: class indices [B, H, W] in {0, ..., C-1}
- """
-
- def __init__(self, ce_weight=0.5, dice_weight=0.5, num_classes=3, smooth=1.0):
- super().__init__()
- self.ce_weight = ce_weight
- self.dice_weight = dice_weight
- self.num_classes = num_classes
- self.smooth = smooth
- self.ce = nn.CrossEntropyLoss()
-
- def forward(self, logits, targets):
- # CE loss
- ce_loss = self.ce(logits, targets)
-
- # Dice loss (per-class, then average)
- probs = F.softmax(logits, dim=1) # [B, C, H, W]
- targets_onehot = F.one_hot(targets, self.num_classes) # [B, H, W, C]
- targets_onehot = targets_onehot.permute(0, 3, 1, 2).float() # [B, C, H, W]
-
- dice_sum = 0.0
- for c in range(self.num_classes):
- probs_c = probs[:, c].contiguous().view(probs.size(0), -1)
- targets_c = targets_onehot[:, c].contiguous().view(targets.size(0), -1)
- intersection = (probs_c * targets_c).sum(dim=1)
- dice_c = (2.0 * intersection + self.smooth) / (
- probs_c.sum(dim=1) + targets_c.sum(dim=1) + self.smooth
- )
- dice_sum += dice_c.mean()
-
- dice_loss = 1.0 - dice_sum / self.num_classes
-
- return self.ce_weight * ce_loss + self.dice_weight * dice_loss
diff --git a/code/segmentation/metrics.py b/code/segmentation/metrics.py
deleted file mode 100644
index 01ecd92efeb10fd5bdbad6120907f1c4f878aa72..0000000000000000000000000000000000000000
--- a/code/segmentation/metrics.py
+++ /dev/null
@@ -1,105 +0,0 @@
-# Evaluation metrics for medical image segmentation
-# Dice coefficient and IoU (Intersection over Union)
-
-import torch
-import torch.nn.functional as F
-import numpy as np
-
-
-def compute_dice_iou_binary(pred_logits, targets, threshold=0.5):
- """Compute per-sample Dice and IoU for binary segmentation, then average.
-
- Args:
- pred_logits: [B, 1, H, W] logits (before sigmoid)
- targets: [B, 1, H, W] binary mask {0, 1}
-
- Returns:
- dice: scalar, mean per-sample foreground Dice
- iou: scalar, mean per-sample foreground IoU
- """
- B = pred_logits.size(0)
- probs = torch.sigmoid(pred_logits)
- preds = (probs > threshold).float()
-
- # Per-sample: flatten spatial dims only [B, N]
- preds_flat = preds.view(B, -1)
- targets_flat = targets.view(B, -1)
-
- intersection = (preds_flat * targets_flat).sum(dim=1) # [B]
- pred_sum = preds_flat.sum(dim=1) # [B]
- target_sum = targets_flat.sum(dim=1) # [B]
-
- smooth = 1e-6
- dice_per_sample = (2.0 * intersection + smooth) / (pred_sum + target_sum + smooth) # [B]
- iou_per_sample = (intersection + smooth) / (pred_sum + target_sum - intersection + smooth) # [B]
-
- return dice_per_sample.mean().item(), iou_per_sample.mean().item()
-
-
-def compute_dice_iou_multiclass(pred_logits, targets, num_classes=3):
- """Compute per-sample mean Dice and IoU for multi-class segmentation.
-
- For REFUGE2: report mean of optic cup (class 1) and optic disc (class 2).
- Computes Dice per sample per class, then averages.
-
- Args:
- pred_logits: [B, C, H, W] logits (before softmax)
- targets: [B, H, W] class indices {0, ..., C-1}
-
- Returns:
- mean_dice: mean per-sample Dice over foreground classes
- mean_iou: mean per-sample IoU over foreground classes
- per_class_dice: dict of {class_idx: mean_dice}
- per_class_iou: dict of {class_idx: mean_iou}
- """
- B = pred_logits.size(0)
- preds = pred_logits.argmax(dim=1) # [B, H, W]
- smooth = 1e-6
-
- per_class_dice = {}
- per_class_iou = {}
-
- # Skip background (class 0), compute for foreground classes
- for c in range(1, num_classes):
- pred_c = (preds == c).float().view(B, -1) # [B, N]
- target_c = (targets == c).float().view(B, -1) # [B, N]
-
- intersection = (pred_c * target_c).sum(dim=1) # [B]
- pred_sum = pred_c.sum(dim=1) # [B]
- target_sum = target_c.sum(dim=1) # [B]
-
- dice_per_sample = (2.0 * intersection + smooth) / (pred_sum + target_sum + smooth)
- iou_per_sample = (intersection + smooth) / (pred_sum + target_sum - intersection + smooth)
-
- per_class_dice[c] = dice_per_sample.mean().item()
- per_class_iou[c] = iou_per_sample.mean().item()
-
- mean_dice = np.mean(list(per_class_dice.values()))
- mean_iou = np.mean(list(per_class_iou.values()))
-
- return mean_dice, mean_iou, per_class_dice, per_class_iou
-
-
-class MetricTracker:
- """Track running averages of metrics during training/evaluation."""
-
- def __init__(self):
- self.reset()
-
- def reset(self):
- self.dice_sum = 0.0
- self.iou_sum = 0.0
- self.count = 0
-
- def update(self, dice, iou, batch_size=1):
- self.dice_sum += dice * batch_size
- self.iou_sum += iou * batch_size
- self.count += batch_size
-
- @property
- def avg_dice(self):
- return self.dice_sum / max(self.count, 1)
-
- @property
- def avg_iou(self):
- return self.iou_sum / max(self.count, 1)
diff --git a/code/segmentation/models/__init__.py b/code/segmentation/models/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/segmentation/models/transunet/__init__.py b/code/segmentation/models/transunet/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/segmentation/models/transunet/vit_seg_configs.py b/code/segmentation/models/transunet/vit_seg_configs.py
deleted file mode 100644
index 733db253de481c1a2e06edbf18b66dc0693ac890..0000000000000000000000000000000000000000
--- a/code/segmentation/models/transunet/vit_seg_configs.py
+++ /dev/null
@@ -1,129 +0,0 @@
-import ml_collections
-
-def get_b16_config():
- """Returns the ViT-B/16 configuration."""
- config = ml_collections.ConfigDict()
- config.patches = ml_collections.ConfigDict({'size': (16, 16)})
- config.hidden_size = 768
- config.transformer = ml_collections.ConfigDict()
- config.transformer.mlp_dim = 3072
- config.transformer.num_heads = 12
- config.transformer.num_layers = 12
- config.transformer.attention_dropout_rate = 0.0
- config.transformer.dropout_rate = 0.1
-
- config.classifier = 'seg'
- config.representation_size = None
- config.resnet_pretrained_path = None
- config.pretrained_path = '../model/vit_checkpoint/imagenet21k/ViT-B_16.npz'
- config.patch_size = 16
-
- config.decoder_channels = (256, 128, 64, 16)
- config.n_classes = 2
- config.activation = 'softmax'
- return config
-
-
-def get_testing():
- """Returns a minimal configuration for testing."""
- config = ml_collections.ConfigDict()
- config.patches = ml_collections.ConfigDict({'size': (16, 16)})
- config.hidden_size = 1
- config.transformer = ml_collections.ConfigDict()
- config.transformer.mlp_dim = 1
- config.transformer.num_heads = 1
- config.transformer.num_layers = 1
- config.transformer.attention_dropout_rate = 0.0
- config.transformer.dropout_rate = 0.1
- config.classifier = 'token'
- config.representation_size = None
- return config
-
-def get_r50_b16_config():
- """Returns the Resnet50 + ViT-B/16 configuration."""
- config = get_b16_config()
- config.patches.grid = (16, 16)
- config.resnet = ml_collections.ConfigDict()
- config.resnet.num_layers = (3, 4, 9)
- config.resnet.width_factor = 1
-
- config.classifier = 'seg'
- config.pretrained_path = '../model/vit_checkpoint/imagenet21k/R50+ViT-B_16.npz'
- config.decoder_channels = (256, 128, 64, 16)
- config.skip_channels = [512, 256, 64, 16]
- config.n_classes = 2
- config.n_skip = 3
- config.activation = 'softmax'
-
- return config
-
-
-def get_b32_config():
- """Returns the ViT-B/32 configuration."""
- config = get_b16_config()
- config.patches.size = (32, 32)
- config.pretrained_path = '../model/vit_checkpoint/imagenet21k/ViT-B_32.npz'
- return config
-
-
-def get_l16_config():
- """Returns the ViT-L/16 configuration."""
- config = ml_collections.ConfigDict()
- config.patches = ml_collections.ConfigDict({'size': (16, 16)})
- config.hidden_size = 1024
- config.transformer = ml_collections.ConfigDict()
- config.transformer.mlp_dim = 4096
- config.transformer.num_heads = 16
- config.transformer.num_layers = 24
- config.transformer.attention_dropout_rate = 0.0
- config.transformer.dropout_rate = 0.1
- config.representation_size = None
-
- config.classifier = 'seg'
- config.resnet_pretrained_path = None
- config.pretrained_path = '../model/vit_checkpoint/imagenet21k/ViT-L_16.npz'
- config.decoder_channels = (256, 128, 64, 16)
- config.n_classes = 2
- config.activation = 'softmax'
- return config
-
-
-def get_r50_l16_config():
- """Returns the Resnet50 + ViT-L/16 configuration."""
- config = get_l16_config()
- config.patches.grid = (16, 16)
- config.resnet = ml_collections.ConfigDict()
- config.resnet.num_layers = (3, 4, 9)
- config.resnet.width_factor = 1
-
- config.classifier = 'seg'
- config.resnet_pretrained_path = '../model/vit_checkpoint/imagenet21k/R50+ViT-B_16.npz'
- config.decoder_channels = (256, 128, 64, 16)
- config.skip_channels = [512, 256, 64, 16]
- config.n_classes = 2
- config.activation = 'softmax'
- return config
-
-
-def get_l32_config():
- """Returns the ViT-L/32 configuration."""
- config = get_l16_config()
- config.patches.size = (32, 32)
- return config
-
-
-def get_h14_config():
- """Returns the ViT-H/14 configuration."""
- config = ml_collections.ConfigDict()
- config.patches = ml_collections.ConfigDict({'size': (14, 14)})
- config.hidden_size = 1280
- config.transformer = ml_collections.ConfigDict()
- config.transformer.mlp_dim = 5120
- config.transformer.num_heads = 16
- config.transformer.num_layers = 32
- config.transformer.attention_dropout_rate = 0.0
- config.transformer.dropout_rate = 0.1
- config.classifier = 'token'
- config.representation_size = None
-
- return config
diff --git a/code/segmentation/models/transunet/vit_seg_modeling.py b/code/segmentation/models/transunet/vit_seg_modeling.py
deleted file mode 100644
index bb597cadd3cc31cc46858183e70dcdc7e03a9070..0000000000000000000000000000000000000000
--- a/code/segmentation/models/transunet/vit_seg_modeling.py
+++ /dev/null
@@ -1,450 +0,0 @@
-# coding=utf-8
-from __future__ import absolute_import
-from __future__ import division
-from __future__ import print_function
-
-import copy
-import logging
-import math
-
-from os.path import join as pjoin
-
-import torch
-import torch.nn as nn
-import numpy as np
-
-from torch.nn import CrossEntropyLoss, Dropout, Softmax, Linear, Conv2d, LayerNorm
-from torch.nn.modules.utils import _pair
-from scipy import ndimage
-from models.transunet import vit_seg_configs as configs
-from models.transunet.vit_seg_modeling_resnet_skip import ResNetV2
-
-
-logger = logging.getLogger(__name__)
-
-
-ATTENTION_Q = "MultiHeadDotProductAttention_1/query"
-ATTENTION_K = "MultiHeadDotProductAttention_1/key"
-ATTENTION_V = "MultiHeadDotProductAttention_1/value"
-ATTENTION_OUT = "MultiHeadDotProductAttention_1/out"
-FC_0 = "MlpBlock_3/Dense_0"
-FC_1 = "MlpBlock_3/Dense_1"
-ATTENTION_NORM = "LayerNorm_0"
-MLP_NORM = "LayerNorm_2"
-
-
-def np2th(weights, conv=False):
- """Possibly convert HWIO to OIHW."""
- if conv:
- weights = weights.transpose([3, 2, 0, 1])
- return torch.from_numpy(weights)
-
-
-def swish(x):
- return x * torch.sigmoid(x)
-
-
-ACT2FN = {"gelu": torch.nn.functional.gelu, "relu": torch.nn.functional.relu, "swish": swish}
-
-
-class Attention(nn.Module):
- def __init__(self, config, vis):
- super(Attention, self).__init__()
- self.vis = vis
- self.num_attention_heads = config.transformer["num_heads"]
- self.attention_head_size = int(config.hidden_size / self.num_attention_heads)
- self.all_head_size = self.num_attention_heads * self.attention_head_size
-
- self.query = Linear(config.hidden_size, self.all_head_size)
- self.key = Linear(config.hidden_size, self.all_head_size)
- self.value = Linear(config.hidden_size, self.all_head_size)
-
- self.out = Linear(config.hidden_size, config.hidden_size)
- self.attn_dropout = Dropout(config.transformer["attention_dropout_rate"])
- self.proj_dropout = Dropout(config.transformer["attention_dropout_rate"])
-
- self.softmax = Softmax(dim=-1)
-
- def transpose_for_scores(self, x):
- new_x_shape = x.size()[:-1] + (self.num_attention_heads, self.attention_head_size)
- x = x.view(*new_x_shape)
- return x.permute(0, 2, 1, 3)
-
- def forward(self, hidden_states):
- mixed_query_layer = self.query(hidden_states)
- mixed_key_layer = self.key(hidden_states)
- mixed_value_layer = self.value(hidden_states)
-
- query_layer = self.transpose_for_scores(mixed_query_layer)
- key_layer = self.transpose_for_scores(mixed_key_layer)
- value_layer = self.transpose_for_scores(mixed_value_layer)
-
- attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
- attention_scores = attention_scores / math.sqrt(self.attention_head_size)
- attention_probs = self.softmax(attention_scores)
- weights = attention_probs if self.vis else None
- attention_probs = self.attn_dropout(attention_probs)
-
- context_layer = torch.matmul(attention_probs, value_layer)
- context_layer = context_layer.permute(0, 2, 1, 3).contiguous()
- new_context_layer_shape = context_layer.size()[:-2] + (self.all_head_size,)
- context_layer = context_layer.view(*new_context_layer_shape)
- attention_output = self.out(context_layer)
- attention_output = self.proj_dropout(attention_output)
- return attention_output, weights
-
-
-class Mlp(nn.Module):
- def __init__(self, config):
- super(Mlp, self).__init__()
- self.fc1 = Linear(config.hidden_size, config.transformer["mlp_dim"])
- self.fc2 = Linear(config.transformer["mlp_dim"], config.hidden_size)
- self.act_fn = ACT2FN["gelu"]
- self.dropout = Dropout(config.transformer["dropout_rate"])
-
- self._init_weights()
-
- def _init_weights(self):
- nn.init.xavier_uniform_(self.fc1.weight)
- nn.init.xavier_uniform_(self.fc2.weight)
- nn.init.normal_(self.fc1.bias, std=1e-6)
- nn.init.normal_(self.fc2.bias, std=1e-6)
-
- def forward(self, x):
- x = self.fc1(x)
- x = self.act_fn(x)
- x = self.dropout(x)
- x = self.fc2(x)
- x = self.dropout(x)
- return x
-
-
-class Embeddings(nn.Module):
- """Construct the embeddings from patch, position embeddings."""
- def __init__(self, config, img_size, in_channels=3):
- super(Embeddings, self).__init__()
- self.hybrid = None
- self.config = config
- img_size = _pair(img_size)
-
- if config.patches.get("grid") is not None: # ResNet
- grid_size = config.patches["grid"]
- patch_size = (img_size[0] // 16 // grid_size[0], img_size[1] // 16 // grid_size[1])
- patch_size_real = (patch_size[0] * 16, patch_size[1] * 16)
- n_patches = (img_size[0] // patch_size_real[0]) * (img_size[1] // patch_size_real[1])
- self.hybrid = True
- else:
- patch_size = _pair(config.patches["size"])
- n_patches = (img_size[0] // patch_size[0]) * (img_size[1] // patch_size[1])
- self.hybrid = False
-
- if self.hybrid:
- self.hybrid_model = ResNetV2(block_units=config.resnet.num_layers, width_factor=config.resnet.width_factor)
- in_channels = self.hybrid_model.width * 16
- self.patch_embeddings = Conv2d(in_channels=in_channels,
- out_channels=config.hidden_size,
- kernel_size=patch_size,
- stride=patch_size)
- self.position_embeddings = nn.Parameter(torch.zeros(1, n_patches, config.hidden_size))
-
- self.dropout = Dropout(config.transformer["dropout_rate"])
-
-
- def forward(self, x):
- if self.hybrid:
- x, features = self.hybrid_model(x)
- else:
- features = None
- x = self.patch_embeddings(x)
- x = x.flatten(2)
- x = x.transpose(-1, -2)
-
- embeddings = x + self.position_embeddings
- embeddings = self.dropout(embeddings)
- return embeddings, features
-
-
-class Block(nn.Module):
- def __init__(self, config, vis):
- super(Block, self).__init__()
- self.hidden_size = config.hidden_size
- self.attention_norm = LayerNorm(config.hidden_size, eps=1e-6)
- self.ffn_norm = LayerNorm(config.hidden_size, eps=1e-6)
- self.ffn = Mlp(config)
- self.attn = Attention(config, vis)
-
- def forward(self, x):
- h = x
- x = self.attention_norm(x)
- x, weights = self.attn(x)
- x = x + h
-
- h = x
- x = self.ffn_norm(x)
- x = self.ffn(x)
- x = x + h
- return x, weights
-
- def load_from(self, weights, n_block):
- ROOT = f"Transformer/encoderblock_{n_block}"
- with torch.no_grad():
- query_weight = np2th(weights[pjoin(ROOT, ATTENTION_Q, "kernel")]).view(self.hidden_size, self.hidden_size).t()
- key_weight = np2th(weights[pjoin(ROOT, ATTENTION_K, "kernel")]).view(self.hidden_size, self.hidden_size).t()
- value_weight = np2th(weights[pjoin(ROOT, ATTENTION_V, "kernel")]).view(self.hidden_size, self.hidden_size).t()
- out_weight = np2th(weights[pjoin(ROOT, ATTENTION_OUT, "kernel")]).view(self.hidden_size, self.hidden_size).t()
-
- query_bias = np2th(weights[pjoin(ROOT, ATTENTION_Q, "bias")]).view(-1)
- key_bias = np2th(weights[pjoin(ROOT, ATTENTION_K, "bias")]).view(-1)
- value_bias = np2th(weights[pjoin(ROOT, ATTENTION_V, "bias")]).view(-1)
- out_bias = np2th(weights[pjoin(ROOT, ATTENTION_OUT, "bias")]).view(-1)
-
- self.attn.query.weight.copy_(query_weight)
- self.attn.key.weight.copy_(key_weight)
- self.attn.value.weight.copy_(value_weight)
- self.attn.out.weight.copy_(out_weight)
- self.attn.query.bias.copy_(query_bias)
- self.attn.key.bias.copy_(key_bias)
- self.attn.value.bias.copy_(value_bias)
- self.attn.out.bias.copy_(out_bias)
-
- mlp_weight_0 = np2th(weights[pjoin(ROOT, FC_0, "kernel")]).t()
- mlp_weight_1 = np2th(weights[pjoin(ROOT, FC_1, "kernel")]).t()
- mlp_bias_0 = np2th(weights[pjoin(ROOT, FC_0, "bias")]).t()
- mlp_bias_1 = np2th(weights[pjoin(ROOT, FC_1, "bias")]).t()
-
- self.ffn.fc1.weight.copy_(mlp_weight_0)
- self.ffn.fc2.weight.copy_(mlp_weight_1)
- self.ffn.fc1.bias.copy_(mlp_bias_0)
- self.ffn.fc2.bias.copy_(mlp_bias_1)
-
- self.attention_norm.weight.copy_(np2th(weights[pjoin(ROOT, ATTENTION_NORM, "scale")]))
- self.attention_norm.bias.copy_(np2th(weights[pjoin(ROOT, ATTENTION_NORM, "bias")]))
- self.ffn_norm.weight.copy_(np2th(weights[pjoin(ROOT, MLP_NORM, "scale")]))
- self.ffn_norm.bias.copy_(np2th(weights[pjoin(ROOT, MLP_NORM, "bias")]))
-
-
-class Encoder(nn.Module):
- def __init__(self, config, vis):
- super(Encoder, self).__init__()
- self.vis = vis
- self.layer = nn.ModuleList()
- self.encoder_norm = LayerNorm(config.hidden_size, eps=1e-6)
- for _ in range(config.transformer["num_layers"]):
- layer = Block(config, vis)
- self.layer.append(copy.deepcopy(layer))
-
- def forward(self, hidden_states):
- attn_weights = []
- for layer_block in self.layer:
- hidden_states, weights = layer_block(hidden_states)
- if self.vis:
- attn_weights.append(weights)
- encoded = self.encoder_norm(hidden_states)
- return encoded, attn_weights
-
-
-class Transformer(nn.Module):
- def __init__(self, config, img_size, vis):
- super(Transformer, self).__init__()
- self.embeddings = Embeddings(config, img_size=img_size)
- self.encoder = Encoder(config, vis)
-
- def forward(self, input_ids):
- embedding_output, features = self.embeddings(input_ids)
- encoded, attn_weights = self.encoder(embedding_output)
- return encoded, attn_weights, features
-
-
-class Conv2dReLU(nn.Sequential):
- def __init__(
- self,
- in_channels,
- out_channels,
- kernel_size,
- padding=0,
- stride=1,
- use_batchnorm=True,
- ):
- conv = nn.Conv2d(
- in_channels,
- out_channels,
- kernel_size,
- stride=stride,
- padding=padding,
- bias=not (use_batchnorm),
- )
- relu = nn.ReLU(inplace=True)
-
- bn = nn.BatchNorm2d(out_channels)
-
- super(Conv2dReLU, self).__init__(conv, bn, relu)
-
-
-class DecoderBlock(nn.Module):
- def __init__(
- self,
- in_channels,
- out_channels,
- skip_channels=0,
- use_batchnorm=True,
- ):
- super().__init__()
- self.conv1 = Conv2dReLU(
- in_channels + skip_channels,
- out_channels,
- kernel_size=3,
- padding=1,
- use_batchnorm=use_batchnorm,
- )
- self.conv2 = Conv2dReLU(
- out_channels,
- out_channels,
- kernel_size=3,
- padding=1,
- use_batchnorm=use_batchnorm,
- )
- self.up = nn.UpsamplingBilinear2d(scale_factor=2)
-
- def forward(self, x, skip=None):
- x = self.up(x)
- if skip is not None:
- x = torch.cat([x, skip], dim=1)
- x = self.conv1(x)
- x = self.conv2(x)
- return x
-
-
-class SegmentationHead(nn.Sequential):
-
- def __init__(self, in_channels, out_channels, kernel_size=3, upsampling=1):
- conv2d = nn.Conv2d(in_channels, out_channels, kernel_size=kernel_size, padding=kernel_size // 2)
- upsampling = nn.UpsamplingBilinear2d(scale_factor=upsampling) if upsampling > 1 else nn.Identity()
- super().__init__(conv2d, upsampling)
-
-
-class DecoderCup(nn.Module):
- def __init__(self, config):
- super().__init__()
- self.config = config
- head_channels = 512
- self.conv_more = Conv2dReLU(
- config.hidden_size,
- head_channels,
- kernel_size=3,
- padding=1,
- use_batchnorm=True,
- )
- decoder_channels = config.decoder_channels
- in_channels = [head_channels] + list(decoder_channels[:-1])
- out_channels = decoder_channels
-
- if self.config.n_skip != 0:
- skip_channels = self.config.skip_channels
- for i in range(4-self.config.n_skip):
- skip_channels[3-i]=0
-
- else:
- skip_channels=[0,0,0,0]
-
- blocks = [
- DecoderBlock(in_ch, out_ch, sk_ch) for in_ch, out_ch, sk_ch in zip(in_channels, out_channels, skip_channels)
- ]
- self.blocks = nn.ModuleList(blocks)
-
- def forward(self, hidden_states, features=None):
- B, n_patch, hidden = hidden_states.size()
- h, w = int(np.sqrt(n_patch)), int(np.sqrt(n_patch))
- x = hidden_states.permute(0, 2, 1)
- x = x.contiguous().view(B, hidden, h, w)
- x = self.conv_more(x)
- for i, decoder_block in enumerate(self.blocks):
- if features is not None:
- skip = features[i] if (i < self.config.n_skip) else None
- else:
- skip = None
- x = decoder_block(x, skip=skip)
- return x
-
-
-class VisionTransformer(nn.Module):
- def __init__(self, config, img_size=224, num_classes=21843, zero_head=False, vis=False):
- super(VisionTransformer, self).__init__()
- self.num_classes = num_classes
- self.zero_head = zero_head
- self.classifier = config.classifier
- self.transformer = Transformer(config, img_size, vis)
- self.decoder = DecoderCup(config)
- self.segmentation_head = SegmentationHead(
- in_channels=config['decoder_channels'][-1],
- out_channels=config['n_classes'],
- kernel_size=3,
- )
- self.config = config
-
- def forward(self, x):
- if x.size()[1] == 1:
- x = x.repeat(1,3,1,1)
- x, attn_weights, features = self.transformer(x)
- x = self.decoder(x, features)
- logits = self.segmentation_head(x)
- return logits
-
- def load_from(self, weights):
- with torch.no_grad():
-
- res_weight = weights
- self.transformer.embeddings.patch_embeddings.weight.copy_(np2th(weights["embedding/kernel"], conv=True))
- self.transformer.embeddings.patch_embeddings.bias.copy_(np2th(weights["embedding/bias"]))
-
- self.transformer.encoder.encoder_norm.weight.copy_(np2th(weights["Transformer/encoder_norm/scale"]))
- self.transformer.encoder.encoder_norm.bias.copy_(np2th(weights["Transformer/encoder_norm/bias"]))
-
- posemb = np2th(weights["Transformer/posembed_input/pos_embedding"])
-
- posemb_new = self.transformer.embeddings.position_embeddings
- if posemb.size() == posemb_new.size():
- self.transformer.embeddings.position_embeddings.copy_(posemb)
- elif posemb.size()[1]-1 == posemb_new.size()[1]:
- posemb = posemb[:, 1:]
- self.transformer.embeddings.position_embeddings.copy_(posemb)
- else:
- logger.info("load_pretrained: resized variant: %s to %s" % (posemb.size(), posemb_new.size()))
- ntok_new = posemb_new.size(1)
- if self.classifier == "seg":
- _, posemb_grid = posemb[:, :1], posemb[0, 1:]
- gs_old = int(np.sqrt(len(posemb_grid)))
- gs_new = int(np.sqrt(ntok_new))
- print('load_pretrained: grid-size from %s to %s' % (gs_old, gs_new))
- posemb_grid = posemb_grid.reshape(gs_old, gs_old, -1)
- zoom = (gs_new / gs_old, gs_new / gs_old, 1)
- posemb_grid = ndimage.zoom(posemb_grid, zoom, order=1)
- posemb_grid = posemb_grid.reshape(1, gs_new * gs_new, -1)
- posemb = posemb_grid
- self.transformer.embeddings.position_embeddings.copy_(np2th(posemb))
-
- # Encoder whole
- for bname, block in self.transformer.encoder.named_children():
- for uname, unit in block.named_children():
- unit.load_from(weights, n_block=uname)
-
- if self.transformer.embeddings.hybrid:
- self.transformer.embeddings.hybrid_model.root.conv.weight.copy_(np2th(res_weight["conv_root/kernel"], conv=True))
- gn_weight = np2th(res_weight["gn_root/scale"]).view(-1)
- gn_bias = np2th(res_weight["gn_root/bias"]).view(-1)
- self.transformer.embeddings.hybrid_model.root.gn.weight.copy_(gn_weight)
- self.transformer.embeddings.hybrid_model.root.gn.bias.copy_(gn_bias)
-
- for bname, block in self.transformer.embeddings.hybrid_model.body.named_children():
- for uname, unit in block.named_children():
- unit.load_from(res_weight, n_block=bname, n_unit=uname)
-
-CONFIGS = {
- 'ViT-B_16': configs.get_b16_config(),
- 'ViT-B_32': configs.get_b32_config(),
- 'ViT-L_16': configs.get_l16_config(),
- 'ViT-L_32': configs.get_l32_config(),
- 'ViT-H_14': configs.get_h14_config(),
- 'R50-ViT-B_16': configs.get_r50_b16_config(),
- 'R50-ViT-L_16': configs.get_r50_l16_config(),
- 'testing': configs.get_testing(),
-}
diff --git a/code/segmentation/models/transunet/vit_seg_modeling_resnet_skip.py b/code/segmentation/models/transunet/vit_seg_modeling_resnet_skip.py
deleted file mode 100644
index f75389d110942749da91cc5d6293c27772390df2..0000000000000000000000000000000000000000
--- a/code/segmentation/models/transunet/vit_seg_modeling_resnet_skip.py
+++ /dev/null
@@ -1,154 +0,0 @@
-import math
-
-from os.path import join as pjoin
-from collections import OrderedDict
-
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-
-
-def np2th(weights, conv=False):
- """Possibly convert HWIO to OIHW."""
- if conv:
- weights = weights.transpose([3, 2, 0, 1])
- return torch.from_numpy(weights)
-
-
-class StdConv2d(nn.Conv2d):
-
- def forward(self, x):
- w = self.weight
- v, m = torch.var_mean(w, dim=[1, 2, 3], keepdim=True, unbiased=False)
- w = (w - m) / torch.sqrt(v + 1e-5)
- return F.conv2d(x, w, self.bias, self.stride, self.padding,
- self.dilation, self.groups)
-
-
-def conv3x3(cin, cout, stride=1, groups=1, bias=False):
- return StdConv2d(cin, cout, kernel_size=3, stride=stride,
- padding=1, bias=bias, groups=groups)
-
-
-def conv1x1(cin, cout, stride=1, bias=False):
- return StdConv2d(cin, cout, kernel_size=1, stride=stride,
- padding=0, bias=bias)
-
-
-class PreActBottleneck(nn.Module):
- """Pre-activation (v2) bottleneck block."""
-
- def __init__(self, cin, cout=None, cmid=None, stride=1):
- super().__init__()
- cout = cout or cin
- cmid = cmid or cout//4
-
- self.gn1 = nn.GroupNorm(32, cmid, eps=1e-6)
- self.conv1 = conv1x1(cin, cmid, bias=False)
- self.gn2 = nn.GroupNorm(32, cmid, eps=1e-6)
- self.conv2 = conv3x3(cmid, cmid, stride, bias=False)
- self.gn3 = nn.GroupNorm(32, cout, eps=1e-6)
- self.conv3 = conv1x1(cmid, cout, bias=False)
- self.relu = nn.ReLU(inplace=True)
-
- if (stride != 1 or cin != cout):
- self.downsample = conv1x1(cin, cout, stride, bias=False)
- self.gn_proj = nn.GroupNorm(cout, cout)
-
- def forward(self, x):
- residual = x
- if hasattr(self, 'downsample'):
- residual = self.downsample(x)
- residual = self.gn_proj(residual)
-
- y = self.relu(self.gn1(self.conv1(x)))
- y = self.relu(self.gn2(self.conv2(y)))
- y = self.gn3(self.conv3(y))
-
- y = self.relu(residual + y)
- return y
-
- def load_from(self, weights, n_block, n_unit):
- conv1_weight = np2th(weights[pjoin(n_block, n_unit, "conv1/kernel")], conv=True)
- conv2_weight = np2th(weights[pjoin(n_block, n_unit, "conv2/kernel")], conv=True)
- conv3_weight = np2th(weights[pjoin(n_block, n_unit, "conv3/kernel")], conv=True)
-
- gn1_weight = np2th(weights[pjoin(n_block, n_unit, "gn1/scale")])
- gn1_bias = np2th(weights[pjoin(n_block, n_unit, "gn1/bias")])
-
- gn2_weight = np2th(weights[pjoin(n_block, n_unit, "gn2/scale")])
- gn2_bias = np2th(weights[pjoin(n_block, n_unit, "gn2/bias")])
-
- gn3_weight = np2th(weights[pjoin(n_block, n_unit, "gn3/scale")])
- gn3_bias = np2th(weights[pjoin(n_block, n_unit, "gn3/bias")])
-
- self.conv1.weight.copy_(conv1_weight)
- self.conv2.weight.copy_(conv2_weight)
- self.conv3.weight.copy_(conv3_weight)
-
- self.gn1.weight.copy_(gn1_weight.view(-1))
- self.gn1.bias.copy_(gn1_bias.view(-1))
-
- self.gn2.weight.copy_(gn2_weight.view(-1))
- self.gn2.bias.copy_(gn2_bias.view(-1))
-
- self.gn3.weight.copy_(gn3_weight.view(-1))
- self.gn3.bias.copy_(gn3_bias.view(-1))
-
- if hasattr(self, 'downsample'):
- proj_conv_weight = np2th(weights[pjoin(n_block, n_unit, "conv_proj/kernel")], conv=True)
- proj_gn_weight = np2th(weights[pjoin(n_block, n_unit, "gn_proj/scale")])
- proj_gn_bias = np2th(weights[pjoin(n_block, n_unit, "gn_proj/bias")])
-
- self.downsample.weight.copy_(proj_conv_weight)
- self.gn_proj.weight.copy_(proj_gn_weight.view(-1))
- self.gn_proj.bias.copy_(proj_gn_bias.view(-1))
-
-class ResNetV2(nn.Module):
- """Implementation of Pre-activation (v2) ResNet mode."""
-
- def __init__(self, block_units, width_factor):
- super().__init__()
- width = int(64 * width_factor)
- self.width = width
-
- self.root = nn.Sequential(OrderedDict([
- ('conv', StdConv2d(3, width, kernel_size=7, stride=2, bias=False, padding=3)),
- ('gn', nn.GroupNorm(32, width, eps=1e-6)),
- ('relu', nn.ReLU(inplace=True)),
- ]))
-
- self.body = nn.Sequential(OrderedDict([
- ('block1', nn.Sequential(OrderedDict(
- [('unit1', PreActBottleneck(cin=width, cout=width*4, cmid=width))] +
- [(f'unit{i:d}', PreActBottleneck(cin=width*4, cout=width*4, cmid=width)) for i in range(2, block_units[0] + 1)],
- ))),
- ('block2', nn.Sequential(OrderedDict(
- [('unit1', PreActBottleneck(cin=width*4, cout=width*8, cmid=width*2, stride=2))] +
- [(f'unit{i:d}', PreActBottleneck(cin=width*8, cout=width*8, cmid=width*2)) for i in range(2, block_units[1] + 1)],
- ))),
- ('block3', nn.Sequential(OrderedDict(
- [('unit1', PreActBottleneck(cin=width*8, cout=width*16, cmid=width*4, stride=2))] +
- [(f'unit{i:d}', PreActBottleneck(cin=width*16, cout=width*16, cmid=width*4)) for i in range(2, block_units[2] + 1)],
- ))),
- ]))
-
- def forward(self, x):
- features = []
- b, c, in_size, _ = x.size()
- x = self.root(x)
- features.append(x)
- x = nn.MaxPool2d(kernel_size=3, stride=2, padding=0)(x)
- for i in range(len(self.body)-1):
- x = self.body[i](x)
- right_size = int(in_size / 4 / (i+1))
- if x.size()[2] != right_size:
- pad = right_size - x.size()[2]
- assert pad < 3 and pad > 0, "x {} should {}".format(x.size(), right_size)
- feat = torch.zeros((b, x.size()[1], right_size, right_size), device=x.device)
- feat[:, :, 0:x.size()[2], 0:x.size()[3]] = x[:]
- else:
- feat = x
- features.append(feat)
- x = self.body[-1](x)
- return x, features[::-1]
diff --git a/code/segmentation/run_segmentation.sh b/code/segmentation/run_segmentation.sh
deleted file mode 100644
index ecb17be4566dd89a801b0e42e5b186d2f55f2de6..0000000000000000000000000000000000000000
--- a/code/segmentation/run_segmentation.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-# Medical Image Segmentation Baselines - Run Commands
-# Working directory: /data/sichengli/Code/PixelGen/segmentation
-
-# ============================================================
-# Step 0: Environment setup (run once)
-# ============================================================
-# pip install segmentation_models_pytorch ml_collections scipy
-
-# Download TransUNet pretrained weights
-# wget -P pretrained/ https://storage.googleapis.com/vit_models/imagenet21k/R50+ViT-B_16.npz
-
-# ============================================================
-# UNet Training (3 datasets on 3 GPUs)
-# ============================================================
-
-# UNet - CVC-ClinicDB (GPU 0)
-CUDA_VISIBLE_DEVICES=0 nohup python train_unet.py --dataset cvc --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_cvc.log 2>&1 &
-
-# UNet - Kvasir-SEG (GPU 1)
-CUDA_VISIBLE_DEVICES=1 nohup python train_unet.py --dataset kvasir --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_kvasir.log 2>&1 &
-
-# UNet - REFUGE2 (GPU 2)
-CUDA_VISIBLE_DEVICES=2 nohup python train_unet.py --dataset refuge2 --gpu 0 --epochs 200 --batch_size 16 --lr 1e-4 > logs/unet_refuge2.log 2>&1 &
-
-# ============================================================
-# TransUNet Training (3 datasets on 3 GPUs)
-# ============================================================
-
-# TransUNet - CVC-ClinicDB (GPU 3)
-CUDA_VISIBLE_DEVICES=3 nohup python train_transunet.py --dataset cvc --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_cvc.log 2>&1 &
-
-# TransUNet - Kvasir-SEG (GPU 4)
-CUDA_VISIBLE_DEVICES=4 nohup python train_transunet.py --dataset kvasir --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_kvasir.log 2>&1 &
-
-# TransUNet - REFUGE2 (GPU 5)
-CUDA_VISIBLE_DEVICES=5 nohup python train_transunet.py --dataset refuge2 --gpu 0 --epochs 150 --batch_size 24 --lr 0.01 > logs/transunet_refuge2.log 2>&1 &
-
-# ============================================================
-# Evaluation (after training completes)
-# ============================================================
-
-# Evaluate all models on all datasets
-# python evaluate.py --dataset all --model all --gpu 0
diff --git a/code/segmentation/train_transunet.py b/code/segmentation/train_transunet.py
deleted file mode 100644
index 94921d45915ce44b2c03f481d8c1f665aeef3acf..0000000000000000000000000000000000000000
--- a/code/segmentation/train_transunet.py
+++ /dev/null
@@ -1,224 +0,0 @@
-# TransUNet Training Script for Medical Image Segmentation
-# R50-ViT-B/16 with ImageNet-21k pretrained weights
-
-import os
-import sys
-import argparse
-import time
-import numpy as np
-import torch
-import torch.nn as nn
-from torch.utils.data import DataLoader
-
-from models.transunet.vit_seg_modeling import VisionTransformer as ViT_seg
-from models.transunet.vit_seg_modeling import CONFIGS as CONFIGS_ViT_seg
-
-from datasets import SegmentationDataset, get_dataset_config
-from losses import BCEDiceLoss, CEDiceLoss
-from metrics import compute_dice_iou_binary, compute_dice_iou_multiclass, MetricTracker
-
-
-def parse_args():
- parser = argparse.ArgumentParser(description='TransUNet Medical Segmentation')
- parser.add_argument('--dataset', type=str, required=True,
- choices=['cvc', 'kvasir', 'refuge2'])
- parser.add_argument('--resolution', type=int, default=224)
- parser.add_argument('--batch_size', type=int, default=24)
- parser.add_argument('--epochs', type=int, default=150)
- parser.add_argument('--lr', type=float, default=0.01)
- parser.add_argument('--weight_decay', type=float, default=1e-4)
- parser.add_argument('--momentum', type=float, default=0.9)
- parser.add_argument('--poly_power', type=float, default=0.9)
- parser.add_argument('--num_workers', type=int, default=4)
- parser.add_argument('--gpu', type=int, default=0)
- parser.add_argument('--seed', type=int, default=42)
- parser.add_argument('--save_dir', type=str, default='checkpoints')
- parser.add_argument('--vit_name', type=str, default='R50-ViT-B_16')
- parser.add_argument('--pretrained_path', type=str,
- default='pretrained/R50+ViT-B_16.npz')
- return parser.parse_args()
-
-
-def poly_lr(optimizer, init_lr, epoch, max_epoch, power=0.9):
- """Polynomial learning rate decay."""
- lr = init_lr * (1 - epoch / max_epoch) ** power
- for param_group in optimizer.param_groups:
- param_group['lr'] = lr
- return lr
-
-
-def train_one_epoch(model, loader, criterion, optimizer, device, task):
- model.train()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
-
- logits = model(images)
-
- if task == 'binary':
- loss = criterion(logits, masks)
- dice, iou = compute_dice_iou_binary(logits, masks)
- else:
- loss = criterion(logits, masks)
- dice, iou, _, _ = compute_dice_iou_multiclass(logits, masks,
- num_classes=logits.shape[1])
-
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
-
- total_loss += loss.item() * images.size(0)
- tracker.update(dice, iou, images.size(0))
-
- n = len(loader.dataset)
- return total_loss / n, tracker.avg_dice, tracker.avg_iou
-
-
-@torch.no_grad()
-def validate(model, loader, criterion, device, task, num_classes=1):
- model.eval()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
-
- logits = model(images)
-
- if task == 'binary':
- loss = criterion(logits, masks)
- dice, iou = compute_dice_iou_binary(logits, masks)
- else:
- loss = criterion(logits, masks)
- dice, iou, _, _ = compute_dice_iou_multiclass(logits, masks,
- num_classes=num_classes)
-
- total_loss += loss.item() * images.size(0)
- tracker.update(dice, iou, images.size(0))
-
- n = len(loader.dataset)
- return total_loss / n, tracker.avg_dice, tracker.avg_iou
-
-
-def main():
- args = parse_args()
- torch.manual_seed(args.seed)
- device = torch.device(f'cuda:{args.gpu}')
-
- cfg = get_dataset_config(args.dataset)
- task = cfg['task']
- num_classes = cfg['num_classes']
-
- # For TransUNet: binary uses 2 classes (background + foreground) with CE
- # but we keep 1-class sigmoid for consistency with UNet
- # Actually TransUNet originally uses softmax with n_classes>=2
- # We adapt: binary tasks use 1 output + sigmoid, multi-class use n outputs + softmax
-
- # Datasets
- train_dataset = SegmentationDataset(args.dataset, split='train',
- resolution=args.resolution, seed=args.seed)
- val_dataset = SegmentationDataset(args.dataset, split='val',
- resolution=args.resolution, seed=args.seed)
-
- train_loader = DataLoader(train_dataset, batch_size=args.batch_size,
- shuffle=True, num_workers=args.num_workers,
- pin_memory=True, drop_last=True)
- val_loader = DataLoader(val_dataset, batch_size=args.batch_size,
- shuffle=False, num_workers=args.num_workers,
- pin_memory=True)
-
- # Model: TransUNet R50-ViT-B_16
- vit_config = CONFIGS_ViT_seg[args.vit_name]
-
- # Adjust grid size for input resolution (grid = img_size // 16)
- grid_size = args.resolution // 16
- vit_config.patches.grid = (grid_size, grid_size)
-
- if task == 'binary':
- vit_config.n_classes = 1
- criterion = BCEDiceLoss()
- else:
- vit_config.n_classes = num_classes
- criterion = CEDiceLoss(num_classes=num_classes)
-
- model = ViT_seg(vit_config, img_size=args.resolution,
- num_classes=vit_config.n_classes, zero_head=True)
-
- # Load pretrained weights
- if os.path.exists(args.pretrained_path):
- pretrained_weights = np.load(args.pretrained_path)
- model.load_from(pretrained_weights)
- print(f"Loaded pretrained weights from {args.pretrained_path}")
- else:
- print(f"WARNING: Pretrained weights not found at {args.pretrained_path}")
-
- model = model.to(device)
-
- # Optimizer: SGD with Polynomial LR decay
- optimizer = torch.optim.SGD(model.parameters(), lr=args.lr,
- momentum=args.momentum,
- weight_decay=args.weight_decay)
-
- # Output directory
- save_dir = os.path.join(args.save_dir, f'transunet_{args.dataset}')
- os.makedirs(save_dir, exist_ok=True)
-
- best_dice = 0.0
- print(f"\n{'='*60}")
- print(f"TransUNet Training: {cfg['name']}")
- print(f"Task: {task}, Classes: {num_classes}")
- print(f"Train: {len(train_dataset)}, Val: {len(val_dataset)}")
- print(f"Epochs: {args.epochs}, LR: {args.lr}, BS: {args.batch_size}")
- print(f"{'='*60}\n")
-
- for epoch in range(1, args.epochs + 1):
- t0 = time.time()
-
- # Polynomial LR decay
- current_lr = poly_lr(optimizer, args.lr, epoch - 1, args.epochs,
- power=args.poly_power)
-
- train_loss, train_dice, train_iou = train_one_epoch(
- model, train_loader, criterion, optimizer, device, task)
- val_loss, val_dice, val_iou = validate(
- model, val_loader, criterion, device, task, num_classes)
-
- elapsed = time.time() - t0
-
- # Save best
- if val_dice > best_dice:
- best_dice = val_dice
- torch.save({
- 'epoch': epoch,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'best_dice': best_dice,
- 'args': vars(args),
- }, os.path.join(save_dir, 'best.pth'))
-
- # Print progress
- if epoch % 10 == 0 or epoch == 1:
- print(f"Epoch {epoch:>3d}/{args.epochs} | "
- f"Train Loss: {train_loss:.4f} Dice: {train_dice:.4f} | "
- f"Val Loss: {val_loss:.4f} Dice: {val_dice:.4f} IoU: {val_iou:.4f} | "
- f"Best: {best_dice:.4f} | LR: {current_lr:.2e} | {elapsed:.1f}s")
-
- # Save last
- torch.save({
- 'epoch': args.epochs,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'best_dice': best_dice,
- 'args': vars(args),
- }, os.path.join(save_dir, 'last.pth'))
-
- print(f"\nTraining complete. Best val Dice: {best_dice:.4f}")
- print(f"Checkpoints saved to: {save_dir}")
-
-
-if __name__ == '__main__':
- main()
diff --git a/code/segmentation/train_unet.py b/code/segmentation/train_unet.py
deleted file mode 100644
index 437b132d81a504d8cfe99b14cc05c8281082fb31..0000000000000000000000000000000000000000
--- a/code/segmentation/train_unet.py
+++ /dev/null
@@ -1,194 +0,0 @@
-# UNet Training Script for Medical Image Segmentation
-# Uses segmentation_models_pytorch with ResNet34 (ImageNet pretrained)
-
-import os
-import argparse
-import time
-import torch
-import torch.nn as nn
-from torch.utils.data import DataLoader
-import segmentation_models_pytorch as smp
-
-from datasets import SegmentationDataset, get_dataset_config
-from losses import BCEDiceLoss, CEDiceLoss
-from metrics import compute_dice_iou_binary, compute_dice_iou_multiclass, MetricTracker
-
-
-def parse_args():
- parser = argparse.ArgumentParser(description='UNet Medical Segmentation')
- parser.add_argument('--dataset', type=str, required=True,
- choices=['cvc', 'kvasir', 'refuge2'])
- parser.add_argument('--resolution', type=int, default=224)
- parser.add_argument('--batch_size', type=int, default=16)
- parser.add_argument('--epochs', type=int, default=200)
- parser.add_argument('--lr', type=float, default=1e-4)
- parser.add_argument('--weight_decay', type=float, default=1e-4)
- parser.add_argument('--num_workers', type=int, default=4)
- parser.add_argument('--gpu', type=int, default=0)
- parser.add_argument('--seed', type=int, default=42)
- parser.add_argument('--save_dir', type=str, default='checkpoints')
- return parser.parse_args()
-
-
-def train_one_epoch(model, loader, criterion, optimizer, device, task):
- model.train()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
-
- logits = model(images)
-
- if task == 'binary':
- loss = criterion(logits, masks)
- dice, iou = compute_dice_iou_binary(logits, masks)
- else:
- loss = criterion(logits, masks)
- dice, iou, _, _ = compute_dice_iou_multiclass(logits, masks,
- num_classes=logits.shape[1])
-
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
-
- total_loss += loss.item() * images.size(0)
- tracker.update(dice, iou, images.size(0))
-
- n = len(loader.dataset)
- return total_loss / n, tracker.avg_dice, tracker.avg_iou
-
-
-@torch.no_grad()
-def validate(model, loader, criterion, device, task, num_classes=1):
- model.eval()
- tracker = MetricTracker()
- total_loss = 0.0
-
- for images, masks in loader:
- images = images.to(device)
- masks = masks.to(device)
-
- logits = model(images)
-
- if task == 'binary':
- loss = criterion(logits, masks)
- dice, iou = compute_dice_iou_binary(logits, masks)
- else:
- loss = criterion(logits, masks)
- dice, iou, _, _ = compute_dice_iou_multiclass(logits, masks,
- num_classes=num_classes)
-
- total_loss += loss.item() * images.size(0)
- tracker.update(dice, iou, images.size(0))
-
- n = len(loader.dataset)
- return total_loss / n, tracker.avg_dice, tracker.avg_iou
-
-
-def main():
- args = parse_args()
- torch.manual_seed(args.seed)
- device = torch.device(f'cuda:{args.gpu}')
-
- cfg = get_dataset_config(args.dataset)
- task = cfg['task']
- num_classes = cfg['num_classes']
-
- # Datasets
- train_dataset = SegmentationDataset(args.dataset, split='train',
- resolution=args.resolution, seed=args.seed)
- val_dataset = SegmentationDataset(args.dataset, split='val',
- resolution=args.resolution, seed=args.seed)
-
- train_loader = DataLoader(train_dataset, batch_size=args.batch_size,
- shuffle=True, num_workers=args.num_workers,
- pin_memory=True, drop_last=True)
- val_loader = DataLoader(val_dataset, batch_size=args.batch_size,
- shuffle=False, num_workers=args.num_workers,
- pin_memory=True)
-
- # Model
- if task == 'binary':
- model = smp.Unet(
- encoder_name='resnet34',
- encoder_weights='imagenet',
- in_channels=3,
- classes=1,
- )
- criterion = BCEDiceLoss()
- else:
- model = smp.Unet(
- encoder_name='resnet34',
- encoder_weights='imagenet',
- in_channels=3,
- classes=num_classes,
- )
- criterion = CEDiceLoss(num_classes=num_classes)
-
- model = model.to(device)
-
- # Optimizer & Scheduler
- optimizer = torch.optim.AdamW(model.parameters(), lr=args.lr,
- weight_decay=args.weight_decay)
- scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(optimizer,
- T_max=args.epochs)
-
- # Output directory
- save_dir = os.path.join(args.save_dir, f'unet_{args.dataset}')
- os.makedirs(save_dir, exist_ok=True)
-
- best_dice = 0.0
- print(f"\n{'='*60}")
- print(f"UNet Training: {cfg['name']}")
- print(f"Task: {task}, Classes: {num_classes}")
- print(f"Train: {len(train_dataset)}, Val: {len(val_dataset)}")
- print(f"Epochs: {args.epochs}, LR: {args.lr}, BS: {args.batch_size}")
- print(f"{'='*60}\n")
-
- for epoch in range(1, args.epochs + 1):
- t0 = time.time()
-
- train_loss, train_dice, train_iou = train_one_epoch(
- model, train_loader, criterion, optimizer, device, task)
- val_loss, val_dice, val_iou = validate(
- model, val_loader, criterion, device, task, num_classes)
-
- scheduler.step()
- elapsed = time.time() - t0
-
- # Save best
- if val_dice > best_dice:
- best_dice = val_dice
- torch.save({
- 'epoch': epoch,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'best_dice': best_dice,
- 'args': vars(args),
- }, os.path.join(save_dir, 'best.pth'))
-
- # Print progress
- if epoch % 10 == 0 or epoch == 1:
- lr = optimizer.param_groups[0]['lr']
- print(f"Epoch {epoch:>3d}/{args.epochs} | "
- f"Train Loss: {train_loss:.4f} Dice: {train_dice:.4f} | "
- f"Val Loss: {val_loss:.4f} Dice: {val_dice:.4f} IoU: {val_iou:.4f} | "
- f"Best: {best_dice:.4f} | LR: {lr:.2e} | {elapsed:.1f}s")
-
- # Save last
- torch.save({
- 'epoch': args.epochs,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'best_dice': best_dice,
- 'args': vars(args),
- }, os.path.join(save_dir, 'last.pth'))
-
- print(f"\nTraining complete. Best val Dice: {best_dice:.4f}")
- print(f"Checkpoints saved to: {save_dir}")
-
-
-if __name__ == '__main__':
- main()
diff --git a/code/src/__init__.py b/code/src/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/callbacks/__init__.py b/code/src/callbacks/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/callbacks/grad.py b/code/src/callbacks/grad.py
deleted file mode 100644
index f9155b68152ac8b4ce2f30e31501ec892175b167..0000000000000000000000000000000000000000
--- a/code/src/callbacks/grad.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import torch
-import lightning.pytorch as pl
-from lightning.pytorch.utilities import grad_norm
-from torch.optim import Optimizer
-
-class GradientMonitor(pl.Callback):
- """Logs the gradient norm"""
-
- def __init__(self, norm_type: int = 2):
- norm_type = float(norm_type)
- if norm_type <= 0:
- raise ValueError(f"`norm_type` must be a positive number or 'inf' (infinity norm). Got {norm_type}")
- self.norm_type = norm_type
-
- def on_before_optimizer_step(
- self, trainer: "pl.Trainer",
- pl_module: "pl.LightningModule",
- optimizer: Optimizer
- ) -> None:
- norms = grad_norm(pl_module, norm_type=self.norm_type)
- max_grad = torch.tensor([v for k, v in norms.items() if k != f"grad_{self.norm_type}_norm_total"]).max()
- pl_module.log_dict({'train/grad/max': max_grad, 'train/grad/total': norms[f"grad_{self.norm_type}_norm_total"]})
\ No newline at end of file
diff --git a/code/src/callbacks/medical_visualization.py b/code/src/callbacks/medical_visualization.py
deleted file mode 100644
index e18cb7d86bd47fe25d694d87d81e1555cdbc6c5c..0000000000000000000000000000000000000000
--- a/code/src/callbacks/medical_visualization.py
+++ /dev/null
@@ -1,190 +0,0 @@
-# Medical Visualization Callback
-# Saves mask + generated image grids during training for visual quality monitoring
-
-import os
-import torch
-import numpy as np
-from PIL import Image, ImageDraw, ImageFont
-import lightning.pytorch as pl
-from lightning.pytorch import Callback
-from lightning_utilities.core.rank_zero import rank_zero_info
-
-
-class MedicalVisualizationCallback(Callback):
- """
- Periodically generates and saves visualization grids during training.
-
- Each grid shows: [Mask | Generated (CFG) | Generated (No-CFG)]
- for a fixed set of masks, allowing visual comparison across training.
- """
-
- def __init__(
- self,
- every_n_steps: int = 5000,
- num_samples: int = 8,
- num_sampling_steps: int = 50,
- cfg_scale: float = 2.0,
- save_dir: str = "training_vis",
- t_eps: float = 0.05,
- ):
- super().__init__()
- self.every_n_steps = every_n_steps
- self.num_samples = num_samples
- self.num_sampling_steps = num_sampling_steps
- self.cfg_scale = cfg_scale
- self.save_dir = save_dir
- self.t_eps = t_eps
- self._fixed_noise = None
- self._fixed_masks = None
-
- def _shift_respace_fn(self, t, shift=1.0):
- return t / (t + (1 - t) * shift)
-
- @torch.no_grad()
- def _sample(self, model, noise, mask, cfg_scale=None):
- """Euler sampling with optional CFG, directly passing mask to model."""
- bs = noise.shape[0]
- timesteps = torch.linspace(0.0, 1 - 1.0 / self.num_sampling_steps, self.num_sampling_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- timesteps = self._shift_respace_fn(timesteps, 1.0).to(noise.device)
- y = torch.zeros(bs, dtype=torch.long, device=noise.device)
- x = noise
-
- for i in range(len(timesteps) - 1):
- t_cur = timesteps[i]
- t_next = timesteps[i + 1]
- dt = t_next - t_cur
- t_batch = t_cur.repeat(bs)
-
- if cfg_scale is not None and cfg_scale > 1.0:
- # CFG: concat unconditional + conditional
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_batch.repeat(2)
- cfg_y = torch.cat([y, y], dim=0)
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- pred = model(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- pred_v = (pred - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
- v_uncond, v_cond = pred_v.chunk(2)
- v = v_uncond + cfg_scale * (v_cond - v_uncond)
- else:
- # No CFG
- pred = model(x, t_batch, y, mask=mask)
- v = (pred - x) / (1.0 - t_batch.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- x = x + v * dt
-
- return x.clamp(-1, 1) * 0.5 + 0.5 # [-1,1] -> [0,1]
-
- def _mask_to_rgb(self, mask_tensor):
- """Convert single-channel mask [1, H, W] to RGB [H, W, 3] uint8."""
- m = mask_tensor[0].cpu().numpy()
- unique_vals = np.unique(m)
-
- if len(unique_vals) <= 3:
- # Multi-class: colorize (e.g., REFUGE2: 0=black, ~0.5=blue, ~1.0=red)
- rgb = np.zeros((*m.shape, 3), dtype=np.uint8)
- rgb[m < 0.1] = [0, 0, 0] # background
- rgb[(m >= 0.1) & (m < 0.7)] = [0, 120, 255] # class 1 (blue)
- rgb[m >= 0.7] = [255, 60, 60] # class 2 (red)
- else:
- # Binary or continuous: grayscale
- m_uint8 = (m * 255).astype(np.uint8)
- rgb = np.stack([m_uint8] * 3, axis=-1)
-
- return rgb
-
- def _make_grid(self, masks, gen_cfg, gen_nocfg, step):
- """Create visualization grid: Mask | CFG | No-CFG."""
- n = masks.shape[0]
- h, w = masks.shape[2], masks.shape[3]
- pad = 4
- col_labels = ["Mask", f"CFG={self.cfg_scale}", "No-CFG"]
- n_cols = len(col_labels)
- header_h = 30
-
- canvas_w = n_cols * w + (n_cols + 1) * pad
- canvas_h = n * h + (n + 1) * pad + header_h
- canvas = np.ones((canvas_h, canvas_w, 3), dtype=np.uint8) * 40
-
- # Header
- try:
- font = ImageFont.truetype("/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf", 16)
- except (IOError, OSError):
- font = ImageFont.load_default()
-
- img_pil = Image.fromarray(canvas)
- draw = ImageDraw.Draw(img_pil)
- for col_idx, label in enumerate(col_labels):
- x_pos = pad + col_idx * (w + pad) + w // 2
- draw.text((x_pos, 6), label, fill=(255, 255, 255), font=font, anchor="mt")
- # Step info
- draw.text((canvas_w - 10, 6), f"step={step}", fill=(180, 180, 180), font=font, anchor="rt")
- canvas = np.array(img_pil)
-
- for row in range(n):
- y_pos = header_h + pad + row * (h + pad)
-
- # Mask column
- mask_rgb = self._mask_to_rgb(masks[row])
- x_pos = pad
- canvas[y_pos:y_pos + h, x_pos:x_pos + w] = mask_rgb
-
- # CFG generated
- img_cfg = (gen_cfg[row].permute(1, 2, 0).cpu().numpy() * 255).clip(0, 255).astype(np.uint8)
- x_pos = pad + (w + pad)
- canvas[y_pos:y_pos + h, x_pos:x_pos + w] = img_cfg
-
- # No-CFG generated
- img_nocfg = (gen_nocfg[row].permute(1, 2, 0).cpu().numpy() * 255).clip(0, 255).astype(np.uint8)
- x_pos = pad + 2 * (w + pad)
- canvas[y_pos:y_pos + h, x_pos:x_pos + w] = img_nocfg
-
- return canvas
-
- def on_train_batch_end(self, trainer, pl_module, outputs, batch, batch_idx):
- step = trainer.global_step
- if step == 0 or step % self.every_n_steps != 0:
- return
- if not trainer.is_global_zero:
- return
-
- # Initialize fixed noise and masks from first validation batch
- if self._fixed_masks is None:
- eval_dl = trainer.datamodule.val_dataloader()
- for eval_batch in eval_dl:
- xT, y, metadata = eval_batch
- mask = metadata.get('mask', None) if isinstance(metadata, dict) else None
- if mask is None:
- rank_zero_info("[MedicalVis] No mask in eval batch, skipping visualization")
- return
- n = min(self.num_samples, mask.shape[0])
- self._fixed_masks = mask[:n].to(pl_module.device)
- self._fixed_noise = torch.randn(
- n, 3, pl_module.denoiser.input_size, pl_module.denoiser.input_size,
- device=pl_module.device, generator=torch.Generator(device=pl_module.device).manual_seed(42)
- )
- break
-
- if self._fixed_masks is None:
- return
-
- # Generate samples using EMA model
- model = pl_module.ema_denoiser
- was_training = model.training
- model.eval()
-
- noise = self._fixed_noise
- masks = self._fixed_masks
-
- gen_cfg = self._sample(model, noise, masks, cfg_scale=self.cfg_scale)
- gen_nocfg = self._sample(model, noise, masks, cfg_scale=None)
-
- if was_training:
- model.train()
-
- # Save grid
- save_path = os.path.join(trainer.default_root_dir, self.save_dir)
- os.makedirs(save_path, exist_ok=True)
- grid = self._make_grid(masks, gen_cfg, gen_nocfg, step)
- Image.fromarray(grid).save(os.path.join(save_path, f"vis_step_{step:06d}.png"))
- rank_zero_info(f"[MedicalVis] Saved visualization at step {step}")
diff --git a/code/src/callbacks/model_checkpoint.py b/code/src/callbacks/model_checkpoint.py
deleted file mode 100644
index ace6946e90c616913b498e5ede1663ad883bf1e7..0000000000000000000000000000000000000000
--- a/code/src/callbacks/model_checkpoint.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import os.path
-from typing import Optional, Dict, Any
-
-import lightning.pytorch as pl
-from lightning.pytorch.callbacks.model_checkpoint import ModelCheckpoint
-
-
-class CheckpointHook(ModelCheckpoint):
- """Save checkpoint with only the incremental part of the model"""
- def setup(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule", stage: str) -> None:
- self.dirpath = trainer.default_root_dir
- self.exception_ckpt_path = os.path.join(self.dirpath, "on_exception.pt")
- pl_module.strict_loading = False
-
- def on_save_checkpoint(
- self, trainer: "pl.Trainer",
- pl_module: "pl.LightningModule",
- checkpoint: Dict[str, Any]
- ) -> None:
- del checkpoint["callbacks"]
-
- # def on_exception(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule", exception: BaseException) -> None:
- # if not "debug" in self.exception_ckpt_path:
- # trainer.save_checkpoint(self.exception_ckpt_path)
\ No newline at end of file
diff --git a/code/src/callbacks/save_images.py b/code/src/callbacks/save_images.py
deleted file mode 100644
index 79f4f4e5d9e864dfd97f5a0553b811bfd115aa86..0000000000000000000000000000000000000000
--- a/code/src/callbacks/save_images.py
+++ /dev/null
@@ -1,102 +0,0 @@
-import lightning.pytorch as pl
-from lightning.pytorch import Callback
-
-
-import os.path
-import numpy
-from typing import Sequence, Any, Dict
-from concurrent.futures import ThreadPoolExecutor
-
-from lightning.pytorch.utilities.types import STEP_OUTPUT
-from lightning_utilities.core.rank_zero import rank_zero_info
-
-
-
-class SaveImagesHook(Callback):
- def __init__(self, save_dir="val", save_compressed=False):
- self.save_dir = save_dir
- self.save_compressed = save_compressed
-
- def save_start(self, target_dir):
- self.samples = []
- self.target_dir = target_dir
- self.executor_pool = ThreadPoolExecutor(max_workers=8)
- if not os.path.exists(self.target_dir):
- os.makedirs(self.target_dir, exist_ok=True)
- # else:
- # if os.listdir(target_dir) and "debug" not in str(target_dir):
- # raise FileExistsError(f'{self.target_dir} already exists and not empty!')
- rank_zero_info(f"Save images to {self.target_dir}")
- self._saved_num = 0
-
- def save_image(self, trainer, pl_module, images, metadatas,):
- images = images.permute(0, 2, 3, 1).cpu().numpy()
- for sample, metadata in zip(images, metadatas):
- save_fn = metadata.pop("save_fn", None)
- self.executor_pool.submit(save_fn, sample, metadata, self.target_dir)
-
- def process_batch(
- self,
- trainer: "pl.Trainer",
- pl_module: "pl.LightningModule",
- samples: STEP_OUTPUT,
- batch: Any,
- ) -> None:
- xT, y, metadata = batch
- b, c, h, w = samples.shape
- if not self.save_compressed or self._saved_num < 10:
- self._saved_num += b
- self.save_image(trainer, pl_module, samples, metadata)
-
- all_samples = pl_module.all_gather(samples).view(-1, c, h, w)
- if trainer.is_global_zero:
- all_samples = all_samples.permute(0, 2, 3, 1).cpu().numpy()
- self.samples.append(all_samples)
-
- def save_end(self):
- if self.save_compressed and len(self.samples) > 0:
- samples = numpy.concatenate(self.samples)
- numpy.savez(f'{self.target_dir}/output.npz', arr_0=samples)
- self.executor_pool.shutdown(wait=True)
- self.target_dir = None
- self.executor_pool = None
- self.samples = []
-
- def on_validation_epoch_start(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule") -> None:
- target_dir = os.path.join(trainer.default_root_dir, self.save_dir, f"iter_{trainer.global_step}")
- self.save_start(target_dir)
-
- def on_validation_batch_end(
- self,
- trainer: "pl.Trainer",
- pl_module: "pl.LightningModule",
- outputs: STEP_OUTPUT,
- batch: Any,
- batch_idx: int,
- dataloader_idx: int = 0,
- ) -> None:
- return self.process_batch(trainer, pl_module, outputs, batch)
-
- def on_validation_epoch_end(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule") -> None:
- self.save_end()
-
- def on_predict_epoch_start(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule") -> None:
- target_dir = os.path.join(trainer.default_root_dir, self.save_dir, "predict")
- self.save_start(target_dir)
-
- def on_predict_batch_end(
- self,
- trainer: "pl.Trainer",
- pl_module: "pl.LightningModule",
- samples: Any,
- batch: Any,
- batch_idx: int,
- dataloader_idx: int = 0,
- ) -> None:
- return self.process_batch(trainer, pl_module, samples, batch)
-
- def on_predict_epoch_end(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule") -> None:
- self.save_end()
-
- def state_dict(self) -> Dict[str, Any]:
- return dict()
\ No newline at end of file
diff --git a/code/src/callbacks/simple_ema.py b/code/src/callbacks/simple_ema.py
deleted file mode 100644
index a9d6c3ad6d3f66a3a87ebb5d297814a76fc4a991..0000000000000000000000000000000000000000
--- a/code/src/callbacks/simple_ema.py
+++ /dev/null
@@ -1,59 +0,0 @@
-from typing import Any, Dict
-
-import torch
-import torch.nn as nn
-import threading
-import lightning.pytorch as pl
-from lightning.pytorch import Callback
-from lightning.pytorch.utilities.types import STEP_OUTPUT
-
-from src.utils.copy import swap_tensors
-
-class SimpleEMA(Callback):
- def __init__(self,
- decay: float = 0.9999,
- every_n_steps: int = 1,
- ):
- super().__init__()
- self.decay = decay
- self.every_n_steps = every_n_steps
- self._stream = torch.cuda.Stream()
- self.previous_step = 0
-
- def setup_models(self, net: nn.Module, ema_net: nn.Module):
- self.net_params = list(net.parameters())
- self.ema_params = list(ema_net.parameters())
-
- def ema_step(self):
- @torch.no_grad()
- def ema_update(ema_model_tuple, current_model_tuple, decay):
- torch._foreach_mul_(ema_model_tuple, decay)
- torch._foreach_add_(
- ema_model_tuple, current_model_tuple, alpha=(1.0 - decay),
- )
-
- if self._stream is not None:
- self._stream.wait_stream(torch.cuda.current_stream())
- with torch.cuda.stream(self._stream):
- ema_update(self.ema_params, self.net_params, self.decay)
- assert self.ema_params[0].dtype == torch.float32
-
- def on_train_batch_end(
- self, trainer: "pl.Trainer", pl_module: "pl.LightningModule", outputs: STEP_OUTPUT, batch: Any, batch_idx: int
- ) -> None:
- if trainer.global_step == self.previous_step:
- return
- self.previous_step = trainer.global_step
- if trainer.global_step % self.every_n_steps == 0:
- self.ema_step()
-
-
- def state_dict(self) -> Dict[str, Any]:
- return {
- "decay": self.decay,
- "every_n_steps": self.every_n_steps,
- }
-
- def load_state_dict(self, state_dict: Dict[str, Any]) -> None:
- self.decay = state_dict["decay"]
- self.every_n_steps = state_dict["every_n_steps"]
diff --git a/code/src/data/__init__.py b/code/src/data/__init__.py
deleted file mode 100644
index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000
--- a/code/src/data/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/code/src/data/dataset/__init__.py b/code/src/data/dataset/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/data/dataset/blip3o_dataset.py b/code/src/data/dataset/blip3o_dataset.py
deleted file mode 100644
index ebbc0d6c4c187ce231fc585c8aeb5e4e12999c99..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/blip3o_dataset.py
+++ /dev/null
@@ -1,486 +0,0 @@
-from typing import List, Dict, Iterable, Optional
-
-import random
-import os
-import glob
-import torch
-import webdataset as wds
-import numpy
-import io
-from PIL import Image
-import pyarrow.parquet as pq
-import pyarrow.compute as pc
-from torch.utils.data import IterableDataset
-from torchvision.transforms import Normalize
-from torchvision.transforms.functional import to_tensor
-import copy
-import functools
-
-def resize(pil_image, image_size=256):
- while min(*pil_image.size) >= 2 * image_size:
- pil_image = pil_image.resize(
- tuple(x // 2 for x in pil_image.size), resample=Image.BOX
- )
- scale = image_size / min(*pil_image.size)
- pil_image = pil_image.resize(
- tuple(round(x * scale) for x in pil_image.size), resample=Image.BICUBIC
- )
- return pil_image
-
-def center_crop_fn(image, height, width):
- crop_x = (image.width - width) // 2
- crop_y = (image.height - height) // 2
- return image.crop((crop_x, crop_y, crop_x + width, crop_y + height))
-
-def random_crop_fn(image, height, width):
- crop_x = random.randint(0, image.width - width)
- crop_y = random.randint(0, image.height - height)
- return image.crop((crop_x, crop_y, crop_x + width, crop_y + height))
-
-def find_nearest_aspect_ratio_bins(aspect_ratio, aspect_ratio_bins):
- min_distance = 1000000
- min_index = 0
- for i in range(len(aspect_ratio_bins)):
- dis = abs(aspect_ratio - aspect_ratio_bins[i])
- if dis < min_distance:
- min_distance = dis
- min_index = i
- return min_index
-
-class PackedParquetDataset(IterableDataset):
- def __init__(self,
- data_sources: dict,
- caption_weight: dict,
- resolution=256,
- random_crop=False,
- ):
- self.data_sources = data_sources
- self.resolution = resolution
- self.normalize = Normalize(
- mean=[0.5, 0.5, 0.5],
- std=[0.5, 0.5, 0.5]
- )
- if random_crop:
- self.crop_fn = random_crop_fn
- else:
- self.crop_fn = center_crop_fn
-
- self.parquet_files = []
-
- for root, repeat in self.data_sources.items():
- parquet_files = [os.path.join(root, f) for f in os.listdir(root) if f.endswith('.parquet')]
- parquet_files = parquet_files * repeat
- self.parquet_files.extend(parquet_files)
- print("parquet files: ", len(self.parquet_files))
- self.caption_weight = caption_weight
- self.prefix_template = [
- "A photo of ",
- "A picture of ",
- "A visual representation of ",
- "A image of ",
- "A scene of ",
- "A view of ",
- "A depiction of ",
- ]
-
-
- def __iter__(self):
- # when seed everything. each work, no matter local or global will have distinct seed!
- worker_info = torch.utils.data.get_worker_info()
- if worker_info is None:
- iter_start = 0
- iter_end = len(self.parquet_files)
- else:
- per_worker = int(len(self.parquet_files) / worker_info.num_workers)
- worker_id = worker_info.id
- iter_start = worker_id * per_worker
- iter_end = iter_start + per_worker if worker_id < worker_info.num_workers - 1 else len(self.parquet_files)
- print("iter_start: ", iter_start, "iter_end: ", iter_end, "worker_id: ", worker_info.id, "num_workers: ", worker_info.num_workers, "len: ", len(self.parquet_files))
-
-
- while True:
- index = random.choice(range(iter_start, iter_end))
- file = self.parquet_files[index]
- table = pq.read_table(file)
-
- # random order
- sampled_indices = numpy.random.choice(table.num_rows, size=table.num_rows, replace=False)
- sampled_indices = sampled_indices.tolist()
-
- for i in sampled_indices:
- metadata = dict()
- for cname in table.column_names:
- metadata[cname] = table[cname][i].as_py()
- # select a caption
- caption_key = numpy.random.choice(list(self.caption_weight.keys()), p=list(self.caption_weight.values()))
- if caption_key not in metadata:
- continue
- caption = metadata[caption_key]
-
- # prefix template for short caption
- if random.random() < 0.5 and 'long' not in caption_key:
- caption = random.choice(self.prefix_template) + caption
- image_bytes = metadata.pop('image')
-
- try:
- pil_image = Image.open(io.BytesIO(image_bytes))
- pil_image = pil_image.convert('RGB')
- height, width = pil_image.size
- if min(height, width) < self.resolution:
- continue
- pil_image = resize(pil_image, self.resolution)
- pil_image = self.crop_fn(pil_image, self.resolution, self.resolution)
- raw_image = to_tensor(pil_image)
- normalized_image = self.normalize(raw_image)
- metadata = {
- "raw_image": raw_image,
- "prompt": caption,
- }
- data = (normalized_image, caption, metadata)
- yield copy.deepcopy(data)
- except:
- print("not ok")
-
-
-class WebDatasetPackedDataset(IterableDataset):
- """
- A highly efficient WebDataset loader for large-scale pre-training.
- It streams data from .tar files and is optimized for multi-worker data loading.
-
- This dataset yields tuples of: (normalized_image_tensor, caption_str, metadata_dict)
-
- Args:
- urls (Iterable[str]): A list of URLs or glob patterns pointing to .tar files.
- resolution (int): The target short-side resolution for image resizing.
- random_crop (bool): If True, applies random cropping; otherwise, center cropping.
- shuffle_buffer (int): The size of the buffer for shuffling samples. A larger buffer
- provides better randomness but uses more memory. 0 to disable.
- sample_shuffle (bool): If True, enables sample shuffling within the buffer.
- repeat (bool): If True, the dataset will loop indefinitely. Set to True for training.
- """
- def __init__(
- self,
- urls: Iterable[str],
- resolution: int = 256,
- random_crop: bool = False,
- shuffle_buffer: int = 1000,
- sample_shuffle: bool = True,
- repeat: bool = True,
- ):
- super().__init__()
- # Ensure urls is a list, even if a single string is passed
- if isinstance(urls, str):
- urls = [urls]
- print("INFO: Resolving dataset URLs and glob patterns...")
-
- tar_files = []
- for url in urls:
- tar_files.extend(glob.glob(os.path.join(url, "**/*.tar"), recursive=True))
- tar_files.extend(glob.glob(os.path.join(url, "**/*.tar.gz"), recursive=True))
- num_tars = len(tar_files)
- if num_tars == 0:
- raise ValueError(f"No tar files found. Please check your URLs/patterns: {urls}")
-
- print(f"INFO: Found {num_tars} tar files to stream from.")
-
- self.urls = tar_files
-
- self.resolution = resolution
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
- self.crop_fn = random_crop_fn if random_crop else center_crop_fn
- self.shuffle_buffer = shuffle_buffer
- self.sample_shuffle = sample_shuffle
- self.repeat = repeat
-
- # A simple text augmentation to add variety to short captions
- self.prefix_template = [
- "A photo of ", "A picture of ", "A visual representation of ",
- "A image of ", "A scene of ", "A view of ", "A depiction of ",
- ]
-
- def _extract_image_from_sample(self, sample: Dict) -> Optional[Image.Image]:
- """Extracts the PIL image from a sample dict using the 'jpg' key."""
- if 'jpg' in sample:
- img_key = 'jpg'
- elif 'output_image' in sample:
- img_key = 'output_image'
- else:
- return None
-
- image_data = sample[img_key]
- if isinstance(image_data, Image.Image):
- return image_data
- if isinstance(image_data, (bytes, bytearray)):
- try:
- return Image.open(io.BytesIO(image_data))
- except Exception:
- return None # Return None if bytes are not a valid image
- return None
-
- def _extract_caption_from_sample(self, sample: Dict) -> str:
- """Extracts the caption from a sample dict using the 'txt' key."""
- if 'txt' in sample:
- text_key = 'txt'
- elif "input_prompt" in sample:
- text_key = 'input_prompt'
- else:
- return "" # Return an empty string if caption is missing
-
- caption_data = sample[text_key]
- if isinstance(caption_data, (bytes, bytearray)):
- return caption_data.decode("utf-8", errors="ignore")
- if isinstance(caption_data, str):
- return caption_data
- return str(caption_data)
-
- def _process_pil(self, pil_image: Image.Image):
- """
- Processes a PIL image: converts to RGB, resizes, crops, and normalizes.
- Returns both the normalized tensor and the pre-normalization tensor.
- """
- pil_image = pil_image.convert('RGB')
-
- # Skip images that are smaller than the target resolution
- if min(*pil_image.size) < self.resolution:
- return None
-
- # Resize, crop, and convert to tensor
- pil_image = resize(pil_image, self.resolution)
- pil_image = self.crop_fn(pil_image, self.resolution, self.resolution)
- raw_image_tensor = to_tensor(pil_image)
- normalized_image_tensor = self.normalize(raw_image_tensor)
-
- return normalized_image_tensor, raw_image_tensor
-
- def _make_pipeline(self, worker_id: int, num_workers: int):
- """
- Creates the data loading pipeline using webdataset.
- This pipeline is optimized for performance in a multi-worker setup.
- """
- # `resampled=self.repeat` is a robust way to handle repeating datasets
- # and shuffling the order of shards for each epoch.
- handler = wds.warn_and_continue
- dataset = wds.DataPipeline(
- wds.SimpleShardList(self.urls),
- # at this point we have an iterator over all the shards
- # this shuffles the shards
- wds.shuffle(100),
- # add wds.split_by_node here if you are using multiple nodes
- wds.split_by_worker,
- # at this point, we have an iterator over the shards assigned to each worker
- wds.tarfile_to_samples(),
- # this shuffles the samples in memory
- wds.shuffle(self.shuffle_buffer),
- # this decodes the images and json
- wds.decode("pil", handler=handler),
- )
-
- return dataset
-
- def __iter__(self):
- """The iterator method that yields data samples."""
- worker_info = torch.utils.data.get_worker_info()
- if worker_info is None:
- # Single-process data loading
- worker_id, num_workers = 0, 1
- else:
- # Multi-process data loading
- worker_id = worker_info.id
- num_workers = worker_info.num_workers
-
- # Create a unique pipeline for each worker
- pipeline = self._make_pipeline(worker_id, num_workers)
-
- for sample in pipeline:
- try:
- pil_image = self._extract_image_from_sample(sample)
- if pil_image is None:
- print("skip image")
- continue # Skip if sample has no valid image
-
- processed_data = self._process_pil(pil_image)
- if processed_data is None:
- continue # Skip if image processing fails (e.g., too small)
-
- img_tensor, raw_image = processed_data
- caption = self._extract_caption_from_sample(sample)
-
- # Optional: Add a random prefix to short captions for augmentation
- if random.random() < 0.5 and len(caption.split()) < 30:
- caption = random.choice(self.prefix_template) + caption
-
- metadata = {
- "raw_image": raw_image, # Tensor before normalization
- "prompt": caption,
- }
- yield (img_tensor, caption, metadata)
-
- except GeneratorExit:
- # This exception is raised when the consumer of the iterator stops.
- raise
- except Exception:
- # Catch-all for any other errors in a sample to make the stream robust.
- # In a real-world scenario, you might want to log this error.
- # e.g., print(f"Warning: Skipping a bad sample due to {e}")
- print("fail")
- continue
-
-class WebDatasetPackedDataset_gpt(IterableDataset):
- """
- Stream webdataset (.tar/.gz/...) files using webdataset library.
- Yields tuples: (normalized_image_tensor, caption_str, metadata_dict)
- Arguments:
- - urls: list[str] or str (glob, tar path, or list)
- - caption_weight: dict mapping caption-field-name -> probability. If provided, tries to select field accordingly.
- - resolution: int target short-side before crop (same semantics as original)
- - random_crop: bool
- - shuffle_buffer: int for wds.shuffle (0 means no shuffle)
- - sample_shuffle: bool when True will call .shuffle() in pipeline
- """
- def __init__(
- self,
- urls: Iterable[str],
- caption_weight: Optional[Dict[str, float]] = None,
- resolution: int = 256,
- random_crop: bool = False,
- shuffle_buffer: int = 1000,
- sample_shuffle: bool = True,
- repeat: bool = True,
- ):
- super().__init__()
- if isinstance(urls, str):
- urls = [urls]
- self.urls = list(urls)
- if len(self.urls) == 0:
- raise ValueError("No webdataset urls provided.")
- self.resolution = resolution
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
- self.crop_fn = random_crop_fn if random_crop else center_crop_fn
- self.caption_weight = caption_weight or {}
- self.prefix_template = [
- "A photo of ",
- "A picture of ",
- "A visual representation of ",
- "A image of ",
- "A scene of ",
- "A view of ",
- "A depiction of ",
- ]
- self.shuffle_buffer = shuffle_buffer
- self.sample_shuffle = sample_shuffle
- self.repeat = repeat
-
- def _extract_image_from_sample(self, sample: Dict):
- # webdataset with .decode("pil") will decode images into PIL objects for image keys.
- # We'll prefer already-decoded images; otherwise try bytes->PIL.
- # Look for common keys:
- possible_image_keys = ['jpg', 'png', 'jpeg', 'image', 'img', 'data']
- for k in possible_image_keys:
- if k in sample:
- v = sample[k]
- if isinstance(v, Image.Image):
- return v
- if isinstance(v, (bytes, bytearray)):
- try:
- return Image.open(io.BytesIO(v))
- except Exception:
- pass
- # fallback: find first PIL or bytes among values
- for v in sample.values():
- if isinstance(v, Image.Image):
- return v
- if isinstance(v, (bytes, bytearray)):
- try:
- return Image.open(io.BytesIO(v))
- except Exception:
- continue
- # nothing found
- return None
-
- def _extract_caption_from_sample(self, sample: Dict):
- # If caption_weight provided, try to choose a key according to probabilities.
- if self.caption_weight:
- keys = list(self.caption_weight.keys())
- probs = list(self.caption_weight.values())
- # choose key (might not exist in sample)
- chosen_key = random.choices(keys, weights=probs, k=1)[0]
- if chosen_key in sample:
- val = sample[chosen_key]
- if isinstance(val, (bytes, bytearray)):
- return val.decode("utf-8", errors="ignore")
- return str(val)
- # if chosen not present, fallthrough to generic search
-
- # generic search for text-like fields
- text_keys = ['txt', 'caption', 'text', 'json', 'meta', 'label']
- for k in text_keys:
- if k in sample:
- v = sample[k]
- if isinstance(v, (bytes, bytearray)):
- return v.decode("utf-8", errors="ignore")
- return str(v)
- # fallback: any string/bytes value
- for v in sample.values():
- if isinstance(v, (bytes, bytearray)):
- return v.decode("utf-8", errors="ignore")
- if isinstance(v, str):
- return v
- return "" # empty caption if none found
-
- def _process_pil(self, pil_image: Image.Image):
- pil_image = pil_image.convert('RGB')
- if min(*pil_image.size) < self.resolution:
- return None # skip
- pil_image = resize(pil_image, self.resolution)
- pil_image = self.crop_fn(pil_image, self.resolution, self.resolution)
- raw_image = to_tensor(pil_image)
- normalized_image = self.normalize(raw_image)
- return normalized_image, raw_image
-
- def _make_pipeline(self, worker_id: int, num_workers: int):
- # Build webdataset pipeline; shard by worker_id/num_workers; optional shuffle; decode images to PIL
- urls = self.urls
- ds = wds.WebDataset(urls).decode("pil")
- # shard for multi-worker
- if num_workers > 1:
- ds = ds.shard(worker_id, num_workers)
- if self.sample_shuffle and self.shuffle_buffer > 0:
- ds = ds.shuffle(self.shuffle_buffer)
- if self.repeat:
- ds = ds.repeat() # infinite stream
- return ds
-
- def __iter__(self):
- worker_info = torch.utils.data.get_worker_info()
- if worker_info is None:
- worker_id = 0
- num_workers = 1
- else:
- worker_id = worker_info.id
- num_workers = worker_info.num_workers
-
- ds = self._make_pipeline(worker_id, num_workers)
-
- # iterate forever (or until process killed)
- for sample in ds:
- # sample is a dict-like mapping keys->values
- try:
- pil_image = self._extract_image_from_sample(sample)
- if pil_image is None:
- continue
- caption = self._extract_caption_from_sample(sample)
- # optionally add prefix for short captions (replicates original behavior)
- if random.random() < 0.5 and len(caption.split()) < 30:
- caption = random.choice(self.prefix_template) + caption
-
- img_tensor, raw_image = self._process_pil(pil_image)
- if img_tensor is None:
- continue
-
- metadata = {"raw_image": raw_image, "prompt": caption,}
- yield (img_tensor, caption, metadata)
- except GeneratorExit:
- raise
- except Exception:
- # ignore single-bad-sample errors to keep stream robust
- continue
diff --git a/code/src/data/dataset/blip3o_ori_dataset.py b/code/src/data/dataset/blip3o_ori_dataset.py
deleted file mode 100644
index f406aea228478ce8e5db8470f41c8053d8b2a8ff..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/blip3o_ori_dataset.py
+++ /dev/null
@@ -1,369 +0,0 @@
-import copy
-import glob
-import io
-import json
-import math
-import os
-import random
-import re
-from dataclasses import dataclass
-from typing import Dict, List, Optional, Sequence
-import pyarrow.parquet as pq
-import torch
-import transformers
-import yaml
-from PIL import Image, ImageFile
-from torch.utils.data import Dataset
-from torchvision.transforms import v2
-from torchvision import transforms
-from datasets import load_dataset, concatenate_datasets
-from blip3o.constants import (
- DEFAULT_IM_END_TOKEN,
- DEFAULT_IM_START_TOKEN,
- DEFAULT_IMAGE_TOKEN,
- IGNORE_INDEX,
- IMAGE_TOKEN_INDEX,
-)
-from blip3o.utils import rank0_print
-
-
-ImageFile.LOAD_TRUNCATED_IMAGES = True
-
-
-## target transform for sana
-target_transform = v2.Compose(
- [
- v2.Resize(1024),
- v2.CenterCrop(1024),
- v2.ToImage(),
- v2.ToDtype(torch.float32, scale=True),
- v2.Normalize([0.5], [0.5]),
- ]
- )
-
-
-def expand2square(pil_img, background_color):
- width, height = pil_img.size
- if width == height:
- return pil_img
- elif width > height:
- result = Image.new(pil_img.mode, (width, width), background_color)
- result.paste(pil_img, (0, (width - height) // 2))
- return result
- else:
- result = Image.new(pil_img.mode, (height, height), background_color)
- result.paste(pil_img, ((height - width) // 2, 0))
- return result
-
-
-def preprocess_multimodal(sources: Sequence[str], data_args) -> Dict:
- is_multimodal = data_args.is_multimodal
- if not is_multimodal:
- return sources
-
- for source in sources:
- for sentence in source:
- replace_token = DEFAULT_IMAGE_TOKEN
- # NOTE: only add im_start_end when image generation
- if data_args.mm_use_im_start_end and sentence['from'] == 'gpt':
- replace_token = DEFAULT_IM_START_TOKEN + replace_token + DEFAULT_IM_END_TOKEN
- sentence["value"] = sentence["value"].replace(DEFAULT_IMAGE_TOKEN, replace_token)
-
- # For videoInstruct-100k noisy_data. TODO: Ask Yuanhan to clean the data instead of leaving the noise code here.
- sentence["value"] = sentence["value"].replace("QA_GT_caption_based_noisy", "")
-
- return sources
-
-
-def preprocess_qwen(sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, max_len=2048, system_message: str = "You are a helpful assistant.") -> Dict:
- # roles = {"human": "<|im_start|>user", "gpt": "<|im_start|>assistant"}
- roles = {"human": "user", "gpt": "assistant"}
-
- #tokenizer = copy.deepcopy(tokenizer)
- # When there is actually an image, we add the image tokens as a special token
- if 'image_token_index' not in globals():
- tokenizer.add_tokens([""], special_tokens=True)
- global image_token_index
- image_token_index = tokenizer.convert_tokens_to_ids("")
- # if has_image:
- # tokenizer.add_tokens([""], special_tokens=True)
-
- # image_token_index = tokenizer.convert_tokens_to_ids("")
- im_start, im_end = tokenizer.additional_special_tokens_ids[:2]
- # unmask_tokens = ["<|im_start|>", "<|im_start|>", "\n"]
- unmask_tokens_idx = [198, im_start, im_end]
- # nl_tokens = tokenizer("\n").input_ids
-
- # Reset Qwen chat templates so that it won't include system message every time we apply
- chat_template = "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
- tokenizer.chat_template = chat_template
-
- # _system = tokenizer("system").input_ids + nl_tokens
- # _user = tokenizer("user").input_ids + nl_tokens
- # _assistant = tokenizer("assistant").input_ids + nl_tokens
-
- # Apply prompt templates
- input_ids, targets = [], []
- for i, source in enumerate(sources):
- if roles[source[0]["from"]] != roles["human"]:
- source = source[1:]
-
- input_id, target = [], []
-
- # New version, use apply chat template
- # Build system message for each sentence
- input_id += tokenizer.apply_chat_template([{"role" : "system", "content" : system_message}])
-
-
- # target += [IGNORE_INDEX] * len(input_id)
- target += input_id
-
- for conv in source:
- # Make sure blip3o data can load
- try:
- role = conv["role"]
- content = conv["content"]
- except:
- role = conv["from"]
- content = conv["value"]
-
- role = roles.get(role, role)
-
- conv = [{"role" : role, "content" : content}]
- encode_id = tokenizer.apply_chat_template(conv)
- input_id += encode_id
- if role in ["user", "system"]:
- # target += [IGNORE_INDEX] * len(encode_id)
- target += encode_id
-
- else:
- target += encode_id
-
- assert len(input_id) == len(target), f"{len(input_id)} != {len(target)}"
- for idx, encode_id in enumerate(input_id):
- if encode_id in unmask_tokens_idx:
- target[idx] = encode_id
- if encode_id == image_token_index:
- input_id[idx] = IMAGE_TOKEN_INDEX
- input_ids.append(input_id)
- targets.append(target)
- input_ids = torch.tensor(input_ids, dtype=torch.long)
- targets = torch.tensor(targets, dtype=torch.long)
-
- return dict(
- input_ids=input_ids,
- labels=targets,
- )
-
-
-
-class LazySupervisedMixDataset(Dataset):
- """Dataset for supervised fine-tuning."""
-
- def __init__(
- self,
- tokenizer: transformers.PreTrainedTokenizer,
- data_path: str,
- data_args
- ):
- super(LazySupervisedMixDataset, self).__init__()
-
- self.data_args = data_args
- list_data_dict = []
-
-
- train_dataset = load_dataset("webdataset", data_files='/fsx/home/jiuhai.chen/soda/overfit.tar', split="train", num_proc=1, cache_dir='/fsx/sfr/data/jiuhai/webdataset')
- train_dataset = train_dataset.rename_column("jpg", "image")
- train_dataset = train_dataset.add_column('type', len(train_dataset) * ['T2I'])
- train_dataset = train_dataset.remove_columns([col for col in train_dataset.column_names if not col in (
- ["image", "txt", "type"])])
- print(f"finish loading image {len(train_dataset)}")
- list_data_dict.append(train_dataset)
-
-
-
- if len(list_data_dict) > 1:
- list_data_dict = concatenate_datasets(list_data_dict)
- else:
- list_data_dict = list_data_dict[0]
- list_data_dict = list_data_dict.shuffle(seed=42)
-
-
- rank0_print(f"Totoal number of training instance: {len(list_data_dict)}")
- self.tokenizer = tokenizer
- self.list_data_dict = list_data_dict
- self.modality = torch.tensor(0) # 0 is for und task, 1 is for gen task
-
-
- def __len__(self):
- return len(self.list_data_dict)
-
-
- def process_image(self, image):
- processor = self.data_args.image_processor
- image_size = image.size
- image = processor.preprocess(image, return_tensors="pt")["pixel_values"][0]
- return image, image_size, self.modality
-
-
- def process_target_image(self, image):
- image = target_transform(image)
- return image
-
-
- @property
- def lengths(self):
- length_list = []
- for sample in self.list_data_dict:
- img_tokens = 128 if "image" in sample else 0
- length_list.append(sum(len(conv["value"].split()) for conv in sample["conversations"]) + img_tokens)
- return length_list
-
- @property
- def modality_lengths(self):
- length_list = []
- for sample in self.list_data_dict:
- cur_len = sum(len(conv["value"].split()) for conv in sample["conversations"])
- cur_len = cur_len if "image" in sample else -cur_len
- length_list.append(cur_len)
- return length_list
-
- def __getitem__(self, i) -> Dict[str, torch.Tensor]:
-
- while True:
- sources = self.list_data_dict[i]
-
-
- if sources["type"] == "T2I":
-
- sources["conversations"] = [
- {"from": "human", "value": f"Please generate image based on the following caption: {sources['txt']}"},
- {"from": "gpt", "value": ""},
- ]
-
-
- elif sources["type"] == "I2I":
- sources["conversations"] = [
- {
- "from": "human",
- "value": f"\nPlease reconstruct the given image.",
- },
- {"from": "gpt", "value": ""},
- ]
-
- else:
- raise ValueError("Unknown source type. Please check the 'type' in 'sources'.")
-
- if "image" in sources:
-
- if sources["type"] == "T2I" or sources["type"] == "I2I":
- image_files = self.list_data_dict[i]["image"]
-
- if not isinstance(image_files, list):
- image_files = [image_files]
-
- images = []
-
- for img in image_files:
- try:
- if sources["type"] == "T2I" or sources["type"] == "I2I":
- img = img.convert("RGB")
- else:
- raise ValueError("Unknown source type. Please check the 'type' in 'sources'.")
- images.append(img)
- except Exception as e:
- print(f"Error opening image {img}: {e}")
- images = None
- break # Skip to the next image if there's an error
-
-
- ## test if can apply img_process
- if not images is None:
- try:
- process_images = [self.process_image(f) for f in images]
- except Exception as e:
- print(f"Error wrong number of channels: {e}")
- images = None
-
-
- # If no valid images were found, randomly pick another item
- if images is None:
- print(sources)
- print(f"warning false image!!!!!!")
- i = random.randint(0, len(self.list_data_dict) - 1)
- continue
-
- sources = preprocess_multimodal(copy.deepcopy([sources["conversations"]]), self.data_args)
- else:
- sources = copy.deepcopy([sources["conversations"]])
-
- data_dict = preprocess_qwen(sources, self.tokenizer, has_image=("image" in self.list_data_dict[i]))
- if isinstance(i, int):
- data_dict = dict(input_ids=data_dict["input_ids"][0], labels=data_dict["labels"][0])
-
-
- # image exist in the data
- if "image" in self.list_data_dict[i]:
- data_dict["image"] = process_images
- data_dict["target_image"] = [self.process_target_image(f) for f in images]
-
- data_dict["ids"] = self.list_data_dict[i]["id"] if "id" in self.list_data_dict[i] else "unk"
- return data_dict
-
-
-
-@dataclass
-class DataCollatorForSupervisedDataset(object):
- """Collate examples for supervised fine-tuning."""
-
- tokenizer: transformers.PreTrainedTokenizer
-
- def pad_sequence(self, input_ids, batch_first, padding_value):
- if self.tokenizer.padding_side == "left":
- input_ids = [torch.flip(_input_ids, [0]) for _input_ids in input_ids]
- input_ids = torch.nn.utils.rnn.pad_sequence(input_ids, batch_first=batch_first, padding_value=padding_value)
- if self.tokenizer.padding_side == "left":
- input_ids = torch.flip(input_ids, [1])
- return input_ids
-
- def __call__(self, instances: Sequence[Dict]) -> Dict[str, torch.Tensor]:
- input_ids, labels = tuple([instance[key] for instance in instances] for key in ("input_ids", "labels"))
- input_ids = [_input_ids[: self.tokenizer.model_max_length] for _input_ids in input_ids]
- labels = [_labels[: self.tokenizer.model_max_length] for _labels in labels]
- if self.tokenizer.pad_token_id is None:
- self.tokenizer.pad_token_id = 0 # This gets the best result. Don't know why.
- input_ids = self.pad_sequence(input_ids, batch_first=True, padding_value=self.tokenizer.pad_token_id)
- labels = self.pad_sequence(labels, batch_first=True, padding_value=IGNORE_INDEX)
- batch = dict(input_ids=input_ids, labels=labels.long() if labels.dtype == torch.int32 else labels, attention_mask=input_ids.ne(self.tokenizer.pad_token_id))
- if "image" in instances[0]:
- images = [instance["image"] for instance in instances]
-
- batch["image_sizes"] = [im[1] for im_list in images for im in im_list]
- batch["modalities"] = [im[2] for im_list in images for im in im_list]
- images = [im[0] for im_list in images for im in im_list]
-
- batch["images"] = images
-
- target_images = [instance["target_image"][0] for instance in instances]
- target_images = torch.stack(target_images, dim=0) if target_images else None
- batch["target_images"] = target_images
-
-
- if "prompt" in instances[0]:
- batch["prompts"] = [instance["prompt"] for instance in instances]
- return batch
-
-def get_dataset_cls(name):
-
- if name == 'mix':
- dataset_cls = LazySupervisedMixDataset
- else:
- raise ValueError(f'Unknown dataset class {name}')
- return dataset_cls
-
-def make_supervised_data_module(tokenizer: transformers.PreTrainedTokenizer, data_args) -> Dict:
- """Make dataset and collator for supervised fine-tuning."""
- dataset_cls = get_dataset_cls(data_args.dataset_cls)
- train_dataset = dataset_cls(tokenizer=tokenizer, data_path=data_args.data_path, data_args=data_args)
- data_collator = DataCollatorForSupervisedDataset(tokenizer=tokenizer)
- return dict(train_dataset=train_dataset, eval_dataset=None, data_collator=data_collator)
\ No newline at end of file
diff --git a/code/src/data/dataset/cvc_clinicdb.py b/code/src/data/dataset/cvc_clinicdb.py
deleted file mode 100644
index 6316caedcb1304263748d9bd69879f0ead8d5025..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/cvc_clinicdb.py
+++ /dev/null
@@ -1,195 +0,0 @@
-# CVC-ClinicDB Dataset for PixelGen Medical Image Generation
-# Polyp segmentation dataset: 612 RGB colonoscopy images with binary masks
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class CVCClinicDBDataset(Dataset):
- """
- CVC-ClinicDB dataset for mask-conditional image generation.
-
- Data format:
- - Images: 384x288 RGB colonoscopy images
- - Masks: Binary polyp segmentation (0/255)
- - 612 image pairs total
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, split='train', train_ratio=0.9,
- augment=True, seed=42, max_samples=None, random_flip=True):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.split = split
- self.augment = augment and (split == 'train')
- self.random_flip = random_flip and (split == 'train')
-
- self.img_dir = os.path.join(data_root, 'PNG', 'Original')
- self.mask_dir = os.path.join(data_root, 'PNG', 'Ground Truth')
-
- # Get all image files
- all_files = sorted([f for f in os.listdir(self.img_dir) if f.endswith('.png')])
-
- # Split by index (no case structure in CVC-ClinicDB)
- random.seed(seed)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * train_ratio)
-
- if split == 'train':
- selected_indices = indices[:split_idx]
- else:
- selected_indices = indices[split_idx:]
-
- self.images = [all_files[i] for i in sorted(selected_indices)]
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.images):
- random.seed(seed)
- self.images = random.sample(self.images, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[CVCClinicDBDataset] {split} set: {len(self.images)} images")
-
- def __len__(self):
- return len(self.images)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_name = self.images[idx]
- img_path = os.path.join(self.img_dir, img_name)
- mask_path = os.path.join(self.mask_dir, img_name)
-
- # Load images - RGB colonoscopy
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L') # Binary mask -> single channel
-
- # Resize to target size (square)
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- # Random horizontal flip
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- # Random vertical flip
- if self.random_flip and random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random color jitter for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_contrast(image, contrast_factor)
- saturation_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_saturation(image, saturation_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- # Load with retry logic
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.images)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- # Convert to tensor
- raw_image = TF.to_tensor(image) # [3, H, W], range [0, 1]
-
- # Normalize to [-1, 1] for model input
- normalized_image = self.normalize(raw_image)
-
- # Convert mask to tensor [1, H, W], range [0, 1]
- mask_tensor = TF.to_tensor(mask) # Already in [0, 1] after to_tensor
-
- # Label (single class)
- label = 0
-
- # Metadata for PixelGen compatibility
- metadata = {
- "raw_image": raw_image, # [3, H, W] in [0, 1] for LPIPS/DINO
- "mask": mask_tensor, # [1, H, W] for mask conditioning
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class CVCClinicDBRandnDataset(Dataset):
- """
- Random noise dataset for evaluation/prediction.
- Samples random masks from the dataset.
- """
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42):
- super().__init__()
- self.resolution = resolution
- self.noise_scale = noise_scale
-
- # Load masks
- mask_dir = os.path.join(data_root, 'PNG', 'Ground Truth')
- all_files = sorted([f for f in os.listdir(mask_dir) if f.endswith('.png')])
-
- # Sample a subset of masks (with repetition if needed)
- random.seed(seed)
- if max_num_instances <= len(all_files):
- self.mask_files = random.sample(all_files, max_num_instances)
- else:
- # Repeat masks to reach desired count
- self.mask_files = all_files * (max_num_instances // len(all_files) + 1)
- self.mask_files = self.mask_files[:max_num_instances]
-
- self.mask_dir = mask_dir
-
- print(f"[CVCClinicDBRandnDataset] {len(self.mask_files)} samples for generation")
-
- def __len__(self):
- return len(self.mask_files)
-
- def __getitem__(self, idx):
- # Random noise
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- # Load mask
- mask_path = os.path.join(self.mask_dir, self.mask_files[idx])
- mask = Image.open(mask_path).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
-
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
-
- return xT, label, metadata
diff --git a/code/src/data/dataset/dpg.py b/code/src/data/dataset/dpg.py
deleted file mode 100644
index aa3ac07ad689b0c2f7c21f580becd86d527ab346..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/dpg.py
+++ /dev/null
@@ -1,42 +0,0 @@
-import torch
-import json
-import copy
-import os
-from torch.utils.data import Dataset
-from PIL import Image
-
-def dpg_save_fn(image, metadata, root_path):
- image_path = os.path.join(root_path, str(metadata['filename'])+"_"+str(metadata['seed'])+".png")
- Image.fromarray(image).save(image_path)
-
-class DPGDataset(Dataset):
- def __init__(self, prompt_path, num_samples_per_instance, latent_shape):
- self.latent_shape = latent_shape
- self.prompt_path = prompt_path
- prompt_files = os.listdir(self.prompt_path)
- self.prompts = []
- self.filenames = []
- for prompt_file in prompt_files:
- with open(os.path.join(self.prompt_path, prompt_file)) as fp:
- self.prompts.append(fp.readline().strip())
- self.filenames.append(prompt_file.replace('.txt', ''))
- self.num_instances = len(self.prompts)
- self.num_samples_per_instance = num_samples_per_instance
- self.num_samples = self.num_instances * self.num_samples_per_instance
-
- def __len__(self):
- return self.num_samples
-
- def __getitem__(self, idx):
- instance_idx = idx // self.num_samples_per_instance
- sample_idx = idx % self.num_samples_per_instance
- generator = torch.Generator().manual_seed(sample_idx)
- metadata = dict(
- prompt=self.prompts[instance_idx],
- filename=self.filenames[instance_idx],
- seed=sample_idx,
- save_fn=dpg_save_fn,
- )
- condition = metadata["prompt"]
- latent = torch.randn(self.latent_shape, generator=generator, dtype=torch.float32)
- return latent, condition, metadata
\ No newline at end of file
diff --git a/code/src/data/dataset/geneval.py b/code/src/data/dataset/geneval.py
deleted file mode 100644
index d21ac76b84e440c67d4b91e28cb8a3b5ded633e5..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/geneval.py
+++ /dev/null
@@ -1,46 +0,0 @@
-import torch
-import json
-import copy
-from torch.utils.data import Dataset
-import os
-from PIL import Image
-
-def geneval_save_fn(image, metadata, root_path):
- path = os.path.join(root_path, metadata['filename'])
- if not os.path.exists(path):
- os.makedirs(path, exist_ok=True)
- # save image
- image_path = os.path.join(path, "samples", f"{metadata['seed']}.png")
- if not os.path.exists(os.path.dirname(image_path)):
- os.makedirs(os.path.dirname(image_path), exist_ok=True)
- Image.fromarray(image).save(image_path)
- # metadata_path
- metadata_path = os.path.join(path, "metadata.jsonl")
- with open(metadata_path, "w") as fp:
- json.dump(metadata, fp)
-
-class GenEvalDataset(Dataset):
- def __init__(self, meta_json_path, num_samples_per_instance, latent_shape):
- self.latent_shape = latent_shape
- self.meta_json_path = meta_json_path
- with open(meta_json_path) as fp:
- self.metadatas = [json.loads(line) for line in fp]
- self.num_instances = len(self.metadatas)
- self.num_samples_per_instance = num_samples_per_instance
- self.num_samples = self.num_instances * self.num_samples_per_instance
-
- def __len__(self):
- return self.num_samples
-
- def __getitem__(self, idx):
- instance_idx = idx // self.num_samples_per_instance
- sample_idx = idx % self.num_samples_per_instance
- metadata = copy.deepcopy(self.metadatas[instance_idx])
- generator = torch.Generator().manual_seed(sample_idx)
- condition = metadata["prompt"]
- latent = torch.randn(self.latent_shape, generator=generator, dtype=torch.float32)
- filename = f"{idx}"
- metadata["seed"] = sample_idx
- metadata["filename"] = filename
- metadata["save_fn"] = geneval_save_fn
- return latent, condition, metadata
\ No newline at end of file
diff --git a/code/src/data/dataset/image_txt.py b/code/src/data/dataset/image_txt.py
deleted file mode 100644
index b785106e61acb618369f74258360662c34ff8cde..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/image_txt.py
+++ /dev/null
@@ -1,54 +0,0 @@
-import torch
-import os
-
-from torch.utils.data import Dataset
-from torchvision.transforms import CenterCrop, Normalize, Resize
-from torchvision.transforms.functional import to_tensor
-from PIL import Image
-
-EXTs = ['.png', '.jpg', '.jpeg', ".JPEG"]
-
-
-def is_image_file(filename):
- return any(filename.endswith(ext) for ext in EXTs)
-
-class ImageText(Dataset):
- def __init__(self, root, resolution):
- super().__init__()
- self.image_paths = []
- self.texts = []
- for dir, subdirs, files in os.walk(root):
- for file in files:
- if is_image_file(file):
- image_path = os.path.join(dir, file)
- image_base_path = image_path.split(".")[:-1]
- text_path = ".".join(image_base_path) + ".txt"
- if os.path.exists(text_path):
- with open(text_path, 'r') as f:
- text = f.read()
- self.texts.append(text)
- self.image_paths.append(image_path)
-
- self.resize = Resize(resolution)
- self.center_crop = CenterCrop(resolution)
- self.normalize = Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
-
- def __getitem__(self, idx: int):
- image_path = self.image_paths[idx]
- text = self.texts[idx]
- pil_image = Image.open(image_path).convert('RGB')
- pil_image = self.resize(pil_image)
- pil_image = self.center_crop(pil_image)
- raw_image = to_tensor(pil_image)
- normalized_image = self.normalize(raw_image)
- metadata = {
- "image_path": image_path,
- "prompt": text,
- "raw_image": raw_image,
- }
- return normalized_image, text, metadata
-
- def __len__(self):
- return len(self.image_paths)
-
-
diff --git a/code/src/data/dataset/imagenet.py b/code/src/data/dataset/imagenet.py
deleted file mode 100644
index 4ae8b40de415976a047fcef5f82f432543ffe507..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/imagenet.py
+++ /dev/null
@@ -1,100 +0,0 @@
-import torch
-import torchvision.transforms
-from PIL import Image
-from torchvision.datasets import ImageFolder
-from torchvision.transforms.functional import to_tensor
-from torchvision.transforms import Normalize
-from functools import partial
-
-import numpy as np
-
-def center_crop_fn(pil_image, image_size):
- """
- Center cropping implementation from ADM.
- https://github.com/openai/guided-diffusion/blob/8fb3ad9197f16bbc40620447b2742e13458d2831/guided_diffusion/image_datasets.py#L126
- """
- while min(*pil_image.size) >= 2 * image_size:
- pil_image = pil_image.resize(
- tuple(x // 2 for x in pil_image.size), resample=Image.BOX
- )
-
- scale = image_size / min(*pil_image.size)
- pil_image = pil_image.resize(
- tuple(round(x * scale) for x in pil_image.size), resample=Image.BICUBIC
- )
-
- arr = np.array(pil_image)
- crop_y = (arr.shape[0] - image_size) // 2
- crop_x = (arr.shape[1] - image_size) // 2
- return Image.fromarray(arr[crop_y: crop_y + image_size, crop_x: crop_x + image_size])
-
-
-class LocalCachedDataset(ImageFolder):
- def __init__(self, root, resolution=256, cache_root=None):
- super().__init__(root)
- self.cache_root = cache_root
- self.transform = partial(center_crop_fn, image_size=resolution)
-
- def load_latent(self, latent_path):
- pk_data = torch.load(latent_path)
- mean = pk_data['mean'].to(torch.float32)
- logvar = pk_data['logvar'].to(torch.float32)
- logvar = torch.clamp(logvar, -30.0, 20.0)
- std = torch.exp(0.5 * logvar)
- latent = mean + torch.randn_like(mean) * std
- return latent
-
- def __getitem__(self, idx: int):
- image_path, target = self.samples[idx]
- latent_path = image_path.replace(self.root, self.cache_root) + ".pt"
-
- raw_image = Image.open(image_path).convert('RGB')
- raw_image = self.transform(raw_image)
- raw_image = to_tensor(raw_image)
- if self.cache_root is not None:
- latent = self.load_latent(latent_path)
- else:
- latent = raw_image
-
- metadata = {
- "raw_image": raw_image,
- "class": target,
- }
- return latent, target, metadata
-
-
-class PixImageNet(ImageFolder):
- def __init__(self, root, resolution=256, random_crop=False, random_flip=False):
- super().__init__(root)
- if random_crop:
- self.transform = torchvision.transforms.Compose(
- [
- torchvision.transforms.Resize(resolution),
- torchvision.transforms.RandomCrop(resolution),
- torchvision.transforms.RandomHorizontalFlip(),
- ]
- )
- else:
- if random_flip is False:
- self.transform = partial(center_crop_fn, image_size=resolution)
- else:
- self.transform = torchvision.transforms.Compose([
- torchvision.transforms.Lambda(partial(center_crop_fn, image_size=resolution)),
- torchvision.transforms.RandomHorizontalFlip(),
- ])
-
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- def __getitem__(self, idx: int):
- image_path, target = self.samples[idx]
- raw_image = Image.open(image_path).convert('RGB')
- raw_image = self.transform(raw_image)
- raw_image = to_tensor(raw_image)
-
- normalized_image = self.normalize(raw_image)
-
- metadata = {
- "raw_image": raw_image,
- "class": target,
- }
- return normalized_image, target, metadata
\ No newline at end of file
diff --git a/code/src/data/dataset/kvasir_seg.py b/code/src/data/dataset/kvasir_seg.py
deleted file mode 100644
index efbb7351345cf4bdd88c3fd922a554bbb06dfb72..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/kvasir_seg.py
+++ /dev/null
@@ -1,181 +0,0 @@
-# Kvasir-SEG Dataset for PixelGen Medical Image Generation
-# Polyp segmentation dataset: 1000 RGB colonoscopy images with binary masks
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class KvasirSEGDataset(Dataset):
- """
- Kvasir-SEG dataset for mask-conditional image generation.
-
- Data format:
- - Images: ~620x530 RGB colonoscopy images (varying sizes)
- - Masks: Binary polyp segmentation (near 0/255, grayscale)
- - 1000 image pairs total
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, split='train', train_ratio=0.9,
- augment=True, seed=42, max_samples=None, random_flip=True):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.split = split
- self.augment = augment and (split == 'train')
- self.random_flip = random_flip and (split == 'train')
-
- self.img_dir = os.path.join(data_root, 'images')
- self.mask_dir = os.path.join(data_root, 'masks')
-
- # Get all image files
- all_files = sorted([f for f in os.listdir(self.img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- # Split by index
- random.seed(seed)
- indices = list(range(len(all_files)))
- random.shuffle(indices)
- split_idx = int(len(indices) * train_ratio)
-
- if split == 'train':
- selected_indices = indices[:split_idx]
- else:
- selected_indices = indices[split_idx:]
-
- self.images = [all_files[i] for i in sorted(selected_indices)]
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.images):
- random.seed(seed)
- self.images = random.sample(self.images, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[KvasirSEGDataset] {split} set: {len(self.images)} images")
-
- def __len__(self):
- return len(self.images)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_name = self.images[idx]
- img_path = os.path.join(self.img_dir, img_name)
- mask_path = os.path.join(self.mask_dir, img_name)
-
- # Load images - RGB colonoscopy
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
-
- # Resize to target size (square)
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- # Random horizontal flip
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- # Random vertical flip
- if self.random_flip and random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random color jitter for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_contrast(image, contrast_factor)
- saturation_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_saturation(image, saturation_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.images)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- raw_image = TF.to_tensor(image) # [3, H, W], range [0, 1]
- normalized_image = self.normalize(raw_image)
- mask_tensor = TF.to_tensor(mask) # [1, H, W], range [0, 1]
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class KvasirSEGRandnDataset(Dataset):
- """
- Random noise dataset for evaluation/prediction.
- Samples random masks from the dataset.
- """
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42):
- super().__init__()
- self.resolution = resolution
- self.noise_scale = noise_scale
-
- mask_dir = os.path.join(data_root, 'masks')
- all_files = sorted([f for f in os.listdir(mask_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- random.seed(seed)
- if max_num_instances <= len(all_files):
- self.mask_files = random.sample(all_files, max_num_instances)
- else:
- self.mask_files = all_files * (max_num_instances // len(all_files) + 1)
- self.mask_files = self.mask_files[:max_num_instances]
-
- self.mask_dir = mask_dir
- print(f"[KvasirSEGRandnDataset] {len(self.mask_files)} samples for generation")
-
- def __len__(self):
- return len(self.mask_files)
-
- def __getitem__(self, idx):
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- mask_path = os.path.join(self.mask_dir, self.mask_files[idx])
- mask = Image.open(mask_path).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
-
- return xT, label, metadata
diff --git a/code/src/data/dataset/octa500.py b/code/src/data/dataset/octa500.py
deleted file mode 100644
index c9a04cfcd4621a209d3b8a8c7925a8cad957376a..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/octa500.py
+++ /dev/null
@@ -1,279 +0,0 @@
-# OCTA500 Dataset for PixelGen Medical Image Generation
-# Adapts OCTA500 to PixelGen's data format
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class OCTA500Dataset(Dataset):
- """
- OCTA500 dataset for mask-conditional image generation.
-
- Data format:
- - Images: 400x640 grayscale OCT B-scans
- - Masks: 6-class layer segmentation (values: 0, 50, 100, 150, 200, 250)
- - 300 cases × 400 slices = 120,000 images
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, split='train', train_ratio=0.9,
- augment=True, seed=42, max_samples=None, random_flip=True):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.split = split
- self.augment = augment and (split == 'train')
- self.random_flip = random_flip and (split == 'train')
-
- self.img_dir = os.path.join(data_root, 'images')
- self.mask_dir = os.path.join(data_root, 'masks')
-
- # Get all image files
- all_files = sorted([f for f in os.listdir(self.img_dir)
- if f.endswith('.png') and not f.startswith('thumb')])
-
- # Extract unique case IDs for proper train/val split
- case_ids = sorted(list(set([f.split('-')[0] for f in all_files])))
-
- # Split by case (not by image) to prevent data leakage
- random.seed(seed)
- random.shuffle(case_ids)
- split_idx = int(len(case_ids) * train_ratio)
-
- if split == 'train':
- selected_cases = set(case_ids[:split_idx])
- else:
- selected_cases = set(case_ids[split_idx:])
-
- # Filter files by selected cases
- self.images = [f for f in all_files if f.split('-')[0] in selected_cases]
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.images):
- random.seed(seed)
- self.images = random.sample(self.images, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[OCTA500Dataset] {split} set: {len(self.images)} images from {len(selected_cases)} cases")
-
- def __len__(self):
- return len(self.images)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_name = self.images[idx]
- img_path = os.path.join(self.img_dir, img_name)
- mask_path = os.path.join(self.mask_dir, img_name)
-
- # Load images
- image = Image.open(img_path).convert('L') # Grayscale
- mask = Image.open(mask_path).convert('L')
-
- # Resize to target size
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- # Random horizontal flip
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- # Random brightness/contrast for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.9, 1.1)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.9, 1.1)
- image = TF.adjust_contrast(image, contrast_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- # Load with retry logic
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.images)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- # Convert grayscale to 3-channel (repeat)
- raw_image = TF.to_tensor(image) # [1, H, W], range [0, 1]
- raw_image = raw_image.repeat(3, 1, 1) # [3, H, W]
-
- # Normalize to [-1, 1] for model input
- normalized_image = self.normalize(raw_image)
-
- # Convert mask to tensor [1, H, W], range [0, 1]
- mask_tensor = TF.to_tensor(mask) # Already in [0, 1] after to_tensor
-
- # Label (single class for medical)
- label = 0
-
- # Metadata for PixelGen compatibility
- metadata = {
- "raw_image": raw_image, # [3, H, W] in [0, 1] for LPIPS/DINO
- "mask": mask_tensor, # [1, H, W] for mask conditioning
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class OCTA500MultiClassDataset(OCTA500Dataset):
- """
- OCTA500 with one-hot encoded mask for multi-class conditioning.
- Returns mask as [6, H, W] one-hot tensor.
- """
-
- def __getitem__(self, idx):
- # Load with retry logic
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.images)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- # Convert grayscale to 3-channel
- raw_image = TF.to_tensor(image).repeat(3, 1, 1)
- normalized_image = self.normalize(raw_image)
-
- # Convert mask to class indices and one-hot
- mask_arr = np.array(mask)
- class_map = {0: 0, 50: 1, 100: 2, 150: 3, 200: 4, 250: 5}
- mask_classes = np.zeros_like(mask_arr)
- for val, cls in class_map.items():
- mask_classes[mask_arr == val] = cls
-
- # One-hot encode [6, H, W]
- num_classes = 6
- mask_onehot = np.zeros((num_classes, self.resolution, self.resolution), dtype=np.float32)
- for c in range(num_classes):
- mask_onehot[c] = (mask_classes == c).astype(np.float32)
- mask_tensor = torch.from_numpy(mask_onehot)
-
- label = 0
-
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor, # [6, H, W] one-hot
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class OCTA500RandnDataset(Dataset):
- """
- Random noise dataset for evaluation/prediction.
- Samples random masks from the training set.
- """
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42, mask_source='train'):
- super().__init__()
- self.resolution = resolution
- self.max_num_instances = max_num_instances
- self.noise_scale = noise_scale
-
- # Load masks from training set
- mask_dir = os.path.join(data_root, 'masks')
- all_files = sorted([f for f in os.listdir(mask_dir)
- if f.endswith('.png') and not f.startswith('thumb')])
-
- # Sample a subset of masks
- random.seed(seed)
- self.mask_files = random.sample(all_files, min(len(all_files), max_num_instances))
- self.mask_dir = mask_dir
-
- print(f"[OCTA500RandnDataset] {len(self.mask_files)} samples for generation")
-
- def __len__(self):
- return len(self.mask_files)
-
- def __getitem__(self, idx):
- # Random noise
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- # Load mask
- mask_path = os.path.join(self.mask_dir, self.mask_files[idx])
- mask = Image.open(mask_path).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
-
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
-
- return xT, label, metadata
-
-
-def build_octa500_dataset(data_root, resolution=256, split='train', train_ratio=0.9,
- augment=True, max_samples=None, multi_class=False):
- """Build OCTA500 dataset."""
- if multi_class:
- return OCTA500MultiClassDataset(
- data_root=data_root,
- resolution=resolution,
- split=split,
- train_ratio=train_ratio,
- augment=augment,
- max_samples=max_samples
- )
- else:
- return OCTA500Dataset(
- data_root=data_root,
- resolution=resolution,
- split=split,
- train_ratio=train_ratio,
- augment=augment,
- max_samples=max_samples
- )
-
-
-if __name__ == "__main__":
- import sys
-
- data_root = sys.argv[1] if len(sys.argv) > 1 else "/home/richard/Documents/dataset/OCTA500"
-
- # Test dataset
- dataset = build_octa500_dataset(data_root, resolution=256, split='train')
- print(f"Dataset size: {len(dataset)}")
-
- normalized_image, label, metadata = dataset[0]
- print(f"Normalized image shape: {normalized_image.shape}, dtype: {normalized_image.dtype}")
- print(f"Normalized image range: [{normalized_image.min():.3f}, {normalized_image.max():.3f}]")
- print(f"Raw image shape: {metadata['raw_image'].shape}")
- print(f"Raw image range: [{metadata['raw_image'].min():.3f}, {metadata['raw_image'].max():.3f}]")
- print(f"Mask shape: {metadata['mask'].shape}")
- print(f"Mask range: [{metadata['mask'].min():.3f}, {metadata['mask'].max():.3f}]")
- print(f"Label: {label}")
diff --git a/code/src/data/dataset/randn.py b/code/src/data/dataset/randn.py
deleted file mode 100644
index 00259e61b66ce5d2c1c04b9cd69157db38263a2a..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/randn.py
+++ /dev/null
@@ -1,92 +0,0 @@
-import os.path
-import random
-import re
-import unicodedata
-import torch
-from torch.utils.data import Dataset
-from PIL import Image
-
-from typing import List, Union
-
-def clean_filename(s):
- # 去除首尾空格和点号
- s = s.strip().strip('.')
- # 转换 Unicode 字符为 ASCII 形式
- s = unicodedata.normalize('NFKD', s).encode('ASCII', 'ignore').decode('ASCII')
- illegal_chars = r'[/]'
- reserved_names = set()
- # 替换非法字符为下划线
- s = re.sub(illegal_chars, '_', s)
- # 合并连续的下划线
- s = re.sub(r'_{2,}', '_', s)
- # 转换为小写
- s = s.lower()
- # 检查是否为保留文件名
- if s.upper() in reserved_names:
- s = s + '_'
- # 限制文件名长度
- max_length = 200
- s = s[:max_length]
- if not s:
- return 'untitled'
- return s
-
-def save_fn(image, metadata, root_path):
- image_path = os.path.join(root_path, str(metadata['filename'])+".png")
- Image.fromarray(image).save(image_path)
-
-class RandomNDataset(Dataset):
- def __init__(self, latent_shape=(4, 64, 64), conditions:Union[int, List, str]=None, seeds=None, max_num_instances=50000, num_samples_per_instance=-1, noise_scale=1.0):
- if isinstance(conditions, int):
- conditions = list(range(conditions)) # class labels
- elif isinstance(conditions, str):
- if os.path.exists(conditions):
- conditions = open(conditions, "r").read().splitlines()
- else:
- raise FileNotFoundError(conditions)
- elif isinstance(conditions, list):
- conditions = conditions
- self.conditions = conditions
- self.num_conditons = len(conditions)
- self.seeds = seeds
-
- if num_samples_per_instance > 0:
- max_num_instances = num_samples_per_instance*self.num_conditons
- else:
- max_num_instances = max_num_instances
-
- if seeds is not None:
- self.max_num_instances = len(seeds)*self.num_conditons
- self.num_seeds = len(seeds)
- else:
- self.num_seeds = (max_num_instances + self.num_conditons - 1) // self.num_conditons
- self.max_num_instances = self.num_seeds*self.num_conditons
- self.latent_shape = latent_shape
- self.noise_scale = noise_scale
-
- def __getitem__(self, idx):
- condition = self.conditions[idx//self.num_seeds]
-
- seed = random.randint(0, 1<<31) #idx % self.num_seeds
- if self.seeds is not None:
- seed = self.seeds[idx % self.num_seeds]
-
- filename = f"{clean_filename(str(condition))}_{seed}"
- generator = torch.Generator().manual_seed(seed)
- latent = self.noise_scale*torch.randn(self.latent_shape, generator=generator, dtype=torch.float32)
-
- metadata = dict(
- filename=filename,
- seed=seed,
- condition=condition,
- save_fn=save_fn,
- )
- return latent, condition, metadata
- def __len__(self):
- return self.max_num_instances
-
-class ClassLabelRandomNDataset(RandomNDataset):
- def __init__(self, latent_shape=(4, 64, 64), num_classes=1000, conditions:Union[int, List, str]=None, seeds=None, max_num_instances=50000, num_samples_per_instance=-1, noise_scale=1.0):
- if conditions is None:
- conditions = list(range(num_classes))
- super().__init__(latent_shape, conditions, seeds, max_num_instances, num_samples_per_instance, noise_scale)
diff --git a/code/src/data/dataset/refuge2.py b/code/src/data/dataset/refuge2.py
deleted file mode 100644
index e8fe93b07172da0a20e5a1a7f2201244c9ea0443..0000000000000000000000000000000000000000
--- a/code/src/data/dataset/refuge2.py
+++ /dev/null
@@ -1,251 +0,0 @@
-# REFUGE2 Dataset for PixelGen Medical Image Generation
-# Optic disc/cup segmentation: 1200 RGB fundus images with 3-class masks
-# Mask values: 0=background, 128=optic cup, 255=optic disc
-
-import os
-import torch
-import random
-import numpy as np
-from torch.utils.data import Dataset
-from PIL import Image
-import torchvision.transforms as transforms
-import torchvision.transforms.functional as TF
-from torchvision.transforms import Normalize
-
-
-class REFUGE2Dataset(Dataset):
- """
- REFUGE2 dataset for mask-conditional image generation.
-
- Data format:
- - Images: RGB fundus photographs (varying sizes ~1600-2100px)
- - Masks: 3-class segmentation (0=background, 128=optic cup, 255=optic disc)
- - 400 images per split (train/val/test)
- - Mask files: train/test=.bmp, val=.png
-
- Returns format compatible with PixelGen:
- - normalized_image: [3, H, W] in range [-1, 1]
- - label: class label (0 for all)
- - metadata: dict with 'raw_image', 'mask', 'class'
- """
-
- def __init__(self, data_root, resolution=256, splits=('train', 'val'),
- augment=True, seed=42, max_samples=None, random_flip=True,
- val_ratio=0.0):
- super().__init__()
- self.data_root = data_root
- self.resolution = resolution
- self.augment = augment
- self.random_flip = random_flip
-
- # Collect files from specified splits
- all_pairs = []
- for split in splits:
- img_dir = os.path.join(data_root, split, 'images')
- mask_dir = os.path.join(data_root, split, 'mask')
-
- img_files = sorted([f for f in os.listdir(img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
-
- for img_f in img_files:
- img_path = os.path.join(img_dir, img_f)
- # Mask may have different extension (.bmp or .png)
- base_name = os.path.splitext(img_f)[0]
- mask_path = None
- for ext in ['.bmp', '.png', '.jpg']:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- mask_path = candidate
- break
- if mask_path is not None:
- all_pairs.append((img_path, mask_path))
-
- # Optional: hold out a portion for validation
- if val_ratio > 0:
- random.seed(seed)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - val_ratio))
- self.pairs = all_pairs[:split_idx]
- else:
- self.pairs = all_pairs
-
- # Limit samples if specified
- if max_samples is not None and max_samples < len(self.pairs):
- random.seed(seed)
- self.pairs = random.sample(self.pairs, max_samples)
-
- # Normalization for images ([-1, 1] range)
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- print(f"[REFUGE2Dataset] splits={splits}: {len(self.pairs)} image pairs")
-
- def __len__(self):
- return len(self.pairs)
-
- def _load_and_process(self, idx):
- """Load and process a single sample."""
- img_path, mask_path = self.pairs[idx]
-
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
-
- # Resize to target size (square)
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- # Data augmentation
- if self.augment:
- if self.random_flip and random.random() > 0.5:
- image = TF.hflip(image)
- mask = TF.hflip(mask)
-
- if self.random_flip and random.random() > 0.5:
- image = TF.vflip(image)
- mask = TF.vflip(mask)
-
- # Random color jitter for image only
- if random.random() > 0.5:
- brightness_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_brightness(image, brightness_factor)
- contrast_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_contrast(image, contrast_factor)
- saturation_factor = random.uniform(0.85, 1.15)
- image = TF.adjust_saturation(image, saturation_factor)
-
- return image, mask
-
- def __getitem__(self, idx):
- max_retries = 10
- for retry in range(max_retries):
- try:
- actual_idx = (idx + retry) % len(self.pairs)
- image, mask = self._load_and_process(actual_idx)
- break
- except Exception as e:
- if retry == max_retries - 1:
- raise RuntimeError(f"Failed to load image after {max_retries} retries: {e}")
- continue
-
- raw_image = TF.to_tensor(image) # [3, H, W], range [0, 1]
- normalized_image = self.normalize(raw_image)
-
- # Normalize mask: 0->0.0, 128->0.5, 255->1.0
- mask_tensor = TF.to_tensor(mask) # [1, H, W], range [0, 1]
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
-
- return normalized_image, label, metadata
-
-
-class REFUGE2ValDataset(Dataset):
- """Validation subset from REFUGE2 (held-out from training splits)."""
-
- def __init__(self, data_root, resolution=256, splits=('train', 'val'),
- val_ratio=0.1, seed=42):
- super().__init__()
- self.resolution = resolution
- self.normalize = Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
-
- all_pairs = []
- for split in splits:
- img_dir = os.path.join(data_root, split, 'images')
- mask_dir = os.path.join(data_root, split, 'mask')
- img_files = sorted([f for f in os.listdir(img_dir)
- if f.endswith(('.jpg', '.png', '.jpeg'))])
- for img_f in img_files:
- base_name = os.path.splitext(img_f)[0]
- img_path = os.path.join(img_dir, img_f)
- mask_path = None
- for ext in ['.bmp', '.png', '.jpg']:
- candidate = os.path.join(mask_dir, base_name + ext)
- if os.path.exists(candidate):
- mask_path = candidate
- break
- if mask_path is not None:
- all_pairs.append((img_path, mask_path))
-
- random.seed(seed)
- random.shuffle(all_pairs)
- split_idx = int(len(all_pairs) * (1 - val_ratio))
- self.pairs = all_pairs[split_idx:]
-
- print(f"[REFUGE2ValDataset] {len(self.pairs)} val samples")
-
- def __len__(self):
- return len(self.pairs)
-
- def __getitem__(self, idx):
- img_path, mask_path = self.pairs[idx]
- image = Image.open(img_path).convert('RGB')
- mask = Image.open(mask_path).convert('L')
- image = TF.resize(image, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.BILINEAR)
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
-
- raw_image = TF.to_tensor(image)
- normalized_image = self.normalize(raw_image)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "raw_image": raw_image,
- "mask": mask_tensor,
- "class": label,
- }
- return normalized_image, label, metadata
-
-
-class REFUGE2RandnDataset(Dataset):
- """Random noise dataset for evaluation/prediction with REFUGE2 masks."""
-
- def __init__(self, data_root, resolution=256, max_num_instances=1000,
- noise_scale=1.0, seed=42, splits=('train', 'val', 'test')):
- super().__init__()
- self.resolution = resolution
- self.noise_scale = noise_scale
-
- # Collect all mask paths
- all_masks = []
- for split in splits:
- mask_dir = os.path.join(data_root, split, 'mask')
- if not os.path.exists(mask_dir):
- continue
- mask_files = sorted([f for f in os.listdir(mask_dir)
- if f.endswith(('.bmp', '.png', '.jpg'))])
- for mf in mask_files:
- all_masks.append(os.path.join(mask_dir, mf))
-
- random.seed(seed)
- if max_num_instances <= len(all_masks):
- self.mask_paths = random.sample(all_masks, max_num_instances)
- else:
- self.mask_paths = all_masks * (max_num_instances // len(all_masks) + 1)
- self.mask_paths = self.mask_paths[:max_num_instances]
-
- print(f"[REFUGE2RandnDataset] {len(self.mask_paths)} samples for generation")
-
- def __len__(self):
- return len(self.mask_paths)
-
- def __getitem__(self, idx):
- xT = self.noise_scale * torch.randn(3, self.resolution, self.resolution)
-
- mask = Image.open(self.mask_paths[idx]).convert('L')
- mask = TF.resize(mask, (self.resolution, self.resolution),
- interpolation=transforms.InterpolationMode.NEAREST)
- mask_tensor = TF.to_tensor(mask)
-
- label = 0
- metadata = {
- "mask": mask_tensor,
- "class": label,
- }
- return xT, label, metadata
diff --git a/code/src/diffusion/__init__.py b/code/src/diffusion/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/diffusion/base/guidance.py b/code/src/diffusion/base/guidance.py
deleted file mode 100644
index 8150281b9306e308c9d61acf6514e2e32a405681..0000000000000000000000000000000000000000
--- a/code/src/diffusion/base/guidance.py
+++ /dev/null
@@ -1,37 +0,0 @@
-import torch
-
-def simple_guidance_fn(out, cfg):
- uncondition, condtion = out.chunk(2, dim=0)
- out = uncondition + cfg * (condtion - uncondition)
- return out
-
-def guidance_fn_with_rescale(out, cfg, rescale_factor=0.7):
- """
- 对模型的原始输出应用Classifier-Free Guidance (CFG),并加入方差重缩放 (rescale_cfg)。
-
- Args:
- out (torch.Tensor): 模型的原始输出,包含了unconditional和conditional两部分。
- cfg (float): Guidance scale,即引导强度。
- rescale_factor (float): 重缩放因子。常用的值在0.5到0.8之间,0.7是一个很好的起始值。
-
- Returns:
- torch.Tensor: 应用了CFG和rescale_cfg之后的最终输出。
- """
- uncondition, condition = out.chunk(2, dim=0)
-
- guided_out = uncondition + cfg * (condition - uncondition)
-
- std_condition = torch.std(condition, dim=(1,2,3), keepdim=True)
- std_guided = torch.std(guided_out, dim=(1,2,3), keepdim=True)
-
- scale = std_condition / (std_guided + 1e-6)
- print(scale.mean())
- rescaled_out = guided_out * (scale * rescale_factor + 1.0 * (1.0 - rescale_factor))
- return rescaled_out
-
-def c3_guidance_fn(out, cfg):
- # guidance function in DiT/SiT, seems like a bug not a feature?
- uncondition, condtion = out.chunk(2, dim=0)
- out = condtion
- out[:, :3] = uncondition[:, :3] + cfg * (condtion[:, :3] - uncondition[:, :3])
- return out
\ No newline at end of file
diff --git a/code/src/diffusion/base/sampling.py b/code/src/diffusion/base/sampling.py
deleted file mode 100644
index 8b6ca22dd3220bf11b0729aeb0a45ae691e85b22..0000000000000000000000000000000000000000
--- a/code/src/diffusion/base/sampling.py
+++ /dev/null
@@ -1,38 +0,0 @@
-from typing import Union, List
-
-import torch
-import torch.nn as nn
-from typing import Callable
-from src.diffusion.base.scheduling import BaseScheduler
-
-class BaseSampler(nn.Module):
- def __init__(self,
- scheduler: BaseScheduler = None,
- guidance_fn: Callable = None,
- num_steps: int = 250,
- guidance: Union[float, List[float]] = 1.0,
- *args,
- **kwargs
- ):
- super(BaseSampler, self).__init__()
- self.num_steps = num_steps
- self.guidance = guidance
- self.guidance_fn = guidance_fn
- self.scheduler = scheduler
-
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- raise NotImplementedError
-
- def forward(self, net, noise, condition, uncondition, return_x_trajs=False, return_v_trajs=False, **kwargs):
- x_trajs, v_trajs = self._impl_sampling(net, noise, condition, uncondition, **kwargs)
- if return_x_trajs and return_v_trajs:
- return x_trajs[-1], x_trajs, v_trajs
- elif return_x_trajs:
- return x_trajs[-1], x_trajs
- elif return_v_trajs:
- return x_trajs[-1], v_trajs
- else:
- return x_trajs[-1]
-
-
diff --git a/code/src/diffusion/base/scheduling.py b/code/src/diffusion/base/scheduling.py
deleted file mode 100644
index 05c7fb18156e2e8aa28121e9ac855ba6ccf698f6..0000000000000000000000000000000000000000
--- a/code/src/diffusion/base/scheduling.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import torch
-from torch import Tensor
-
-class BaseScheduler:
- def alpha(self, t) -> Tensor:
- ...
- def sigma(self, t) -> Tensor:
- ...
-
- def dalpha(self, t) -> Tensor:
- ...
- def dsigma(self, t) -> Tensor:
- ...
-
- def dalpha_over_alpha(self, t) -> Tensor:
- return self.dalpha(t) / self.alpha(t)
-
- def dsigma_mul_sigma(self, t) -> Tensor:
- return self.dsigma(t)*self.sigma(t)
-
- def drift_coefficient(self, t):
- alpha, sigma = self.alpha(t), self.sigma(t)
- dalpha, dsigma = self.dalpha(t), self.dsigma(t)
- return dalpha/(alpha + 1e-6)
-
- def diffuse_coefficient(self, t):
- alpha, sigma = self.alpha(t), self.sigma(t)
- dalpha, dsigma = self.dalpha(t), self.dsigma(t)
- return dsigma*sigma - dalpha/(alpha + 1e-6)*sigma**2
-
- def w(self, t):
- return self.sigma(t)
diff --git a/code/src/diffusion/base/training.py b/code/src/diffusion/base/training.py
deleted file mode 100644
index d9b230ef76afc1a7e32fc06b1cc21c86c00a22b6..0000000000000000000000000000000000000000
--- a/code/src/diffusion/base/training.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import time
-
-import torch
-import torch.nn as nn
-
-
-class BaseTrainer(nn.Module):
- def __init__(self,
- null_condition_p=0.1,
- ):
- super(BaseTrainer, self).__init__()
- self.null_condition_p = null_condition_p
-
- def preproprocess(self, x, condition, uncondition, metadata):
- bsz = x.shape[0]
- if self.null_condition_p > 0:
- mask = torch.rand((bsz), device=condition.device) < self.null_condition_p
- mask = mask.view(-1, *([1] * (len(condition.shape) - 1))).to(condition.dtype)
- condition = condition*(1-mask) + uncondition*mask
- return x, condition, metadata
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raise NotImplementedError
-
- def __call__(self, net, ema_net, solver, x, condition, uncondition, metadata=None):
- x, condition, metadata = self.preproprocess(x, condition, uncondition, metadata)
- return self._impl_trainstep(net, ema_net, solver, x, condition, metadata)
-
diff --git a/code/src/diffusion/ddpm/ddim_sampling.py b/code/src/diffusion/ddpm/ddim_sampling.py
deleted file mode 100644
index 523f4d87ccc131591ad5f263579695a3db8bda5e..0000000000000000000000000000000000000000
--- a/code/src/diffusion/ddpm/ddim_sampling.py
+++ /dev/null
@@ -1,45 +0,0 @@
-import torch
-from src.diffusion.base.scheduling import *
-from src.diffusion.base.sampling import *
-
-from typing import Callable
-
-import logging
-logger = logging.getLogger(__name__)
-
-class DDIMSampler(BaseSampler):
- def __init__(
- self,
- train_num_steps=1000,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.train_num_steps = train_num_steps
- assert self.scheduler is not None
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- batch_size = noise.shape[0]
- steps = torch.linspace(0.0, self.train_num_steps-1, self.num_steps, device=noise.device)
- steps = torch.flip(steps, dims=[0])
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = x0 = noise
- x_trajs = [noise, ]
- v_trajs = []
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- t_cur = t_cur.repeat(batch_size)
- t_next = t_next.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- alpha = self.scheduler.alpha(t_cur)
- sigma_next = self.scheduler.sigma(t_next)
- alpha_next = self.scheduler.alpha(t_next)
- cfg_x = torch.cat([x, x], dim=0)
- t = t_cur.repeat(2)
- out = net(cfg_x, t, cfg_condition)
- out = self.guidance_fn(out, self.guidance)
- x0 = (x - sigma * out) / alpha
- x = alpha_next * x0 + sigma_next * out
- x_trajs.append(x)
- v_trajs.append(out)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
\ No newline at end of file
diff --git a/code/src/diffusion/ddpm/scheduling.py b/code/src/diffusion/ddpm/scheduling.py
deleted file mode 100644
index aff1523b768b9ea83fcb5984e2190a100d5d0922..0000000000000000000000000000000000000000
--- a/code/src/diffusion/ddpm/scheduling.py
+++ /dev/null
@@ -1,102 +0,0 @@
-import math
-import torch
-from src.diffusion.base.scheduling import *
-
-
-class DDPMScheduler(BaseScheduler):
- def __init__(
- self,
- beta_min=0.0001,
- beta_max=0.02,
- num_steps=1000,
- ):
- super().__init__()
- self.beta_min = beta_min
- self.beta_max = beta_max
- self.num_steps = num_steps
-
- self.betas_table = torch.linspace(self.beta_min, self.beta_max, self.num_steps, device="cuda")
- self.alphas_table = torch.cumprod(1-self.betas_table, dim=0)
- self.sigmas_table = 1-self.alphas_table
-
-
- def beta(self, t) -> Tensor:
- t = t.to(torch.long)
- return self.betas_table[t].view(-1, 1, 1, 1)
-
- def alpha(self, t) -> Tensor:
- t = t.to(torch.long)
- return self.alphas_table[t].view(-1, 1, 1, 1)**0.5
-
- def sigma(self, t) -> Tensor:
- t = t.to(torch.long)
- return self.sigmas_table[t].view(-1, 1, 1, 1)**0.5
-
- def dsigma(self, t) -> Tensor:
- raise NotImplementedError("wrong usage")
-
- def dalpha_over_alpha(self, t) ->Tensor:
- raise NotImplementedError("wrong usage")
-
- def dsigma_mul_sigma(self, t) ->Tensor:
- raise NotImplementedError("wrong usage")
-
- def dalpha(self, t) -> Tensor:
- raise NotImplementedError("wrong usage")
-
- def drift_coefficient(self, t):
- raise NotImplementedError("wrong usage")
-
- def diffuse_coefficient(self, t):
- raise NotImplementedError("wrong usage")
-
- def w(self, t):
- raise NotImplementedError("wrong usage")
-
-
-class VPScheduler(BaseScheduler):
- def __init__(
- self,
- beta_min=0.1,
- beta_max=20,
- ):
- super().__init__()
- self.beta_min = beta_min
- self.beta_d = beta_max - beta_min
- def beta(self, t) -> Tensor:
- t = torch.clamp(t, min=1e-3, max=1)
- return (self.beta_min + (self.beta_d * t)).view(-1, 1, 1, 1)
-
- def sigma(self, t) -> Tensor:
- t = torch.clamp(t, min=1e-3, max=1)
- inter_beta:Tensor = 0.5*self.beta_d*t**2 + self.beta_min* t
- return (1-torch.exp_(-inter_beta)).sqrt().view(-1, 1, 1, 1)
-
- def dsigma(self, t) -> Tensor:
- raise NotImplementedError("wrong usage")
-
- def dalpha_over_alpha(self, t) ->Tensor:
- raise NotImplementedError("wrong usage")
-
- def dsigma_mul_sigma(self, t) ->Tensor:
- raise NotImplementedError("wrong usage")
-
- def dalpha(self, t) -> Tensor:
- raise NotImplementedError("wrong usage")
-
- def alpha(self, t) -> Tensor:
- t = torch.clamp(t, min=1e-3, max=1)
- inter_beta: Tensor = 0.5 * self.beta_d * t ** 2 + self.beta_min * t
- return torch.exp(-0.5*inter_beta).view(-1, 1, 1, 1)
-
- def drift_coefficient(self, t):
- raise NotImplementedError("wrong usage")
-
- def diffuse_coefficient(self, t):
- raise NotImplementedError("wrong usage")
-
- def w(self, t):
- return self.diffuse_coefficient(t)
-
-
-
diff --git a/code/src/diffusion/ddpm/training.py b/code/src/diffusion/ddpm/training.py
deleted file mode 100644
index 2b831f68fdab5025c250e92163d448aa452164f8..0000000000000000000000000000000000000000
--- a/code/src/diffusion/ddpm/training.py
+++ /dev/null
@@ -1,83 +0,0 @@
-import torch
-from typing import Callable
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-class VPTrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- train_max_t=1000,
- lognorm_t=False,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.loss_weight_fn = loss_weight_fn
- self.train_max_t = train_max_t
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- batch_size = x.shape[0]
- if self.lognorm_t:
- t = torch.randn(batch_size).to(x.device, x.dtype).sigmoid()
- else:
- t = torch.rand(batch_size).to(x.device, x.dtype)
-
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
- x_t = alpha * x + noise * sigma
- out = net(x_t, t*self.train_max_t, y)
- weight = self.loss_weight_fn(alpha, sigma)
- loss = weight*(out - noise)**2
-
- out = dict(
- loss=loss.mean(),
- )
- return out
-
-
-class DDPMTrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn: Callable = constant,
- train_max_t=1000,
- lognorm_t=False,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.loss_weight_fn = loss_weight_fn
- self.train_max_t = train_max_t
-
- def _impl_trainstep(self, net, ema_net, x, y, metadata=None):
- batch_size = x.shape[0]
- t = torch.randint(0, self.train_max_t, (batch_size,))
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
- x_t = alpha * x + noise * sigma
- out = net(x_t, t, y)
- weight = self.loss_weight_fn(alpha, sigma)
- loss = weight * (out - noise) ** 2
-
- out = dict(
- loss=loss.mean(),
- )
- return out
\ No newline at end of file
diff --git a/code/src/diffusion/ddpm/vp_sampling.py b/code/src/diffusion/ddpm/vp_sampling.py
deleted file mode 100644
index 6d937587ade86a65b741e676f1837ceb81aeb3ab..0000000000000000000000000000000000000000
--- a/code/src/diffusion/ddpm/vp_sampling.py
+++ /dev/null
@@ -1,64 +0,0 @@
-import torch
-
-from src.diffusion.base.scheduling import *
-from src.diffusion.base.sampling import *
-from typing import Callable
-
-def ode_step_fn(x, eps, beta, sigma, dt):
- return x + (-0.5*beta*x + 0.5*eps*beta/sigma)*dt
-
-def sde_step_fn(x, eps, beta, sigma, dt):
- return x + (-0.5*beta*x + eps*beta/sigma)*dt + torch.sqrt(dt.abs()*beta)*torch.randn_like(x)
-
-import logging
-logger = logging.getLogger(__name__)
-
-class VPEulerSampler(BaseSampler):
- def __init__(
- self,
- train_max_t=1000,
- guidance_fn: Callable = None,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.guidance_fn = guidance_fn
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.train_max_t = train_max_t
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
- assert self.last_step > 0.0
- assert self.scheduler is not None
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- batch_size = noise.shape[0]
- steps = torch.linspace(1.0, self.last_step, self.num_steps, device=noise.device)
- steps = torch.cat([steps, torch.tensor([0.0], device=noise.device)], dim=0)
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = noise
- x_trajs = [noise, ]
- eps_trajs = []
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- beta = self.scheduler.beta(t_cur)
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur.repeat(2)
- out = net(cfg_x, cfg_t*self.train_max_t, cfg_condition)
- eps = self.guidance_fn(out, self.guidance)
- if i < self.num_steps -1 :
- x0 = self.last_step_fn(x, eps, beta, sigma, -t_cur[0])
- x = self.step_fn(x, eps, beta, sigma, dt)
- else:
- x = x0 = self.last_step_fn(x, eps, beta, sigma, -self.last_step)
- x_trajs.append(x)
- eps_trajs.append(eps)
- eps_trajs.append(torch.zeros_like(x))
- return x_trajs, eps_trajs
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/adam_sampling.py b/code/src/diffusion/flow_matching/adam_sampling.py
deleted file mode 100644
index 806ef743fc4e8d15a0a003ddb392afb6875bcb39..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/adam_sampling.py
+++ /dev/null
@@ -1,208 +0,0 @@
-import math
-from src.diffusion.base.sampling import *
-from src.diffusion.base.scheduling import *
-from src.diffusion.pre_integral import *
-
-from typing import Callable, List, Tuple
-
-def ode_step_fn(x, v, dt, s, w):
- return x + v * dt
-
-def t2snr(t):
- if isinstance(t, torch.Tensor):
- return (t.clip(min=1e-8)/(1-t + 1e-8))
- if isinstance(t, List) or isinstance(t, Tuple):
- return [t2snr(t) for t in t]
- t = max(t, 1e-8)
- return (t/(1-t + 1e-8))
-
-def t2logsnr(t):
- if isinstance(t, torch.Tensor):
- return torch.log(t.clip(min=1e-3)/(1-t + 1e-3))
- if isinstance(t, List) or isinstance(t, Tuple):
- return [t2logsnr(t) for t in t]
- t = max(t, 1e-3)
- return math.log(t/(1-t + 1e-3))
-
-def t2isnr(t):
- return 1/t2snr(t)
-
-def nop(t):
- return t
-
-def shift_respace_fn(t, shift=3.0):
- return t / (t + (1 - t) * shift)
-
-import logging
-logger = logging.getLogger(__name__)
-
-class AdamLMSampler(BaseSampler):
- def __init__(
- self,
- order: int = 2,
- timeshift: float = 1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- lms_transform_fn: Callable = nop,
- last_step=None,
- step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
-
- assert self.scheduler is not None
- assert self.step_fn in [ode_step_fn, ]
- self.order = order
- self.lms_transform_fn = lms_transform_fn
- self.last_step = last_step
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
-
- if self.last_step is None:
- self.last_step = 1.0/self.num_steps
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, timeshift)
- self.timedeltas = self.timesteps[1:] - self.timesteps[:-1]
- self._reparameterize_coeffs()
-
- def _reparameterize_coeffs(self):
- solver_coeffs = [[] for _ in range(self.num_steps)]
- for i in range(0, self.num_steps):
- pre_vs = [1.0, ]*(i+1)
- pre_ts = self.lms_transform_fn(self.timesteps[:i+1])
- int_t_start = self.lms_transform_fn(self.timesteps[i])
- int_t_end = self.lms_transform_fn(self.timesteps[i+1])
-
- order_annealing = self.order #self.num_steps - i
- order = min(self.order, i + 1, order_annealing)
-
- _, coeffs = lagrange_preint(order, pre_vs, pre_ts, int_t_start, int_t_end)
- solver_coeffs[i] = coeffs
- self.solver_coeffs = solver_coeffs
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Euler sampler
- -
- """
- batch_size = noise.shape[0]
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = x0 = noise
- pred_trajectory = []
- x_trajectory = [noise, ]
- v_trajectory = []
- t_cur = torch.zeros([batch_size,]).to(noise.device, noise.dtype)
- timedeltas = self.timedeltas
- solver_coeffs = self.solver_coeffs
- for i in range(self.num_steps):
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur.repeat(2)
- out = net(cfg_x, cfg_t, cfg_condition)
- if t_cur[0] > self.guidance_interval_min and t_cur[0] < self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- pred_trajectory.append(out)
- out = torch.zeros_like(out)
- order = len(self.solver_coeffs[i])
- for j in range(order):
- out += solver_coeffs[i][j] * pred_trajectory[-order:][j]
- v = out
- dt = timedeltas[i]
- x0 = self.step_fn(x, v, 1-t_cur[0], s=0, w=0)
- x = self.step_fn(x, v, dt, s=0, w=0)
- t_cur += dt
- x_trajectory.append(x)
- v_trajectory.append(v)
- v_trajectory.append(torch.zeros_like(noise))
- return x_trajectory, v_trajectory
-
-class AdamLMSamplerJiT(BaseSampler):
- def __init__(
- self,
- order: int = 2,
- timeshift: float = 1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- lms_transform_fn: Callable = nop,
- last_step=None,
- step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
-
- assert self.scheduler is not None
- assert self.step_fn in [ode_step_fn, ]
- self.order = order
- self.lms_transform_fn = lms_transform_fn
- self.last_step = last_step
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
-
- if self.last_step is None:
- self.last_step = 1.0/self.num_steps
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, timeshift)
- self.timedeltas = self.timesteps[1:] - self.timesteps[:-1]
- self._reparameterize_coeffs()
-
- def _reparameterize_coeffs(self):
- solver_coeffs = [[] for _ in range(self.num_steps)]
- for i in range(0, self.num_steps):
- pre_vs = [1.0, ]*(i+1)
- pre_ts = self.lms_transform_fn(self.timesteps[:i+1])
- int_t_start = self.lms_transform_fn(self.timesteps[i])
- int_t_end = self.lms_transform_fn(self.timesteps[i+1])
-
- order_annealing = self.order #self.num_steps - i
- order = min(self.order, i + 1, order_annealing)
-
- _, coeffs = lagrange_preint(order, pre_vs, pre_ts, int_t_start, int_t_end)
- solver_coeffs[i] = coeffs
- self.solver_coeffs = solver_coeffs
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Euler sampler
- -
- """
- batch_size = noise.shape[0]
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = x0 = noise
- pred_trajectory = []
- x_trajectory = [noise, ]
- v_trajectory = []
- t_cur = torch.zeros([batch_size,]).to(noise.device, noise.dtype)
- timedeltas = self.timedeltas
- solver_coeffs = self.solver_coeffs
- for i in range(self.num_steps):
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur.repeat(2)
- out = net(cfg_x, cfg_t, cfg_condition)
- out = (out - cfg_x)/(1.0-cfg_t.view(-1, 1, 1, 1)).clamp_min(5e-2) # pred v
- if t_cur[0] > self.guidance_interval_min and t_cur[0] < self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- pred_trajectory.append(out)
- out = torch.zeros_like(out)
- order = len(self.solver_coeffs[i])
- for j in range(order):
- out += solver_coeffs[i][j] * pred_trajectory[-order:][j]
- v = out
- dt = timedeltas[i]
- x0 = self.step_fn(x, v, 1-t_cur[0], s=0, w=0)
- x = self.step_fn(x, v, dt, s=0, w=0)
- t_cur += dt
- x_trajectory.append(x)
- v_trajectory.append(v)
- v_trajectory.append(torch.zeros_like(noise))
- return x_trajectory, v_trajectory
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/sampling.py b/code/src/diffusion/flow_matching/sampling.py
deleted file mode 100644
index ff64fca663fc7d5ca2450eb34191d687bcccf99d..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/sampling.py
+++ /dev/null
@@ -1,522 +0,0 @@
-import torch
-import os
-
-from src.diffusion.base.guidance import *
-from src.diffusion.base.scheduling import *
-from src.diffusion.base.sampling import *
-
-from typing import Callable
-
-
-def shift_respace_fn(t, shift=3.0):
- return t / (t + (1 - t) * shift)
-
-def ode_step_fn(x, v, dt, s, w):
- return x + v * dt
-
-def sde_mean_step_fn(x, v, dt, s, w):
- return x + v * dt + s * w * dt
-
-def sde_step_fn(x, v, dt, s, w):
- return x + v*dt + s * w* dt + torch.sqrt(2*w*dt)*torch.randn_like(x)
-
-def sde_preserve_step_fn(x, v, dt, s, w):
- return x + v*dt + 0.5*s*w* dt + torch.sqrt(w*dt)*torch.randn_like(x)
-
-def sid2_step_fn(x, v, dt, s, w):
- gamma = 1.0
- noise_scale = gamma* w * dt.abs()
- # 3. 组合
- return x + v * dt + noise_scale * torch.randn_like(x)
-
-import logging
-logger = logging.getLogger(__name__)
-
-class EulerSampler(BaseSampler):
- def __init__(
- self,
- w_scheduler: BaseScheduler = None,
- timeshift=1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
- assert self.w_scheduler is not None or self.step_fn in [ode_step_fn, ]
- if self.w_scheduler is not None:
- if self.step_fn == ode_step_fn:
- logger.warning("current sampler is ODE sampler, but w_scheduler is enabled")
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Euler sampler
- -
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device, noise.dtype)
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = noise
- x_trajs = [noise,]
- v_trajs = []
- # print(steps)
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- dalpha_over_alpha = self.scheduler.dalpha_over_alpha(t_cur)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur)
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur)
- else:
- w = 0.0
-
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur.repeat(2)
- out = net(cfg_x, cfg_t, cfg_condition)
- # print(t_cur[0])
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- v = out
- s = ((1/dalpha_over_alpha)*v - x)/(sigma**2 - (1/dalpha_over_alpha)*dsigma_mul_sigma)
- if i < self.num_steps -1 :
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
- x_trajs.append(x)
- v_trajs.append(v)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
-
-class EulerSamplerJiT(BaseSampler):
- def __init__(
- self,
- w_scheduler: BaseScheduler = None,
- timeshift=1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
- assert self.w_scheduler is not None or self.step_fn in [ode_step_fn, ]
- if self.w_scheduler is not None:
- if self.step_fn == ode_step_fn:
- logger.warning("current sampler is ODE sampler, but w_scheduler is enabled")
- self.t_eps = 5e-2
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Euler sampler
- -
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device, noise.dtype)
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = noise
- x_trajs = [noise,]
- v_trajs = []
- # print(steps)
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- dalpha_over_alpha = self.scheduler.dalpha_over_alpha(t_cur)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur)
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur)
- else:
- w = 0.0
-
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur.repeat(2)
- out = net(cfg_x, cfg_t, cfg_condition)
- # out = out.clamp(min=-1, max=1)
- out = (out - cfg_x)/(1.0-cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # pred v
-
- # print(t_cur[0])
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- v = out
- s = ((1/dalpha_over_alpha)*v - x)/(sigma**2 - (1/dalpha_over_alpha)*dsigma_mul_sigma)
- if i < self.num_steps -1 :
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
- x_trajs.append(x)
- v_trajs.append(v)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
-
-class EulerSamplerJiTAutoGuidance(BaseSampler):
- def __init__(
- self,
- w_scheduler: BaseScheduler = None,
- timeshift=1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- guide_net_path = None,
- guide_net:nn.Module=None,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
- assert self.w_scheduler is not None or self.step_fn in [ode_step_fn, ]
- if self.w_scheduler is not None:
- if self.step_fn == ode_step_fn:
- logger.warning("current sampler is ODE sampler, but w_scheduler is enabled")
-
- self.guide_net = guide_net
- self.guide_net_path = guide_net_path
- self.load_guide_net()
- self.guide_net.compile()
- self.t_eps = 5e-2
-
- def load_guide_net(self):
- # self.guide_net = deepcopy(net)
- ckpt = torch.load(self.guide_net_path, map_location="cpu")
- state_dict = ckpt["state_dict"]
- ema_prefix = "ema_denoiser."
- ema_state_dict = {
- k[len(ema_prefix):]: v
- for k, v in state_dict.items()
- if k.startswith(ema_prefix)
- }
-
- if not ema_state_dict:
- raise ValueError("No parameters found with prefix 'ema_denoiser.' in state_dict")
- self.guide_net.load_state_dict(ema_state_dict, strict=True)
- self.guide_net.eval()
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Euler sampler
- -
- """
- if self.guide_net is None:
- self.load_guide_net(net)
-
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device, noise.dtype)
- cfg_condition = condition
- x = noise
- x_trajs = [noise,]
- v_trajs = []
- # print(steps)
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- dalpha_over_alpha = self.scheduler.dalpha_over_alpha(t_cur)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur)
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur)
- else:
- w = 0.0
-
- cfg_x = x
- cfg_t = t_cur
- precise_out = net(cfg_x, cfg_t, cfg_condition)
- precise_out = (precise_out - cfg_x)/(1.0-cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # pred v
- worse_out = self.guide_net(cfg_x, cfg_t, cfg_condition)
- worse_out = (worse_out - cfg_x)/(1.0-cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # pred v
- out = torch.cat([worse_out, precise_out], dim=0)
-
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- v = out
- s = ((1/dalpha_over_alpha)*v - x)/(sigma**2 - (1/dalpha_over_alpha)*dsigma_mul_sigma)
- if i < self.num_steps -1 :
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
- x_trajs.append(x)
- v_trajs.append(v)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
-
-class HeunSampler(BaseSampler):
- def __init__(
- self,
- scheduler: BaseScheduler = None,
- w_scheduler: BaseScheduler = None,
- exact_henu=False,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- timeshift=1.0,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.scheduler = scheduler
- self.exact_henu = exact_henu
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
- assert self.w_scheduler is not None or self.step_fn in [ode_step_fn, ]
- if self.w_scheduler is not None:
- if self.step_fn == ode_step_fn:
- logger.warning("current sampler is ODE sampler, but w_scheduler is enabled")
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Henu sampler
- -
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device)
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = noise
- v_hat, s_hat = 0.0, 0.0
- x_trajs = [noise, ]
- v_trajs = []
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- alpha_over_dalpha = 1/self.scheduler.dalpha_over_alpha(t_cur)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur)
- t_hat = t_next
- t_hat = t_hat.repeat(batch_size)
- sigma_hat = self.scheduler.sigma(t_hat)
- alpha_over_dalpha_hat = 1 / self.scheduler.dalpha_over_alpha(t_hat)
- dsigma_mul_sigma_hat = self.scheduler.dsigma_mul_sigma(t_hat)
-
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur)
- else:
- w = 0.0
- if i == 0 or self.exact_henu:
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t_cur = t_cur.repeat(2)
- out = net(cfg_x, cfg_t_cur, cfg_condition)
- # out = self.guidance_fn(out, self.guidance)
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- v = out
- s = ((alpha_over_dalpha)*v - x)/(sigma**2 - (alpha_over_dalpha)*dsigma_mul_sigma)
- else:
- v = v_hat
- s = s_hat
- x_hat = self.step_fn(x, v, dt, s=s, w=w)
- # henu correct
- if i < self.num_steps -1:
- cfg_x_hat = torch.cat([x_hat, x_hat], dim=0)
- cfg_t_hat = t_hat.repeat(2)
- out = net(cfg_x_hat, cfg_t_hat, cfg_condition)
-
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
-
- v_hat = out
- s_hat = ((alpha_over_dalpha_hat)* v_hat - x_hat) / (sigma_hat ** 2 - (alpha_over_dalpha_hat) * dsigma_mul_sigma_hat)
- v = (v + v_hat) / 2
- s = (s + s_hat) / 2
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
- x_trajs.append(x)
- v_trajs.append(v)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
-
-class HeunSamplerJiT(BaseSampler):
- def __init__(
- self,
- scheduler: BaseScheduler = None,
- w_scheduler: BaseScheduler = None,
- exact_henu=False,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- timeshift=1.0,
- step_fn: Callable = ode_step_fn,
- last_step=None,
- last_step_fn: Callable = ode_step_fn,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.scheduler = scheduler
- self.exact_henu = exact_henu
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
- assert self.w_scheduler is not None or self.step_fn in [ode_step_fn, ]
- if self.w_scheduler is not None:
- if self.step_fn == ode_step_fn:
- logger.warning("current sampler is ODE sampler, but w_scheduler is enabled")
- self.t_eps = 5e-2
-
- def _impl_sampling(self, net, noise, condition, uncondition):
- """
- sampling process of Henu sampler
- -
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device)
- cfg_condition = torch.cat([uncondition, condition], dim=0)
- x = noise
- v_hat, s_hat = 0.0, 0.0
- x_trajs = [noise, ]
- v_trajs = []
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur = t_cur.repeat(batch_size)
- sigma = self.scheduler.sigma(t_cur)
- alpha_over_dalpha = 1/self.scheduler.dalpha_over_alpha(t_cur)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur)
- t_hat = t_next
- t_hat = t_hat.repeat(batch_size)
- sigma_hat = self.scheduler.sigma(t_hat)
- alpha_over_dalpha_hat = 1 / self.scheduler.dalpha_over_alpha(t_hat)
- dsigma_mul_sigma_hat = self.scheduler.dsigma_mul_sigma(t_hat)
-
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur)
- else:
- w = 0.0
- if i == 0 or self.exact_henu:
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t_cur = t_cur.repeat(2)
- out = net(cfg_x, cfg_t_cur, cfg_condition)
- out = (out - cfg_x)/(1.0-cfg_t_cur.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # pred v
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
- v = out
- s = ((alpha_over_dalpha)*v - x)/(sigma**2 - (alpha_over_dalpha)*dsigma_mul_sigma)
- else:
- v = v_hat
- s = s_hat
- x_hat = self.step_fn(x, v, dt, s=s, w=w)
- # henu correct
- if i < self.num_steps -1:
- cfg_x_hat = torch.cat([x_hat, x_hat], dim=0)
- cfg_t_hat = t_hat.repeat(2)
- out = net(cfg_x_hat, cfg_t_hat, cfg_condition)
- out = (out - cfg_x_hat)/(1.0-cfg_t_hat.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # pred v
- if t_cur[0] > self.guidance_interval_min and t_cur[0] <= self.guidance_interval_max:
- guidance = self.guidance
- out = self.guidance_fn(out, guidance)
- else:
- out = self.guidance_fn(out, 1.0)
-
- v_hat = out
- s_hat = ((alpha_over_dalpha_hat)* v_hat - x_hat) / (sigma_hat ** 2 - (alpha_over_dalpha_hat) * dsigma_mul_sigma_hat)
- v = (v + v_hat) / 2
- s = (s + s_hat) / 2
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
- x_trajs.append(x)
- v_trajs.append(v)
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/sampling_medical.py b/code/src/diffusion/flow_matching/sampling_medical.py
deleted file mode 100644
index 15d5b1bd47da2a7078bac2d82554b2e84781b29a..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/sampling_medical.py
+++ /dev/null
@@ -1,284 +0,0 @@
-# Sampling for Medical Image Generation with Mask Conditioning
-# Based on sampling.py with mask support
-
-import torch
-import torch.nn as nn
-from typing import Callable
-import logging
-
-from src.diffusion.base.guidance import *
-from src.diffusion.base.scheduling import BaseScheduler
-from src.diffusion.base.sampling import BaseSampler
-
-logger = logging.getLogger(__name__)
-
-
-def shift_respace_fn(t, shift=3.0):
- return t / (t + (1 - t) * shift)
-
-
-def ode_step_fn(x, v, dt, s, w):
- return x + v * dt
-
-
-class EulerSamplerMedical(BaseSampler):
- """
- Euler sampler for mask-conditional medical image generation.
- """
-
- def __init__(
- self,
- w_scheduler: BaseScheduler = None,
- timeshift: float = 1.0,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- step_fn: Callable = ode_step_fn,
- last_step: float = None,
- last_step_fn: Callable = ode_step_fn,
- t_eps: float = 0.05,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
- self.t_eps = t_eps
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
-
- def _impl_sampling(self, net, noise, condition, uncondition, mask=None):
- """
- Sampling with mask conditioning.
-
- Args:
- net: Denoiser network
- noise: Initial noise [N, 3, H, W]
- condition: Mask embedding [N, hidden_size]
- uncondition: Null embedding [N, hidden_size]
- mask: Optional mask tensor [N, C, H, W] for direct conditioning
-
- Returns:
- x_trajs: List of intermediate samples
- v_trajs: List of velocity predictions
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device, noise.dtype)
-
- # CFG: concatenate uncondition and condition
- # Note: For mask conditioning, we handle this differently
- x = noise
- x_trajs = [noise]
- v_trajs = []
-
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur_batch = t_cur.repeat(batch_size)
-
- sigma = self.scheduler.sigma(t_cur_batch)
- dalpha_over_alpha = self.scheduler.dalpha_over_alpha(t_cur_batch)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur_batch)
-
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur_batch)
- else:
- w = 0.0
-
- # CFG forward pass
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur_batch.repeat(2)
-
- # For mask conditioning, we need to handle y (class label)
- # and pass mask separately to the model
- y_uncond = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- y_cond = torch.zeros(batch_size, dtype=torch.long, device=noise.device)
- cfg_y = torch.cat([y_uncond, y_cond], dim=0)
-
- if mask is not None:
- cfg_mask = torch.cat([
- torch.zeros_like(mask), # Unconditional: zero mask
- mask # Conditional: actual mask
- ], dim=0)
- out = net(cfg_x, cfg_t, cfg_y, mask=cfg_mask)
- else:
- out = net(cfg_x, cfg_t, cfg_y, mask=None)
-
- # Convert x-prediction to velocity
- out = (out - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Apply CFG
- if t_cur > self.guidance_interval_min and t_cur <= self.guidance_interval_max:
- out = self.guidance_fn(out, self.guidance)
- else:
- out = self.guidance_fn(out, 1.0)
-
- v = out
- s = ((1 / dalpha_over_alpha) * v - x) / (sigma ** 2 - (1 / dalpha_over_alpha) * dsigma_mul_sigma)
-
- if i < self.num_steps - 1:
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
-
- x_trajs.append(x)
- v_trajs.append(v)
-
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
-
-
-class HeunSamplerMedical(BaseSampler):
- """
- Heun sampler for mask-conditional medical image generation.
- Second-order ODE solver for better quality.
- """
-
- def __init__(
- self,
- scheduler: BaseScheduler = None,
- w_scheduler: BaseScheduler = None,
- exact_heun: bool = True,
- guidance_interval_min: float = 0.0,
- guidance_interval_max: float = 1.0,
- timeshift: float = 1.0,
- step_fn: Callable = ode_step_fn,
- last_step: float = None,
- last_step_fn: Callable = ode_step_fn,
- t_eps: float = 0.05,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.scheduler = scheduler
- self.exact_heun = exact_heun
- self.step_fn = step_fn
- self.last_step = last_step
- self.last_step_fn = last_step_fn
- self.w_scheduler = w_scheduler
- self.timeshift = timeshift
- self.guidance_interval_min = guidance_interval_min
- self.guidance_interval_max = guidance_interval_max
- self.t_eps = t_eps
-
- if self.last_step is None or self.num_steps == 1:
- self.last_step = 1.0 / self.num_steps
-
- timesteps = torch.linspace(0.0, 1 - self.last_step, self.num_steps)
- timesteps = torch.cat([timesteps, torch.tensor([1.0])], dim=0)
- self.timesteps = shift_respace_fn(timesteps, self.timeshift)
-
- assert self.last_step > 0.0
- assert self.scheduler is not None
-
- def _forward_with_cfg(self, net, x, t, mask=None):
- """Forward pass with CFG for mask conditioning."""
- batch_size = x.shape[0] // 2
-
- y = torch.zeros(x.shape[0], dtype=torch.long, device=x.device)
-
- if mask is not None:
- out = net(x, t, y, mask=mask)
- else:
- out = net(x, t, y, mask=None)
-
- return out
-
- def _impl_sampling(self, net, noise, condition, uncondition, mask=None):
- """
- Heun sampling with mask conditioning.
- """
- batch_size = noise.shape[0]
- steps = self.timesteps.to(noise.device)
-
- x = noise
- v_hat, s_hat = 0.0, 0.0
- x_trajs = [noise]
- v_trajs = []
-
- for i, (t_cur, t_next) in enumerate(zip(steps[:-1], steps[1:])):
- dt = t_next - t_cur
- t_cur_batch = t_cur.repeat(batch_size)
-
- sigma = self.scheduler.sigma(t_cur_batch)
- alpha_over_dalpha = 1 / self.scheduler.dalpha_over_alpha(t_cur_batch)
- dsigma_mul_sigma = self.scheduler.dsigma_mul_sigma(t_cur_batch)
-
- t_hat = t_next.repeat(batch_size)
- sigma_hat = self.scheduler.sigma(t_hat)
- alpha_over_dalpha_hat = 1 / self.scheduler.dalpha_over_alpha(t_hat)
- dsigma_mul_sigma_hat = self.scheduler.dsigma_mul_sigma(t_hat)
-
- if self.w_scheduler:
- w = self.w_scheduler.w(t_cur_batch)
- else:
- w = 0.0
-
- if i == 0 or self.exact_heun:
- # First evaluation
- cfg_x = torch.cat([x, x], dim=0)
- cfg_t = t_cur_batch.repeat(2)
-
- if mask is not None:
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- else:
- cfg_mask = None
-
- out = self._forward_with_cfg(net, cfg_x, cfg_t, cfg_mask)
- out = (out - cfg_x) / (1.0 - cfg_t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- if t_cur > self.guidance_interval_min and t_cur <= self.guidance_interval_max:
- out = self.guidance_fn(out, self.guidance)
- else:
- out = self.guidance_fn(out, 1.0)
-
- v = out
- s = (alpha_over_dalpha * v - x) / (sigma ** 2 - alpha_over_dalpha * dsigma_mul_sigma)
- else:
- v = v_hat
- s = s_hat
-
- x_hat = self.step_fn(x, v, dt, s=s, w=w)
-
- # Heun correction
- if i < self.num_steps - 1:
- cfg_x_hat = torch.cat([x_hat, x_hat], dim=0)
- cfg_t_hat = t_hat.repeat(2)
-
- if mask is not None:
- cfg_mask = torch.cat([torch.zeros_like(mask), mask], dim=0)
- else:
- cfg_mask = None
-
- out = self._forward_with_cfg(net, cfg_x_hat, cfg_t_hat, cfg_mask)
- out = (out - cfg_x_hat) / (1.0 - cfg_t_hat.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- if t_cur > self.guidance_interval_min and t_cur <= self.guidance_interval_max:
- out = self.guidance_fn(out, self.guidance)
- else:
- out = self.guidance_fn(out, 1.0)
-
- v_hat = out
- s_hat = (alpha_over_dalpha_hat * v_hat - x_hat) / (sigma_hat ** 2 - alpha_over_dalpha_hat * dsigma_mul_sigma_hat)
- v = (v + v_hat) / 2
- s = (s + s_hat) / 2
- x = self.step_fn(x, v, dt, s=s, w=w)
- else:
- x = self.last_step_fn(x, v, dt, s=s, w=w)
-
- x_trajs.append(x)
- v_trajs.append(v)
-
- v_trajs.append(torch.zeros_like(x))
- return x_trajs, v_trajs
diff --git a/code/src/diffusion/flow_matching/scheduling.py b/code/src/diffusion/flow_matching/scheduling.py
deleted file mode 100644
index 7b8be5226663ed32ec6c8d93ec6640d22526b5df..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/scheduling.py
+++ /dev/null
@@ -1,45 +0,0 @@
-import math
-import torch
-from src.diffusion.base.scheduling import *
-
-
-class LinearScheduler(BaseScheduler):
- def alpha(self, t) -> Tensor:
- return (t).view(-1, 1, 1, 1)
- def sigma(self, t) -> Tensor:
- return (1-t).view(-1, 1, 1, 1)
- def dalpha(self, t) -> Tensor:
- return torch.full_like(t, 1.0).view(-1, 1, 1, 1)
- def dsigma(self, t) -> Tensor:
- return torch.full_like(t, -1.0).view(-1, 1, 1, 1)
-
-# SoTA for ImageNet!
-class GVPScheduler(BaseScheduler):
- def alpha(self, t) -> Tensor:
- return torch.cos(t * (math.pi / 2)).view(-1, 1, 1, 1)
- def sigma(self, t) -> Tensor:
- return torch.sin(t * (math.pi / 2)).view(-1, 1, 1, 1)
- def dalpha(self, t) -> Tensor:
- return -torch.sin(t * (math.pi / 2)).view(-1, 1, 1, 1)
- def dsigma(self, t) -> Tensor:
- return torch.cos(t * (math.pi / 2)).view(-1, 1, 1, 1)
- def w(self, t):
- return torch.sin(t)**2
-
-class ConstScheduler(BaseScheduler):
- def w(self, t):
- return torch.ones(1, 1, 1, 1).to(t.device, t.dtype)
-
-class GammaScheduler(BaseScheduler):
- def __init__(self, gamma=0.3):
- self.gamma = gamma
- def w(self, t):
- return torch.full((1, 1, 1, 1), self.gamma).to(t.device, t.dtype)
-
-from src.diffusion.ddpm.scheduling import VPScheduler
-class VPBetaScheduler(VPScheduler):
- def w(self, t):
- return self.beta(t).view(-1, 1, 1, 1)
-
-
-
diff --git a/code/src/diffusion/flow_matching/training.py b/code/src/diffusion/flow_matching/training.py
deleted file mode 100644
index 8bbb4fbf7e787d58955825b043efa589ffe98af8..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training.py
+++ /dev/null
@@ -1,61 +0,0 @@
-import torch
-from typing import Callable
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-class FlowMatchingTrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- lognorm_t=False,
- timeshift=1.0,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- batch_size = x.shape[0]
- if self.lognorm_t:
- t = torch.randn(batch_size).to(x.device, x.dtype).sigmoid()
- else:
- t = torch.rand(batch_size).to(x.device, x.dtype)
- t = time_shift_fn(t, self.timeshift)
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
- w = self.scheduler.w(t)
-
- x_t = alpha * x + noise * sigma
- v_t = dalpha * x + dsigma * noise
- out = net(x_t, t, y)
-
- weight = self.loss_weight_fn(alpha, sigma)
-
- loss = weight*(out - v_t)**2
-
- out = dict(
- loss=loss.mean(),
- )
- return out
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/training_medical.py b/code/src/diffusion/flow_matching/training_medical.py
deleted file mode 100644
index 40edf94a973ef845a7263c3a68298252ef04a593..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_medical.py
+++ /dev/null
@@ -1,335 +0,0 @@
-# Training for Medical Image Generation with Mask Conditioning
-# Based on training_repa_JiT_LPIPS_DINO_NoiseGating.py
-
-import torch
-import torch.nn as nn
-import lpips
-import math
-from typing import Callable
-
-from src.utils.no_grad import freeze_model
-from src.diffusion.base.training import BaseTrainer
-from src.diffusion.base.scheduling import BaseScheduler
-
-
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t / (t + (1 - t) * timeshift)
-
-
-class MedicalREPATrainer(BaseTrainer):
- """
- Trainer for medical image generation with:
- - Mask conditioning
- - LPIPS perceptual loss
- - Optional DINO perceptual loss (if encoder provided)
- - Noise-gating strategy
- """
-
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn: Callable = constant,
- feat_loss_weight: float = 0.5,
- lognorm_t: bool = True,
- timeshift: float = 1.0,
- encoder: nn.Module = None, # DINOv2 encoder (optional for medical)
- align_layer: int = 8,
- proj_denoiser_dim: int = 768,
- proj_hidden_dim: int = 768,
- proj_encoder_dim: int = 768,
- P_mean: float = -0.8,
- P_std: float = 0.8,
- t_eps: float = 0.05,
- lpips_weight: float = 0.1,
- dino_weight: float = 0.01,
- percept_t_threshold: float = 0.3,
- noise_scale: float = 1.0,
- patch_size: int = 16,
- use_dino: bool = False, # Disable DINO by default for medical
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.use_dino = use_dino and (encoder is not None)
-
- # DINO encoder (optional)
- if self.use_dino:
- self.encoder = encoder
- freeze_model(self.encoder)
- self.proj = nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- self.dino_layers = [11]
- else:
- self.encoder = None
- self.proj = None
-
- # LPIPS loss
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- freeze_model(self.lpips_loss_fn)
-
- self.patch_size = patch_size
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.dino_weight = dino_weight
- self.percept_t_threshold = percept_t_threshold
- self.noise_scale = noise_scale
-
- def compute_lpips_loss(self, pred_img, x, percept_mask=None):
- """Compute LPIPS loss with optional noise-gating mask."""
- batch_size, _, height, width = pred_img.shape
-
- # Resize for LPIPS if not 256
- if self.patch_size != 16:
- new_scale = int(height * 16 // self.patch_size)
- pred_img = torch.nn.functional.interpolate(
- pred_img, size=(new_scale, new_scale),
- mode='bilinear', align_corners=False, antialias=True
- )
- x = torch.nn.functional.interpolate(
- x, size=(new_scale, new_scale),
- mode='bilinear', align_corners=False, antialias=True
- )
-
- if percept_mask is not None:
- lpips_val = self.lpips_loss_fn(pred_img, x).view(batch_size, -1)
- lpips_loss = (lpips_val * percept_mask).mean(dim=1)
- lpips_loss = lpips_loss.sum() / percept_mask.sum() if percept_mask.sum() > 0 else lpips_loss.sum()
- else:
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
-
- return lpips_loss
-
- def compute_dino_loss(self, pred_dino_feats, gt_dino_feats, percept_mask=None):
- """Compute DINO perceptual loss."""
- cos_losses = {}
- final_cos_loss = 0
- batch_size = pred_dino_feats[0].shape[0]
-
- for i, (pred_feat, gt_feat) in enumerate(zip(pred_dino_feats, gt_dino_feats)):
- if percept_mask is not None:
- mask = percept_mask.reshape(batch_size, 1, 1)
- cos_sim = (torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1) * mask).mean(dim=(1, 2))
- cos_sim = cos_sim.sum() / mask.sum() if mask.sum() > 0 else cos_sim.sum()
- cos_loss = 1 - cos_sim
- else:
- cos_loss = 1 - torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1).view(batch_size, -1).mean()
-
- cos_losses[f"inter_cos_{i}"] = cos_loss
- final_cos_loss += cos_loss
-
- cos_losses["dino_percept_loss"] = final_cos_loss / len(pred_dino_feats)
- return cos_losses
-
- def _impl_trainstep(self, net, ema_net, solver, x, condition, metadata=None):
- """Training step with mask conditioning.
-
- For medical images, we use mask from metadata directly,
- not the condition from conditioner.
- """
- raw_images = metadata.get("raw_image", None)
- mask = metadata.get("mask", None)
-
- batch_size, c, height, width = x.shape
- # Class labels - use zeros for medical (single class)
- y = torch.zeros(batch_size, dtype=torch.long, device=x.device)
-
- self.lpips_loss_fn.eval()
-
- # Sample timesteps
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32) * self.P_std + self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift)
-
- # Add noise
- noise = self.noise_scale * torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
-
- x_t = alpha * x + noise * sigma
-
- # Velocity target
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Forward pass with mask conditioning
- if self.use_dino:
- pred_img, src_feature = net(x_t, t, y, mask=mask, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- else:
- pred_img = net(x_t, t, y, mask=mask)
-
- # Compute velocity from prediction
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Flow matching loss
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight * (out - v_t) ** 2
-
- # Noise-gating mask for perceptual losses
- if self.percept_t_threshold > 0:
- percept_mask = (t >= self.percept_t_threshold).float().reshape(batch_size, -1)
- else:
- percept_mask = None
-
- # LPIPS loss
- lpips_loss = self.compute_lpips_loss(pred_img, x, percept_mask)
-
- # DINO loss (if enabled)
- dino_losses = {}
- cos_loss = torch.tensor(0.0, device=x.device)
-
- if self.use_dino and raw_images is not None:
- with torch.no_grad():
- dst_features = self.encoder.get_intermediate_feats(raw_images, n=self.dino_layers)
-
- # REPA loss (hidden feature alignment)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_features[-1], dim=-1)
- cos_loss = (1 - cos_sim).mean()
-
- # P-DINO loss (predicted image feature alignment)
- raw_pred_img = (pred_img + 1) / 2 # [-1, 1] -> [0, 1]
- pred_feats = self.encoder.get_intermediate_feats(raw_pred_img, n=self.dino_layers)
- dino_losses = self.compute_dino_loss(pred_feats, dst_features, percept_mask)
-
- # Total loss
- final_loss = fm_loss.mean() + self.lpips_weight * lpips_loss
-
- if self.use_dino:
- final_loss = final_loss + self.feat_loss_weight * cos_loss
- if "dino_percept_loss" in dino_losses:
- final_loss = final_loss + self.dino_weight * dino_losses["dino_percept_loss"]
-
- out_dict = dict(
- fm_loss=fm_loss.mean(),
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
-
- if self.use_dino:
- out_dict["cos_loss"] = cos_loss
- out_dict.update(dino_losses)
-
- return out_dict
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- if self.proj is not None:
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
-
-
-class MedicalTrainerSimple(BaseTrainer):
- """
- Simplified trainer for medical images with only LPIPS loss.
- No DINO encoder required - suitable for domains where DINOv2 may not work well.
- """
-
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn: Callable = constant,
- lognorm_t: bool = True,
- timeshift: float = 1.0,
- P_mean: float = -0.8,
- P_std: float = 0.8,
- t_eps: float = 0.05,
- lpips_weight: float = 0.1,
- percept_t_threshold: float = 0.3,
- noise_scale: float = 1.0,
- patch_size: int = 16,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
-
- # LPIPS loss only
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- freeze_model(self.lpips_loss_fn)
-
- self.patch_size = patch_size
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.percept_t_threshold = percept_t_threshold
- self.noise_scale = noise_scale
-
- def _impl_trainstep(self, net, ema_net, solver, x, condition, metadata=None):
- """
- Training step for medical image generation.
-
- For medical images, the 'condition' from conditioner is not used directly.
- Instead, we use mask from metadata and class labels from metadata.
- """
- mask = metadata.get("mask", None)
- # Class labels - use zeros for medical (single class)
- batch_size, c, height, width = x.shape
- y = torch.zeros(batch_size, dtype=torch.long, device=x.device)
-
- self.lpips_loss_fn.eval()
-
- # Sample timesteps
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32) * self.P_std + self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift)
-
- # Add noise
- noise = self.noise_scale * torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
-
- x_t = alpha * x + noise * sigma
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Forward pass - mask is passed directly to the model
- pred_img = net(x_t, t, y, mask=mask)
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Flow matching loss
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight * (out - v_t) ** 2
-
- # LPIPS loss with noise-gating
- if self.percept_t_threshold > 0:
- percept_mask = (t >= self.percept_t_threshold).float().reshape(batch_size, -1)
- lpips_val = self.lpips_loss_fn(pred_img, x).view(batch_size, -1)
- lpips_loss = (lpips_val * percept_mask).mean(dim=1)
- lpips_loss = lpips_loss.sum() / percept_mask.sum() if percept_mask.sum() > 0 else lpips_loss.sum()
- else:
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
-
- final_loss = fm_loss.mean() + self.lpips_weight * lpips_loss
-
- return dict(
- fm_loss=fm_loss.mean(),
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- pass # No additional parameters to save
diff --git a/code/src/diffusion/flow_matching/training_repa.py b/code/src/diffusion/flow_matching/training_repa.py
deleted file mode 100644
index 4902c747003fff75b5d200a5b4fa09bd6b81a5b3..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_repa.py
+++ /dev/null
@@ -1,121 +0,0 @@
-import torch
-import copy
-import timm
-from torch.nn import Parameter
-
-from src.utils.no_grad import no_grad
-from typing import Callable, Iterator, Tuple
-from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from torchvision.transforms import Normalize
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-
-class REPATrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- feat_loss_weight: float=0.5,
- lognorm_t=False,
- timeshift=1.0,
- encoder:nn.Module=None,
- align_layer=8,
- proj_denoiser_dim=256,
- proj_hidden_dim=256,
- proj_encoder_dim=256,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.encoder = encoder
- no_grad(self.encoder)
-
- self.proj = nn.Sequential(
- nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- )
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raw_images = metadata["raw_image"]
- batch_size, c, height, width = x.shape
- if self.lognorm_t:
- base_t = torch.randn((batch_size), device=x.device, dtype=torch.float32).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift) #.to(x.dtype)
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
-
- x_t = alpha * x + noise * sigma
- v_t = dalpha * x + dsigma * noise
-
- src_feature = []
- def forward_hook(net, input, output):
- feature = output
- if isinstance(feature, tuple):
- feature = feature[0] # mmdit
- src_feature.append(feature)
- if getattr(net, "encoder", None) is not None:
- handle = net.encoder.blocks[self.align_layer - 1].register_forward_hook(forward_hook)
- else:
- handle = net.blocks[self.align_layer - 1].register_forward_hook(forward_hook)
-
- out = net(x_t, t, y)
- src_feature = self.proj(src_feature[0])
- handle.remove()
-
- with torch.no_grad():
- dst_feature = self.encoder(raw_images)
- if dst_feature.shape[1] != src_feature.shape[1]:
- src_feature = src_feature[:, :dst_feature.shape[1]]
-
-
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_feature, dim=-1)
- cos_loss = 1 - cos_sim
-
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight*(out - v_t)**2
- out = dict(
- fm_loss=fm_loss.mean(),
- cos_loss=cos_loss.mean(),
- loss=fm_loss.mean() + self.feat_loss_weight*cos_loss.mean(),
- )
-
- return out
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
-
diff --git a/code/src/diffusion/flow_matching/training_repa_JiT.py b/code/src/diffusion/flow_matching/training_repa_JiT.py
deleted file mode 100644
index 8e1e16e2994330a2b50c12cf32920f653dc4a69f..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_repa_JiT.py
+++ /dev/null
@@ -1,114 +0,0 @@
-import torch
-import copy
-import timm
-from torch.nn import Parameter
-
-from src.utils.no_grad import no_grad
-from typing import Callable, Iterator, Tuple
-from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from torchvision.transforms import Normalize
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-
-class REPATrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- feat_loss_weight: float=0.5,
- lognorm_t=False,
- timeshift=1.0,
- encoder:nn.Module=None,
- align_layer=8,
- proj_denoiser_dim=256,
- proj_hidden_dim=256,
- proj_encoder_dim=256,
- P_mean=-0.8,
- P_std=0.8,
- t_eps=0.05,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.encoder = encoder
- no_grad(self.encoder)
-
- self.proj = nn.Sequential(
- nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- )
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raw_images = metadata["raw_image"]
- batch_size, c, height, width = x.shape
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32)*self.P_std+self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift) #.to(x.dtype)
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
-
- x_t = alpha * x + noise * sigma
-
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # v_t = dalpha * x + dsigma * noise
-
- out, src_feature = net(x_t, t, y, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- out = (out - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # compute v from pred x
-
- with torch.no_grad():
- dst_feature = self.encoder(raw_images)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_feature, dim=-1)
- cos_loss = 1 - cos_sim
-
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight*(out - v_t)**2
- out = dict(
- fm_loss=fm_loss.mean(),
- cos_loss=cos_loss.mean(),
- loss=fm_loss.mean() + self.feat_loss_weight*cos_loss.mean(),
- )
-
- return out
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS.py b/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS.py
deleted file mode 100644
index 88505c35612ae0a0f086112b02701f0ebcb2a463..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS.py
+++ /dev/null
@@ -1,126 +0,0 @@
-import torch
-import copy
-import timm
-from torch.nn import Parameter
-
-from src.utils.no_grad import no_grad, freeze_model
-from typing import Callable, Iterator, Tuple
-from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from torchvision.transforms import Normalize
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-import lpips
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-
-class REPATrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- feat_loss_weight: float=0.5,
- lognorm_t=False,
- timeshift=1.0,
- encoder:nn.Module=None,
- align_layer=8,
- proj_denoiser_dim=256,
- proj_hidden_dim=256,
- proj_encoder_dim=256,
- P_mean=-0.8,
- P_std=0.8,
- t_eps=0.05,
- lpips_weight: float=1.0,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.encoder = encoder
- freeze_model(self.encoder)
-
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- self.lpips_loss_fn.compile()
- freeze_model(self.lpips_loss_fn)
-
- self.proj = nn.Sequential(
- nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- )
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raw_images = metadata["raw_image"]
- batch_size, c, height, width = x.shape
- self.lpips_loss_fn.eval()
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32)*self.P_std+self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift) #.to(x.dtype)
- noise = torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
-
- x_t = alpha * x + noise * sigma
-
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # v_t = dalpha * x + dsigma * noise
-
- pred_img, src_feature = net(x_t, t, y, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # compute v from pred x
-
- with torch.no_grad():
- dst_feature = self.encoder(raw_images)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_feature, dim=-1)
- cos_loss = 1 - cos_sim
-
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight*(out - v_t)**2
-
- lpips_loss = self.lpips_loss_fn(pred_img, x)
-
- out = dict(
- fm_loss=fm_loss.mean(),
- cos_loss=cos_loss.mean(),
- lpips_loss=lpips_loss.mean(),
- loss=fm_loss.mean() + self.feat_loss_weight*cos_loss.mean() + self.lpips_weight*lpips_loss.mean(),
- )
-
- return out
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO.py b/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO.py
deleted file mode 100644
index 58f2fb316cb47fa31e52132065145ad95b305b87..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO.py
+++ /dev/null
@@ -1,151 +0,0 @@
-import torch
-import copy
-import timm
-from torch.nn import Parameter
-
-from src.utils.no_grad import no_grad, freeze_model
-from typing import Callable, Iterator, Tuple
-from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from torchvision.transforms import Normalize
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-import lpips
-import math
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-
-class REPATrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- feat_loss_weight: float=0.5,
- lognorm_t=False,
- timeshift=1.0,
- encoder:nn.Module=None,
- align_layer=8,
- proj_denoiser_dim=256,
- proj_hidden_dim=256,
- proj_encoder_dim=256,
- P_mean=-0.8,
- P_std=0.8,
- t_eps=0.05,
- lpips_weight: float=1.0,
- dino_weight: float=1.0,
- noise_scale: float=1.0,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.encoder = encoder
- freeze_model(self.encoder)
-
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- self.lpips_loss_fn.compile()
- freeze_model(self.lpips_loss_fn)
-
- self.proj = nn.Sequential(
- nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- )
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.dino_weight = dino_weight
- self.dino_layers = [11] # [5, 8, 11]
- self.noise_scale = noise_scale
-
- def compute_dino_loss(self, pred_dino_feats, gt_dino_feats):
- cos_losses = {}
- final_cos_loss = 0
- batch_size = pred_dino_feats[0].shape[0]
- for i, (pred_feat, gt_feat) in enumerate(zip(pred_dino_feats, gt_dino_feats)):
- cos_loss = 1-torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1).mean()
- cos_losses[f"inter_cos_{i}"] = cos_loss
- final_cos_loss+=cos_loss
- cos_losses["dino_percept_loss"] = final_cos_loss/len(pred_dino_feats)
- return cos_losses
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raw_images = metadata["raw_image"]
- batch_size, c, height, width = x.shape
- self.lpips_loss_fn.eval()
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32)*self.P_std+self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift) #.to(x.dtype)
- noise = self.noise_scale*torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
-
- x_t = alpha * x + noise * sigma
-
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # v_t = dalpha * x + dsigma * noise
-
- pred_img, src_feature = net(x_t, t, y, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # compute v from pred x
-
- with torch.no_grad():
- dst_features = self.encoder.get_intermediate_feats(raw_images, n=self.dino_layers)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_features[-1], dim=-1)
- cos_loss = 1 - cos_sim
-
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight*(out - v_t)**2
-
- # LPIPS loss
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
-
- # DINO loss
- raw_pred_img = (pred_img+1)/2
- pred_feats = self.encoder.get_intermediate_feats(raw_pred_img, n=self.dino_layers)
- dino_losses = self.compute_dino_loss(pred_feats, dst_features)
-
- final_loss = fm_loss.mean() + self.feat_loss_weight*cos_loss.mean() + \
- self.lpips_weight*lpips_loss + self.dino_weight*dino_losses["dino_percept_loss"]
- out = dict(
- fm_loss=fm_loss.mean(),
- cos_loss=cos_loss.mean(),
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
- out.update(dino_losses)
- return out
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
\ No newline at end of file
diff --git a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO_NoiseGating.py b/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO_NoiseGating.py
deleted file mode 100644
index 39869ef975b4393d306e8aeb611bcdd5045706ff..0000000000000000000000000000000000000000
--- a/code/src/diffusion/flow_matching/training_repa_JiT_LPIPS_DINO_NoiseGating.py
+++ /dev/null
@@ -1,199 +0,0 @@
-import torch
-import copy
-import timm
-from torch.nn import Parameter
-
-from src.utils.no_grad import no_grad, freeze_model
-from typing import Callable, Iterator, Tuple
-from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from torchvision.transforms import Normalize
-from src.diffusion.base.training import *
-from src.diffusion.base.scheduling import BaseScheduler
-import lpips
-import math
-
-def inverse_sigma(alpha, sigma):
- return 1/sigma**2
-def snr(alpha, sigma):
- return alpha/sigma
-def minsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, min=threshold)
-def maxsnr(alpha, sigma, threshold=5):
- return torch.clip(alpha/sigma, max=threshold)
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t/(t+(1-t)*timeshift)
-
-
-class REPATrainer(BaseTrainer):
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn:Callable=constant,
- feat_loss_weight: float=0.5,
- lognorm_t=False,
- timeshift=1.0,
- encoder:nn.Module=None,
- align_layer=8,
- proj_denoiser_dim=256,
- proj_hidden_dim=256,
- proj_encoder_dim=256,
- P_mean=-0.8,
- P_std=0.8,
- t_eps=0.05,
- num_classes=1000,
- lpips_weight: float=1.0,
- dino_weight: float=1.0,
- percept_t_threshold: float=0.0,
- noise_scale: float=1.0,
- patch_size: int=16,
- percept_ratio: float=1.0,
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.encoder = encoder
- freeze_model(self.encoder)
-
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- self.lpips_loss_fn.compile()
- freeze_model(self.lpips_loss_fn)
- self.patch_size = patch_size
- self.proj = nn.Sequential(
- nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- )
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.dino_weight = dino_weight
- self.percept_t_threshold = percept_t_threshold
- self.dino_layers = [11] #list(range(12)) # [2, 5, 8, 11]
- self.noise_scale = noise_scale
- self.num_classes = num_classes
- self.percept_ratio = percept_ratio
- self.cached_percept_weight = 1.0
-
- def _calculate_adaptive_weight(self, rec_loss, g_loss, last_layer):
- rec_grads = torch.autograd.grad(rec_loss, last_layer, retain_graph=True)[0]
- g_grads = torch.autograd.grad(g_loss, last_layer, retain_graph=True)[0]
-
- d_weight = torch.norm(rec_grads) / (torch.norm(g_grads) + 1e-4)
- d_weight = torch.clamp(d_weight, 0.0, 100.0).detach()
- return d_weight
-
- def compute_dino_loss(self, pred_dino_feats, gt_dino_feats, percept_mask=None):
- cos_losses = {}
- final_cos_loss = 0
- batch_size = pred_dino_feats[0].shape[0]
- for i, (pred_feat, gt_feat) in enumerate(zip(pred_dino_feats, gt_dino_feats)):
- if percept_mask is not None:
- percept_mask = percept_mask.reshape(batch_size, 1, 1)
- cos_sim = (torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1)*percept_mask).mean(dim=(1,2))
- cos_sim = cos_sim.sum()/percept_mask.sum() if percept_mask.sum()>0.0 else cos_sim.sum()
- cos_loss = 1-cos_sim
- else:
- cos_loss = 1-torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1).view(batch_size, -1).mean()
- cos_losses[f"inter_cos_{i}"] = cos_loss
- final_cos_loss+=cos_loss
- cos_losses["dino_percept_loss"] = final_cos_loss/len(pred_dino_feats)
- return cos_losses
-
- def compute_lpips_loss(self, pred_img, x, percept_mask=None):
- batch_size, _, height, width = pred_img.shape
- if self.patch_size!=16:
- new_scale = int(height*16//self.patch_size)
- pred_img = torch.nn.functional.interpolate(pred_img, size=(new_scale, new_scale), mode='bilinear', align_corners=False, antialias=True)
- x = torch.nn.functional.interpolate(x, size=(new_scale, new_scale), mode='bilinear', align_corners=False, antialias=True)
- if percept_mask is not None: # discarding steps with much noise
- lpips_loss = (self.lpips_loss_fn(pred_img, x).view(batch_size, -1)*percept_mask).mean(dim=1)
- lpips_loss = lpips_loss.sum()/percept_mask.sum() if percept_mask.sum()>0.0 else lpips_loss.sum()
- else:
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
- return lpips_loss
-
- def _impl_trainstep(self, net, ema_net, solver, x, y, metadata=None):
- raw_images = metadata["raw_image"]
- current_step = metadata.get("global_step", 0)
- batch_size, c, height, width = x.shape
- self.lpips_loss_fn.eval()
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32)*self.P_std+self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift)
- noise = self.noise_scale*torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- dalpha = self.scheduler.dalpha(t)
- sigma = self.scheduler.sigma(t)
- dsigma = self.scheduler.dsigma(t)
-
-
- x_t = alpha * x + noise * sigma
-
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- pred_img, src_feature = net(x_t, t, y, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps) # compute v from pred x
-
- with torch.no_grad():
- dst_features = self.encoder.get_intermediate_feats(raw_images, n=self.dino_layers)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_features[-1], dim=-1)
- cos_loss = 1 - cos_sim
-
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight*(out - v_t)**2
-
- ################### Noise Gating ################
- if self.percept_t_threshold>0.0: # discarding steps with much noise
- percept_mask = (t >= self.percept_t_threshold).float().reshape(batch_size, -1)
- else:
- percept_mask = None
-
- ################### LPIPS loss ###################
- lpips_loss = self.compute_lpips_loss(pred_img, x, percept_mask)
- ################### DINO loss ###################
- raw_pred_img = (pred_img+1)/2
- pred_feats = self.encoder.get_intermediate_feats(raw_pred_img, n=self.dino_layers)
- dino_losses = self.compute_dino_loss(pred_feats, dst_features, percept_mask)
-
- rec_loss = fm_loss.mean()
- percept_loss = self.lpips_weight*lpips_loss + self.dino_weight*dino_losses["dino_percept_loss"]
-
- if current_step>=400000 and current_step%50==0: # balance fm loss and perceptual loss at later training steps
- last_layer = net.final_layer.linear.weight
- percept_weight = self._calculate_adaptive_weight(rec_loss, percept_loss, last_layer)
- self.cached_percept_weight = 0.8*self.cached_percept_weight + 0.2*percept_weight
-
- final_loss = fm_loss.mean() + self.feat_loss_weight*cos_loss.mean() + self.percept_ratio*self.cached_percept_weight*percept_loss
- out = dict(
- fm_loss=fm_loss.mean(),
- cos_loss=cos_loss.mean(),
- percept_weight=self.cached_percept_weight,
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
- out.update(dino_losses)
- return out
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
\ No newline at end of file
diff --git a/code/src/diffusion/pre_integral.py b/code/src/diffusion/pre_integral.py
deleted file mode 100644
index 848533a8e1aa99b4f2249560d4e2cec550f7852c..0000000000000000000000000000000000000000
--- a/code/src/diffusion/pre_integral.py
+++ /dev/null
@@ -1,143 +0,0 @@
-import torch
-
-# lagrange interpolation
-def lagrange_preint_o1(t1, v1, int_t_start, int_t_end):
- '''
- lagrange interpolation of order 1
- Args:
- t1: timestepx
- v1: value field at t1
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- int1 = (int_t_end-int_t_start)
- return int1*v1, (int1/int1, )
-
-def lagrange_preint_o2(t1, t2, v1, v2, int_t_start, int_t_end):
- '''
- lagrange interpolation of order 2
- Args:
- t1: timestepx
- t2: timestepy
- v1: value field at t1
- v2: value field at t2
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- int1 = 0.5/(t1-t2)*((int_t_end-t2)**2 - (int_t_start-t2)**2)
- int2 = 0.5/(t2-t1)*((int_t_end-t1)**2 - (int_t_start-t1)**2)
- int_sum = int1+int2
- return int1*v1 + int2*v2, (int1/int_sum, int2/int_sum)
-
-def lagrange_preint_o3(t1, t2, t3, v1, v2, v3, int_t_start, int_t_end):
- '''
- lagrange interpolation of order 3
- Args:
- t1: timestepx
- t2: timestepy
- t3: timestepz
- v1: value field at t1
- v2: value field at t2
- v3: value field at t3
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- int1_denom = (t1-t2)*(t1-t3)
- int1_end = 1/3*(int_t_end)**3 - 1/2*(t2+t3)*(int_t_end)**2 + (t2*t3)*int_t_end
- int1_start = 1/3*(int_t_start)**3 - 1/2*(t2+t3)*(int_t_start)**2 + (t2*t3)*int_t_start
- int1 = (int1_end - int1_start)/int1_denom
- int2_denom = (t2-t1)*(t2-t3)
- int2_end = 1/3*(int_t_end)**3 - 1/2*(t1+t3)*(int_t_end)**2 + (t1*t3)*int_t_end
- int2_start = 1/3*(int_t_start)**3 - 1/2*(t1+t3)*(int_t_start)**2 + (t1*t3)*int_t_start
- int2 = (int2_end - int2_start)/int2_denom
- int3_denom = (t3-t1)*(t3-t2)
- int3_end = 1/3*(int_t_end)**3 - 1/2*(t1+t2)*(int_t_end)**2 + (t1*t2)*int_t_end
- int3_start = 1/3*(int_t_start)**3 - 1/2*(t1+t2)*(int_t_start)**2 + (t1*t2)*int_t_start
- int3 = (int3_end - int3_start)/int3_denom
- int_sum = int1+int2+int3
- return int1*v1 + int2*v2 + int3*v3, (int1/int_sum, int2/int_sum, int3/int_sum)
-
-def larange_preint_o4(t1, t2, t3, t4, v1, v2, v3, v4, int_t_start, int_t_end):
- '''
- lagrange interpolation of order 4
- Args:
- t1: timestepx
- t2: timestepy
- t3: timestepz
- t4: timestepw
- v1: value field at t1
- v2: value field at t2
- v3: value field at t3
- v4: value field at t4
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- int1_denom = (t1-t2)*(t1-t3)*(t1-t4)
- int1_end = 1/4*(int_t_end)**4 - 1/3*(t2+t3+t4)*(int_t_end)**3 + 1/2*(t3*t4 + t2*t3 + t2*t4)*int_t_end**2 - t2*t3*t4*int_t_end
- int1_start = 1/4*(int_t_start)**4 - 1/3*(t2+t3+t4)*(int_t_start)**3 + 1/2*(t3*t4 + t2*t3 + t2*t4)*int_t_start**2 - t2*t3*t4*int_t_start
- int1 = (int1_end - int1_start)/int1_denom
- int2_denom = (t2-t1)*(t2-t3)*(t2-t4)
- int2_end = 1/4*(int_t_end)**4 - 1/3*(t1+t3+t4)*(int_t_end)**3 + 1/2*(t3*t4 + t1*t3 + t1*t4)*int_t_end**2 - t1*t3*t4*int_t_end
- int2_start = 1/4*(int_t_start)**4 - 1/3*(t1+t3+t4)*(int_t_start)**3 + 1/2*(t3*t4 + t1*t3 + t1*t4)*int_t_start**2 - t1*t3*t4*int_t_start
- int2 = (int2_end - int2_start)/int2_denom
- int3_denom = (t3-t1)*(t3-t2)*(t3-t4)
- int3_end = 1/4*(int_t_end)**4 - 1/3*(t1+t2+t4)*(int_t_end)**3 + 1/2*(t4*t2 + t1*t2 + t1*t4)*int_t_end**2 - t1*t2*t4*int_t_end
- int3_start = 1/4*(int_t_start)**4 - 1/3*(t1+t2+t4)*(int_t_start)**3 + 1/2*(t4*t2 + t1*t2 + t1*t4)*int_t_start**2 - t1*t2*t4*int_t_start
- int3 = (int3_end - int3_start)/int3_denom
- int4_denom = (t4-t1)*(t4-t2)*(t4-t3)
- int4_end = 1/4*(int_t_end)**4 - 1/3*(t1+t2+t3)*(int_t_end)**3 + 1/2*(t3*t2 + t1*t2 + t1*t3)*int_t_end**2 - t1*t2*t3*int_t_end
- int4_start = 1/4*(int_t_start)**4 - 1/3*(t1+t2+t3)*(int_t_start)**3 + 1/2*(t3*t2 + t1*t2 + t1*t3)*int_t_start**2 - t1*t2*t3*int_t_start
- int4 = (int4_end - int4_start)/int4_denom
- int_sum = int1+int2+int3+int4
- return int1*v1 + int2*v2 + int3*v3 + int4*v4, (int1/int_sum, int2/int_sum, int3/int_sum, int4/int_sum)
-
-
-def lagrange_preint(order, pre_vs, pre_ts, int_t_start, int_t_end):
- '''
- lagrange interpolation
- Args:
- order: order of interpolation
- pre_vs: value field at pre_ts
- pre_ts: timesteps
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- order = min(order, len(pre_vs), len(pre_ts))
- if order == 1:
- return lagrange_preint_o1(pre_ts[-1], pre_vs[-1], int_t_start, int_t_end)
- elif order == 2:
- return lagrange_preint_o2(pre_ts[-2], pre_ts[-1], pre_vs[-2], pre_vs[-1], int_t_start, int_t_end)
- elif order == 3:
- return lagrange_preint_o3(pre_ts[-3], pre_ts[-2], pre_ts[-1], pre_vs[-3], pre_vs[-2], pre_vs[-1], int_t_start, int_t_end)
- elif order == 4:
- return larange_preint_o4(pre_ts[-4], pre_ts[-3], pre_ts[-2], pre_ts[-1], pre_vs[-4], pre_vs[-3], pre_vs[-2], pre_vs[-1], int_t_start, int_t_end)
- else:
- raise ValueError('Invalid order')
-
-
-def polynomial_integral(coeffs, int_t_start, int_t_end):
- '''
- polynomial integral
- Args:
- coeffs: coefficients of the polynomial
- int_t_start: intergation start time
- int_t_end: intergation end time
- Returns:
- integrated value
- '''
- orders = len(coeffs)
- int_val = 0
- for o in range(orders):
- int_val += coeffs[o]/(o+1)*(int_t_end**(o+1)-int_t_start**(o+1))
- return int_val
-
diff --git a/code/src/lightning_data.py b/code/src/lightning_data.py
deleted file mode 100644
index 98f8fda819001b83b1dbeae80e18f80dfab140ac..0000000000000000000000000000000000000000
--- a/code/src/lightning_data.py
+++ /dev/null
@@ -1,134 +0,0 @@
-from typing import Any
-import torch
-import time
-import copy
-import lightning.pytorch as pl
-from lightning.pytorch.utilities.types import TRAIN_DATALOADERS, EVAL_DATALOADERS
-from torch.utils.data import DataLoader, Dataset, IterableDataset
-from src.data.dataset.randn import RandomNDataset
-
-def mirco_batch_collate_fn(batch):
- batch = copy.deepcopy(batch)
- new_batch = []
- for micro_batch in batch:
- new_batch.extend(micro_batch)
- x, y, metadata = list(zip(*new_batch))
- stacked_metadata = {}
- for key in metadata[0].keys():
- try:
- if isinstance(metadata[0][key], torch.Tensor):
- stacked_metadata[key] = torch.stack([m[key] for m in metadata], dim=0)
- else:
- stacked_metadata[key] = [m[key] for m in metadata]
- except:
- pass
- x = torch.stack(x, dim=0)
- return x, y, stacked_metadata
-
-def collate_fn(batch):
- batch = copy.deepcopy(batch)
- x, y, metadata = list(zip(*batch))
- stacked_metadata = {}
- for key in metadata[0].keys():
- try:
- if isinstance(metadata[0][key], torch.Tensor):
- stacked_metadata[key] = torch.stack([m[key] for m in metadata], dim=0)
- else:
- stacked_metadata[key] = [m[key] for m in metadata]
- except:
- pass
- x = torch.stack(x, dim=0)
- return x, y, stacked_metadata
-
-def eval_collate_fn(batch):
- batch = copy.deepcopy(batch)
- x, y, metadata = list(zip(*batch))
- x = torch.stack(x, dim=0)
- return x, y, metadata
-
-class DataModule(pl.LightningDataModule):
- def __init__(self,
- train_dataset:Dataset=None,
- eval_dataset:Dataset=None,
- pred_dataset:Dataset=None,
- train_batch_size=64,
- train_num_workers=16,
- train_prefetch_factor=8,
- eval_batch_size=32,
- eval_num_workers=4,
- pred_batch_size=32,
- pred_num_workers=4,
- ):
- super().__init__()
- self.train_dataset = train_dataset
- self.eval_dataset = eval_dataset
- self.pred_dataset = pred_dataset
- # stupid data_convert override, just to make nebular happy
- self.train_batch_size = train_batch_size
- self.train_num_workers = train_num_workers
- self.train_prefetch_factor = train_prefetch_factor
-
-
- self.eval_batch_size = eval_batch_size
- self.pred_batch_size = pred_batch_size
-
- self.pred_num_workers = pred_num_workers
- self.eval_num_workers = eval_num_workers
-
- self._train_dataloader = None
-
- def on_before_batch_transfer(self, batch: Any, dataloader_idx: int) -> Any:
- return batch
-
- def train_dataloader(self) -> TRAIN_DATALOADERS:
- micro_batch_size = getattr(self.train_dataset, "micro_batch_size", None)
- if micro_batch_size is not None:
- assert self.train_batch_size % micro_batch_size == 0
- dataloader_batch_size = self.train_batch_size // micro_batch_size
- train_collate_fn = mirco_batch_collate_fn
- else:
- dataloader_batch_size = self.train_batch_size
- train_collate_fn = collate_fn
- global_rank = self.trainer.global_rank
- world_size = self.trainer.world_size
-
- # build dataloader sampler
- if not isinstance(self.train_dataset, IterableDataset):
- sampler = torch.utils.data.distributed.DistributedSampler(self.train_dataset, num_replicas=world_size, rank=global_rank)
- else:
- sampler = None
-
- self._train_dataloader = DataLoader(
- self.train_dataset,
- dataloader_batch_size,
- timeout=6000,
- num_workers=self.train_num_workers,
- prefetch_factor=self.train_prefetch_factor,
- collate_fn=train_collate_fn,
- sampler=sampler,
- )
- return self._train_dataloader
-
- def val_dataloader(self) -> EVAL_DATALOADERS:
- global_rank = self.trainer.global_rank
- world_size = self.trainer.world_size
- from torch.utils.data import DistributedSampler
- sampler = DistributedSampler(self.eval_dataset, num_replicas=world_size, rank=global_rank, shuffle=False)
- return DataLoader(self.eval_dataset, self.eval_batch_size,
- num_workers=self.eval_num_workers,
- prefetch_factor=2,
- sampler=sampler,
- collate_fn=eval_collate_fn
- )
-
- def predict_dataloader(self) -> EVAL_DATALOADERS:
- global_rank = self.trainer.global_rank
- world_size = self.trainer.world_size
- from torch.utils.data import DistributedSampler
- sampler = DistributedSampler(self.pred_dataset, num_replicas=world_size, rank=global_rank, shuffle=False)
- return DataLoader(self.pred_dataset, batch_size=self.pred_batch_size,
- num_workers=self.pred_num_workers,
- prefetch_factor=4,
- sampler=sampler,
- collate_fn=eval_collate_fn
- )
diff --git a/code/src/lightning_model.py b/code/src/lightning_model.py
deleted file mode 100644
index 8070e86ede21ed648877f98015df18d80b8b195e..0000000000000000000000000000000000000000
--- a/code/src/lightning_model.py
+++ /dev/null
@@ -1,192 +0,0 @@
-from typing import Callable, Iterable, Any, Optional, Union, Sequence, Mapping, Dict
-import os.path
-import copy
-import torch
-import torch.nn as nn
-import lightning.pytorch as pl
-from lightning.pytorch.core.optimizer import LightningOptimizer
-from lightning.pytorch.utilities.types import OptimizerLRScheduler, STEP_OUTPUT
-from torch.optim.lr_scheduler import LRScheduler
-from torch.optim import Optimizer
-from lightning.pytorch.callbacks import Callback
-
-
-from src.models.autoencoder.base import BaseAE, fp2uint8
-from src.models.conditioner.base import BaseConditioner
-from src.utils.model_loader import ModelLoader
-from src.callbacks.simple_ema import SimpleEMA
-from src.diffusion.base.sampling import BaseSampler
-from src.diffusion.base.training import BaseTrainer
-from src.utils.no_grad import no_grad, filter_nograd_tensors
-from src.utils.copy import copy_params
-
-torch._functorch.config.donated_buffer = False
-
-EMACallable = Callable[[nn.Module, nn.Module], SimpleEMA]
-OptimizerCallable = Callable[[Iterable], Optimizer]
-LRSchedulerCallable = Callable[[Optimizer], LRScheduler]
-
-class LightningModel(pl.LightningModule):
- def __init__(self,
- vae: BaseAE,
- conditioner: BaseConditioner,
- denoiser: nn.Module,
- diffusion_trainer: BaseTrainer,
- diffusion_sampler: BaseSampler,
- ema_tracker: SimpleEMA=None,
- optimizer: OptimizerCallable = None,
- lr_scheduler: LRSchedulerCallable = None,
- eval_original_model: bool = False,
- ):
- super().__init__()
- self.vae = vae
- self.conditioner = conditioner
- self.denoiser = denoiser
- self.ema_denoiser = copy.deepcopy(self.denoiser)
- self.diffusion_sampler = diffusion_sampler
- self.diffusion_trainer = diffusion_trainer
- self.ema_tracker = ema_tracker
- self.optimizer = optimizer
- self.lr_scheduler = lr_scheduler
-
- self.eval_original_model = eval_original_model
-
- self._strict_loading = False
-
- def configure_model(self) -> None:
- self.trainer.strategy.barrier()
- copy_params(src_model=self.denoiser, dst_model=self.ema_denoiser)
-
- # disable grad for conditioner and vae
- no_grad(self.conditioner)
- no_grad(self.vae)
- # no_grad(self.diffusion_sampler)
- no_grad(self.ema_denoiser)
-
- # torch.compile
- self.denoiser.compile()
- self.ema_denoiser.compile()
-
- def configure_callbacks(self) -> Union[Sequence[Callback], Callback]:
- return [self.ema_tracker]
-
- def configure_optimizers(self) -> OptimizerLRScheduler:
- params_denoiser = filter_nograd_tensors(self.denoiser.parameters())
- params_trainer = filter_nograd_tensors(self.diffusion_trainer.parameters())
- params_sampler = filter_nograd_tensors(self.diffusion_sampler.parameters())
- param_groups = [
- {"params": params_denoiser, },
- {"params": params_trainer,},
- {"params": params_sampler, "lr": 1e-3},
- ]
- # optimizer: torch.optim.Optimizer = self.optimizer([*params_trainer, *params_denoiser])
- optimizer: torch.optim.Optimizer = self.optimizer(param_groups)
- if self.lr_scheduler is None:
- return dict(
- optimizer=optimizer
- )
- else:
- lr_scheduler = self.lr_scheduler(optimizer)
- return dict(
- optimizer=optimizer,
- lr_scheduler={
- "scheduler": lr_scheduler,
- "interval": "step",
- "frequency": 1,
- "name": "learning_rate"
- }
- )
-
- def on_validation_start(self) -> None:
- self.ema_denoiser.to(torch.float32)
-
- def on_predict_start(self) -> None:
- self.ema_denoiser.to(torch.float32)
-
- # sanity check before training start
- def on_train_start(self) -> None:
- self.ema_denoiser.to(torch.float32)
- self.ema_tracker.setup_models(net=self.denoiser, ema_net=self.ema_denoiser)
-
- def on_load_checkpoint(self, checkpoint):
- keys_to_check = [
- "denoiser.pos_embed",
- "ema_denoiser.pos_embed"
- ]
- ckpt_state_dict = checkpoint["state_dict"]
-
- current_state_dict = self.state_dict()
-
- for key in keys_to_check:
- if key in ckpt_state_dict and key in current_state_dict:
- ckpt_shape = ckpt_state_dict[key].shape
- curr_shape = current_state_dict[key].shape
- if ckpt_shape != curr_shape:
- print(f"[Warning] Shape mismatch for '{key}': "
- f"Checkpoint {ckpt_shape} vs Current {curr_shape}. "
- f"Dropping from checkpoint to avoid RuntimeError.")
- del ckpt_state_dict[key]
- else:
- pass
-
- def training_step(self, batch, batch_idx):
- x, y, metadata = batch
- if metadata is None:
- metadata = {}
- metadata['global_step'] = self.global_step
- with torch.no_grad():
- x = self.vae.encode(x)
- condition, uncondition = self.conditioner(y, metadata)
- loss = self.diffusion_trainer(self.denoiser, self.ema_denoiser, self.diffusion_sampler, x, condition, uncondition, metadata)
- # to be do! fix the bug in tqdm iteration when enabling accumulate_grad_batches>1
- self.log_dict(loss, prog_bar=True, on_step=True, sync_dist=False)
- return loss["loss"]
-
- def predict_step(self, batch, batch_idx):
- xT, y, metadata = batch
- with torch.no_grad():
- condition, uncondition = self.conditioner(y, metadata)
-
- # Extract mask for direct conditioning (spatial/cross_attention modes)
- mask = None
- if isinstance(metadata, dict):
- mask = metadata.get('mask', None)
- elif isinstance(metadata, (list, tuple)):
- masks = [m.get('mask', None) for m in metadata if isinstance(m, dict)]
- if len(masks) > 0 and masks[0] is not None:
- mask = torch.stack(masks, dim=0)
- if mask is not None:
- mask = mask.to(xT.device)
-
- # sample images
- if self.eval_original_model:
- samples = self.diffusion_sampler(self.denoiser, xT, condition, uncondition, mask=mask)
- else:
- samples = self.diffusion_sampler(self.ema_denoiser, xT, condition, uncondition, mask=mask)
-
- samples = self.vae.decode(samples)
- # fp32 -1,1 -> uint8 0,255
- samples = fp2uint8(samples)
- return samples
-
- def validation_step(self, batch, batch_idx):
- samples = self.predict_step(batch, batch_idx)
- return samples
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- if destination is None:
- destination = {}
- self._save_to_state_dict(destination, prefix, keep_vars)
- self.denoiser.state_dict(
- destination=destination,
- prefix=prefix+"denoiser.",
- keep_vars=keep_vars)
- self.ema_denoiser.state_dict(
- destination=destination,
- prefix=prefix+"ema_denoiser.",
- keep_vars=keep_vars)
- self.diffusion_trainer.state_dict(
- destination=destination,
- prefix=prefix+"diffusion_trainer.",
- keep_vars=keep_vars)
- return destination
\ No newline at end of file
diff --git a/code/src/models/__init__.py b/code/src/models/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/models/autoencoder/base.py b/code/src/models/autoencoder/base.py
deleted file mode 100644
index 8d1d7d75101f87143ed541a98ed499ef5d5f6f5a..0000000000000000000000000000000000000000
--- a/code/src/models/autoencoder/base.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import torch
-import logging
-
-
-class BaseAE(torch.nn.Module):
- def __init__(self, scale=1.0, shift=0.0):
- super().__init__()
- self.scale = scale
- self.shift = shift
-
- def encode(self, x):
- return self._impl_encode(x) #.to(torch.bfloat16)
-
- # @torch.autocast("cuda", dtype=torch.bfloat16)
- def decode(self, x):
- return self._impl_decode(x) #.to(torch.bfloat16)
-
- def _impl_encode(self, x):
- raise NotImplementedError
-
- def _impl_decode(self, x):
- raise NotImplementedError
-
-def uint82fp(x):
- x = x.to(torch.float32)
- x = (x - 127.5) / 127.5
- return x
-
-def fp2uint8(x):
- x = torch.clip_((x + 1) * 127.5 + 0.5, 0, 255).to(torch.uint8)
- return x
-
diff --git a/code/src/models/autoencoder/latent.py b/code/src/models/autoencoder/latent.py
deleted file mode 100644
index 901bf770c78c62139d78858cc9c7969a588d0c9b..0000000000000000000000000000000000000000
--- a/code/src/models/autoencoder/latent.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import torch
-from src.models.autoencoder.base import BaseAE
-
-class LatentAE(BaseAE):
- def __init__(self, precompute=False, weight_path:str=None):
- super().__init__()
- self.precompute = precompute
- self.model = None
- self.weight_path = weight_path
-
- from diffusers.models import AutoencoderKL
- setattr(self, "model", AutoencoderKL.from_pretrained(self.weight_path))
- self.scaling_factor = self.model.config.scaling_factor
-
- def _impl_encode(self, x):
- assert self.model is not None
- if self.precompute:
- return x.mul_(self.scaling_factor)
- encodedx = self.model.encode(x).latent_dist.sample().mul_(self.scaling_factor)
- return encodedx
-
- def _impl_decode(self, x):
- assert self.model is not None
- return self.model.decode(x.div_(self.scaling_factor)).sample
\ No newline at end of file
diff --git a/code/src/models/autoencoder/pixel.py b/code/src/models/autoencoder/pixel.py
deleted file mode 100644
index bdbf1c08c93c27beecef6973c6243a22f11f2390..0000000000000000000000000000000000000000
--- a/code/src/models/autoencoder/pixel.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import torch
-from src.models.autoencoder.base import BaseAE
-
-class PixelAE(BaseAE):
- def __init__(self, scale=1.0, shift=0.0):
- super().__init__(scale, shift)
-
- def _impl_encode(self, x):
- return x/self.scale+self.shift
-
- def _impl_decode(self, x):
- return (x-self.shift)*self.scale
\ No newline at end of file
diff --git a/code/src/models/conditioner/base.py b/code/src/models/conditioner/base.py
deleted file mode 100644
index c78f07d23f01119e87101b61eb023ce6733cb2c6..0000000000000000000000000000000000000000
--- a/code/src/models/conditioner/base.py
+++ /dev/null
@@ -1,43 +0,0 @@
-import torch
-import torch.nn as nn
-from typing import List
-
-class BaseConditioner(nn.Module):
- def __init__(self):
- super(BaseConditioner, self).__init__()
-
- def _impl_condition(self, y, metadata)->torch.Tensor:
- raise NotImplementedError()
-
- def _impl_uncondition(self, y, metadata)->torch.Tensor:
- raise NotImplementedError()
-
- @torch.no_grad()
- def __call__(self, y, metadata:dict={}):
- condition = self._impl_condition(y, metadata)
- uncondition = self._impl_uncondition(y, metadata)
- if condition.dtype in [torch.float64, torch.float32, torch.float16]:
- condition = condition.to(torch.bfloat16)
- if uncondition.dtype in [torch.float64,torch.float32, torch.float16]:
- uncondition = uncondition.to(torch.bfloat16)
- return condition, uncondition
-
-
-class ComposeConditioner(BaseConditioner):
- def __init__(self, conditioners:List[BaseConditioner]):
- super().__init__()
- self.conditioners = conditioners
-
- def _impl_condition(self, y, metadata):
- condition = []
- for conditioner in self.conditioners:
- condition.append(conditioner._impl_condition(y, metadata))
- condition = torch.cat(condition, dim=1)
- return condition
-
- def _impl_uncondition(self, y, metadata):
- uncondition = []
- for conditioner in self.conditioners:
- uncondition.append(conditioner._impl_uncondition(y, metadata))
- uncondition = torch.cat(uncondition, dim=1)
- return uncondition
\ No newline at end of file
diff --git a/code/src/models/conditioner/class_label.py b/code/src/models/conditioner/class_label.py
deleted file mode 100644
index dcfbf17690f291e93d26e5a8e8526f9085583e91..0000000000000000000000000000000000000000
--- a/code/src/models/conditioner/class_label.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import torch
-from src.models.conditioner.base import BaseConditioner
-
-class LabelConditioner(BaseConditioner):
- def __init__(self, num_classes):
- super().__init__()
- self.null_condition = num_classes
-
- def _impl_condition(self, y, metadata):
- return torch.tensor(y).long().cuda()
-
- def _impl_uncondition(self, y, metadata):
- return torch.full((len(y),), self.null_condition, dtype=torch.long).cuda()
\ No newline at end of file
diff --git a/code/src/models/conditioner/mask_conditioner.py b/code/src/models/conditioner/mask_conditioner.py
deleted file mode 100644
index df5da38eea9ba106ef61e56c82632cb3d39fa69e..0000000000000000000000000000000000000000
--- a/code/src/models/conditioner/mask_conditioner.py
+++ /dev/null
@@ -1,155 +0,0 @@
-# Mask Conditioner for Medical Image Generation
-# Encodes segmentation mask into conditioning embedding
-
-import torch
-import torch.nn as nn
-from src.models.conditioner.base import BaseConditioner
-
-
-class MaskEncoder(nn.Module):
- """
- Encode segmentation mask to a conditioning vector.
- Uses a simple CNN to extract spatial features, then global pooling.
- """
- def __init__(self, hidden_size, in_channels=1, img_size=256):
- super().__init__()
- self.hidden_size = hidden_size
-
- # Simple CNN encoder for mask
- self.encoder = nn.Sequential(
- nn.Conv2d(in_channels, 32, kernel_size=7, stride=2, padding=3), # 128x128
- nn.GroupNorm(8, 32),
- nn.SiLU(),
- nn.Conv2d(32, 64, kernel_size=3, stride=2, padding=1), # 64x64
- nn.GroupNorm(8, 64),
- nn.SiLU(),
- nn.Conv2d(64, 128, kernel_size=3, stride=2, padding=1), # 32x32
- nn.GroupNorm(8, 128),
- nn.SiLU(),
- nn.Conv2d(128, 256, kernel_size=3, stride=2, padding=1), # 16x16
- nn.GroupNorm(8, 256),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d((1, 1)), # Global pooling
- )
- self.proj = nn.Sequential(
- nn.Linear(256, hidden_size),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size),
- )
-
- self._init_weights()
-
- def _init_weights(self):
- for m in self.modules():
- if isinstance(m, nn.Linear):
- nn.init.normal_(m.weight, std=0.02)
- if m.bias is not None:
- nn.init.constant_(m.bias, 0)
- elif isinstance(m, nn.Conv2d):
- nn.init.kaiming_normal_(m.weight, mode='fan_out', nonlinearity='relu')
- if m.bias is not None:
- nn.init.constant_(m.bias, 0)
-
- def forward(self, mask):
- """
- Args:
- mask: [N, C, H, W] in range [0, 1]
- Returns:
- mask_emb: [N, hidden_size]
- """
- feat = self.encoder(mask) # [N, 256, 1, 1]
- feat = feat.flatten(1) # [N, 256]
- return self.proj(feat) # [N, hidden_size]
-
-
-class MaskConditioner(BaseConditioner):
- """
- Conditioner that encodes segmentation masks into embeddings.
-
- For conditional generation: uses mask embedding
- For unconditional generation: uses zero embedding (null condition)
- """
- def __init__(self, hidden_size, in_channels=1, img_size=256, null_condition_p=0.1):
- super().__init__()
- self.mask_encoder = MaskEncoder(hidden_size, in_channels, img_size)
- self.hidden_size = hidden_size
- self.null_condition_p = null_condition_p
-
- # Learnable null condition embedding
- self.null_embedding = nn.Parameter(torch.zeros(hidden_size))
- nn.init.normal_(self.null_embedding, std=0.02)
-
- def _extract_mask(self, metadata):
- """
- Extract mask from metadata, handling both formats:
- - dict with batched tensors: {'mask': [N, C, H, W]}
- - tuple/list of dicts: ({'mask': [C, H, W]}, ...)
- """
- if isinstance(metadata, dict):
- return metadata.get('mask', None)
- elif isinstance(metadata, (list, tuple)):
- # Stack masks from list of dicts
- masks = [m.get('mask', None) for m in metadata if isinstance(m, dict)]
- if len(masks) > 0 and masks[0] is not None:
- return torch.stack(masks, dim=0)
- return None
-
- def _impl_condition(self, y, metadata):
- """
- Args:
- y: Not used (kept for interface compatibility)
- metadata: Dict or tuple/list of dicts containing 'mask'
- Returns:
- condition: [N, hidden_size] mask embedding
- """
- mask = self._extract_mask(metadata)
- if mask is None:
- raise ValueError("MaskConditioner requires mask in metadata")
-
- # Move mask to same device as encoder
- device = next(self.mask_encoder.parameters()).device
- mask = mask.to(device)
-
- # Encode mask
- condition = self.mask_encoder(mask)
-
- return condition
-
- def _impl_uncondition(self, y, metadata):
- """
- Returns null condition embedding for CFG.
- """
- mask = self._extract_mask(metadata)
- if mask is None:
- raise ValueError("MaskConditioner requires mask in metadata")
-
- batch_size = mask.shape[0]
- device = next(self.mask_encoder.parameters()).device
-
- # Return null embedding expanded to batch size
- uncondition = self.null_embedding.unsqueeze(0).expand(batch_size, -1)
- return uncondition.to(device)
-
- def forward_with_dropout(self, mask, training=True):
- """
- Forward with random null conditioning (CFG training).
-
- Args:
- mask: [N, C, H, W]
- training: Whether in training mode
- Returns:
- condition: [N, hidden_size]
- """
- batch_size = mask.shape[0]
- device = mask.device
-
- # Encode mask
- condition = self.mask_encoder(mask)
-
- if training and self.null_condition_p > 0:
- # Randomly replace some conditions with null embedding
- null_mask = torch.rand(batch_size, device=device) < self.null_condition_p
- null_emb = self.null_embedding.unsqueeze(0).expand(batch_size, -1)
- condition = torch.where(null_mask.unsqueeze(-1), null_emb, condition)
-
- return condition
diff --git a/code/src/models/conditioner/place_holder.py b/code/src/models/conditioner/place_holder.py
deleted file mode 100644
index 847e22a8681a00284811dbacb8d0f5007e26d6be..0000000000000000000000000000000000000000
--- a/code/src/models/conditioner/place_holder.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import torch
-from src.models.conditioner.base import BaseConditioner
-
-class PlaceHolderConditioner(BaseConditioner):
- def __init__(self, null_class=1000):
- super().__init__()
- self.null_condition = null_class
-
- def _impl_condition(self, y, metadata):
- y = torch.randint(0, self.null_condition, (len(y),)).cuda()
- return y
-
- def _impl_uncondition(self, y, metadata):
- return torch.full((len(y),), self.null_condition, dtype=torch.long).cuda()
\ No newline at end of file
diff --git a/code/src/models/conditioner/qwen3_text_encoder.py b/code/src/models/conditioner/qwen3_text_encoder.py
deleted file mode 100644
index 3a7f13350c5e069c7e948c5b366b0c83d7771149..0000000000000000000000000000000000000000
--- a/code/src/models/conditioner/qwen3_text_encoder.py
+++ /dev/null
@@ -1,37 +0,0 @@
-import torch
-import torch.nn as nn
-from src.models.conditioner.base import BaseConditioner
-
-from transformers import Qwen3Model, Qwen2Tokenizer
-
-
-class Qwen3TextEncoder(BaseConditioner):
- def __init__(self, weight_path: str, embed_dim:int=None, max_length=128):
- super().__init__()
- self.tokenizer = Qwen2Tokenizer.from_pretrained(weight_path, max_length=max_length, padding_side="right")
- # self.model = Qwen3Model.from_pretrained(weight_path, attn_implementation="flex_attention").to(torch.bfloat16)
- self.model = Qwen3Model.from_pretrained(weight_path).to(torch.bfloat16)
- self.model.compile()
- self.uncondition_embedding = None
- self.embed_dim = embed_dim
- self.max_length = max_length
- # torch._dynamo.config.optimize_ddp = False
-
- def _impl_condition(self, y, metadata:dict={}):
- tokenized = self.tokenizer(y, truncation=True, max_length=self.max_length, padding="max_length", return_tensors="pt")
- input_ids = tokenized.input_ids.cuda()
- attention_mask = tokenized.attention_mask.cuda()
- metadata["valid_length_y"] = torch.sum(attention_mask, dim=-1)
- y = self.model(input_ids=input_ids, attention_mask=attention_mask)[0]
- if y.shape[2] < self.embed_dim:
- y = torch.cat([y, torch.zeros(y.shape[0], y.shape[1], self.embed_dim - y.shape[2]).to(y.device, y.dtype)], dim=-1)
- if y.shape[2] > self.embed_dim:
- y = y[:, :, :self.embed_dim]
- return y
-
- def _impl_uncondition(self, y, metadata:dict=None):
- if self.uncondition_embedding is not None and "negative_prompt" not in metadata:
- return self.uncondition_embedding.repeat(len(y), 1, 1)
- negative_prompt = "" if "negative_prompt" not in metadata else metadata['negative_prompt']
- self.uncondition_embedding = self._impl_condition([negative_prompt,])
- return self.uncondition_embedding.repeat(len(y), 1, 1)
\ No newline at end of file
diff --git a/code/src/models/encoder.py b/code/src/models/encoder.py
deleted file mode 100644
index e593622026041c4025d1984f4eb435f7f1deca38..0000000000000000000000000000000000000000
--- a/code/src/models/encoder.py
+++ /dev/null
@@ -1,284 +0,0 @@
-import copy
-import torch
-import torch.nn as nn
-import timm
-from torchvision.transforms import Normalize
-from timm.data.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from timm.data.constants import OPENAI_CLIP_MEAN, OPENAI_CLIP_STD
-import os
-
-class IndentityMapping(nn.Module):
- def __init__(self):
- super().__init__()
- def forward(self, x, resize=True):
- b, c, h, w = x.shape
- x = x.reshape(b, c, h*w).transpose(1, 2)
- return x
-
-class DINOv2(nn.Module):
- def __init__(self, weight_path:str=None, base_patch_size=16):
- super(DINOv2, self).__init__()
- self.encoder = torch.hub.load('facebookresearch/dinov2', 'dinov2_vitb14') # need to visit github for each run.
- # self.encoder = torch.hub.load('/root/.cache/torch/hub/facebookresearch_dinov2_main', 'dinov2_vitb14', source="local")
-
- self.pos_embed = copy.deepcopy(self.encoder.pos_embed)
- self.encoder.head = torch.nn.Identity()
- self.patch_size = self.encoder.patch_embed.patch_size
- self.precomputed_pos_embed = dict()
- self.base_patch_size = base_patch_size
- self.encoder.compile()
-
- def forward(self, x, resize=True):
- b, c, h, w = x.shape
- x = Normalize(IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD)(x)
- if resize:
- x = torch.nn.functional.interpolate(x, (int(14*h/self.base_patch_size), int(14*w/self.base_patch_size)), mode='bicubic')
- feature = self.encoder.forward_features(x)['x_norm_patchtokens']
- return feature
-
- @torch.compile
- def get_intermediate_feats(self, x, resize=True, n=[2, 5, 8, 11], reshape=False, return_class_token=False):
- b, c, h, w = x.shape
- x = Normalize(IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD)(x)
-
- if resize:
- target_h = int(14 * h / self.base_patch_size)
- target_w = int(14 * w / self.base_patch_size)
- x = torch.nn.functional.interpolate(x, (target_h, target_w), mode='bicubic')
-
- features = self.encoder.get_intermediate_layers(x, n=n, reshape=reshape, return_class_token=return_class_token)
- return features
-
- def forward_with_cls(self, x, resize=True):
- b, c, h, w = x.shape
- x = Normalize(IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD)(x)
- if resize:
- x = torch.nn.functional.interpolate(x, (int(14*h/self.base_patch_size), int(14*w/self.base_patch_size)), mode='bicubic')
- out = self.encoder.forward_features(x)
- feature, cls_token = out['x_norm_patchtokens'], out["x_norm_clstoken"].unsqueeze(1)
- return feature, cls_token
-
-
-from transformers import CLIPModel, CLIPTokenizer
-class CLIP(nn.Module):
- def __init__(self, weight_path:str):
- super(CLIP, self).__init__()
- self.model = CLIPModel.from_pretrained(weight_path).to(torch.bfloat16)
- self.tokenizer = CLIPTokenizer.from_pretrained(weight_path)
- self.height = self.model.config.vision_config.image_size
- self.width = self.model.config.vision_config.image_size
-
- self.model.vision_model.compile()
- self.model.text_model.compile()
- def forward(self, x, text, resize=True):
- tokens = self.tokenizer(text, truncation=True, return_tensors='pt', padding="max_length", max_length=self.tokenizer.model_max_length).input_ids.cuda()
- text_output = self.model.text_model(input_ids=tokens).last_hidden_state
- text_output = self.model.text_projection(text_output)
- text_output = torch.nn.functional.normalize(text_output, dim=-1, p=2)
- if resize:
- x = torch.nn.functional.interpolate(x, (self.height, self.width), mode='bicubic')
- x = Normalize(OPENAI_CLIP_MEAN, OPENAI_CLIP_STD)(x)
- vision_output = self.model.vision_model(x).last_hidden_state[:, 1:]
- vision_output = self.model.visual_projection(vision_output)
- vision_output = torch.nn.functional.normalize(vision_output, dim=-1, p=2)
- output = torch.bmm(vision_output, text_output.transpose(1, 2))
- return output
-
-from transformers import SiglipModel, GemmaTokenizer, SiglipTokenizer
-class SigLIP(nn.Module):
- def __init__(self, weight_path:str):
- super(SigLIP, self).__init__()
- if "siglip2" in weight_path:
- self.tokenizer = GemmaTokenizer.from_pretrained(weight_path)
- else:
- self.tokenizer = SiglipTokenizer.from_pretrained(weight_path)
- self.model = SiglipModel.from_pretrained(weight_path).to(torch.bfloat16)
-
- self.mean = 0.5
- self.std = 0.5
-
- self.model.vision_model.compile()
- self.model.text_model.compile()
- def forward(self, x, text, resize=True):
- tokens = self.tokenizer(text, truncation=True, return_tensors='pt', padding="max_length", max_length=64).input_ids.cuda()
- text_output = self.model.text_model(input_ids=tokens).last_hidden_state
- text_output = torch.nn.functional.normalize(text_output, dim=-1, p=2)
- if resize:
- x = torch.nn.functional.interpolate(x, (self.height, self.width), mode='bicubic')
- x = (x - self.mean)/self.std
- vision_output = self.model.vision_model(x).last_hidden_state
- vision_output = torch.nn.functional.normalize(vision_output, dim=-1, p=2)
- output = torch.bmm(vision_output, text_output.transpose(1, 2))
- return output
-
-from transformers import SiglipVisionModel
-class SigLIPVision(nn.Module):
- def __init__(self, weight_path:str, base_patch_size=16):
- super(SigLIPVision, self).__init__()
- self.model = SiglipVisionModel.from_pretrained(weight_path).to(torch.bfloat16)
- self.height = self.model.config.image_size
- self.width = self.model.config.image_size
- self.patch_size = self.model.config.patch_size
- self.base_patch_size = base_patch_size
- self.model.compile()
- self.mean = 0.5
- self.std = 0.5
- def forward(self, x, resize=True):
- if resize:
- h, w = x.shape[-2:]
- new_h = int(self.patch_size * h / self.base_patch_size)
- new_w = int(self.patch_size * w / self.base_patch_size)
- x = torch.nn.functional.interpolate(x, (new_h, new_w), mode='bicubic')
- x = (x - self.mean)/self.std
- vision_output = self.model.vision_model(x).last_hidden_state
- return vision_output
-
-
-import torch.nn as nn
-from torchvision import models
-from collections import namedtuple
-import os
-
-# 官方 LPIPS (VGG) 权重下载地址
-LPIPS_VGG_WEIGHTS_URL = "https://raw.githubusercontent.com/richzhang/PerceptualSimilarity/master/lpips/weights/v0.1/vgg.pth"
-
-def spatial_average(x, keepdim=True):
- return x.mean([2, 3], keepdim=keepdim)
-
-def normalize_tensor(x, eps=1e-10):
- norm_factor = torch.sqrt(torch.sum(x**2, dim=1, keepdim=True))
- return x / (norm_factor + eps)
-
-class ScalingLayer(nn.Module):
- def __init__(self):
- super(ScalingLayer, self).__init__()
- # ImageNet normalization statistics
- self.register_buffer('shift', torch.Tensor([-.030, -.088, -.188])[None, :, None, None])
- self.register_buffer('scale', torch.Tensor([.458, .448, .450])[None, :, None, None])
-
- def forward(self, inp):
- return (inp - self.shift) / self.scale
-
-class NetLinLayer(nn.Module):
- """ A single linear layer which does a 1x1 conv """
- def __init__(self, chn_in, chn_out=1, use_dropout=False):
- super(NetLinLayer, self).__init__()
- layers = [nn.Dropout(), ] if (use_dropout) else []
- layers += [nn.Conv2d(chn_in, chn_out, 1, stride=1, padding=0, bias=False), ]
- self.model = nn.Sequential(*layers)
-
-class vgg16(torch.nn.Module):
- def __init__(self, requires_grad=False, pretrained=True):
- super(vgg16, self).__init__()
- # 加载 torchvision 的预训练 VGG16
- vgg_pretrained_features = models.vgg16(pretrained=pretrained).features
-
- self.slice1 = torch.nn.Sequential()
- self.slice2 = torch.nn.Sequential()
- self.slice3 = torch.nn.Sequential()
- self.slice4 = torch.nn.Sequential()
- self.slice5 = torch.nn.Sequential()
- self.N_slices = 5
-
- for x in range(4):
- self.slice1.add_module(str(x), vgg_pretrained_features[x])
- for x in range(4, 9):
- self.slice2.add_module(str(x), vgg_pretrained_features[x])
- for x in range(9, 16):
- self.slice3.add_module(str(x), vgg_pretrained_features[x])
- for x in range(16, 23):
- self.slice4.add_module(str(x), vgg_pretrained_features[x])
- for x in range(23, 30):
- self.slice5.add_module(str(x), vgg_pretrained_features[x])
-
- if not requires_grad:
- for param in self.parameters():
- param.requires_grad = False
-
- def forward(self, X):
- h = self.slice1(X)
- h_relu1_2 = h
- h = self.slice2(h)
- h_relu2_2 = h
- h = self.slice3(h)
- h_relu3_3 = h
- h = self.slice4(h)
- h_relu4_3 = h
- h = self.slice5(h)
- h_relu5_3 = h
- vgg_outputs = namedtuple("VggOutputs", ['relu1_2', 'relu2_2', 'relu3_3', 'relu4_3', 'relu5_3'])
- out = vgg_outputs(h_relu1_2, h_relu2_2, h_relu3_3, h_relu4_3, h_relu5_3)
- return out
-
-class LPIPS(nn.Module):
- # Learned perceptual metric
- def __init__(self, use_dropout=True, pretrained=True):
- super().__init__()
- self.scaling_layer = ScalingLayer()
- self.chns = [64, 128, 256, 512, 512] # vgg16 features
- self.net = vgg16(pretrained=True, requires_grad=False)
-
- self.lin0 = NetLinLayer(self.chns[0], use_dropout=use_dropout)
- self.lin1 = NetLinLayer(self.chns[1], use_dropout=use_dropout)
- self.lin2 = NetLinLayer(self.chns[2], use_dropout=use_dropout)
- self.lin3 = NetLinLayer(self.chns[3], use_dropout=use_dropout)
- self.lin4 = NetLinLayer(self.chns[4], use_dropout=use_dropout)
-
- if pretrained:
- self.load_from_pretrained()
-
- # 冻结参数,因为通常只作为 Loss 使用
- for param in self.parameters():
- param.requires_grad = False
-
- def load_from_pretrained(self):
- """
- 自动下载并加载官方权重
- """
- try:
- print(f"Loading LPIPS weights from {LPIPS_VGG_WEIGHTS_URL}...")
- # 使用 torch.hub 自动下载并缓存
- state_dict = torch.hub.load_state_dict_from_url(
- LPIPS_VGG_WEIGHTS_URL,
- progress=True,
- map_location=torch.device("cpu")
- )
- self.load_state_dict(state_dict, strict=False)
- print("LPIPS weights loaded successfully.")
- except Exception as e:
- print(f"Error loading LPIPS weights: {e}")
- print("Running without trained linear weights (NOT RECOMMENDED for metric computation).")
-
- def forward(self, input, target):
- # input, target 应该是范围在 [-1, 1] 的 tensor
- in0_input, in1_input = (self.scaling_layer(input), self.scaling_layer(target))
- outs0, outs1 = self.net(in0_input), self.net(in1_input)
- feats0, feats1, diffs = {}, {}, {}
- lins = [self.lin0, self.lin1, self.lin2, self.lin3, self.lin4]
-
- for kk in range(len(self.chns)):
- feats0[kk], feats1[kk] = normalize_tensor(outs0[kk]), normalize_tensor(outs1[kk])
- diffs[kk] = (feats0[kk] - feats1[kk]) ** 2
-
- res = [spatial_average(lins[kk].model(diffs[kk]), keepdim=True) for kk in range(len(self.chns))]
- val = res[0]
- for l in range(1, len(self.chns)):
- val += res[l]
- return val
-
- def forward_with_feats(self, input, target):
- # input, target 应该是范围在 [-1, 1] 的 tensor
- in0_input, in1_input = (self.scaling_layer(input), self.scaling_layer(target))
- outs0, outs1 = self.net(in0_input), self.net(in1_input)
- feats0, feats1, diffs = {}, {}, {}
- lins = [self.lin0, self.lin1, self.lin2, self.lin3, self.lin4]
-
- for kk in range(len(self.chns)):
- feats0[kk], feats1[kk] = normalize_tensor(outs0[kk]), normalize_tensor(outs1[kk])
- diffs[kk] = (feats0[kk] - feats1[kk]) ** 2
-
- res = [spatial_average(lins[kk].model(diffs[kk]), keepdim=True) for kk in range(len(self.chns))]
- val = res[0]
- for l in range(1, len(self.chns)):
- val += res[l]
- return val, outs0, outs1
\ No newline at end of file
diff --git a/code/src/models/encoder_custom.py b/code/src/models/encoder_custom.py
deleted file mode 100644
index d47946eaf1f2a6d0f40e995e439f97c722fa6f6a..0000000000000000000000000000000000000000
--- a/code/src/models/encoder_custom.py
+++ /dev/null
@@ -1,120 +0,0 @@
-import copy
-import torch
-import torch.nn as nn
-import timm
-from torchvision.transforms import Normalize
-from timm.data.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
-from timm.data.constants import OPENAI_CLIP_MEAN, OPENAI_CLIP_STD
-import os
-
-class IndentityMapping(nn.Module):
- def __init__(self):
- super().__init__()
- def forward(self, x, resize=True):
- b, c, h, w = x.shape
- x = x.reshape(b, c, h*w).transpose(1, 2)
- return x
-
-class DINOv2(nn.Module):
- def __init__(self, weight_path:str, base_patch_size=16):
- super(DINOv2, self).__init__()
- # directory = os.path.dirname(weight_path)
- # weight_path = os.path.basename(weight_path)
- self.encoder = torch.hub.load('facebookresearch/dinov2', 'dinov2_vitb14')
- # self.encoder = torch.hub.load(
- # directory,
- # weight_path,
- # source="local",
- # skip_validation=True
- # )
- self.encoder = self.encoder.to(torch.bfloat16)
- self.pos_embed = copy.deepcopy(self.encoder.pos_embed)
- self.encoder.head = torch.nn.Identity()
- self.patch_size = self.encoder.patch_embed.patch_size
- self.precomputed_pos_embed = dict()
- self.base_patch_size = base_patch_size
- self.encoder.compile()
-
- @torch.autocast(device_type='cuda', dtype=torch.bfloat16)
- def forward(self, x, resize=True):
- b, c, h, w = x.shape
- x = Normalize(IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD)(x)
- if resize:
- x = torch.nn.functional.interpolate(x, (int(14*h/self.base_patch_size), int(14*w/self.base_patch_size)), mode='bicubic')
- feature = self.encoder.forward_features(x)['x_norm_patchtokens']
- feature = feature.to(torch.bfloat16)
- return feature
-
-from transformers import CLIPModel, CLIPTokenizer
-class CLIP(nn.Module):
- def __init__(self, weight_path:str):
- super(CLIP, self).__init__()
- self.model = CLIPModel.from_pretrained(weight_path).to(torch.bfloat16)
- self.tokenizer = CLIPTokenizer.from_pretrained(weight_path)
- self.height = self.model.config.vision_config.image_size
- self.width = self.model.config.vision_config.image_size
-
- self.model.vision_model.compile()
- self.model.text_model.compile()
- def forward(self, x, text, resize=True):
- tokens = self.tokenizer(text, truncation=True, return_tensors='pt', padding="max_length", max_length=self.tokenizer.model_max_length).input_ids.cuda()
- text_output = self.model.text_model(input_ids=tokens).last_hidden_state
- text_output = self.model.text_projection(text_output)
- text_output = torch.nn.functional.normalize(text_output, dim=-1, p=2)
- if resize:
- x = torch.nn.functional.interpolate(x, (self.height, self.width), mode='bicubic')
- x = Normalize(OPENAI_CLIP_MEAN, OPENAI_CLIP_STD)(x)
- vision_output = self.model.vision_model(x).last_hidden_state[:, 1:]
- vision_output = self.model.visual_projection(vision_output)
- vision_output = torch.nn.functional.normalize(vision_output, dim=-1, p=2)
- output = torch.bmm(vision_output, text_output.transpose(1, 2))
- return output
-
-from transformers import SiglipModel, GemmaTokenizer, SiglipTokenizer
-class SigLIP(nn.Module):
- def __init__(self, weight_path:str):
- super(SigLIP, self).__init__()
- if "siglip2" in weight_path:
- self.tokenizer = GemmaTokenizer.from_pretrained(weight_path)
- else:
- self.tokenizer = SiglipTokenizer.from_pretrained(weight_path)
- self.model = SiglipModel.from_pretrained(weight_path).to(torch.bfloat16)
-
- self.mean = 0.5
- self.std = 0.5
-
- self.model.vision_model.compile()
- self.model.text_model.compile()
- def forward(self, x, text, resize=True):
- tokens = self.tokenizer(text, truncation=True, return_tensors='pt', padding="max_length", max_length=64).input_ids.cuda()
- text_output = self.model.text_model(input_ids=tokens).last_hidden_state
- text_output = torch.nn.functional.normalize(text_output, dim=-1, p=2)
- if resize:
- x = torch.nn.functional.interpolate(x, (self.height, self.width), mode='bicubic')
- x = (x - self.mean)/self.std
- vision_output = self.model.vision_model(x).last_hidden_state
- vision_output = torch.nn.functional.normalize(vision_output, dim=-1, p=2)
- output = torch.bmm(vision_output, text_output.transpose(1, 2))
- return output
-
-from transformers import SiglipVisionModel
-class SigLIPVision(nn.Module):
- def __init__(self, weight_path:str, base_patch_size=16):
- super(SigLIPVision, self).__init__()
- self.model = SiglipVisionModel.from_pretrained(weight_path).to(torch.bfloat16)
- self.height = self.model.config.image_size
- self.width = self.model.config.image_size
- self.patch_size = self.model.config.patch_size
- self.base_patch_size = base_patch_size
- self.model.compile()
- self.mean = 0.5
- self.std = 0.5
- def forward(self, x, resize=True):
- if resize:
- h, w = x.shape[-2:]
- new_h = int(self.patch_size * h / self.base_patch_size)
- new_w = int(self.patch_size * w / self.base_patch_size)
- x = torch.nn.functional.interpolate(x, (new_h, new_w), mode='bicubic')
- x = (x - self.mean)/self.std
- vision_output = self.model.vision_model(x).last_hidden_state
- return vision_output
\ No newline at end of file
diff --git a/code/src/models/layers/adv_head.py b/code/src/models/layers/adv_head.py
deleted file mode 100644
index bb1f54138e57962f572d9a7c28e9153b87975ff6..0000000000000000000000000000000000000000
--- a/code/src/models/layers/adv_head.py
+++ /dev/null
@@ -1,236 +0,0 @@
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-import math
-
-class ConvHead(nn.Module):
- def __init__(self, in_channels, hidden_size):
- super().__init__()
- self.head = nn.Sequential(
- nn.Conv2d(kernel_size=4, in_channels=in_channels, out_channels=hidden_size, stride=2, padding=1), # 16x16 -> 8x8
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1), # 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),# 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d(1),
- nn.Conv2d(kernel_size=1, in_channels=hidden_size, out_channels=1, stride=1, padding=0), # 1x1 -> 1x1
- )
-
- def forward(self, feature, text_embedding=None):
- # assume sqrt image size
- B, L, C = feature.shape
- H = W = int(math.sqrt(L))
- feature = feature.permute(0, 2, 1)
- feature = feature.view(B, C, H, W)
- out = self.head(feature).sigmoid().clamp(0.01, 0.99)
- return out
-
-class ConvLinearMMHead(nn.Module):
- def __init__(self, im_channels, mm_channels, hidden_size):
- super().__init__()
- self.conv_head = nn.Sequential(
- nn.Conv2d(kernel_size=4, in_channels=im_channels, out_channels=hidden_size, stride=2, padding=1), # 16x16 -> 8x8
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1), # 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),# 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d(1),
- )
- self.linear_head = nn.Sequential(
- nn.Linear(mm_channels, hidden_size),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size),
- nn.SiLU(),
- )
- self.out = nn.Linear(hidden_size*2, 1)
-
- def forward(self, im_feature, mm_feature=None):
- # assume sqrt image size
- B, L, C = im_feature.shape
- H = W = int(math.sqrt(L))
- im_feature = im_feature.permute(0, 2, 1)
- im_feature = im_feature.view(B, C, H, W)
- im_out = self.conv_head(im_feature).view(B, -1)
- mm_out = self.linear_head(mm_feature).view(B, -1)
- out = self.out(torch.cat([im_out, mm_out], dim=-1)).sigmoid().clamp(0.01, 0.99)
- return out
-
-class ConvMMHead(nn.Module):
- def __init__(self, im_channels, mm_channels, hidden_size):
- super().__init__()
- self.conv1_head = nn.Sequential(
- nn.Conv2d(kernel_size=4, in_channels=im_channels, out_channels=hidden_size, stride=2, padding=1), # 16x16 -> 8x8
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1), # 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),# 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d(1),
- )
- self.conv2_head = nn.Sequential(
- nn.Conv2d(kernel_size=4, in_channels=mm_channels, out_channels=hidden_size, stride=2, padding=1),
- # 16x16 -> 8x8
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),
- # 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),
- # 8x8 -> 4x4
- nn.GroupNorm(num_groups=32, num_channels=hidden_size),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d(1),
- )
- self.out = nn.Linear(hidden_size*2, 1)
-
- def forward(self, im_feature, mm_feature=None):
- # assume sqrt image size
- B, L, C = im_feature.shape
- H = W = int(math.sqrt(L))
- im_feature = im_feature.permute(0, 2, 1)
- im_feature = im_feature.view(B, C, H, W)
-
- B, Lmm, Cmm = mm_feature.shape
- Hmm = Wmm = int(math.sqrt(Lmm))
- mm_feature = mm_feature.permute(0, 2, 1)
- mm_feature = mm_feature.view(B, Cmm, Hmm, Wmm)
-
- im_out = self.conv1_head(im_feature).view(B, -1)
- mm_out = self.conv2_head(mm_feature).view(B, -1)
- out = self.out(torch.cat([im_out, mm_out], dim=-1)).sigmoid().clamp(0.01, 0.99)
- return out
-
-# class ConvTextHead(nn.Module):
-# def __init__(self, in_channels, text_channels, hidden_size):
-# super().__init__()
-# self.head = nn.Sequential(
-# nn.Conv2d(kernel_size=4, in_channels=in_channels, out_channels=hidden_size, stride=2, padding=1), # 16x16 -> 8x8
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1), # 8x8 -> 4x4
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),# 8x8 -> 4x4
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.AdaptiveAvgPool2d(1),
-# nn.Conv2d(kernel_size=1, in_channels=hidden_size, out_channels=hidden_size, stride=1, padding=0), # 1x1 -> 1x1
-# )
-# self.text_head = nn.Sequential(
-# nn.Linear(text_channels, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, hidden_size),
-# )
-#
-# def forward(self, feature, text_embedding=None):
-# # assume sqrt image size
-# B, L, C = feature.shape
-# H = W = int(math.sqrt(L))
-# feature = feature.permute(0, 2, 1)
-# feature = feature.view(B, C, H, W)
-# feature = self.head(feature).view(B, -1)
-# text_embedding = torch.mean(text_embedding, dim=1, keepdim=False)
-# text_embedding = self.text_head(text_embedding)
-# logits = torch.sum(feature * text_embedding, dim=1, keepdim=False)
-# score = logits.sigmoid().clamp(0.01, 0.99)
-# return score
-#
-# class LinearHead(nn.Module):
-# def __init__(self, in_channels, hidden_size):
-# super().__init__()
-# self.head = nn.Sequential(
-# nn.Linear(in_channels, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, 1),
-# )
-# def forward(self, feature, text_embedding=None):
-# out = self.head(feature).sigmoid().clamp(0.01, 0.99)
-# return out
-
-
-# class ConvMultiModalHead(nn.Module):
-# def __init__(self, in_channels, mm_channels, hidden_size):
-# super().__init__()
-# self.image_head = nn.Sequential(
-# nn.Conv2d(kernel_size=4, in_channels=in_channels, out_channels=hidden_size, stride=2, padding=1), # 16x16 -> 8x8
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1), # 8x8 -> 4x4
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.Conv2d(kernel_size=4, in_channels=hidden_size, out_channels=hidden_size, stride=2, padding=1),# 8x8 -> 4x4
-# nn.GroupNorm(num_groups=32, num_channels=hidden_size),
-# nn.SiLU(),
-# nn.AdaptiveAvgPool2d(1),
-# nn.Conv2d(kernel_size=1, in_channels=hidden_size, out_channels=1, stride=1, padding=0), # 1x1 -> 1x1
-# )
-# self.mm_head = nn.Sequential(
-# nn.Linear(mm_channels, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, hidden_size),
-# )
-#
-# def forward(self, feature, text_embedding=None):
-# # assume sqrt image size
-# B, L, C = feature.shape
-# H = W = int(math.sqrt(L))
-# feature = feature.permute(0, 2, 1)
-# feature = feature.view(B, C, H, W)
-# feature = self.head(feature).view(B, -1)
-# text_embedding = torch.mean(text_embedding, dim=1, keepdim=False)
-# text_embedding = self.text_head(text_embedding)
-# logits = torch.sum(feature * text_embedding, dim=1, keepdim=False)
-# score = logits.sigmoid().clamp(0.01, 0.99)
-# return score
-
-# class TransformerTextHead(nn.Module):
-# def __init__(self, in_channels, text_channels, hidden_size):
-# super().__init__()
-#
-# self.transformer = nn.Sequential(
-# nn.TransformerEncoderLayer(d_model=hidden_size, nhead=8, dim_feedforward=hidden_size, batch_first=True),
-# nn.TransformerEncoderLayer(d_model=hidden_size, nhead=8, dim_feedforward=hidden_size, batch_first=True),
-# nn.TransformerEncoderLayer(d_model=hidden_size, nhead=8, dim_feedforward=hidden_size, batch_first=True),
-# nn.TransformerEncoderLayer(d_model=hidden_size, nhead=8, dim_feedforward=hidden_size, batch_first=True),
-# )
-# self.text_head = nn.Sequential(
-# nn.Linear(text_channels, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, hidden_size),
-# )
-# self.feature_head = nn.Sequential(
-# nn.Linear(in_channels, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, hidden_size),
-# )
-# self.cls_head = nn.Sequential(
-# nn.Linear(hidden_size, hidden_size),
-# nn.SiLU(),
-# nn.Linear(hidden_size, 1),
-# )
-#
-# def forward(self, feature, text_embedding=None):
-# # assume sqrt image size
-# feature = self.feature_head(feature)
-# text_embedding = self.text_head(text_embedding)
-# tokens = torch.cat([feature, text_embedding], dim=1)
-# tokens = self.transformer(tokens)
-# cls_token = tokens
-# logits = self.cls_head(cls_token)
-# logits = torch.mean(logits, dim=1, keepdim=False)
-# score = logits.sigmoid().clamp(0.01, 0.99)
-# return score
diff --git a/code/src/models/layers/attention_op.py b/code/src/models/layers/attention_op.py
deleted file mode 100644
index e4ebf05b7a0a213b1124c13676001a8471381626..0000000000000000000000000000000000000000
--- a/code/src/models/layers/attention_op.py
+++ /dev/null
@@ -1,7 +0,0 @@
-import torch
-import torch.nn as nn
-
-from torch.nn.functional import scaled_dot_product_attention as attention
-
-
-
diff --git a/code/src/models/layers/final_layer.py b/code/src/models/layers/final_layer.py
deleted file mode 100644
index bb22f7140b7f36d9c1665e4b887f89a1310ed7ad..0000000000000000000000000000000000000000
--- a/code/src/models/layers/final_layer.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import torch.nn as nn
-
-def modulate(x, shift, scale):
- return x * (1 + scale) + shift
-
-class FinalLayer(nn.Module):
- def __init__(self, hidden_size, out_channels):
- super().__init__()
- self.norm_final = nn.LayerNorm(hidden_size, elementwise_affine=False, eps=1e-6)
- self.linear = nn.Linear(hidden_size, out_channels, bias=True)
- self.adaLN_modulation = nn.Sequential(
- nn.Linear(hidden_size, 2*hidden_size, bias=True)
- )
-
- def forward(self, x, c):
- shift, scale = self.adaLN_modulation(c).chunk(2, dim=-1)
- x = modulate(self.norm_final(x), shift, scale)
- x = self.linear(x)
- return x
\ No newline at end of file
diff --git a/code/src/models/layers/msdcn.py b/code/src/models/layers/msdcn.py
deleted file mode 100644
index d92c457a68cb08270daa5726bd9b4d1c59b8ac78..0000000000000000000000000000000000000000
--- a/code/src/models/layers/msdcn.py
+++ /dev/null
@@ -1,302 +0,0 @@
-import torch
-import torch.nn as nn
-import math
-
-from torch.nn.init import zeros_
-from typing import Any
-from torch.autograd import Function
-from torch.cuda.amp.autocast_mode import custom_bwd, custom_fwd
-
-import triton
-import triton.language as tl
-
-@triton.autotune(
- configs=[
- triton.Config({'BLOCK_SIZE': 64,}, num_stages=1, num_warps=2),
- # triton.Config({'BLOCK_SIZE': 64, }, num_stages=1, num_warps=1),
- ],
- key=['B', 'H', 'W', 'G', 'C', 'K'],
-)
-@triton.jit
-def forward_kernel(
- B: tl.constexpr,
- H: tl.constexpr, # image_size_h
- W: tl.constexpr, # image_size_w
- G: tl.constexpr, # num_channels_per_group
- C: tl.constexpr, # num_groups
- K: tl.constexpr, # kernel size
- input_ptr, # input features [B, H, W, G, C]
- deformable_ptr, # deformable offsets [B, H, W, G, 2*K + K]
- weights_ptr, # weights [B, H, W, G, K]
- out_ptr, # out [B, H, W, G, C]
- BLOCK_SIZE: tl.constexpr, # a micro block to process in the Group
-):
- pid = tl.program_id(0)
- wid = pid % W
- hid = pid // W % H
- gid = pid // (W * H) % G
- bid = pid // (W * H * G)
-
- id_mask = (hid < H) & (wid < W) & (gid < G) & (bid < B)
- common_offset = bid*H*W*G + hid*W*G + wid*G + gid
- batch_base = bid * H * W * G * C
-
- for block_base in tl.static_range(0, C, BLOCK_SIZE):
- buffer = tl.zeros((BLOCK_SIZE, ), dtype=tl.float32)
- block_offset = tl.arange(0, BLOCK_SIZE) + block_base
- block_mask = (block_offset < C) & id_mask
- for k in tl.static_range(K):
- deformable_offset = (common_offset * K + k) * 2
-
- x = tl.load(deformable_ptr + deformable_offset, mask=id_mask, other=0.0) + wid
- y = tl.load(deformable_ptr + deformable_offset + 1, mask=id_mask, other=0.0) + hid
-
- floor_x = x.to(tl.int32)
- floor_y = y.to(tl.int32)
- ceil_x = floor_x + 1
- ceil_y = floor_y + 1
-
- # load top left
- tl_weight = (ceil_x - x) * (ceil_y - y)
- tl_block_offset = (batch_base + floor_y * W * G * C + floor_x * G * C + gid * C) #+ k * BLOCK_SIZE
- tl_block_mask = (floor_y >= 0) & (floor_x >= 0) & (floor_x < W) & (floor_y < H)
-
- # load top right
- tr_weight = (x - floor_x) * (ceil_y - y)
- tr_block_offset = (batch_base + floor_y * W * G * C + ceil_x * G * C + gid * C) #+ k * BLOCK_SIZE
- tr_block_mask = (floor_y >= 0) & (ceil_x < W) & (floor_y < H) & (ceil_x >= 0)
- # load bottom left
- bl_weight = (ceil_x - x) * (y - floor_y)
- bl_block_offset = (batch_base + ceil_y * W * G * C + floor_x * G * C + gid * C) #+ k * BLOCK_SIZE
- bl_block_mask = (ceil_y < H) & (ceil_y >= 0) & (floor_x < W) & (floor_x >= 0)
- # load bottom right
- br_weight = (x - floor_x) * (y - floor_y)
- br_block_offset = (batch_base + ceil_y * W * G * C + ceil_x * G * C + gid * C) #+ k * BLOCK_SIZE
- br_block_mask = (ceil_y < H) & (ceil_y >= 0) & (ceil_x < W) & (ceil_x >= 0)
-
- # load dynamic weight and mask
- weights_offset = common_offset*K + k
- weight = tl.load(weights_ptr + weights_offset, mask=id_mask, other=0.0)
-
-
-
- tl_block_input = tl.load(input_ptr + tl_block_offset + block_offset, mask=tl_block_mask & block_mask, other=0.0)
- tl_block_input = tl_block_input * tl_weight
-
- # load top right
- tr_block_input = tl.load(input_ptr + tr_block_offset + block_offset, mask=tr_block_mask & block_mask, other=0.0)
- tr_block_input = tr_block_input * tr_weight
- # load bottom left
- bl_block_input = tl.load(input_ptr + bl_block_offset + block_offset, mask=bl_block_mask & block_mask, other=0.0)
- bl_block_input = bl_block_input * bl_weight
- # load bottom right
- br_block_input = tl.load(input_ptr + br_block_offset + block_offset, mask=br_block_mask & block_mask, other=0.0)
- br_block_input = br_block_input * br_weight
-
- # sampled
- sampled_input = tl_block_input + tr_block_input + bl_block_input + br_block_input
-
- weighted_sampled_input = sampled_input * weight
- buffer = buffer + weighted_sampled_input
- # store to out_ptr
- tl.store(out_ptr + common_offset*C + block_offset, buffer, mask=block_mask)
-
-@triton.autotune(
- configs=[
- triton.Config({'BLOCK_SIZE': 64,}, num_stages=1, num_warps=1),
- triton.Config({'BLOCK_SIZE': 64,}, num_stages=1, num_warps=2),
- ],
- key=['B', 'H', 'W', 'G', 'C', 'K'],
-)
-@triton.jit
-def backward_kernel(
- B: tl.constexpr,
- H: tl.constexpr, # image_size_h
- W: tl.constexpr, # image_size_w
- G: tl.constexpr, # num_groups
- C: tl.constexpr, # num_channels_per_group
- K: tl.constexpr, # kernel size
- input_ptr, # input features [B, H, W, G, C]
- deformable_ptr, # deformable offsets [B, H, W, G, K, 2]
- weights_ptr, # weights [B, H, W, G, K]
- grad_ptr, # out [B, H, W, G, C]
- grad_input_ptr, # input features [B, H, W, G, C]
- grad_deformable_ptr, # deformable offsets [B, H, W, G, K, 2]
- grad_weights_ptr, # weights [B, H, W, G, K]
- BLOCK_SIZE: tl.constexpr, # a micro block to process in the Group
-):
-
- pid = tl.program_id(0)
- wid = pid % W
- hid = pid // W % H
- gid = pid // (W * H) % G
- bid = pid // (W * H * G)
-
- id_mask = (hid < H) & (wid < W) & (gid < G) & (bid < B)
-
- common_offset = bid*H*W*G + hid*W*G + wid*G + gid
- batch_base = bid * H * W * G * C
- for k in tl.static_range(K):
- # load dynamic weight and mask
- weights_offset = common_offset*K + k
- weight = tl.load(weights_ptr + weights_offset, mask=id_mask, other=0.0)
- dodx = tl.zeros((1,), dtype=grad_deformable_ptr.type.element_ty)
- dody = tl.zeros((1,), dtype=grad_deformable_ptr.type.element_ty)
- dodw = tl.zeros((1,), dtype=grad_weights_ptr.type.element_ty)
- deformable_offset = (common_offset * K + k)*2
- x = tl.load(deformable_ptr + deformable_offset, mask=id_mask, other=0.0) + wid
- y = tl.load(deformable_ptr + deformable_offset + 1, mask=id_mask, other=0.0) + hid
- for block_base in tl.static_range(0, C, BLOCK_SIZE):
- block_offset = tl.arange(0, BLOCK_SIZE) + block_base
- block_mask = (block_offset < C) & id_mask
- grad = tl.load(grad_ptr+common_offset*C + block_offset, mask=block_mask, other=0.0)
- dods = weight*grad
-
- floor_x = x.to(tl.int32)
- floor_y = y.to(tl.int32)
- ceil_x = floor_x + 1
- ceil_y = floor_y + 1
-
- # load top left
- tl_weight = (ceil_x - x) * (ceil_y - y)
- tl_block_offset = (batch_base + floor_y * W * G * C + floor_x * G * C + gid * C) + block_offset
- tl_block_mask = ((floor_y >= 0) & (floor_x >= 0) & (floor_x < W) & (floor_y < H))
- tl_block_input = tl.load(input_ptr + tl_block_offset, mask=tl_block_mask & block_mask, other=0.0)
- tl_block_input_dot_grad = tl.sum(tl_block_input*grad, axis=0)
- dodx = dodx + -1 * tl_block_input_dot_grad * (ceil_y - y)
- dody = dody + -1 * tl_block_input_dot_grad * (ceil_x - x)
- dodw = dodw + tl_block_input_dot_grad * tl_weight
-
- dodtl = dods * tl_weight
- tl.atomic_add(grad_input_ptr + tl_block_offset, mask=tl_block_mask & block_mask, val=dodtl)
-
-
- # load top right
- tr_weight = (x - floor_x) * (ceil_y - y)
- tr_block_offset = (batch_base + floor_y * W * G * C + ceil_x * G * C + gid * C) + block_offset
- tr_block_mask = ((floor_y >= 0) & (ceil_x < W) & (floor_y < H) & (ceil_x >= 0))
- tr_block_input = tl.load(input_ptr + tr_block_offset, mask=tr_block_mask & block_mask, other=0.0)
- tr_block_input_dot_grad = tl.sum(tr_block_input*grad, axis=0)
- dodx = dodx + 1 * tr_block_input_dot_grad * (ceil_y - y)
- dody = dody + -1 * tr_block_input_dot_grad * (x - floor_x)
- dodw = dodw + tr_block_input_dot_grad*tr_weight
-
- dodtr = dods * tr_weight
- tl.atomic_add(grad_input_ptr + tr_block_offset, mask=tr_block_mask & block_mask, val=dodtr)
-
-
- # load bottom left
- bl_weight = (ceil_x - x) * (y - floor_y)
- bl_block_offset = (batch_base + ceil_y * W * G * C + floor_x * G * C + gid * C) + block_offset
- bl_block_mask = ((ceil_y < H) & (ceil_y >= 0) & (floor_x < W) & (floor_x >= 0))
- bl_block_input = tl.load(input_ptr + bl_block_offset, mask=bl_block_mask & block_mask, other=0.0)
- bl_block_input_dot_grad = tl.sum(bl_block_input*grad, axis=0)
- dodx = dodx + -1 * bl_block_input_dot_grad * (y - floor_y)
- dody = dody + 1 * bl_block_input_dot_grad * (ceil_x - x)
- dodw = dodw + bl_block_input_dot_grad*bl_weight
-
- dodbl = dods * bl_weight
- tl.atomic_add(grad_input_ptr + bl_block_offset, mask=bl_block_mask & block_mask, val=dodbl)
-
-
- # load bottom right
- br_weight = (x - floor_x) * (y - floor_y)
- br_block_offset = (batch_base + ceil_y * W * G * C + ceil_x * G * C + gid * C) + block_offset
- br_block_mask = ((ceil_y < H) & (ceil_y >= 0) & (ceil_x < W) & (ceil_x >= 0))
- br_block_input = tl.load(input_ptr + br_block_offset, mask=br_block_mask & block_mask, other=0.0)
- br_block_input_dot_grad = tl.sum(br_block_input*grad, axis=0)*br_block_mask
-
- dodx = dodx + 1 * br_block_input_dot_grad * (y - floor_y)
- dody = dody + 1 * br_block_input_dot_grad * (x - floor_x)
- dodw = dodw + br_block_input_dot_grad*br_weight
-
- dodbr = dods * br_weight
- tl.atomic_add(grad_input_ptr + br_block_offset, mask=br_block_mask & block_mask, val=dodbr)
- dodx = dodx * weight
- dody = dody * weight
- tl.store(grad_weights_ptr + weights_offset + tl.arange(0, 1), dodw, mask=id_mask)
- tl.store(grad_deformable_ptr + deformable_offset + tl.arange(0, 1), dodx, mask=id_mask)
- tl.store(grad_deformable_ptr + deformable_offset + 1 + tl.arange(0, 1), dody, mask=id_mask)
-
-
-class DCNFunction(Function):
- @staticmethod
- @custom_fwd
- def forward(ctx: Any, inputs, deformables, weights) -> Any:
- B, H, W, G, C = inputs.shape
- _, _, _, _, K, _ = deformables.shape
- out = torch.zeros_like(inputs)
- grid = lambda META: (B * H * W * G,)
- forward_kernel[grid](B, H, W, G, C, K, inputs, deformables, weights, out)
- ctx.save_for_backward(inputs, deformables, weights)
- return out
-
- @staticmethod
- @custom_bwd
- def backward(ctx: Any, *grad_outputs: Any) -> Any:
- grad_output = grad_outputs[0].contiguous()
- inputs, deformables, weights = ctx.saved_tensors
- B, H, W, G, C = inputs.shape
- _, _, _, _, K, _ = deformables.shape
- grad_inputs = torch.zeros_like(inputs)
- grad_deformables = torch.zeros_like(deformables)
- grad_weights = torch.zeros_like(weights)
- grid = lambda META: (B * H * W * G,)
- backward_kernel[grid](
- B, H, W, G, C, K,
- inputs,
- deformables,
- weights,
- grad_output,
- grad_inputs,
- grad_deformables,
- grad_weights,
- )
- return (grad_inputs, grad_deformables, grad_weights)
-
-
-class MultiScaleDCN(nn.Module):
- def __init__(self, in_channels, groups, channels, kernels, deformable_biass=True):
- super().__init__()
- self.in_channels = in_channels
- self.groups = groups
- self.channels = channels
- self.kernels = kernels
- self.v = nn.Linear(in_channels, groups * channels, bias=True)
- self.qk_deformables = nn.Linear(in_channels, groups * kernels * 2, bias=True)
- self.qk_scales = nn.Linear(in_channels, groups * kernels, bias=False)
- self.qk_weights = nn.Linear(in_channels, groups*kernels, bias=True)
- self.out = nn.Linear(groups * channels, in_channels)
- self.deformables_prior = nn.Parameter(torch.randn((1, 1, 1, 1, kernels, 2)), requires_grad=False)
- self.deformables_scale = nn.Parameter(torch.ones((1, 1, 1, groups, 1, 1)), requires_grad=True)
- self.max_scale = 6
- self._init_weights()
- def _init_weights(self):
- zeros_(self.qk_deformables.weight.data)
- zeros_(self.qk_scales.weight.data)
- zeros_(self.qk_deformables.bias.data)
- zeros_(self.qk_weights.weight.data)
- zeros_(self.v.bias.data)
- zeros_(self.out.bias.data)
- num_prior = int(self.kernels ** 0.5)
- dx = torch.linspace(-1, 1, num_prior, device="cuda")
- dy = torch.linspace(-1, 1, num_prior, device="cuda")
- dxy = torch.meshgrid([dx, dy], indexing="xy")
- dxy = torch.stack(dxy, dim=-1)
- dxy = dxy.view(-1, 2)
- self.deformables_prior.data[..., :num_prior*num_prior, :] = dxy
- for i in range(self.groups):
- scale = (i+1)/self.groups - 0.0001
- inv_scale = math.log((scale)/(1-scale))
- self.deformables_scale.data[..., i, :, :] = inv_scale
- def forward(self, x):
- B, H, W, _ = x.shape
- v = self.v(x).view(B, H, W, self.groups, self.channels)
- deformables = self.qk_deformables(x).view(B, H, W, self.groups, self.kernels, 2)
- scale = self.qk_scales(x).view(B, H, W, self.groups, self.kernels, 1) + self.deformables_scale
- deformables = (deformables + self.deformables_prior ) * scale.sigmoid()*self.max_scale
- weights = self.qk_weights(x).view(B, H, W, self.groups, self.kernels)
- out = DCNFunction.apply(v, deformables, weights)
- out = out.view(B, H, W, -1)
- out = self.out(out)
- return out
\ No newline at end of file
diff --git a/code/src/models/layers/patch_embed.py b/code/src/models/layers/patch_embed.py
deleted file mode 100644
index a7dba7e2f947e1f58682c47bc3fb1e904f1936fe..0000000000000000000000000000000000000000
--- a/code/src/models/layers/patch_embed.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import math
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-
-class Embed(nn.Module):
- def __init__(
- self,
- in_chans: int = 3,
- embed_dim: int = 768,
- norm_layer = None,
- bias: bool = True,
- ):
- super().__init__()
- self.in_chans = in_chans
- self.embed_dim = embed_dim
- self.proj = nn.Linear(in_chans, embed_dim, bias=bias)
- self.norm = norm_layer(embed_dim) if norm_layer else nn.Identity()
- def forward(self, x):
- x = self.proj(x)
- x = self.norm(x)
- return x
\ No newline at end of file
diff --git a/code/src/models/layers/rmsnorm.py b/code/src/models/layers/rmsnorm.py
deleted file mode 100644
index 6be8f020e70beb329fda68c70f06cfc1d4a99fd7..0000000000000000000000000000000000000000
--- a/code/src/models/layers/rmsnorm.py
+++ /dev/null
@@ -1,21 +0,0 @@
-import torch
-import torch.nn as nn
-
-
-class _RMSNorm(nn.Module):
- def __init__(self, hidden_size, eps=1e-6):
- """
- LlamaRMSNorm is equivalent to T5LayerNorm
- """
- super().__init__()
- self.weight = nn.Parameter(torch.ones(hidden_size))
- self.variance_epsilon = eps
-
- def forward(self, hidden_states):
- input_dtype = hidden_states.dtype
- hidden_states = hidden_states.to(torch.float32)
- variance = hidden_states.pow(2).mean(-1, keepdim=True)
- hidden_states = hidden_states * torch.rsqrt(variance + self.variance_epsilon)
- return (self.weight * hidden_states).to(input_dtype)
-
-RMSNorm = _RMSNorm
\ No newline at end of file
diff --git a/code/src/models/layers/rope.py b/code/src/models/layers/rope.py
deleted file mode 100644
index 10105d82eebcc16af34972eeb2a881c710d5850f..0000000000000000000000000000000000000000
--- a/code/src/models/layers/rope.py
+++ /dev/null
@@ -1,69 +0,0 @@
-from typing import Tuple
-import torch
-
-
-def precompute_freqs_cis_2d(dim: int, height: int, width:int, theta: float = 10000.0, scale=16.0):
- # assert H * H == end
- # flat_patch_pos = torch.linspace(-1, 1, end) # N = end
- x_pos = torch.linspace(0, scale, width)
- y_pos = torch.linspace(0, scale, height)
- y_pos, x_pos = torch.meshgrid(y_pos, x_pos, indexing="ij")
- y_pos = y_pos.reshape(-1)
- x_pos = x_pos.reshape(-1)
- freqs = 1.0 / (theta ** (torch.arange(0, dim, 4)[: (dim // 4)].float() / dim)) # Hc/4
- x_freqs = torch.outer(x_pos, freqs).float() # N Hc/4
- y_freqs = torch.outer(y_pos, freqs).float() # N Hc/4
- x_cis = torch.polar(torch.ones_like(x_freqs), x_freqs)
- y_cis = torch.polar(torch.ones_like(y_freqs), y_freqs)
- freqs_cis = torch.cat([x_cis.unsqueeze(dim=-1), y_cis.unsqueeze(dim=-1)], dim=-1) # N,Hc/4,2
- freqs_cis = freqs_cis.reshape(height*width, -1)
- return freqs_cis
-
-def precompute_freqs_cis_ex2d(dim: int, height: int, width:int, theta: float = 10000.0, scale=1.0):
- if isinstance(scale, float):
- scale = (scale, scale)
- x_pos = torch.linspace(0, height*scale[0], width)
- y_pos = torch.linspace(0, width*scale[1], height)
- y_pos, x_pos = torch.meshgrid(y_pos, x_pos, indexing="ij")
- y_pos = y_pos.reshape(-1)
- x_pos = x_pos.reshape(-1)
- freqs = 1.0 / (theta ** (torch.arange(0, dim, 4)[: (dim // 4)].float() / dim)) # Hc/4
- x_freqs = torch.outer(x_pos, freqs).float() # N Hc/4
- y_freqs = torch.outer(y_pos, freqs).float() # N Hc/4
- x_cis = torch.polar(torch.ones_like(x_freqs), x_freqs)
- y_cis = torch.polar(torch.ones_like(y_freqs), y_freqs)
- freqs_cis = torch.cat([x_cis.unsqueeze(dim=-1), y_cis.unsqueeze(dim=-1)], dim=-1) # N,Hc/4,2
- freqs_cis = freqs_cis.reshape(height*width, -1)
- return freqs_cis
-
-
-def apply_rotary_emb(
- xq: torch.Tensor,
- xk: torch.Tensor,
- freqs_cis: torch.Tensor,
-) -> Tuple[torch.Tensor, torch.Tensor]:
- freqs_cis = freqs_cis[None, None, :, :]
- # xq : B N H Hc
- xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2)) # B N H Hc/2
- xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
- xq_out = torch.view_as_real(xq_ * freqs_cis).flatten(3) # B, N, H, Hc
- xk_out = torch.view_as_real(xk_ * freqs_cis).flatten(3)
- return xq_out.type_as(xq), xk_out.type_as(xk)
-
-def apply_rotary_emb_crossattention(
- xq: torch.Tensor,
- xk: torch.Tensor,
- yk: torch.Tensor,
- freqs_cis1: torch.Tensor,
- freqs_cis2: torch.Tensor,
-) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
- freqs_cis1 = freqs_cis1[None, None, :, :]
- freqs_cis2 = freqs_cis2[None, None, :, :]
- # xq : B N H Hc
- xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2)) # B N H Hc/2
- xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
- yk_ = torch.view_as_complex(yk.float().reshape(*yk.shape[:-1], -1, 2))
- xq_out = torch.view_as_real(xq_ * freqs_cis1).flatten(3) # B, N, H, Hc
- xk_out = torch.view_as_real(xk_ * freqs_cis1).flatten(3)
- yk_out = torch.view_as_real(yk_ * freqs_cis2).flatten(3)
- return xq_out.type_as(xq), xk_out.type_as(xk), yk_out.type_as(yk)
\ No newline at end of file
diff --git a/code/src/models/layers/swiglu.py b/code/src/models/layers/swiglu.py
deleted file mode 100644
index 90924737222e74d933e8928b7d8ad4a7ec817857..0000000000000000000000000000000000000000
--- a/code/src/models/layers/swiglu.py
+++ /dev/null
@@ -1,25 +0,0 @@
-import torch
-import torch.nn as nn
-
-class _SwiGLU(nn.Module):
- def __init__(
- self,
- dim: int,
- hidden_dim: int,
- ):
- super().__init__()
- self.w12 = nn.Linear(dim, hidden_dim*2, bias=False)
- self.w3 = nn.Linear(hidden_dim, dim, bias=False)
- def forward(self, x):
- x1, x2 = self.w12(x).chunk(2, dim=-1)
- return self.w3(torch.nn.functional.silu(x1)*x2)
-
-
-# try:
-# from xformers.ops import SwiGLU as aa
-# SwiGLU = SwiGLU
-# print("use xformers swiglu")
-# except:
-# print("use slow swiglu")
-
-SwiGLU = _SwiGLU
\ No newline at end of file
diff --git a/code/src/models/layers/time_embed.py b/code/src/models/layers/time_embed.py
deleted file mode 100644
index ac983ebf6e37328f984223a9eda78479aa20632e..0000000000000000000000000000000000000000
--- a/code/src/models/layers/time_embed.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import math
-import torch
-import torch.nn as nn
-
-class TimestepEmbedder(nn.Module):
- def __init__(self, hidden_size, frequency_embedding_size=256):
- super().__init__()
- self.mlp = nn.Sequential(
- nn.Linear(frequency_embedding_size, hidden_size, bias=True),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size, bias=True),
- )
- self.frequency_embedding_size = frequency_embedding_size
-
- @staticmethod
- def timestep_embedding(t, dim, max_period=10):
- half = dim // 2
- freqs = torch.exp(
- -math.log(max_period) * torch.arange(start=0, end=half, dtype=torch.float32, device=t.device) / half
- )
- args = t[..., None].float() * freqs[None, ...]
- embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
- if dim % 2:
- embedding = torch.cat([embedding, torch.zeros_like(embedding[:, :1])], dim=-1)
- return embedding.to(t.dtype)
-
- def forward(self, t):
- t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
- t_emb = self.mlp(t_freq)
- return t_emb
\ No newline at end of file
diff --git a/code/src/models/transformer/JiT.py b/code/src/models/transformer/JiT.py
deleted file mode 100644
index 6a534b1405dfedc0cfb04065033da9b32bfd8dd9..0000000000000000000000000000000000000000
--- a/code/src/models/transformer/JiT.py
+++ /dev/null
@@ -1,615 +0,0 @@
-# --------------------------------------------------------
-# References:
-# SiT: https://github.com/willisma/SiT
-# Lightning-DiT: https://github.com/hustvl/LightningDiT
-# --------------------------------------------------------
-import torch
-import math
-import torch.nn.functional as F
-from math import pi
-
-import torch
-from torch import nn
-import numpy as np
-
-from einops import rearrange, repeat
-
-
-def broadcat(tensors, dim = -1):
- num_tensors = len(tensors)
- shape_lens = set(list(map(lambda t: len(t.shape), tensors)))
- assert len(shape_lens) == 1, 'tensors must all have the same number of dimensions'
- shape_len = list(shape_lens)[0]
- dim = (dim + shape_len) if dim < 0 else dim
- dims = list(zip(*map(lambda t: list(t.shape), tensors)))
- expandable_dims = [(i, val) for i, val in enumerate(dims) if i != dim]
- assert all([*map(lambda t: len(set(t[1])) <= 2, expandable_dims)]), 'invalid dimensions for broadcastable concatentation'
- max_dims = list(map(lambda t: (t[0], max(t[1])), expandable_dims))
- expanded_dims = list(map(lambda t: (t[0], (t[1],) * num_tensors), max_dims))
- expanded_dims.insert(dim, (dim, dims[dim]))
- expandable_shapes = list(zip(*map(lambda t: t[1], expanded_dims)))
- tensors = list(map(lambda t: t[0].expand(*t[1]), zip(tensors, expandable_shapes)))
- return torch.cat(tensors, dim = dim)
-
-
-def rotate_half(x):
- x = rearrange(x, '... (d r) -> ... d r', r = 2)
- x1, x2 = x.unbind(dim = -1)
- x = torch.stack((-x2, x1), dim = -1)
- return rearrange(x, '... d r -> ... (d r)')
-
-
-class VisionRotaryEmbedding(nn.Module):
- def __init__(
- self,
- dim,
- pt_seq_len,
- ft_seq_len=None,
- custom_freqs = None,
- freqs_for = 'lang',
- theta = 10000,
- max_freq = 10,
- num_freqs = 1,
- ):
- super().__init__()
- if custom_freqs:
- freqs = custom_freqs
- elif freqs_for == 'lang':
- freqs = 1. / (theta ** (torch.arange(0, dim, 2)[:(dim // 2)].float() / dim))
- elif freqs_for == 'pixel':
- freqs = torch.linspace(1., max_freq / 2, dim // 2) * pi
- elif freqs_for == 'constant':
- freqs = torch.ones(num_freqs).float()
- else:
- raise ValueError(f'unknown modality {freqs_for}')
-
- if ft_seq_len is None: ft_seq_len = pt_seq_len
- t = torch.arange(ft_seq_len) / ft_seq_len * pt_seq_len
-
- freqs_h = torch.einsum('..., f -> ... f', t, freqs)
- freqs_h = repeat(freqs_h, '... n -> ... (n r)', r = 2)
-
- freqs_w = torch.einsum('..., f -> ... f', t, freqs)
- freqs_w = repeat(freqs_w, '... n -> ... (n r)', r = 2)
-
- freqs = broadcat((freqs_h[:, None, :], freqs_w[None, :, :]), dim = -1)
-
- self.register_buffer("freqs_cos", freqs.cos())
- self.register_buffer("freqs_sin", freqs.sin())
-
- def forward(self, t, start_index = 0):
- rot_dim = self.freqs_cos.shape[-1]
- end_index = start_index + rot_dim
- assert rot_dim <= t.shape[-1], f'feature dimension {t.shape[-1]} is not of sufficient size to rotate in all the positions {rot_dim}'
- t_left, t, t_right = t[..., :start_index], t[..., start_index:end_index], t[..., end_index:]
- t = (t * self.freqs_cos) + (rotate_half(t) * self.freqs_sin)
- return torch.cat((t_left, t, t_right), dim = -1)
-
-
-class VisionRotaryEmbeddingFast(nn.Module):
- def __init__(
- self,
- dim,
- pt_seq_len=16,
- ft_seq_len=None,
- custom_freqs = None,
- freqs_for = 'lang',
- theta = 10000,
- max_freq = 10,
- num_freqs = 1,
- num_cls_token = 0
- ):
- super().__init__()
- if custom_freqs:
- freqs = custom_freqs
- elif freqs_for == 'lang':
- freqs = 1. / (theta ** (torch.arange(0, dim, 2)[:(dim // 2)].float() / dim))
- elif freqs_for == 'pixel':
- freqs = torch.linspace(1., max_freq / 2, dim // 2) * pi
- elif freqs_for == 'constant':
- freqs = torch.ones(num_freqs).float()
- else:
- raise ValueError(f'unknown modality {freqs_for}')
-
- if ft_seq_len is None: ft_seq_len = pt_seq_len
- t = torch.arange(ft_seq_len) / ft_seq_len * pt_seq_len
-
- freqs = torch.einsum('..., f -> ... f', t, freqs)
- freqs = repeat(freqs, '... n -> ... (n r)', r = 2)
- freqs = broadcat((freqs[:, None, :], freqs[None, :, :]), dim = -1)
-
- if num_cls_token > 0:
- freqs_flat = freqs.view(-1, freqs.shape[-1]) # [N_img, D]
- cos_img = freqs_flat.cos()
- sin_img = freqs_flat.sin()
-
- # prepend in-context cls token
- N_img, D = cos_img.shape
- cos_pad = torch.ones(num_cls_token, D, dtype=cos_img.dtype, device=cos_img.device)
- sin_pad = torch.zeros(num_cls_token, D, dtype=sin_img.dtype, device=sin_img.device)
-
- self.freqs_cos = torch.cat([cos_pad, cos_img], dim=0).cuda() # [N_cls+N_img, D]
- self.freqs_sin = torch.cat([sin_pad, sin_img], dim=0).cuda()
- else:
- self.freqs_cos = freqs.cos().view(-1, freqs.shape[-1]).cuda()
- self.freqs_sin = freqs.sin().view(-1, freqs.shape[-1]).cuda()
-
- def forward(self, t):
- if self.freqs_cos.device != t.device:
- self.freqs_cos = self.freqs_cos.to(t.device)
- self.freqs_sin = self.freqs_sin.to(t.device)
- return t * self.freqs_cos + rotate_half(t) * self.freqs_sin
-
-
-class RMSNorm(nn.Module):
- def __init__(self, hidden_size, eps=1e-6):
- """
- LlamaRMSNorm is equivalent to T5LayerNorm
- """
- super().__init__()
- self.weight = nn.Parameter(torch.ones(hidden_size))
- self.variance_epsilon = eps
-
- def forward(self, hidden_states):
- input_dtype = hidden_states.dtype
- hidden_states = hidden_states.to(torch.float32)
- variance = hidden_states.pow(2).mean(-1, keepdim=True)
- hidden_states = hidden_states * torch.rsqrt(variance + self.variance_epsilon)
- return (self.weight * hidden_states).to(input_dtype)
-
-
-def get_2d_sincos_pos_embed(embed_dim, grid_size, cls_token=False, extra_tokens=0):
- """
- grid_size: int of the grid height and width
- return:
- pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/ or w/o cls_token)
- """
- grid_h = np.arange(grid_size, dtype=np.float32)
- grid_w = np.arange(grid_size, dtype=np.float32)
- grid = np.meshgrid(grid_w, grid_h) # here w goes first
- grid = np.stack(grid, axis=0)
-
- grid = grid.reshape([2, 1, grid_size, grid_size])
- pos_embed = get_2d_sincos_pos_embed_from_grid(embed_dim, grid)
- if cls_token and extra_tokens > 0:
- pos_embed = np.concatenate([np.zeros([extra_tokens, embed_dim]), pos_embed], axis=0)
- return pos_embed
-
-
-def get_2d_sincos_pos_embed_from_grid(embed_dim, grid):
- assert embed_dim % 2 == 0
-
- # use half of dimensions to encode grid_h
- emb_h = get_1d_sincos_pos_embed_from_grid(embed_dim // 2, grid[0]) # (H*W, D/2)
- emb_w = get_1d_sincos_pos_embed_from_grid(embed_dim // 2, grid[1]) # (H*W, D/2)
-
- emb = np.concatenate([emb_h, emb_w], axis=1) # (H*W, D)
- return emb
-
-
-def get_1d_sincos_pos_embed_from_grid(embed_dim, pos):
- """
- embed_dim: output dimension for each position
- pos: a list of positions to be encoded: size (M,)
- out: (M, D)
- """
- assert embed_dim % 2 == 0
- omega = np.arange(embed_dim // 2, dtype=np.float64)
- omega /= embed_dim / 2.
- omega = 1. / 10000**omega # (D/2,)
-
- pos = pos.reshape(-1) # (M,)
- out = np.einsum('m,d->md', pos, omega) # (M, D/2), outer product
-
- emb_sin = np.sin(out) # (M, D/2)
- emb_cos = np.cos(out) # (M, D/2)
-
- emb = np.concatenate([emb_sin, emb_cos], axis=1) # (M, D)
- return emb
-
-def modulate(x, shift, scale):
- return x * (1 + scale.unsqueeze(1)) + shift.unsqueeze(1)
-
-
-class BottleneckPatchEmbed(nn.Module):
- """ Image to Patch Embedding
- """
- def __init__(self, img_size=224, patch_size=16, in_chans=3, pca_dim=768, embed_dim=768, bias=True):
- super().__init__()
- img_size = (img_size, img_size)
- patch_size = (patch_size, patch_size)
- num_patches = (img_size[1] // patch_size[1]) * (img_size[0] // patch_size[0])
- self.img_size = img_size
- self.patch_size = patch_size
- self.num_patches = num_patches
-
- self.proj1 = nn.Conv2d(in_chans, pca_dim, kernel_size=patch_size, stride=patch_size, bias=False)
- self.proj2 = nn.Conv2d(pca_dim, embed_dim, kernel_size=1, stride=1, bias=bias)
-
- def forward(self, x):
- B, C, H, W = x.shape
- assert H == self.img_size[0] and W == self.img_size[1], \
- f"Input image size ({H}*{W}) doesn't match model ({self.img_size[0]}*{self.img_size[1]})."
- x = self.proj2(self.proj1(x)).flatten(2).transpose(1, 2)
- return x
-
-class PatchEmbed(nn.Module):
- """ Image to Patch Embedding
- """
- def __init__(self, img_size=224, patch_size=16, in_chans=3, pca_dim=768, embed_dim=768, bias=True):
- super().__init__()
- img_size = (img_size, img_size)
- patch_size = (patch_size, patch_size)
- num_patches = (img_size[1] // patch_size[1]) * (img_size[0] // patch_size[0])
- self.img_size = img_size
- self.patch_size = patch_size
- self.num_patches = num_patches
-
- self.proj1 = nn.Conv2d(in_chans, embed_dim, kernel_size=patch_size, stride=patch_size, bias=bias)
-
- def forward(self, x):
- B, C, H, W = x.shape
- assert H == self.img_size[0] and W == self.img_size[1], \
- f"Input image size ({H}*{W}) doesn't match model ({self.img_size[0]}*{self.img_size[1]})."
- x = self.proj1(x).flatten(2).transpose(1, 2)
- return x
-
-class TimestepEmbedder(nn.Module):
- """
- Embeds scalar timesteps into vector representations.
- """
- def __init__(self, hidden_size, frequency_embedding_size=256):
- super().__init__()
- self.mlp = nn.Sequential(
- nn.Linear(frequency_embedding_size, hidden_size, bias=True),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size, bias=True),
- )
- self.frequency_embedding_size = frequency_embedding_size
-
- @staticmethod
- def timestep_embedding(t, dim, max_period=10000):
- """
- Create sinusoidal timestep embeddings.
- :param t: a 1-D Tensor of N indices, one per batch element.
- These may be fractional.
- :param dim: the dimension of the output.
- :param max_period: controls the minimum frequency of the embeddings.
- :return: an (N, D) Tensor of positional embeddings.
- """
- # https://github.com/openai/glide-text2im/blob/main/glide_text2im/nn.py
- half = dim // 2
- freqs = torch.exp(
- -math.log(max_period) * torch.arange(start=0, end=half, dtype=torch.float32) / half
- ).to(device=t.device)
- args = t[:, None].float() * freqs[None]
- embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
- if dim % 2:
- embedding = torch.cat([embedding, torch.zeros_like(embedding[:, :1])], dim=-1)
- return embedding
-
- def forward(self, t):
- t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
- t_emb = self.mlp(t_freq)
- return t_emb
-
-
-class LabelEmbedder(nn.Module):
- """
- Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
- """
- def __init__(self, num_classes, hidden_size):
- super().__init__()
- self.embedding_table = nn.Embedding(num_classes + 1, hidden_size)
- self.num_classes = num_classes
-
- def forward(self, labels):
- embeddings = self.embedding_table(labels)
- return embeddings
-
-from torch.nn.functional import scaled_dot_product_attention
-class Attention(nn.Module):
- def __init__(self, dim, num_heads=8, qkv_bias=True, qk_norm=True, attn_drop=0., proj_drop=0.):
- super().__init__()
- self.num_heads = num_heads
- head_dim = dim // num_heads
-
- self.q_norm = RMSNorm(head_dim) if qk_norm else nn.Identity()
- self.k_norm = RMSNorm(head_dim) if qk_norm else nn.Identity()
-
- self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
-
- def forward(self, x, rope):
- B, N, C = x.shape
- qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- q, k, v = qkv[0], qkv[1], qkv[2] # make torchscript happy (cannot use tensor as tuple)
-
- q = self.q_norm(q)
- k = self.k_norm(k)
-
- q = rope(q)
- k = rope(k)
-
- x = scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop.p if self.training else 0.)
-
- x = x.transpose(1, 2).reshape(B, N, C)
-
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
-
-
-class SwiGLUFFN(nn.Module):
- def __init__(
- self,
- dim: int,
- hidden_dim: int,
- drop=0.0,
- bias=True
- ) -> None:
- super().__init__()
- hidden_dim = int(hidden_dim * 2 / 3)
- self.w12 = nn.Linear(dim, 2 * hidden_dim, bias=bias)
- self.w3 = nn.Linear(hidden_dim, dim, bias=bias)
- self.ffn_dropout = nn.Dropout(drop)
-
- def forward(self, x):
- x12 = self.w12(x)
- x1, x2 = x12.chunk(2, dim=-1)
- hidden = F.silu(x1) * x2
- return self.w3(self.ffn_dropout(hidden))
-
-
-class FinalLayer(nn.Module):
- """
- The final layer of JiT.
- """
- def __init__(self, hidden_size, patch_size, out_channels):
- super().__init__()
- self.norm_final = RMSNorm(hidden_size)
- self.linear = nn.Linear(hidden_size, patch_size * patch_size * out_channels, bias=True)
- self.adaLN_modulation = nn.Sequential(
- nn.SiLU(),
- nn.Linear(hidden_size, 2 * hidden_size, bias=True)
- )
-
- def forward(self, x, c):
- shift, scale = self.adaLN_modulation(c).chunk(2, dim=1)
- x = modulate(self.norm_final(x), shift, scale)
- x = self.linear(x)
- return x
-
-
-class JiTBlock(nn.Module):
- def __init__(self, hidden_size, num_heads, mlp_ratio=4.0, attn_drop=0.0, proj_drop=0.0):
- super().__init__()
- self.norm1 = RMSNorm(hidden_size, eps=1e-6)
- self.attn = Attention(hidden_size, num_heads=num_heads, qkv_bias=True, qk_norm=True,
- attn_drop=attn_drop, proj_drop=proj_drop)
- self.norm2 = RMSNorm(hidden_size, eps=1e-6)
- mlp_hidden_dim = int(hidden_size * mlp_ratio)
- self.mlp = SwiGLUFFN(hidden_size, mlp_hidden_dim, drop=proj_drop)
- self.adaLN_modulation = nn.Sequential(
- nn.SiLU(),
- nn.Linear(hidden_size, 6 * hidden_size, bias=True)
- )
-
- @torch.compile
- def forward(self, x, c, feat_rope=None):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- x = x + gate_msa.unsqueeze(1) * self.attn(modulate(self.norm1(x), shift_msa, scale_msa), rope=feat_rope)
- x = x + gate_mlp.unsqueeze(1) * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-
-class JiT(nn.Module):
- """
- Just image Transformer.
- """
- def __init__(
- self,
- input_size=256,
- patch_size=16,
- in_channels=3,
- hidden_size=1024,
- depth=24,
- num_heads=16,
- mlp_ratio=4.0,
- attn_drop=0.0,
- proj_drop=0.0,
- num_classes=1000,
- bottleneck_dim=128,
- use_bottleneck=True,
- in_context_len=32,
- in_context_start=8
- ):
- super().__init__()
- self.in_channels = in_channels
- self.out_channels = in_channels
- self.patch_size = patch_size
- self.num_heads = num_heads
- self.hidden_size = hidden_size
- self.input_size = input_size
- self.in_context_len = in_context_len
- self.in_context_start = in_context_start
- self.num_classes = num_classes
- self.bottleneck_dim = bottleneck_dim
- self.use_bottleneck = use_bottleneck
- # time and class embed
- self.t_embedder = TimestepEmbedder(hidden_size)
- self.y_embedder = LabelEmbedder(num_classes, hidden_size)
-
- # linear embed
- if self.use_bottleneck:
- self.x_embedder = BottleneckPatchEmbed(input_size, patch_size, in_channels, bottleneck_dim, hidden_size, bias=True)
- else:
- self.x_embedder = PatchEmbed(input_size, patch_size, in_channels, bottleneck_dim, hidden_size, bias=True)
- # use fixed sin-cos embedding
- num_patches = self.x_embedder.num_patches
- self.pos_embed = nn.Parameter(torch.zeros(1, num_patches, hidden_size), requires_grad=False)
-
- # in-context cls token
- if self.in_context_len > 0:
- self.in_context_posemb = nn.Parameter(torch.zeros(1, self.in_context_len, hidden_size), requires_grad=True)
- torch.nn.init.normal_(self.in_context_posemb, std=.02)
-
- # rope
- half_head_dim = hidden_size // num_heads // 2
- hw_seq_len = input_size // patch_size
- self.feat_rope = VisionRotaryEmbeddingFast(
- dim=half_head_dim,
- pt_seq_len=hw_seq_len,
- num_cls_token=0
- )
- self.feat_rope_incontext = VisionRotaryEmbeddingFast(
- dim=half_head_dim,
- pt_seq_len=hw_seq_len,
- num_cls_token=self.in_context_len
- )
-
- # transformer
- self.blocks = nn.ModuleList([
- JiTBlock(hidden_size, num_heads, mlp_ratio=mlp_ratio,
- attn_drop=attn_drop if (depth // 4 * 3 > i >= depth // 4) else 0.0,
- proj_drop=proj_drop if (depth // 4 * 3 > i >= depth // 4) else 0.0)
- for i in range(depth)
- ])
-
- # linear predict
- self.final_layer = FinalLayer(hidden_size, patch_size, self.out_channels)
-
- self.initialize_weights()
-
- def initialize_weights(self):
- # Initialize transformer layers:
- def _basic_init(module):
- if isinstance(module, nn.Linear):
- torch.nn.init.xavier_uniform_(module.weight)
- if module.bias is not None:
- nn.init.constant_(module.bias, 0)
- self.apply(_basic_init)
-
- # Initialize (and freeze) pos_embed by sin-cos embedding:
- pos_embed = get_2d_sincos_pos_embed(self.pos_embed.shape[-1], int(self.x_embedder.num_patches ** 0.5))
- self.pos_embed.data.copy_(torch.from_numpy(pos_embed).float().unsqueeze(0))
-
- # Initialize patch_embed like nn.Linear (instead of nn.Conv2d):
- if self.use_bottleneck:
- w1 = self.x_embedder.proj1.weight.data
- nn.init.xavier_uniform_(w1.view([w1.shape[0], -1]))
- w2 = self.x_embedder.proj2.weight.data
- nn.init.xavier_uniform_(w2.view([w2.shape[0], -1]))
- nn.init.constant_(self.x_embedder.proj2.bias, 0)
- else:
- w1 = self.x_embedder.proj1.weight.data
- nn.init.xavier_uniform_(w1.view([w1.shape[0], -1]))
- nn.init.constant_(self.x_embedder.proj1.bias, 0)
- # Initialize label embedding table:
- nn.init.normal_(self.y_embedder.embedding_table.weight, std=0.02)
-
- nn.init.normal_(self.t_embedder.mlp[0].weight, std=0.02)
- nn.init.normal_(self.t_embedder.mlp[2].weight, std=0.02)
-
- # Zero-out adaLN modulation layers:
- for block in self.blocks:
- nn.init.constant_(block.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(block.adaLN_modulation[-1].bias, 0)
-
- # Zero-out output layers:
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].bias, 0)
-
- nn.init.constant_(self.final_layer.linear.weight, 0)
- nn.init.constant_(self.final_layer.linear.bias, 0)
-
- def unpatchify(self, x, p):
- """
- x: (N, T, patch_size**2 * C)
- imgs: (N, H, W, C)
- """
- c = self.out_channels
- h = w = int(x.shape[1] ** 0.5)
- assert h * w == x.shape[1]
-
- x = x.reshape(shape=(x.shape[0], h, w, p, p, c))
- x = torch.einsum('nhwpqc->nchpwq', x)
- imgs = x.reshape(shape=(x.shape[0], c, h * p, h * p))
- return imgs
-
- def forward(self, x, t, y, return_layer=None, return_last=False):
- """
- x: (N, C, H, W)
- t: (N,)
- y: (N,)
- """
- # class and time embeddings
- t_emb = self.t_embedder(t)
- y_emb = self.y_embedder(y)
- c = t_emb + y_emb
-
- # forward JiT
- x = self.x_embedder(x)
- x += self.pos_embed
-
- for i, block in enumerate(self.blocks):
- if return_layer is not None and i==return_layer:
- if return_layer>self.in_context_start:
- feat = x[:, self.in_context_len:]
- else:
- feat = x
- # in-context
- if self.in_context_len > 0 and i == self.in_context_start:
- in_context_tokens = y_emb.unsqueeze(1).repeat(1, self.in_context_len, 1)
- in_context_tokens += self.in_context_posemb
- x = torch.cat([in_context_tokens, x], dim=1)
- x = block(x, c, self.feat_rope if i < self.in_context_start else self.feat_rope_incontext)
-
- x = x[:, self.in_context_len:]
- if return_last:
- last_out = x
- x = self.final_layer(x, c)
- output = self.unpatchify(x, self.patch_size)
- if return_layer is not None:
- if return_last:
- return output, feat, last_out
- else:
- return output, feat
- else:
- return output
-
-
-def JiT_B_16(**kwargs):
- return JiT(depth=12, hidden_size=768, num_heads=12,
- bottleneck_dim=128, in_context_len=32, in_context_start=4, patch_size=16, **kwargs)
-
-def JiT_B_32(**kwargs):
- return JiT(depth=12, hidden_size=768, num_heads=12,
- bottleneck_dim=128, in_context_len=32, in_context_start=4, patch_size=32, **kwargs)
-
-def JiT_L_16(**kwargs):
- return JiT(depth=24, hidden_size=1024, num_heads=16,
- bottleneck_dim=128, in_context_len=32, in_context_start=8, patch_size=16, **kwargs)
-
-def JiT_L_32(**kwargs):
- return JiT(depth=24, hidden_size=1024, num_heads=16,
- bottleneck_dim=128, in_context_len=32, in_context_start=8, patch_size=32, **kwargs)
-
-def JiT_H_16(**kwargs):
- return JiT(depth=32, hidden_size=1280, num_heads=16,
- bottleneck_dim=256, in_context_len=32, in_context_start=10, patch_size=16, **kwargs)
-
-def JiT_H_32(**kwargs):
- return JiT(depth=32, hidden_size=1280, num_heads=16,
- bottleneck_dim=256, in_context_len=32, in_context_start=10, patch_size=32, **kwargs)
-
-JiT_models = {
- 'JiT-B/16': JiT_B_16,
- 'JiT-B/32': JiT_B_32,
- 'JiT-L/16': JiT_L_16,
- 'JiT-L/32': JiT_L_32,
- 'JiT-H/16': JiT_H_16,
- 'JiT-H/32': JiT_H_32,
-}
\ No newline at end of file
diff --git a/code/src/models/transformer/JiT_T2I.py b/code/src/models/transformer/JiT_T2I.py
deleted file mode 100644
index 67cc3b43d0d6e36862895c2eaa609b4169887b3c..0000000000000000000000000000000000000000
--- a/code/src/models/transformer/JiT_T2I.py
+++ /dev/null
@@ -1,373 +0,0 @@
-import torch
-import torch.nn as nn
-import numpy as np
-
-from functools import lru_cache
-from src.models.layers.attention_op import attention
-from src.models.layers.rope import apply_rotary_emb, precompute_freqs_cis_ex2d as precompute_freqs_cis_2d
-from src.models.layers.time_embed import TimestepEmbedder as TimestepEmbedder
-from src.models.layers.patch_embed import Embed as Embed
-from src.models.layers.swiglu import SwiGLU as FeedForward
-from src.models.layers.rmsnorm import RMSNorm as Norm
-
-def modulate(x, shift, scale):
- return x * (1 + scale) + shift
-
-def get_2d_sincos_pos_embed(embed_dim, grid_size, cls_token=False, extra_tokens=0):
- """
- Generate 2D sin-cos positional embedding.
- """
- grid_h = np.arange(grid_size, dtype=np.float32)
- grid_w = np.arange(grid_size, dtype=np.float32)
- grid = np.meshgrid(grid_w, grid_h) # here w goes first
- grid = np.stack(grid, axis=0)
-
- grid = grid.reshape([2, 1, grid_size, grid_size])
- pos_embed = get_2d_sincos_pos_embed_from_grid(embed_dim, grid)
- if cls_token and extra_tokens > 0:
- pos_embed = np.concatenate([np.zeros([extra_tokens, embed_dim]), pos_embed], axis=0)
- return pos_embed
-
-def get_2d_sincos_pos_embed_from_grid(embed_dim, grid):
- assert embed_dim % 2 == 0
- # use half of dimensions to encode grid_h
- emb_h = get_1d_sincos_pos_embed_from_grid(embed_dim // 2, grid[0]) # (H*W, D/2)
- emb_w = get_1d_sincos_pos_embed_from_grid(embed_dim // 2, grid[1]) # (H*W, D/2)
- emb = np.concatenate([emb_h, emb_w], axis=1) # (H*W, D)
- return emb
-
-def get_1d_sincos_pos_embed_from_grid(embed_dim, pos):
- assert embed_dim % 2 == 0
- omega = np.arange(embed_dim // 2, dtype=np.float64)
- omega /= embed_dim / 2.
- omega = 1. / 10000**omega # (D/2,)
- pos = pos.reshape(-1) # (M,)
- out = np.einsum('m,d->md', pos, omega) # (M, D/2), outer product
- emb_sin = np.sin(out) # (M, D/2)
- emb_cos = np.cos(out) # (M, D/2)
- emb = np.concatenate([emb_sin, emb_cos], axis=1) # (M, D)
- return emb
-
-
-class Attention(nn.Module):
- def __init__(
- self,
- dim: int,
- num_heads: int = 8,
- qkv_bias: bool = False,
- attn_drop: float = 0.,
- proj_drop: float = 0.,
- ) -> None:
- super().__init__()
- assert dim % num_heads == 0, 'dim should be divisible by num_heads'
-
- self.dim = dim
- self.num_heads = num_heads
- self.head_dim = dim // num_heads
- self.scale = self.head_dim ** -0.5
- self.qkv_x = nn.Linear(dim, dim*3, bias=qkv_bias)
- self.kv_y = nn.Linear(dim, dim*2, bias=qkv_bias)
-
- self.q_norm = Norm(self.head_dim)
- self.k_norm = Norm(self.head_dim)
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
-
- def forward(self, x: torch.Tensor, y, pos) -> torch.Tensor:
- B, N, C = x.shape
- qkv_x = self.qkv_x(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- q, kx, vx = qkv_x[0], qkv_x[1], qkv_x[2]
- q = self.q_norm(q.contiguous())
- kx = self.k_norm(kx.contiguous())
- q, kx = apply_rotary_emb(q, kx, freqs_cis=pos)
- kv_y = self.kv_y(y).reshape(B, -1, 2, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- ky, vy = kv_y[0], kv_y[1]
- ky = self.k_norm(ky.contiguous())
-
- k = torch.cat([kx, ky], dim=2)
- v = torch.cat([vx, vy], dim=2)
-
- q = q.view(B, self.num_heads, -1, C // self.num_heads) # B, H, N, Hc
- k = k.view(B, self.num_heads, -1, C // self.num_heads).contiguous() # B, H, N, Hc
- v = v.view(B, self.num_heads, -1, C // self.num_heads).contiguous()
-
- x = attention(q, k, v)
- x = x.transpose(1, 2).reshape(B, N, C)
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
-
-class FlattenDiTBlock(nn.Module):
- def __init__(self, hidden_size, groups, mlp_ratio=4, ):
- super().__init__()
- self.norm1 = Norm(hidden_size, eps=1e-6)
- self.attn = Attention(hidden_size, num_heads=groups, qkv_bias=False)
- self.norm2 = Norm(hidden_size, eps=1e-6)
- mlp_hidden_dim = int(hidden_size * mlp_ratio)
- self.mlp = FeedForward(hidden_size, mlp_hidden_dim)
- self.adaLN_modulation = nn.Sequential(
- nn.Linear(hidden_size, 6 * hidden_size, bias=True)
- )
-
- def forward(self, x, y, c, pos):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- x = x + gate_msa * self.attn(modulate(self.norm1(x), shift_msa, scale_msa), y, pos)
- x = x + gate_mlp * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-class TextRefineAttention(nn.Module):
- def __init__(
- self,
- dim: int,
- num_heads: int = 8,
- qkv_bias: bool = False,
- attn_drop: float = 0.,
- proj_drop: float = 0.,
- ) -> None:
- super().__init__()
- assert dim % num_heads == 0, 'dim should be divisible by num_heads'
- self.dim = dim
- self.num_heads = num_heads
- self.head_dim = dim // num_heads
- self.scale = self.head_dim ** -0.5
- self.qkv = nn.Linear(dim, dim*3, bias=qkv_bias)
- self.q_norm = Norm(self.head_dim)
- self.k_norm = Norm(self.head_dim)
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
-
- def forward(self, x: torch.Tensor) -> torch.Tensor:
- B, N, C = x.shape
- qkv_x = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- q, k, v = qkv_x[0], qkv_x[1], qkv_x[2]
- q = self.q_norm(q)
- k = self.k_norm(k)
- q = q.view(B, self.num_heads, -1, C // self.num_heads) # B, H, N, Hc
- k = k.view(B, self.num_heads, -1, C // self.num_heads).contiguous() # B, H, N, Hc
- v = v.view(B, self.num_heads, -1, C // self.num_heads).contiguous()
- x = attention(q, k, v)
- x = x.transpose(1, 2).reshape(B, N, C)
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
-
-class TextRefineBlock(nn.Module):
- def __init__(self, hidden_size, groups, mlp_ratio=4, ):
- super().__init__()
- self.norm1 = Norm(hidden_size, eps=1e-6)
- self.attn = TextRefineAttention(hidden_size, num_heads=groups, qkv_bias=False)
- self.norm2 = Norm(hidden_size, eps=1e-6)
- mlp_hidden_dim = int(hidden_size * mlp_ratio)
- self.mlp = FeedForward(hidden_size, mlp_hidden_dim)
-
- self.adaLN_modulation = nn.Sequential(
- nn.Linear(hidden_size, 6 * hidden_size, bias=True)
- )
-
- def forward(self, x, c):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- x = x + gate_msa * self.attn(modulate(self.norm1(x), shift_msa, scale_msa))
- x = x + gate_mlp * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-class BottleneckEmbed(nn.Module):
- def __init__(
- self,
- in_chans: int = 3,
- embed_dim: int = 768,
- bottleneck_dim: int = 256,
- bias: bool = True,
- ):
- super().__init__()
- self.in_chans = in_chans
- self.embed_dim = embed_dim
- self.proj1 = nn.Linear(in_chans, bottleneck_dim, bias=False)
- self.proj2 = nn.Linear(bottleneck_dim, embed_dim, bias=bias)
-
- def forward(self, x):
- x = self.proj2(self.proj1(x))
- return x
-
-class ResBlock(nn.Module):
- """
- A residual block that can optionally change the number of channels.
- :param channels: the number of input channels.
- """
-
- def __init__(
- self,
- channels
- ):
- super().__init__()
- self.channels = channels
-
- self.in_ln = nn.LayerNorm(channels, eps=1e-6)
- self.mlp = nn.Sequential(
- nn.Linear(channels, channels, bias=True),
- nn.SiLU(),
- nn.Linear(channels, channels, bias=True),
- )
-
- self.adaLN_modulation = nn.Sequential(
- nn.SiLU(),
- nn.Linear(channels, 3 * channels, bias=True)
- )
-
- def forward(self, x, y):
- shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(y).chunk(3, dim=-1)
- h = modulate(self.in_ln(x), shift_mlp, scale_mlp)
- h = self.mlp(h)
- return x + gate_mlp * h
-
-
-class FinalLayer(nn.Module):
- """
- The final layer adopted from DiT.
- """
- def __init__(self, model_channels, out_channels):
- super().__init__()
- self.norm_final = nn.LayerNorm(model_channels, elementwise_affine=False, eps=1e-6)
- self.linear = nn.Linear(model_channels, out_channels, bias=True)
-
- def forward(self, x):
- x = self.norm_final(x)
- x = self.linear(x)
- return x
-
-class JiT_T2I(nn.Module):
- def __init__(
- self,
- input_size=256,
- in_channels=4,
- num_groups=12,
- hidden_size=1152,
- num_blocks=18,
- num_text_blocks=4,
- patch_size=2,
- txt_embed_dim=1024,
- txt_max_length=100,
- bottleneck_dim=256,
- weight_path=None,
- load_ema=False,
- ):
- super().__init__()
- self.in_channels = in_channels
- self.out_channels = in_channels
- self.hidden_size = hidden_size
- self.num_groups = num_groups
- self.num_blocks = num_blocks
- self.num_text_blocks = num_text_blocks
- self.patch_size = patch_size
- self.txt_embed_dim = txt_embed_dim
- self.txt_max_length = txt_max_length
- self.x_embedder = BottleneckEmbed(in_channels*patch_size**2, hidden_size, bottleneck_dim, bias=True)
- self.t_embedder = TimestepEmbedder(hidden_size)
- self.y_embedder = Embed(txt_embed_dim, hidden_size, bias=True, norm_layer=Norm)
-
- # Image Positional Embedding (Fixed Sin-Cos)
- self.num_patches = (input_size//patch_size)**2
- self.pos_embed = nn.Parameter(torch.zeros(1, self.num_patches, hidden_size), requires_grad=False)
-
- self.y_pos_embedding = torch.nn.Parameter(
- torch.randn(1, txt_max_length, hidden_size)* 0.02,
- requires_grad=True
- )
-
- self.blocks = nn.ModuleList([
- FlattenDiTBlock(self.hidden_size, self.num_groups) for _ in range(self.num_blocks)
- ])
-
- self.text_refine_blocks = nn.ModuleList([
- TextRefineBlock(self.hidden_size, self.num_groups) for _ in range(self.num_text_blocks)
- ])
- self.final_layer = FinalLayer(self.hidden_size, in_channels*patch_size**2)
-
- self.initialize_weights()
- self.precompute_pos = dict()
- self.weight_path = weight_path
- self.load_ema = load_ema
-
- def fetch_pos(self, height, width, device):
- if (height, width) in self.precompute_pos:
- return self.precompute_pos[(height, width)].to(device)
- else:
- pos = precompute_freqs_cis_2d(self.hidden_size // self.num_groups, height, width).to(device)
- self.precompute_pos[(height, width)] = pos
- return pos
-
- def initialize_weights(self):
- # Basic initialization
- def _basic_init(module):
- if isinstance(module, nn.Linear):
- torch.nn.init.xavier_uniform_(module.weight)
- if module.bias is not None:
- nn.init.constant_(module.bias, 0)
- self.apply(_basic_init)
-
- # Initialize fixed sin-cos pos embedding
- pos_embed = get_2d_sincos_pos_embed(self.pos_embed.shape[-1], int(self.num_patches ** 0.5))
- self.pos_embed.data.copy_(torch.from_numpy(pos_embed).float().unsqueeze(0))
-
- # Initialize patch_embed like nn.Linear (instead of nn.Conv2d):
- w = self.x_embedder.proj1.weight.data
- nn.init.xavier_uniform_(w.view([w.shape[0], -1]))
- w2 = self.x_embedder.proj2.weight.data
- nn.init.xavier_uniform_(w2.view([w2.shape[0], -1]))
- nn.init.constant_(self.x_embedder.proj2.bias, 0)
-
-
- # Initialize timestep embedding MLP:
- nn.init.normal_(self.t_embedder.mlp[0].weight, std=0.02)
- nn.init.normal_(self.t_embedder.mlp[2].weight, std=0.02)
-
- for block in self.blocks:
- nn.init.constant_(block.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(block.adaLN_modulation[-1].bias, 0)
-
- for block in self.text_refine_blocks:
- nn.init.constant_(block.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(block.adaLN_modulation[-1].bias, 0)
-
- # Zero-out output layers
- nn.init.constant_(self.final_layer.linear.weight, 0)
- nn.init.constant_(self.final_layer.linear.bias, 0)
-
- def unpatchify(self, x, H, W):
- """
- x: (N, T, patch_size**2 * C)
- H, W: original height and width
- """
- x = torch.nn.functional.fold(
- x.transpose(1, 2).contiguous(),
- output_size=(H, W),
- kernel_size=self.patch_size,
- stride=self.patch_size
- )
- return x
-
- def forward(self, x, t, y, return_layer=None):
- B, _, H, W = x.shape
- x = torch.nn.functional.unfold(x, kernel_size=self.patch_size, stride=self.patch_size).transpose(1, 2)
- xpos = self.fetch_pos(H // self.patch_size, W // self.patch_size, x.device)
- ypos = self.y_pos_embedding
- t = self.t_embedder(t.view(-1)).view(B, -1, self.hidden_size)
- y = self.y_embedder(y).view(B, -1, self.hidden_size) + ypos.to(y.dtype)
- condition = nn.functional.silu(t)
- for i, block in enumerate(self.text_refine_blocks):
- y = block(y, condition)
-
- x = self.x_embedder(x)
- x += self.pos_embed
- for i, block in enumerate(self.blocks):
- if return_layer is not None and i==return_layer:
- feat = x
- x = block(x, y, condition, xpos)
-
- x = self.final_layer(x)
- output = self.unpatchify(x, H, W)
- if return_layer is not None:
- return output, feat
- else:
- return output
\ No newline at end of file
diff --git a/code/src/models/transformer/JiT_medical.py b/code/src/models/transformer/JiT_medical.py
deleted file mode 100644
index 62350a9721bccd8ddc802ce1e39bfa661dec1f18..0000000000000000000000000000000000000000
--- a/code/src/models/transformer/JiT_medical.py
+++ /dev/null
@@ -1,626 +0,0 @@
-# JiT Medical - Mask-Conditional JiT for Medical Image Generation
-# Based on JiT.py with mask condition injection
-# V2: Added mask_mode='spatial' for patch-level mask conditioning
-# V3: Added mask_mode='cross_attention' for cross-attention mask conditioning
-
-import torch
-import torch.nn as nn
-import torch.nn.functional as F
-import math
-
-# Import from JiT.py in the same directory
-from src.models.transformer.JiT import VisionRotaryEmbeddingFast, get_2d_sincos_pos_embed, RMSNorm
-
-
-def modulate(x, shift, scale):
- return x * (1 + scale.unsqueeze(1)) + shift.unsqueeze(1)
-
-
-class BottleneckPatchEmbed(nn.Module):
- """Image to Patch Embedding"""
- def __init__(self, img_size=224, patch_size=16, in_chans=3, pca_dim=768, embed_dim=768, bias=True):
- super().__init__()
- img_size = (img_size, img_size)
- patch_size = (patch_size, patch_size)
- num_patches = (img_size[1] // patch_size[1]) * (img_size[0] // patch_size[0])
- self.img_size = img_size
- self.patch_size = patch_size
- self.num_patches = num_patches
-
- self.proj1 = nn.Conv2d(in_chans, pca_dim, kernel_size=patch_size, stride=patch_size, bias=False)
- self.proj2 = nn.Conv2d(pca_dim, embed_dim, kernel_size=1, stride=1, bias=bias)
-
- def forward(self, x):
- B, C, H, W = x.shape
- assert H == self.img_size[0] and W == self.img_size[1], \
- f"Input image size ({H}*{W}) doesn't match model ({self.img_size[0]}*{self.img_size[1]})."
- x = self.proj2(self.proj1(x)).flatten(2).transpose(1, 2)
- return x
-
-
-class MaskEncoder(nn.Module):
- """
- Encode segmentation mask to a conditioning vector (global mode).
- Uses a simple CNN to extract spatial features, then global pooling.
- """
- def __init__(self, hidden_size, in_channels=1, img_size=256):
- super().__init__()
- self.hidden_size = hidden_size
-
- # Simple CNN encoder for mask
- self.encoder = nn.Sequential(
- nn.Conv2d(in_channels, 32, kernel_size=7, stride=2, padding=3),
- nn.GroupNorm(8, 32),
- nn.SiLU(),
- nn.Conv2d(32, 64, kernel_size=3, stride=2, padding=1),
- nn.GroupNorm(8, 64),
- nn.SiLU(),
- nn.Conv2d(64, 128, kernel_size=3, stride=2, padding=1),
- nn.GroupNorm(8, 128),
- nn.SiLU(),
- nn.Conv2d(128, 256, kernel_size=3, stride=2, padding=1),
- nn.GroupNorm(8, 256),
- nn.SiLU(),
- nn.AdaptiveAvgPool2d((1, 1)),
- )
- self.proj = nn.Sequential(
- nn.Linear(256, hidden_size),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size),
- )
-
- def forward(self, mask):
- feat = self.encoder(mask)
- feat = feat.flatten(1)
- return self.proj(feat)
-
-
-class TimestepEmbedder(nn.Module):
- """Embeds scalar timesteps into vector representations."""
- def __init__(self, hidden_size, frequency_embedding_size=256):
- super().__init__()
- self.mlp = nn.Sequential(
- nn.Linear(frequency_embedding_size, hidden_size, bias=True),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size, bias=True),
- )
- self.frequency_embedding_size = frequency_embedding_size
-
- @staticmethod
- def timestep_embedding(t, dim, max_period=10000):
- half = dim // 2
- freqs = torch.exp(
- -math.log(max_period) * torch.arange(start=0, end=half, dtype=torch.float32) / half
- ).to(device=t.device)
- args = t[:, None].float() * freqs[None]
- embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
- if dim % 2:
- embedding = torch.cat([embedding, torch.zeros_like(embedding[:, :1])], dim=-1)
- return embedding
-
- def forward(self, t):
- t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
- t_emb = self.mlp(t_freq)
- return t_emb
-
-
-class LabelEmbedder(nn.Module):
- """Embeds class labels into vector representations."""
- def __init__(self, num_classes, hidden_size):
- super().__init__()
- self.embedding_table = nn.Embedding(num_classes + 1, hidden_size)
- self.num_classes = num_classes
-
- def forward(self, labels):
- embeddings = self.embedding_table(labels)
- return embeddings
-
-
-def scaled_dot_product_attention(query, key, value, dropout_p=0.0):
- L, S = query.size(-2), key.size(-2)
- scale_factor = 1 / math.sqrt(query.size(-1))
- attn_bias = torch.zeros(query.size(0), 1, L, S, dtype=query.dtype, device=query.device)
-
- with torch.cuda.amp.autocast(enabled=False):
- attn_weight = query.float() @ key.float().transpose(-2, -1) * scale_factor
- attn_weight += attn_bias
- attn_weight = torch.softmax(attn_weight, dim=-1)
- attn_weight = torch.dropout(attn_weight, dropout_p, train=True)
- return attn_weight @ value
-
-
-class Attention(nn.Module):
- def __init__(self, dim, num_heads=8, qkv_bias=True, qk_norm=True, attn_drop=0., proj_drop=0.):
- super().__init__()
- self.num_heads = num_heads
- head_dim = dim // num_heads
-
- self.q_norm = RMSNorm(head_dim) if qk_norm else nn.Identity()
- self.k_norm = RMSNorm(head_dim) if qk_norm else nn.Identity()
-
- self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
-
- def forward(self, x, rope):
- B, N, C = x.shape
- qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
- q, k, v = qkv[0], qkv[1], qkv[2]
-
- q = self.q_norm(q)
- k = self.k_norm(k)
-
- q = rope(q)
- k = rope(k)
-
- x = scaled_dot_product_attention(q, k, v, dropout_p=self.attn_drop.p if self.training else 0.)
- x = x.transpose(1, 2).reshape(B, N, C)
-
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
-
-
-class CrossAttention(nn.Module):
- """Cross-attention: Q from image tokens, K/V from mask tokens."""
- def __init__(self, dim, num_heads=8, qkv_bias=True, qk_norm=True):
- super().__init__()
- self.num_heads = num_heads
- self.head_dim = dim // num_heads
-
- self.q_norm = RMSNorm(self.head_dim) if qk_norm else nn.Identity()
- self.k_norm = RMSNorm(self.head_dim) if qk_norm else nn.Identity()
-
- self.q_proj = nn.Linear(dim, dim, bias=qkv_bias)
- self.kv_proj = nn.Linear(dim, dim * 2, bias=qkv_bias)
- self.proj = nn.Linear(dim, dim)
-
- def forward(self, x, mask_kv, q_rope, kv_rope):
- """
- Args:
- x: image tokens [B, N_img, C] (may include in-context tokens)
- mask_kv: mask tokens [B, N_mask, C]
- q_rope: RoPE for Q (feat_rope or feat_rope_incontext)
- kv_rope: RoPE for K (always feat_rope, no cls tokens)
- """
- B, N, C = x.shape
- N_mask = mask_kv.shape[1]
-
- # Q from image tokens
- q = self.q_proj(x).reshape(B, N, self.num_heads, self.head_dim).permute(0, 2, 1, 3)
- # K, V from mask tokens
- kv = self.kv_proj(mask_kv).reshape(B, N_mask, 2, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4)
- k, v = kv[0], kv[1]
-
- q = self.q_norm(q)
- k = self.k_norm(k)
-
- q = q_rope(q)
- k = kv_rope(k)
-
- x = scaled_dot_product_attention(q, k, v)
- x = x.transpose(1, 2).reshape(B, N, C)
-
- x = self.proj(x)
- return x
-
-
-class SwiGLUFFN(nn.Module):
- def __init__(self, dim, hidden_dim, drop=0.0, bias=True):
- super().__init__()
- hidden_dim = int(hidden_dim * 2 / 3)
- self.w12 = nn.Linear(dim, 2 * hidden_dim, bias=bias)
- self.w3 = nn.Linear(hidden_dim, dim, bias=bias)
- self.ffn_dropout = nn.Dropout(drop)
-
- def forward(self, x):
- x12 = self.w12(x)
- x1, x2 = x12.chunk(2, dim=-1)
- hidden = F.silu(x1) * x2
- return self.w3(self.ffn_dropout(hidden))
-
-
-class FinalLayer(nn.Module):
- """The final layer of JiT."""
- def __init__(self, hidden_size, patch_size, out_channels):
- super().__init__()
- self.norm_final = RMSNorm(hidden_size)
- self.linear = nn.Linear(hidden_size, patch_size * patch_size * out_channels, bias=True)
- self.adaLN_modulation = nn.Sequential(
- nn.SiLU(),
- nn.Linear(hidden_size, 2 * hidden_size, bias=True)
- )
-
- def forward(self, x, c):
- shift, scale = self.adaLN_modulation(c).chunk(2, dim=1)
- x = modulate(self.norm_final(x), shift, scale)
- x = self.linear(x)
- return x
-
-
-class JiTBlock(nn.Module):
- def __init__(self, hidden_size, num_heads, mlp_ratio=4.0, attn_drop=0.0, proj_drop=0.0):
- super().__init__()
- self.norm1 = RMSNorm(hidden_size, eps=1e-6)
- self.attn = Attention(hidden_size, num_heads=num_heads, qkv_bias=True, qk_norm=True,
- attn_drop=attn_drop, proj_drop=proj_drop)
- self.norm2 = RMSNorm(hidden_size, eps=1e-6)
- mlp_hidden_dim = int(hidden_size * mlp_ratio)
- self.mlp = SwiGLUFFN(hidden_size, mlp_hidden_dim, drop=proj_drop)
- self.adaLN_modulation = nn.Sequential(
- nn.SiLU(),
- nn.Linear(hidden_size, 6 * hidden_size, bias=True)
- )
-
- def forward(self, x, c, feat_rope=None, **kwargs):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- x = x + gate_msa.unsqueeze(1) * self.attn(modulate(self.norm1(x), shift_msa, scale_msa), rope=feat_rope)
- x = x + gate_mlp.unsqueeze(1) * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-
-class JiTBlockCrossAttn(JiTBlock):
- """JiTBlock with additional cross-attention to mask tokens.
-
- Flow: self-attn -> cross-attn (if mask_kv provided) -> MLP
- Cross-attention gate and projection are zero-initialized so that
- at training start this block behaves identically to a standard JiTBlock.
- """
- def __init__(self, hidden_size, num_heads, mlp_ratio=4.0, attn_drop=0.0, proj_drop=0.0):
- super().__init__(hidden_size, num_heads, mlp_ratio, attn_drop, proj_drop)
- self.cross_attn_norm = RMSNorm(hidden_size, eps=1e-6)
- self.cross_attn = CrossAttention(hidden_size, num_heads=num_heads, qkv_bias=True, qk_norm=True)
- self.cross_attn_gate = nn.Parameter(torch.zeros(hidden_size))
-
- def forward(self, x, c, feat_rope=None, mask_kv=None, mask_rope=None):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- # Self-attention
- x = x + gate_msa.unsqueeze(1) * self.attn(modulate(self.norm1(x), shift_msa, scale_msa), rope=feat_rope)
- # Cross-attention to mask tokens
- if mask_kv is not None:
- x = x + self.cross_attn_gate.unsqueeze(0).unsqueeze(0) * self.cross_attn(
- self.cross_attn_norm(x), mask_kv, q_rope=feat_rope, kv_rope=mask_rope
- )
- # MLP
- x = x + gate_mlp.unsqueeze(1) * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-
-class JiTMedical(nn.Module):
- """
- JiT for Medical Image Generation with Mask Conditioning.
-
- Supports three mask conditioning modes:
- - 'global': Mask encoded to single vector via CNN+GlobalPool, injected via AdaLN.
- Good for structured masks (e.g. OCTA500 layer segmentation).
- - 'spatial': Mask patchified and added to patch embeddings, preserving spatial info.
- Good for localized masks (e.g. CVC-ClinicDB polyp segmentation).
- - 'cross_attention': Mask patchified as K/V tokens, attended via cross-attention at every layer.
- Preserves spatial info without polluting image representations directly.
- """
- def __init__(
- self,
- input_size=256,
- patch_size=16,
- in_channels=3,
- hidden_size=1024,
- depth=24,
- num_heads=16,
- mlp_ratio=4.0,
- attn_drop=0.0,
- proj_drop=0.0,
- num_classes=1,
- bottleneck_dim=128,
- use_bottleneck=True,
- in_context_len=32,
- in_context_start=8,
- mask_in_channels=1,
- mask_mode='global', # 'global', 'spatial', or 'cross_attention'
- ):
- super().__init__()
- self.in_channels = in_channels
- self.out_channels = in_channels
- self.patch_size = patch_size
- self.num_heads = num_heads
- self.hidden_size = hidden_size
- self.input_size = input_size
- self.in_context_len = in_context_len
- self.in_context_start = in_context_start
- self.num_classes = num_classes
- self.use_bottleneck = use_bottleneck
- self.mask_mode = mask_mode
-
- # Condition embedders
- self.t_embedder = TimestepEmbedder(hidden_size)
- self.y_embedder = LabelEmbedder(num_classes, hidden_size)
-
- # Mask conditioning
- if mask_mode == 'global':
- self.mask_embedder = MaskEncoder(hidden_size, mask_in_channels, input_size)
- elif mask_mode == 'spatial':
- self.mask_patch_embed = nn.Conv2d(
- mask_in_channels, hidden_size,
- kernel_size=patch_size, stride=patch_size, bias=True
- )
- elif mask_mode == 'cross_attention':
- self.mask_patch_embed = nn.Conv2d(
- mask_in_channels, hidden_size,
- kernel_size=patch_size, stride=patch_size, bias=True
- )
- else:
- raise ValueError(f"Unknown mask_mode: {mask_mode}")
-
- # Patch embedding
- if use_bottleneck:
- self.x_embedder = BottleneckPatchEmbed(input_size, patch_size, in_channels, bottleneck_dim, hidden_size, bias=True)
- else:
- self.x_embedder = nn.Conv2d(in_channels, hidden_size, kernel_size=patch_size, stride=patch_size)
-
- # Position embedding
- num_patches = (input_size // patch_size) ** 2
- self.pos_embed = nn.Parameter(torch.zeros(1, num_patches, hidden_size), requires_grad=False)
-
- # In-context tokens
- if self.in_context_len > 0:
- self.in_context_posemb = nn.Parameter(torch.zeros(1, self.in_context_len, hidden_size), requires_grad=True)
-
- # RoPE
- half_head_dim = hidden_size // num_heads // 2
- hw_seq_len = input_size // patch_size
- self.feat_rope = VisionRotaryEmbeddingFast(
- dim=half_head_dim,
- pt_seq_len=hw_seq_len,
- num_cls_token=0
- )
- self.feat_rope_incontext = VisionRotaryEmbeddingFast(
- dim=half_head_dim,
- pt_seq_len=hw_seq_len,
- num_cls_token=self.in_context_len
- )
-
- # Transformer blocks
- BlockClass = JiTBlockCrossAttn if mask_mode == 'cross_attention' else JiTBlock
- self.blocks = nn.ModuleList([
- BlockClass(hidden_size, num_heads, mlp_ratio=mlp_ratio,
- attn_drop=attn_drop if (depth // 4 * 3 > i >= depth // 4) else 0.0,
- proj_drop=proj_drop if (depth // 4 * 3 > i >= depth // 4) else 0.0)
- for i in range(depth)
- ])
- self.depth = depth
-
- # Output layer
- self.final_layer = FinalLayer(hidden_size, patch_size, self.out_channels)
-
- self.initialize_weights()
-
- def initialize_weights(self):
- def _basic_init(module):
- if isinstance(module, nn.Linear):
- torch.nn.init.xavier_uniform_(module.weight)
- if module.bias is not None:
- nn.init.constant_(module.bias, 0)
- self.apply(_basic_init)
-
- # Sin-cos position embedding
- num_patches = (self.input_size // self.patch_size) ** 2
- pos_embed = get_2d_sincos_pos_embed(self.hidden_size, int(num_patches ** 0.5))
- self.pos_embed.data.copy_(torch.from_numpy(pos_embed).float().unsqueeze(0))
-
- # In-context position embedding
- if self.in_context_len > 0:
- nn.init.normal_(self.in_context_posemb, std=0.02)
-
- # Patch embed init
- if self.use_bottleneck:
- w1 = self.x_embedder.proj1.weight.data
- nn.init.xavier_uniform_(w1.view([w1.shape[0], -1]))
- w2 = self.x_embedder.proj2.weight.data
- nn.init.xavier_uniform_(w2.view([w2.shape[0], -1]))
- nn.init.constant_(self.x_embedder.proj2.bias, 0)
- else:
- w = self.x_embedder.weight.data
- nn.init.xavier_uniform_(w.view([w.shape[0], -1]))
-
- # Label embedding init
- nn.init.normal_(self.y_embedder.embedding_table.weight, std=0.02)
-
- # Time embedder init
- nn.init.normal_(self.t_embedder.mlp[0].weight, std=0.02)
- nn.init.normal_(self.t_embedder.mlp[2].weight, std=0.02)
-
- # Mask conditioning init
- if self.mask_mode == 'global':
- nn.init.normal_(self.mask_embedder.proj[0].weight, std=0.02)
- nn.init.normal_(self.mask_embedder.proj[2].weight, std=0.02)
- elif self.mask_mode in ('spatial', 'cross_attention'):
- w = self.mask_patch_embed.weight.data
- nn.init.xavier_uniform_(w.view([w.shape[0], -1]))
- nn.init.constant_(self.mask_patch_embed.bias, 0)
-
- # Zero-out adaLN modulation layers
- for block in self.blocks:
- nn.init.constant_(block.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(block.adaLN_modulation[-1].bias, 0)
-
- # Cross-attention specific zero-init
- if self.mask_mode == 'cross_attention':
- for block in self.blocks:
- nn.init.constant_(block.cross_attn.proj.weight, 0)
- nn.init.constant_(block.cross_attn.proj.bias, 0)
- # cross_attn_gate is already zero-initialized via torch.zeros
-
- # Zero-out output layers
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].bias, 0)
- nn.init.constant_(self.final_layer.linear.weight, 0)
- nn.init.constant_(self.final_layer.linear.bias, 0)
-
- def unpatchify(self, x, p):
- c = self.out_channels
- h = w = int(x.shape[1] ** 0.5)
- assert h * w == x.shape[1]
-
- x = x.reshape(shape=(x.shape[0], h, w, p, p, c))
- x = torch.einsum('nhwpqc->nchpwq', x)
- imgs = x.reshape(shape=(x.shape[0], c, h * p, h * p))
- return imgs
-
- def forward(self, x, t, y, mask=None, return_layer=None):
- """
- Forward pass for mask-conditional generation.
-
- Args:
- x: Noisy image [N, 3, H, W]
- t: Timesteps [N,]
- y: Class labels [N,]
- mask: Segmentation mask [N, C, H, W]
- return_layer: If specified, return intermediate features at this layer
-
- Returns:
- Predicted clean image [N, 3, H, W]
- (optionally) intermediate features if return_layer is specified
- """
- # Time embedding
- t_emb = self.t_embedder(t)
-
- # Class embedding
- y_emb = self.y_embedder(y)
-
- # Conditioning via AdaLN
- if self.mask_mode == 'global':
- if mask is not None:
- mask_emb = self.mask_embedder(mask)
- else:
- mask_emb = torch.zeros_like(t_emb)
- c = t_emb + y_emb + mask_emb
- else:
- # spatial and cross_attention: no global mask embedding in AdaLN
- c = t_emb + y_emb
-
- # Patch embedding
- if self.use_bottleneck:
- x = self.x_embedder(x)
- else:
- x = self.x_embedder(x).flatten(2).transpose(1, 2)
- x = x + self.pos_embed
-
- # Spatial mask conditioning: add mask patch embeddings to image patch embeddings
- if self.mask_mode == 'spatial':
- if mask is not None:
- mask_tokens = self.mask_patch_embed(mask).flatten(2).transpose(1, 2)
- x = x + mask_tokens
-
- # Cross-attention mask conditioning: patchify mask as K/V tokens
- mask_kv = None
- if self.mask_mode == 'cross_attention':
- if mask is not None:
- mask_kv = self.mask_patch_embed(mask).flatten(2).transpose(1, 2)
-
- # Transformer blocks
- hidden_states = None
- for i, block in enumerate(self.blocks):
- # In-context tokens
- if self.in_context_len > 0 and i == self.in_context_start:
- in_context_tokens = y_emb.unsqueeze(1).repeat(1, self.in_context_len, 1)
- in_context_tokens = in_context_tokens + self.in_context_posemb
- x = torch.cat([in_context_tokens, x], dim=1)
-
- rope = self.feat_rope if i < self.in_context_start else self.feat_rope_incontext
-
- if self.mask_mode == 'cross_attention':
- x = block(x, c, feat_rope=rope, mask_kv=mask_kv, mask_rope=self.feat_rope)
- else:
- x = block(x, c, feat_rope=rope)
-
- # Return intermediate features if requested
- if return_layer is not None and i == return_layer:
- hidden_states = x[:, self.in_context_len:] if i >= self.in_context_start else x
-
- # Remove in-context tokens
- if self.in_context_len > 0:
- x = x[:, self.in_context_len:]
-
- # Final layer
- x = self.final_layer(x, c)
- output = self.unpatchify(x, self.patch_size)
-
- if return_layer is not None:
- return output, hidden_states
- return output
-
-
-# Model factory functions
-
-def JiTMedical_S_8(**kwargs):
- """Small model with patch_size=8"""
- return JiTMedical(depth=8, hidden_size=512, num_heads=8,
- bottleneck_dim=64, in_context_len=64, in_context_start=2, patch_size=8, **kwargs)
-
-def JiTMedical_B_8(**kwargs):
- """Base model with patch_size=8"""
- return JiTMedical(depth=12, hidden_size=768, num_heads=12,
- bottleneck_dim=128, in_context_len=64, in_context_start=4, patch_size=8, **kwargs)
-
-def JiTMedical_B_16(**kwargs):
- """Base model with patch_size=16"""
- return JiTMedical(depth=12, hidden_size=768, num_heads=12,
- bottleneck_dim=128, in_context_len=32, in_context_start=4, patch_size=16, **kwargs)
-
-def JiTMedical_L_16(**kwargs):
- """Large model with patch_size=16"""
- return JiTMedical(depth=24, hidden_size=1024, num_heads=16,
- bottleneck_dim=128, in_context_len=32, in_context_start=8, patch_size=16, **kwargs)
-
-def JiTMedical_XL_16(**kwargs):
- """XL model with patch_size=16 (similar to PixelGen-XL)"""
- return JiTMedical(depth=28, hidden_size=1152, num_heads=16,
- bottleneck_dim=128, in_context_len=32, in_context_start=8, patch_size=16, **kwargs)
-
-
-JiTMedical_models = {
- 'JiTMedical-S/8': JiTMedical_S_8,
- 'JiTMedical-B/8': JiTMedical_B_8,
- 'JiTMedical-B/16': JiTMedical_B_16,
- 'JiTMedical-L/16': JiTMedical_L_16,
- 'JiTMedical-XL/16': JiTMedical_XL_16,
-}
-
-
-if __name__ == "__main__":
- print("=" * 60)
- print("Testing JiTMedical with all three mask modes")
- print("=" * 60)
-
- x = torch.randn(2, 3, 256, 256)
- mask = torch.randn(2, 1, 256, 256)
- t = torch.rand(2)
- y = torch.zeros(2, dtype=torch.long)
-
- for mode in ['global', 'spatial', 'cross_attention']:
- print(f"\n--- mask_mode='{mode}' ---")
- model = JiTMedical_B_16(input_size=256, num_classes=1, mask_mode=mode)
- n_params = sum(p.numel() for p in model.parameters()) / 1e6
- print(f"Parameters: {n_params:.2f}M")
-
- # With mask
- out = model(x, t, y, mask)
- print(f"Output shape (with mask): {out.shape}")
-
- # Without mask (CFG unconditional)
- out_uncond = model(x, t, y, mask=None)
- print(f"Output shape (no mask): {out_uncond.shape}")
-
- # With return_layer
- out, feat = model(x, t, y, mask, return_layer=8)
- print(f"Feature shape at layer 8: {feat.shape}")
-
- # Test all model sizes with cross_attention
- print("\n" + "=" * 60)
- print("Parameter counts for all model variants")
- print("=" * 60)
- for name, factory in JiTMedical_models.items():
- for mode in ['global', 'spatial', 'cross_attention']:
- m = factory(input_size=256, num_classes=1, mask_mode=mode)
- n = sum(p.numel() for p in m.parameters()) / 1e6
- print(f"{name} ({mode}): {n:.2f}M")
diff --git a/code/src/models/transformer/dit_c2i_baseline.py b/code/src/models/transformer/dit_c2i_baseline.py
deleted file mode 100644
index 58adc47c5f14b2b6690c67ef8617e81ea2ae1cb2..0000000000000000000000000000000000000000
--- a/code/src/models/transformer/dit_c2i_baseline.py
+++ /dev/null
@@ -1,402 +0,0 @@
-import functools
-from typing import Tuple
-import torch
-import torch.nn as nn
-import math
-
-from functools import lru_cache
-from torch.nn.functional import scaled_dot_product_attention
-
-
-def modulate(x, shift, scale):
- return x * (1 + scale) + shift
-
-class Embed(nn.Module):
- def __init__(
- self,
- in_chans: int = 3,
- embed_dim: int = 768,
- norm_layer = None,
- bias: bool = True,
- ):
- super().__init__()
- self.in_chans = in_chans
- self.embed_dim = embed_dim
- self.proj = nn.Linear(in_chans, embed_dim, bias=bias)
- self.norm = norm_layer(embed_dim) if norm_layer else nn.Identity()
- def forward(self, x):
- x = self.proj(x)
- x = self.norm(x)
- return x
-
-class TimestepEmbedder(nn.Module):
-
- def __init__(self, hidden_size, frequency_embedding_size=256):
- super().__init__()
- self.mlp = nn.Sequential(
- nn.Linear(frequency_embedding_size, hidden_size, bias=True),
- nn.SiLU(),
- nn.Linear(hidden_size, hidden_size, bias=True),
- )
- self.frequency_embedding_size = frequency_embedding_size
-
- @staticmethod
- def timestep_embedding(t, dim, max_period=10):
- half = dim // 2
- freqs = torch.exp(
- -math.log(max_period) * torch.arange(start=0, end=half, dtype=torch.float32, device=t.device) / half
- )
- args = t[..., None].float() * freqs[None, ...]
- embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
- if dim % 2:
- embedding = torch.cat([embedding, torch.zeros_like(embedding[:, :1])], dim=-1)
- return embedding
-
- def forward(self, t):
- t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
- t_emb = self.mlp(t_freq)
- return t_emb
-
-class LabelEmbedder(nn.Module):
- def __init__(self, num_classes, hidden_size):
- super().__init__()
- self.embedding_table = nn.Embedding(num_classes, hidden_size)
- self.num_classes = num_classes
-
- def forward(self, labels,):
- embeddings = self.embedding_table(labels)
- return embeddings
-
-class FinalLayer(nn.Module):
- def __init__(self, hidden_size, out_channels):
- super().__init__()
- self.norm_final = nn.LayerNorm(hidden_size, elementwise_affine=False, eps=1e-6)
- self.linear = nn.Linear(hidden_size, out_channels, bias=True)
- self.adaLN_modulation = nn.Sequential(
- nn.Linear(hidden_size, 2*hidden_size, bias=True)
- )
-
- def forward(self, x, c):
- shift, scale = self.adaLN_modulation(c).chunk(2, dim=-1)
- x = modulate(self.norm_final(x), shift, scale)
- x = self.linear(x)
- return x
-
-class RMSNorm(nn.Module):
- def __init__(self, hidden_size, eps=1e-6):
- """
- LlamaRMSNorm is equivalent to T5LayerNorm
- """
- super().__init__()
- self.weight = nn.Parameter(torch.ones(hidden_size))
- self.variance_epsilon = eps
-
- def forward(self, hidden_states):
- input_dtype = hidden_states.dtype
- hidden_states = hidden_states.to(torch.float32)
- variance = hidden_states.pow(2).mean(-1, keepdim=True)
- hidden_states = hidden_states * torch.rsqrt(variance + self.variance_epsilon)
- return self.weight * hidden_states.to(input_dtype)
-
-class FeedForward(nn.Module):
- def __init__(
- self,
- dim: int,
- hidden_dim: int,
- ):
- super().__init__()
- hidden_dim = int(2 * hidden_dim / 3)
- self.w1 = nn.Linear(dim, hidden_dim, bias=False)
- self.w3 = nn.Linear(dim, hidden_dim, bias=False)
- self.w2 = nn.Linear(hidden_dim, dim, bias=False)
- def forward(self, x):
- x = self.w2(torch.nn.functional.silu(self.w1(x)) * self.w3(x))
- return x
-
-def precompute_freqs_cis_2d(dim: int, height: int, width:int, theta: float = 10000.0, scale=16.0):
- # assert H * H == end
- # flat_patch_pos = torch.linspace(-1, 1, end) # N = end
- x_pos = torch.linspace(0, scale, width)
- y_pos = torch.linspace(0, scale, height)
- y_pos, x_pos = torch.meshgrid(y_pos, x_pos, indexing="ij")
- y_pos = y_pos.reshape(-1)
- x_pos = x_pos.reshape(-1)
- freqs = 1.0 / (theta ** (torch.arange(0, dim, 4)[: (dim // 4)].float() / dim)) # Hc/4
- x_freqs = torch.outer(x_pos, freqs).float() # N Hc/4
- y_freqs = torch.outer(y_pos, freqs).float() # N Hc/4
- x_cis = torch.polar(torch.ones_like(x_freqs), x_freqs)
- y_cis = torch.polar(torch.ones_like(y_freqs), y_freqs)
- freqs_cis = torch.cat([x_cis.unsqueeze(dim=-1), y_cis.unsqueeze(dim=-1)], dim=-1) # N,Hc/4,2
- freqs_cis = freqs_cis.reshape(height*width, -1)
- return freqs_cis
-
-
-def apply_rotary_emb(
- xq: torch.Tensor,
- xk: torch.Tensor,
- freqs_cis: torch.Tensor,
-) -> Tuple[torch.Tensor, torch.Tensor]:
- freqs_cis = freqs_cis[None, :, None, :]
- # xq : B N H Hc
- xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2)) # B N H Hc/2
- xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
- xq_out = torch.view_as_real(xq_ * freqs_cis).flatten(3) # B, N, H, Hc
- xk_out = torch.view_as_real(xk_ * freqs_cis).flatten(3)
- return xq_out.type_as(xq), xk_out.type_as(xk)
-
-
-class RAttention(nn.Module):
- def __init__(
- self,
- dim: int,
- num_heads: int = 8,
- qkv_bias: bool = False,
- qk_norm: bool = True,
- attn_drop: float = 0.,
- proj_drop: float = 0.,
- norm_layer: nn.Module = RMSNorm,
- ) -> None:
- super().__init__()
- assert dim % num_heads == 0, 'dim should be divisible by num_heads'
-
- self.dim = dim
- self.num_heads = num_heads
- self.head_dim = dim // num_heads
- self.scale = self.head_dim ** -0.5
-
- self.qkv = nn.Linear(dim, dim * 3, bias=qkv_bias)
- self.q_norm = norm_layer(self.head_dim) if qk_norm else nn.Identity()
- self.k_norm = norm_layer(self.head_dim) if qk_norm else nn.Identity()
- self.attn_drop = nn.Dropout(attn_drop)
- self.proj = nn.Linear(dim, dim)
- self.proj_drop = nn.Dropout(proj_drop)
-
- def forward(self, x: torch.Tensor, pos, mask) -> torch.Tensor:
- B, N, C = x.shape
- qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 1, 3, 4)
- q, k, v = qkv[0], qkv[1], qkv[2] # B N H Hc
- q = self.q_norm(q)
- k = self.k_norm(k)
- q, k = apply_rotary_emb(q, k, freqs_cis=pos)
- q = q.view(B, -1, self.num_heads, C // self.num_heads).transpose(1, 2) # B, H, N, Hc
- k = k.view(B, -1, self.num_heads, C // self.num_heads).transpose(1, 2).contiguous() # B, H, N, Hc
- v = v.view(B, -1, self.num_heads, C // self.num_heads).transpose(1, 2).contiguous()
-
- x = scaled_dot_product_attention(q, k, v, attn_mask=mask, dropout_p=0.0)
-
- x = x.transpose(1, 2).reshape(B, N, C)
- x = self.proj(x)
- x = self.proj_drop(x)
- return x
-
-
-
-class FlattenDiTBlock(nn.Module):
- def __init__(self, hidden_size, groups, mlp_ratio=4.0, ):
- super().__init__()
- self.norm1 = RMSNorm(hidden_size, eps=1e-6)
- self.attn = RAttention(hidden_size, num_heads=groups, qkv_bias=False)
- self.norm2 = RMSNorm(hidden_size, eps=1e-6)
- mlp_hidden_dim = int(hidden_size * mlp_ratio)
- self.mlp = FeedForward(hidden_size, mlp_hidden_dim)
- self.adaLN_modulation = nn.Sequential(
- nn.Linear(hidden_size, 6 * hidden_size, bias=True)
- )
-
- def forward(self, x, c, pos, mask=None):
- shift_msa, scale_msa, gate_msa, shift_mlp, scale_mlp, gate_mlp = self.adaLN_modulation(c).chunk(6, dim=-1)
- x = x + gate_msa * self.attn(modulate(self.norm1(x), shift_msa, scale_msa), pos, mask=mask)
- x = x + gate_mlp * self.mlp(modulate(self.norm2(x), shift_mlp, scale_mlp))
- return x
-
-class NerfEmbedder(nn.Module):
- def __init__(self, in_channels, hidden_size_input, max_freqs):
- super().__init__()
- self.max_freqs = max_freqs
- self.hidden_size_input = hidden_size_input
- self.embedder = nn.Sequential(
- nn.Linear(in_channels+max_freqs**2, hidden_size_input, bias=True),
- )
-
- @lru_cache
- def fetch_pos(self, patch_size, device, dtype):
- pos_x = torch.linspace(0, 1, patch_size, device=device, dtype=dtype)
- pos_y = torch.linspace(0, 1, patch_size, device=device, dtype=dtype)
- pos_y, pos_x = torch.meshgrid(pos_y, pos_x, indexing="ij")
- pos_x = pos_x.reshape(-1, 1, 1)
- pos_y = pos_y.reshape(-1, 1, 1)
-
- freqs = torch.linspace(0, self.max_freqs, self.max_freqs, dtype=dtype, device=device)
- freqs_x = freqs[None, :, None]
- freqs_y = freqs[None, None, :]
- coeffs = (1 + freqs_x * freqs_y) ** -1
- dct_x = torch.cos(pos_x * freqs_x * torch.pi)
- dct_y = torch.cos(pos_y * freqs_y * torch.pi)
- dct = (dct_x * dct_y * coeffs).view(1, -1, self.max_freqs ** 2)
- return dct
-
-
- def forward(self, inputs):
- B, P2, C = inputs.shape
- patch_size = int(P2 ** 0.5)
- device = inputs.device
- dtype = inputs.dtype
- dct = self.fetch_pos(patch_size, device, dtype)
- dct = dct.repeat(B, 1, 1)
- inputs = torch.cat([inputs, dct], dim=-1)
- inputs = self.embedder(inputs)
- return inputs
-
-class NerfBlock(nn.Module):
- def __init__(self, hidden_size_s, hidden_size_x, mlp_ratio=4):
- super().__init__()
- self.param_generator1 = nn.Sequential(
- nn.Linear(hidden_size_s, 2*hidden_size_x**2*mlp_ratio, bias=True),
- )
- self.norm = RMSNorm(hidden_size_x, eps=1e-6)
- self.mlp_ratio = mlp_ratio
- def forward(self, x, s):
- batch_size, num_x, hidden_size_x = x.shape
- mlp_params1 = self.param_generator1(s)
- fc1_param1, fc2_param1 = mlp_params1.chunk(2, dim=-1)
- fc1_param1 = fc1_param1.view(batch_size, hidden_size_x, hidden_size_x*self.mlp_ratio)
- fc2_param1 = fc2_param1.view(batch_size, hidden_size_x*self.mlp_ratio, hidden_size_x)
-
- # normalize fc1
- normalized_fc1_param1 = torch.nn.functional.normalize(fc1_param1, dim=-2)
- # normalize fc2
- normalized_fc2_param1 = torch.nn.functional.normalize(fc2_param1, dim=-2)
- # mlp 1
- res_x = x
- x = self.norm(x)
- x = torch.bmm(x, normalized_fc1_param1)
- x = torch.nn.functional.silu(x)
- x = torch.bmm(x, normalized_fc2_param1)
- x = x + res_x
- return x
-
-class NerfFinalLayer(nn.Module):
- def __init__(self, hidden_size, out_channels):
- super().__init__()
- self.norm = RMSNorm(hidden_size, eps=1e-6)
- self.linear = nn.Linear(hidden_size, out_channels, bias=True)
- def forward(self, x):
- x = self.norm(x)
- x = self.linear(x)
- return x
-
-
-class FlattenDiT(nn.Module):
- def __init__(
- self,
- in_channels=4,
- num_groups=12,
- hidden_size=1152,
- num_blocks=18,
- patch_size=2,
- num_classes=1000,
- learn_sigma=True,
- deep_supervision=0,
- weight_path=None,
- load_ema=False,
- ):
- super().__init__()
- self.deep_supervision = deep_supervision
- self.learn_sigma = learn_sigma
- self.in_channels = in_channels
- self.out_channels = in_channels
- self.hidden_size = hidden_size
- self.num_groups = num_groups
- self.num_blocks = num_blocks
- self.patch_size = patch_size
- self.x_embedder = Embed(in_channels*patch_size**2, hidden_size, bias=True)
- self.t_embedder = TimestepEmbedder(hidden_size)
- self.y_embedder = LabelEmbedder(num_classes+1, hidden_size)
-
- self.final_layer = FinalLayer(hidden_size, in_channels*patch_size**2)
-
- self.weight_path = weight_path
-
- self.load_ema = load_ema
- self.blocks = nn.ModuleList([
- FlattenDiTBlock(self.hidden_size, self.num_groups) for _ in range(self.num_blocks)
- ])
- self.initialize_weights()
- self.precompute_pos = dict()
-
- def fetch_pos(self, height, width, device):
- if (height, width) in self.precompute_pos:
- return self.precompute_pos[(height, width)].to(device)
- else:
- pos = precompute_freqs_cis_2d(self.hidden_size // self.num_groups, height, width).to(device)
- self.precompute_pos[(height, width)] = pos
- return pos
-
- def initialize_weights(self):
- # Initialize patch_embed like nn.Linear (instead of nn.Conv2d):
- w = self.x_embedder.proj.weight.data
- nn.init.xavier_uniform_(w.view([w.shape[0], -1]))
- nn.init.constant_(self.x_embedder.proj.bias, 0)
-
- # Initialize label embedding table:
- nn.init.normal_(self.y_embedder.embedding_table.weight, std=0.02)
-
- # Initialize timestep embedding MLP:
- nn.init.normal_(self.t_embedder.mlp[0].weight, std=0.02)
- nn.init.normal_(self.t_embedder.mlp[2].weight, std=0.02)
-
- # # Zero-out adaLN modulation layers in SiT blocks:
- # for block in self.blocks:
- # nn.init.constant_(block.adaLN_modulation[-1].weight, 0)
- # nn.init.constant_(block.adaLN_modulation[-1].bias, 0)
-
- # Zero-out output layers:
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].weight, 0)
- nn.init.constant_(self.final_layer.adaLN_modulation[-1].bias, 0)
- nn.init.constant_(self.final_layer.linear.weight, 0)
- nn.init.constant_(self.final_layer.linear.bias, 0)
-
- def forward(self, x, t, y, masks=None):
- if masks is None:
- masks = [None, ]*self.num_blocks
- if isinstance(masks, torch.Tensor):
- masks = masks.unbind(0)
- if isinstance(masks, (tuple, list)) and len(masks) < self.num_blocks:
- masks = masks + [None]*(self.num_blocks-len(masks))
-
- B, _, H, W = x.shape
- x = torch.nn.functional.unfold(x, kernel_size=self.patch_size, stride=self.patch_size).transpose(1, 2)
- x = self.x_embedder(x)
- pos = self.fetch_pos(H // self.patch_size, W // self.patch_size, x.device)
- B, L, C = x.shape
- t = self.t_embedder(t.view(-1)).view(B, -1, C)
- y = self.y_embedder(y).view(B, 1, C)
- condition = nn.functional.silu(t + y)
- for i, block in enumerate(self.blocks):
- x = block(x, condition, pos, masks[i])
- x = self.final_layer(x, condition)
- x = torch.nn.functional.fold(x.transpose(1, 2).contiguous(), (H, W), kernel_size=self.patch_size, stride=self.patch_size)
- return x
-
- def forward_sx(self, x, t, y, masks=None):
- if masks is None:
- masks = [None, ]*self.num_blocks
- if isinstance(masks, torch.Tensor):
- masks = masks.unbind(0)
- if isinstance(masks, (tuple, list)) and len(masks) < self.num_blocks:
- masks = masks + [None]*(self.num_blocks-len(masks))
-
- B, _, H, W = x.shape
- x = torch.nn.functional.unfold(x, kernel_size=self.patch_size, stride=self.patch_size).transpose(1, 2)
- x = self.x_embedder(x)
- pos = self.fetch_pos(H // self.patch_size, W // self.patch_size, x.device)
- B, L, C = x.shape
- t = self.t_embedder(t.view(-1)).view(B, -1, C)
- y = self.y_embedder(y).view(B, 1, C)
- condition = nn.functional.silu(t + y)
- for i, block in enumerate(self.blocks):
- x = block(x, condition, pos, masks[i])
- s_out = x.reshape(B, int(math.sqrt(L)), int(math.sqrt(L)), -1).permute(0,3,1,2)
- x = self.final_layer(x, condition)
- x = torch.nn.functional.fold(x.transpose(1, 2).contiguous(), (H, W), kernel_size=self.patch_size, stride=self.patch_size)
- return x, s_out
\ No newline at end of file
diff --git a/code/src/plugins/__init__.py b/code/src/plugins/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/plugins/bd_env.py b/code/src/plugins/bd_env.py
deleted file mode 100644
index c1900e9c34422e58cf14dedf285a4e162cee62db..0000000000000000000000000000000000000000
--- a/code/src/plugins/bd_env.py
+++ /dev/null
@@ -1,70 +0,0 @@
-import torch
-import os
-import socket
-from typing_extensions import override
-from lightning.fabric.utilities.rank_zero import rank_zero_only
-from lightning.fabric.plugins.environments.lightning import LightningEnvironment
-
-
-class BDEnvironment(LightningEnvironment):
- pass
- # def __init__(self) -> None:
- # super().__init__()
- # self._global_rank: int = 0
- # self._world_size: int = 1
- #
- # @property
- # @override
- # def creates_processes_externally(self) -> bool:
- # """Returns whether the cluster creates the processes or not.
- #
- # If at least :code:`LOCAL_RANK` is available as environment variable, Lightning assumes the user acts as the
- # process launcher/job scheduler and Lightning will not launch new processes.
- #
- # """
- # return "LOCAL_RANK" in os.environ
- #
- # @staticmethod
- # @override
- # def detect() -> bool:
- # assert "ARNOLD_WORKER_0_HOST" in os.environ.keys()
- # assert "ARNOLD_WORKER_0_PORT" in os.environ.keys()
- # return True
- #
- # @override
- # def world_size(self) -> int:
- # return self._world_size
- #
- # @override
- # def set_world_size(self, size: int) -> None:
- # self._world_size = size
- #
- # @override
- # def global_rank(self) -> int:
- # return self._global_rank
- #
- # @override
- # def set_global_rank(self, rank: int) -> None:
- # self._global_rank = rank
- # rank_zero_only.rank = rank
- #
- # @override
- # def local_rank(self) -> int:
- # return int(os.environ.get("LOCAL_RANK", 0))
- #
- # @override
- # def node_rank(self) -> int:
- # return int(os.environ.get("ARNOLD_ID"))
- #
- # @override
- # def teardown(self) -> None:
- # if "WORLD_SIZE" in os.environ:
- # del os.environ["WORLD_SIZE"]
- #
- # @property
- # def main_address(self) -> str:
- # return os.environ.get("ARNOLD_WORKER_0_HOST")
- #
- # @property
- # def main_port(self) -> int:
- # return int(os.environ.get("ARNOLD_WORKER_0_PORT"))
diff --git a/code/src/utils/__init__.py b/code/src/utils/__init__.py
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/code/src/utils/copy.py b/code/src/utils/copy.py
deleted file mode 100644
index 62cd89da7ffd0f3b65fd0206b9c646f8df5e64c4..0000000000000000000000000000000000000000
--- a/code/src/utils/copy.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import torch
-
-@torch.no_grad()
-def copy_params(src_model, dst_model):
- for src_param, dst_param in zip(src_model.parameters(), dst_model.parameters()):
- dst_param.data.copy_(src_param.data)
-
-@torch.no_grad()
-def swap_tensors(tensor1, tensor2):
- tmp = torch.empty_like(tensor1)
- tmp.copy_(tensor1)
- tensor1.copy_(tensor2)
- tensor2.copy_(tmp)
\ No newline at end of file
diff --git a/code/src/utils/lr_scheduler.py b/code/src/utils/lr_scheduler.py
deleted file mode 100644
index 326438e2f675ab409eea71670e004cfb49397388..0000000000000000000000000000000000000000
--- a/code/src/utils/lr_scheduler.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from transformers import get_constant_schedule_with_warmup
-
-class ConstantWithWarmup:
- def __init__(self, num_warmup_steps: int):
- self.num_warmup_steps = num_warmup_steps
-
- def __call__(self, optimizer):
- return get_constant_schedule_with_warmup(
- optimizer,
- num_warmup_steps=self.num_warmup_steps
- )
\ No newline at end of file
diff --git a/code/src/utils/model_loader.py b/code/src/utils/model_loader.py
deleted file mode 100644
index 68c516cdc659b79775db5a234a9888d5bc5411b1..0000000000000000000000000000000000000000
--- a/code/src/utils/model_loader.py
+++ /dev/null
@@ -1,27 +0,0 @@
-from typing import Dict, Any, Optional
-
-import torch
-import torch.nn as nn
-
-
-import logging
-logger = logging.getLogger(__name__)
-
-class ModelLoader:
- def __init__(self,):
- super().__init__()
-
- def load(self, denoiser):
- if denoiser.weight_path:
- weight = torch.load(denoiser.weight_path, map_location=torch.device('cpu'))
-
- if denoiser.load_ema:
- prefix = "ema_denoiser."
- else:
- prefix = "denoiser."
- for k, v in denoiser.state_dict().items():
- try:
- v.copy_(weight["state_dict"][prefix+k])
- except:
- logger.warning(f"Failed to copy {prefix+k} to denoiser weight")
- return denoiser
\ No newline at end of file
diff --git a/code/src/utils/no_grad.py b/code/src/utils/no_grad.py
deleted file mode 100644
index f2a347fb36ce83b7ff152aa5b40ec852f7b414a3..0000000000000000000000000000000000000000
--- a/code/src/utils/no_grad.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import torch
-
-@torch.no_grad()
-def no_grad(net):
- assert net is not None, "net is None"
- for param in net.parameters():
- param.requires_grad = False
- net.eval()
- return net
-
-def freeze_model(net):
- assert net is not None, "net is None"
- for param in net.parameters():
- param.requires_grad = False
- net.train()
- return net
-
-@torch.no_grad()
-def filter_nograd_tensors(params_list):
- filtered_params_list = []
- for param in params_list:
- if param.requires_grad:
- filtered_params_list.append(param)
- return filtered_params_list
\ No newline at end of file
diff --git a/code/src/utils/patch_bugs.py b/code/src/utils/patch_bugs.py
deleted file mode 100644
index 815c1d12158aff6604c52dc5ec548cd3629c5a2c..0000000000000000000000000000000000000000
--- a/code/src/utils/patch_bugs.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import torch
-import lightning.pytorch.loggers.wandb as wandb
-
-setattr(wandb, '_WANDB_AVAILABLE', True)
-torch.set_float32_matmul_precision('medium')
-
-import logging
-logger = logging.getLogger("wandb")
-logger.setLevel(logging.WARNING)
-
-import os
-os.environ["NCCL_DEBUG"] = "WARN"
-os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
-
-import warnings
-warnings.simplefilter(action='ignore', category=FutureWarning)
-warnings.simplefilter(action='ignore', category=UserWarning)
-
diff --git a/code/training_medical_v2.py b/code/training_medical_v2.py
deleted file mode 100644
index 568d0b0e07ccd92a1a1d3eff44a34c03d23e1810..0000000000000000000000000000000000000000
--- a/code/training_medical_v2.py
+++ /dev/null
@@ -1,351 +0,0 @@
-# Training for Medical Image Generation with Mask Conditioning
-# Based on training_repa_JiT_LPIPS_DINO_NoiseGating.py
-# V2: Added null condition dropout for proper CFG support
-
-import torch
-import torch.nn as nn
-import lpips
-import math
-from typing import Callable
-
-from src.utils.no_grad import freeze_model
-from src.diffusion.base.training import BaseTrainer
-from src.diffusion.base.scheduling import BaseScheduler
-
-
-def constant(alpha, sigma):
- return 1
-
-
-def time_shift_fn(t, timeshift=1.0):
- return t / (t + (1 - t) * timeshift)
-
-
-class MedicalREPATrainer(BaseTrainer):
- """
- Trainer for medical image generation with:
- - Mask conditioning
- - LPIPS perceptual loss
- - Optional DINO perceptual loss (if encoder provided)
- - Noise-gating strategy
- - Null condition dropout for CFG
- """
-
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn: Callable = constant,
- feat_loss_weight: float = 0.5,
- lognorm_t: bool = True,
- timeshift: float = 1.0,
- encoder: nn.Module = None, # DINOv2 encoder (optional for medical)
- align_layer: int = 8,
- proj_denoiser_dim: int = 768,
- proj_hidden_dim: int = 768,
- proj_encoder_dim: int = 768,
- P_mean: float = -0.8,
- P_std: float = 0.8,
- t_eps: float = 0.05,
- lpips_weight: float = 0.1,
- dino_weight: float = 0.01,
- percept_t_threshold: float = 0.3,
- noise_scale: float = 1.0,
- patch_size: int = 16,
- use_dino: bool = False, # Disable DINO by default for medical
- null_condition_p: float = 0.1, # Null condition dropout probability
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.feat_loss_weight = feat_loss_weight
- self.align_layer = align_layer
- self.use_dino = use_dino and (encoder is not None)
- self.null_condition_p = null_condition_p
-
- # DINO encoder (optional)
- if self.use_dino:
- self.encoder = encoder
- freeze_model(self.encoder)
- self.proj = nn.Sequential(
- nn.Linear(proj_denoiser_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_hidden_dim),
- nn.SiLU(),
- nn.Linear(proj_hidden_dim, proj_encoder_dim),
- )
- self.dino_layers = [11]
- else:
- self.encoder = None
- self.proj = None
-
- # LPIPS loss
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- freeze_model(self.lpips_loss_fn)
-
- self.patch_size = patch_size
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.dino_weight = dino_weight
- self.percept_t_threshold = percept_t_threshold
- self.noise_scale = noise_scale
-
- def compute_lpips_loss(self, pred_img, x, percept_mask=None):
- """Compute LPIPS loss with optional noise-gating mask."""
- batch_size, _, height, width = pred_img.shape
-
- # Resize for LPIPS if not 256
- if self.patch_size != 16:
- new_scale = int(height * 16 // self.patch_size)
- pred_img = torch.nn.functional.interpolate(
- pred_img, size=(new_scale, new_scale),
- mode='bilinear', align_corners=False, antialias=True
- )
- x = torch.nn.functional.interpolate(
- x, size=(new_scale, new_scale),
- mode='bilinear', align_corners=False, antialias=True
- )
-
- if percept_mask is not None:
- lpips_val = self.lpips_loss_fn(pred_img, x).view(batch_size, -1)
- lpips_loss = (lpips_val * percept_mask).mean(dim=1)
- lpips_loss = lpips_loss.sum() / percept_mask.sum() if percept_mask.sum() > 0 else lpips_loss.sum()
- else:
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
-
- return lpips_loss
-
- def compute_dino_loss(self, pred_dino_feats, gt_dino_feats, percept_mask=None):
- """Compute DINO perceptual loss."""
- cos_losses = {}
- final_cos_loss = 0
- batch_size = pred_dino_feats[0].shape[0]
-
- for i, (pred_feat, gt_feat) in enumerate(zip(pred_dino_feats, gt_dino_feats)):
- if percept_mask is not None:
- mask = percept_mask.reshape(batch_size, 1, 1)
- cos_sim = (torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1) * mask).mean(dim=(1, 2))
- cos_sim = cos_sim.sum() / mask.sum() if mask.sum() > 0 else cos_sim.sum()
- cos_loss = 1 - cos_sim
- else:
- cos_loss = 1 - torch.nn.functional.cosine_similarity(pred_feat, gt_feat, dim=-1).view(batch_size, -1).mean()
-
- cos_losses[f"inter_cos_{i}"] = cos_loss
- final_cos_loss += cos_loss
-
- cos_losses["dino_percept_loss"] = final_cos_loss / len(pred_dino_feats)
- return cos_losses
-
- def _impl_trainstep(self, net, ema_net, solver, x, condition, metadata=None):
- """Training step with mask conditioning and null condition dropout."""
- raw_images = metadata.get("raw_image", None)
- mask = metadata.get("mask", None)
-
- batch_size, c, height, width = x.shape
- y = torch.zeros(batch_size, dtype=torch.long, device=x.device)
-
- self.lpips_loss_fn.eval()
-
- # Null condition dropout: randomly replace mask with zeros
- if mask is not None and self.null_condition_p > 0 and self.training:
- drop_mask = torch.rand(batch_size, device=x.device) < self.null_condition_p
- if drop_mask.any():
- mask = mask.clone()
- mask[drop_mask] = 0.0
-
- # Sample timesteps
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32) * self.P_std + self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift)
-
- # Add noise
- noise = self.noise_scale * torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
-
- x_t = alpha * x + noise * sigma
-
- # Velocity target
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Forward pass with mask conditioning
- if self.use_dino:
- pred_img, src_feature = net(x_t, t, y, mask=mask, return_layer=self.align_layer)
- src_feature = self.proj(src_feature)
- else:
- pred_img = net(x_t, t, y, mask=mask)
-
- # Compute velocity from prediction
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Flow matching loss
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight * (out - v_t) ** 2
-
- # Noise-gating mask for perceptual losses
- if self.percept_t_threshold > 0:
- percept_mask = (t >= self.percept_t_threshold).float().reshape(batch_size, -1)
- else:
- percept_mask = None
-
- # LPIPS loss
- lpips_loss = self.compute_lpips_loss(pred_img, x, percept_mask)
-
- # DINO loss (if enabled)
- dino_losses = {}
- cos_loss = torch.tensor(0.0, device=x.device)
-
- if self.use_dino and raw_images is not None:
- with torch.no_grad():
- dst_features = self.encoder.get_intermediate_feats(raw_images, n=self.dino_layers)
-
- # REPA loss (hidden feature alignment)
- cos_sim = torch.nn.functional.cosine_similarity(src_feature, dst_features[-1], dim=-1)
- cos_loss = (1 - cos_sim).mean()
-
- # P-DINO loss (predicted image feature alignment)
- raw_pred_img = (pred_img + 1) / 2 # [-1, 1] -> [0, 1]
- pred_feats = self.encoder.get_intermediate_feats(raw_pred_img, n=self.dino_layers)
- dino_losses = self.compute_dino_loss(pred_feats, dst_features, percept_mask)
-
- # Total loss
- final_loss = fm_loss.mean() + self.lpips_weight * lpips_loss
-
- if self.use_dino:
- final_loss = final_loss + self.feat_loss_weight * cos_loss
- if "dino_percept_loss" in dino_losses:
- final_loss = final_loss + self.dino_weight * dino_losses["dino_percept_loss"]
-
- out_dict = dict(
- fm_loss=fm_loss.mean(),
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
-
- if self.use_dino:
- out_dict["cos_loss"] = cos_loss
- out_dict.update(dino_losses)
-
- return out_dict
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- if self.proj is not None:
- self.proj.state_dict(
- destination=destination,
- prefix=prefix + "proj.",
- keep_vars=keep_vars)
-
-
-class MedicalTrainerSimple(BaseTrainer):
- """
- Simplified trainer for medical images with only LPIPS loss.
- No DINO encoder required - suitable for domains where DINOv2 may not work well.
- Includes null condition dropout for proper CFG during inference.
- """
-
- def __init__(
- self,
- scheduler: BaseScheduler,
- loss_weight_fn: Callable = constant,
- lognorm_t: bool = True,
- timeshift: float = 1.0,
- P_mean: float = -0.8,
- P_std: float = 0.8,
- t_eps: float = 0.05,
- lpips_weight: float = 0.1,
- percept_t_threshold: float = 0.3,
- noise_scale: float = 1.0,
- patch_size: int = 16,
- null_condition_p: float = 0.1, # Null condition dropout probability
- *args,
- **kwargs
- ):
- super().__init__(*args, **kwargs)
- self.lognorm_t = lognorm_t
- self.scheduler = scheduler
- self.timeshift = timeshift
- self.loss_weight_fn = loss_weight_fn
- self.null_condition_p = null_condition_p
-
- # LPIPS loss only
- self.lpips_loss_fn = lpips.LPIPS(net='vgg').eval()
- freeze_model(self.lpips_loss_fn)
-
- self.patch_size = patch_size
- self.P_mean = P_mean
- self.P_std = P_std
- self.t_eps = t_eps
- self.lpips_weight = lpips_weight
- self.percept_t_threshold = percept_t_threshold
- self.noise_scale = noise_scale
-
- def _impl_trainstep(self, net, ema_net, solver, x, condition, metadata=None):
- """
- Training step with null condition dropout for proper CFG support.
-
- With probability null_condition_p, the mask is replaced with zeros,
- teaching the model to generate without mask conditioning.
- This enables proper classifier-free guidance during inference.
- """
- mask = metadata.get("mask", None)
- batch_size, c, height, width = x.shape
- y = torch.zeros(batch_size, dtype=torch.long, device=x.device)
-
- self.lpips_loss_fn.eval()
-
- # Null condition dropout: randomly replace mask with zeros
- if mask is not None and self.null_condition_p > 0 and self.training:
- drop_mask = torch.rand(batch_size, device=x.device) < self.null_condition_p
- if drop_mask.any():
- mask = mask.clone()
- mask[drop_mask] = 0.0
-
- # Sample timesteps
- if self.lognorm_t:
- base_t = (torch.randn(batch_size, device=x.device, dtype=torch.float32) * self.P_std + self.P_mean).sigmoid()
- else:
- base_t = torch.rand((batch_size), device=x.device, dtype=torch.float32)
- t = time_shift_fn(base_t, self.timeshift)
-
- # Add noise
- noise = self.noise_scale * torch.randn_like(x)
- alpha = self.scheduler.alpha(t)
- sigma = self.scheduler.sigma(t)
-
- x_t = alpha * x + noise * sigma
- v_t = (x - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Forward pass - mask is passed directly to the model
- pred_img = net(x_t, t, y, mask=mask)
- out = (pred_img - x_t) / (1 - t.view(-1, 1, 1, 1)).clamp_min(self.t_eps)
-
- # Flow matching loss
- weight = self.loss_weight_fn(alpha, sigma)
- fm_loss = weight * (out - v_t) ** 2
-
- # LPIPS loss with noise-gating
- if self.percept_t_threshold > 0:
- percept_mask = (t >= self.percept_t_threshold).float().reshape(batch_size, -1)
- lpips_val = self.lpips_loss_fn(pred_img, x).view(batch_size, -1)
- lpips_loss = (lpips_val * percept_mask).mean(dim=1)
- lpips_loss = lpips_loss.sum() / percept_mask.sum() if percept_mask.sum() > 0 else lpips_loss.sum()
- else:
- lpips_loss = self.lpips_loss_fn(pred_img, x).mean()
-
- final_loss = fm_loss.mean() + self.lpips_weight * lpips_loss
-
- return dict(
- fm_loss=fm_loss.mean(),
- lpips_loss=lpips_loss,
- loss=final_loss,
- )
-
- def state_dict(self, *args, destination=None, prefix="", keep_vars=False):
- pass # No additional parameters to save
diff --git a/code/upload_ablation.sh b/code/upload_ablation.sh
deleted file mode 100644
index 88c4f36793b7b76ba62a92b2fad0a1af4cf964ef..0000000000000000000000000000000000000000
--- a/code/upload_ablation.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-# Upload all ablation experiment files to server
-# Run this when the server is available
-
-SSH_KEY="/home/richard/Documents/Code/sichengli/id_ed25519"
-SERVER="root@183.147.142.42"
-PORT="10073"
-REMOTE_DIR="/data/sichengli/Code/PixelGen"
-
-SCP_CMD="scp -i $SSH_KEY -P $PORT"
-SSH_CMD="ssh -i $SSH_KEY $SERVER -p $PORT"
-
-echo "=== Uploading modified model file ==="
-$SCP_CMD src/models/transformer/JiT_medical.py $SERVER:$REMOTE_DIR/src/models/transformer/JiT_medical.py
-
-echo "=== Uploading modified evaluation script ==="
-$SCP_CMD scripts/evaluate_medical.py $SERVER:$REMOTE_DIR/scripts/evaluate_medical.py
-
-echo "=== Creating configs_medical directory on server ==="
-$SSH_CMD "mkdir -p $REMOTE_DIR/configs_medical"
-
-echo "=== Uploading all config files ==="
-$SCP_CMD configs_medical/PixelGen_Medical_CVC_S8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_CVC_B8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_CVC_B16_CrossAttn.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_Kvasir_S8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_Kvasir_B8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_Kvasir_B16_CrossAttn.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_REFUGE2_S8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_REFUGE2_B8_Spatial.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_REFUGE2_B16_CrossAttn.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_OCTA500_B16_CrossAttn.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_OCTA500_L16_Global.yaml $SERVER:$REMOTE_DIR/configs_medical/
-$SCP_CMD configs_medical/PixelGen_Medical_OCTA500_XL16_Global.yaml $SERVER:$REMOTE_DIR/configs_medical/
-
-echo "=== Uploading run scripts ==="
-$SCP_CMD run_ablation.sh $SERVER:$REMOTE_DIR/run_ablation.sh
-
-echo "=== Done! ==="
-echo "Files uploaded to $SERVER:$REMOTE_DIR"