Comments (3)
That's easily fixed by removing the $
before tempDir
of course, but now I'm hitting another error I was unable to solve, related to resuming a checkpoint.
At the "Generate" cell of the notebook, it immediately hits this error when I've tried resuming any .pt files, including ones which had just been output by the same notebook:
AttributeError: ‘bytes’ object has no attribute ‘cuda’
at this line inside clip_fft.py
:
spectrum_real_imag_t = resume.cuda().requires_grad_(True)
from aphantasia.
first confirmed, that was a bug (my logical mistake), should be fixed now
second will investigate a bit later (tbh never tested resuming with colab myself yet)
from aphantasia.
@russelldc resuming should be fixed by now, so closing the issue. feel free to reopen, if the problem persists.
from aphantasia.
Related Issues (20)
- RuntimeError: CUDA out of memory. Tried to allocate 60.00 MiB (GPU 0; 6.00 GiB total capacity; 4.11 GiB already allocated; 34.82 MiB free; 4.42 GiB reserved in total by PyTorch) HOT 3
- Pytorch Import torch.irfft Update to torch.fft.irfft HOT 1
- Specify GPU HOT 2
- DeepSpeed integration for training on local cheaper GPUs. HOT 3
- Invalid Syntax when trying to run the first time HOT 10
- Error when running "Generate" HOT 2
- Illustrip3D - problems with video output quality HOT 3
- Can't generate video HOT 14
- init_image support HOT 4
- Colab notebook "How to just use Aphantasia" HOT 3
- clip_fft.py won't start HOT 4
- Error HOT 2
- IndexError in IllusTrip3D HOT 1
- TypeError: 'float' object is not subscriptable HOT 3
- integrate with Lightning ecosystem CI HOT 1
- Something changed since 04/19/2022 HOT 1
- Incorporating the -notext option into IllusTrip3D.ipynb HOT 2
- NameError: name 'aug_transform' is not defined HOT 1
- AssertionError: Torch not compiled with CUDA enabled HOT 1
- torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 2.00 GiB total capacity; 1.58 GiB already allocated; 0 bytes free; 1.74 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aphantasia.