TranscendMa

Results 7 comments of TranscendMa

我尝试手动安装上述缺少的项目,但不知道如何手动安装,尤其是uform的模型,我都没找到在哪里下载😭

omg 我的执行情况可能有点异常。 由于发现直接运行`temp.py`会提示`No module named 'torch'`,就先安装torch,完整输入和结果如下: ``` PS D:\Apps\Tools\Windrecorder> poetry run pip install https://mirrors.aliyun.com/pytorch-wheels/cu121/torch-2.2.0+cu121-cp311-cp311-win_amd64.whl Warning: Found deprecated priority 'default' for source 'tsinghua' in pyproject.toml. You can achieve the same effect...

我首先执行了这个命令 ``` poetry run pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torch ``` 接着再次执行了 ``` poetry run pip install https://mirrors.aliyun.com/pytorch-wheels/cu121/torch-2.2.0+cu121-cp311-cp311-win_amd64.whl poetry run pip install https://mirrors.aliyun.com/pytorch-wheels/cu121/torchaudio-2.2.0+cu121-cp311-cp311-win_amd64.whl poetry run pip install https://mirrors.aliyun.com/pytorch-wheels/cu121/torchvision-0.17.0+cu121-cp311-cp311-win_amd64.whl ``` 直到看上去没有任何报错,也没有任何下载进度条 然后我执行了`poetry...

在目前的版本中已经较难触发到报错提示了,基本都是直接闪退的。当然如果碰到了我也会尽力留存截图。 保存的 ![IMG_20240813_132050](https://github.com/user-attachments/assets/1230f81b-bb69-45d6-b488-2b7075324cdf) 相关设置如图,并行下载数已经调到3,以兼顾效率。 如果saf存在效率问题,请问有何办法回避,或者我应该降级到哪个版本之类的呢?

通过一次性保存超过100张图片成功触发了报错。据我观测每次的报错长度似乎不是相同的。 这次提示的貌似是内存不够? ![IMG_20240813_133534](https://github.com/user-attachments/assets/9d4a2617-fe0e-40b6-870a-87ea3f67068b)

附设备和app的内存使用情况: ![IMG_20240813_134314](https://github.com/user-attachments/assets/09458f97-a416-4bda-bb26-93b272da110b) ![IMG_20240813_134305](https://github.com/user-attachments/assets/996696a9-278f-4082-b3cf-76f158198d6d)

能否让保存图片的时候不占用内存,或至少不使用如此多的内存,这样也许能减少此类情况的发生🧐